DIFF:=EMA(CLOSE,9)-EMA(CLOSE,26);
DEAA:=EMA(DIFF,12);
macdD:=(DIFF-DEAA)*2;
ZT:=IF(CODELIKE(’68’) OR CODELIKE(’30’),ZTPRICE(REF(C,1),0.2),IF(CODELIKE(‘8’),ZTPRICE(REF(C,1),0.3),IF((NAMELIKE(‘ST’) OR NAMELIKE(‘*’)),ZTPRICE(REF(C,1),0.05),ZTPRICE(REF(C,1),0.1))));
{STICKLINE(C=ZT,O,C,0.8,0),COLORYELLOW;}
TS:=BARSCOUNT(CLOSE)>=10;
MM:=EMA((3*CLOSE+HIGH+LOW+OPEN)/6,20),COLORBLUE,LINETHICK2;
FL:=HHV(MM,5),LINETHICK2,COLORGREEN;
FS:=MM-(FL-MM),LINETHICK2,COLORRED;
{DRAWICON(FL=FS AND REF(FL,1)>REF(FS,1) AND TS AND C>=O AND V=HHV(V,6),L,1);}
{DRAWICON(FL=FS AND REF(FL,1)>REF(FS,1) AND TS AND C>=O AND V=HHV(V,6),H*1.03,25);}
{DRAWICON(FL>FS AND REF(FL,1)=REF(FS,1) AND TS,H*1.008,2),NODRAW;}
三线:=FL=FS AND REF(FL,1)>REF(FS,1);
XA:=FILTER(FL=FS AND BArslAST(三线) <=4 AND TS AND C>=O AND V>=REF(V,1)*2 AND C/REF(C,1)>1.03,5),NODRAW;
volUME:VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
三线倍量:=V>=REF(V,1)*2 AND C>=O;
STICKLINE((三线倍量 AND XA) OR 三线倍量,0,V,1,0),COLORYELLOW;
STICKLINE(三线倍量 AND XA,0,V,1,0),COLORFF0080;
DRAWTEXT(XA,V*1.05,’大单进场’),COLORMAGENTA;
DRAWTEXT(三线倍量 AND NOT(XA),V*1.05,’ 倍量’),COLOR00FFFF;
评论(0)