量5:MA(VOL,5),colorred;
量10:MA(VOL,10);
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:VOL,ColorCD52FF,linethick0;
主动买盘:IF(CLOSE》OPEN,VAR1*(HIGH-LOW),IF(CLOSE《OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),Color0000FF,STICK;
主动卖盘:IF(CLOSE》OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE《OPEN,VAR1*(HIGH-LOW),VOL/2)),Color00E521,STICK;
买卖比:主动买盘/主动卖盘;
WJ:=(HIGH+LOW+CLOSE)/3;
VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VD6:=(VD1*VD5);
VD7:=(VD2*VD5);
VD8:=(VD3*VD5);
VD9:=(VD4*VD5);
买入量:=(VD9+VD8);
卖出量:=(VD6+VD7);
买入资金:=买入量*close/100;
卖出资金:=卖出量*close/100;
资金进出:=买入资金-卖出资金;
买卖资金比:=买入资金/卖出资金;
挂单买盘:=MA(主动买盘,3);
挂单卖盘:=(MA(主动卖盘,3));
STICKLINE((主动买盘 》 0),0,主动买盘,8,0),color0000FF;
STICKLINE((主动买盘 》 0),0,主动买盘,7.8,0),color0018FF;
STICKLINE((主动买盘 》 0),0,主动买盘,7.5,0),color001BFF;
STICKLINE((主动买盘 》 0),0,主动买盘,7.3,0),color0022FF;
STICKLINE((主动买盘 》 0),0,主动买盘,7,0),color0035FF;
STICKLINE((主动买盘 》 0),0,主动买盘,6.8,0),color0041FF;
STICKLINE((主动买盘 》 0),0,主动买盘,6.5,0),color0050FF;
STICKLINE((主动买盘》 0),0,主动买盘,6.3,0),color0059FF;
STICKLINE((主动买盘 》 0),0,主动买盘,6,0),color0062FF;
STICKLINE((主动买盘 》 0),0,主动买盘,5.7,0),color006CFF;
STICKLINE((主动买盘》 0),0,主动买盘,5.5,0),color007AFF;
STICKLINE((主动买盘 》 0),0,主动买盘,5.3,0),color0080FF;
STICKLINE((主动买盘 》 0),0,主动买盘,5,0),color0089FF;
STICKLINE((主动买盘 》 0),0,主动买盘,4.5,0),color0095FF;
STICKLINE((主动买盘 》 0),0,主动买盘,3.5,0),color009CFF;
STICKLINE((主动买盘 》 0),0,主动买盘,3,0),color00ABFF;
STICKLINE((主动买盘》 0),0,主动买盘,2.5,0),color00C0FF;
STICKLINE((主动买盘 》 0),0,主动买盘,1.5,0),color00D1FF;
STICKLINE((主动买盘》 0),0,主动买盘,1,0),color00EAFF;
STICKLINE((主动买盘 》 0),0,主动买盘,0.7,0),color00FFFF;
STICKLINE((主动卖盘 》 0),0,主动卖盘,8,0),color006800;
STICKLINE((主动卖盘 》 0),0,主动卖盘,7.8,0),color007F00;
STICKLINE((主动卖盘 》 0),0,主动卖盘,7,5),color008B00;
STICKLINE((主动卖盘 》 0),0,主动卖盘,7,3),color008B00;
STICKLINE((主动卖盘》 0),0,主动卖盘,7,0),color009000;
STICKLINE((主动卖盘 》 0),0,主动卖盘,6.8,0),color009500;
STICKLINE((主动卖盘》 0),0,主动卖盘,6.5,0),color009C00;
STICKLINE((主动卖盘》 0),0,主动卖盘,6.3,0),color00A300;
STICKLINE((主动卖盘 》 0),0,主动卖盘,6,0),color00AB00;
STICKLINE((主动卖盘 》 0),0,主动卖盘,5.7,0),color00AF00;
STICKLINE((主动卖盘 》 0),0,主动卖盘,5.5,0),color00B900;
STICKLINE((主动卖盘 》 0),0,主动卖盘,5.3,0),color00C000;
STICKLINE((主动卖盘 》 0),0,主动卖盘,5,0),color00C100;
STICKLINE((主动卖盘 》 0),0,主动卖盘,4.5,0),color00CA00;
STICKLINE((主动卖盘》 0),0,主动卖盘,3.5,0),color00D300;
STICKLINE((主动卖盘》 0),0,主动卖盘,3,0),color00DB00;
STICKLINE((主动卖盘》 0),0,主动卖盘,2.5,0),color00EA00;
STICKLINE((主动卖盘》 0),0,主动卖盘,1.5,0),color00FF00;
DRAWTEXTABS(1,1,‘【买卖盘解量(手)】’);
DRAWTEXTABS(1,30,‘┃当日买卖量=’+NUMTOSTR(VOL)),ColorFF00FF;
DRAWTEXTABS(1,60,‘┃当日主动买量=’+NUMTOSTR(主动买盘)),Color00ff00;
DRAWTEXTABS(1,90,‘┃当日主动卖量=’+NUMTOSTR(主动卖盘)),Coloryellow;
DRAWTEXTABS(1,120,‘┃当日买卖比=’+NUMTOSTR(买卖比)),ColorFF00FF;
DRAWTEXTABS(250,30,‘┃买入资金累计万元: ’+NUMTOSTR(买入资金)),Colorred,LINETHICK1;
DRAWTEXTABS(250,60,‘┃卖出资金累计万元: ’+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1;
DRAWTEXTABS(250,90,‘┃资金进出万元: ’+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1;
DRAWTEXTABS(250,120,‘┃买卖资金比: ’+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1;
DRAWTEXTABS(1,150,‘┃当日挂单买盘: ’+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1;
DRAWTEXTABS(250,500,‘┃当日挂单卖盘: ’+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!