源码
JJ:=(OPEN+HIGH+LOW+CLOSE)/4;
AA:=IF(BETWEEN(CLOSE,JJ,HIGH) OR CLOSE=OPEN,VOL,0);
BB:=IF(BETWEEN(CLOSE,JJ,LOW),VOL,0);
CC:=IF(AA AND BB,0,VOL/3);
DDX:10*(AA-(BB+CC))/(IF(CAPITAL<1,SUM(VOL,13),CAPITAL)),LINETHICK0;
STICKLINE(DDX>0,0,DDX,6,0),color22FF;
STICKLINE(DDX>0,0,DDX,4,0),colorBB22CC;
STICKLINE(DDX<0,0,DDX,6,0),colorFFFF00;
DDX1:EMA(DDX,60)*60,colorFFFF;
DDX2:MA(DDX1,5),colorFF00FF;
DDX3:MA(DDX2,10),colorFF00;
预警:DDX>0 AND CROSS(DDX1,DDX2) AND (CLOSE/REF(CLOSE,1)-1)*100>=3,LINETHICK0;
DRAWTEXT(预警,1,’★’),PXUP6,colorFFFF;
DRAWTEXTEX(CLOSE,1,0,0,’大单动向’),colorFFFFFF;
1,LINEDOT,colorFF0000;
A4:=(HIGH+LOW+OPEN+3*CLOSE)/6;
A5:=(A4-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;
A6:=SMA(A5,3,1);
A7:=SMA(A6,2,1);
进:3*A6-2*A7,LINETHICK1,colorFF00FF;
出:MA(进,3),LINETHICK1,colorFF;
评论(0)