B:=ZIG(3,15/5)*100,colorwhite;
G:=MA(B,2),coloryellow;
D:=CROSS(B,G)*1000,colorred;
W:=CROSS(G,B)*1000,colorblue;
DRAWGBK( W=1000 ),colorblue;
DRAWGBK( D=1000 ),colorblue;
Var1:=(H+L)/2;//www.fxjgsw.com
AO:=SMA(Var1,5,1)-SMA(Var1,34,1);
AC:SMA((AO-SMA(AO,5,1)),5,1),COLOR6699CC;
STICKLINE(AC>=REF(AC,1),0,AC,6,1),colorgray,LINETHICK5;
STICKLINE(AC<=REF(AC,1),0,AC,6,1),colorgreen;
AC,colorgreen,LINETHICK5;
DIFF :EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;
DEA :EMA(DIFF,9),coloryellow;
DRAWICON(CROSS(DIFF,DEA),DEA*1.02,1);
DRAWICON(CROSS(DEA,DIFF),DEA*0.98,2);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF>REF(DIFF,1) AND DEA>REF(DEA,1),colorlired);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF>REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF<=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF<=REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF>REF(DIFF,1) AND DEA>REF(DEA,1),colorred);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF>REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF<=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF<=REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF>0 AND DIFF<REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF>0 AND DIFF<REF(DIFF,1) AND DEA<REF(DEA,1),colorgreen);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF>0 AND DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF>0 AND DIFF>=REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF<0 AND DIFF<REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF<0 AND DIFF<REF(DIFF,1) AND DEA<REF(DEA,1),colorblue);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF<0 AND DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF<DEA AND DIFF<0 AND DIFF>=REF(DIFF,1) AND DEA<REF(DEA,1),colorwhite);
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),colorred;
DEA:EMA(DIF,9),colorwhite;
持仓段:=0,COLOR00CFFF;
空仓段:=0,COLORFFCCFF;
STICKLINE(DIF>DEA,-0.01,-0.02,10,1),colorred,LINETHICK5;
STICKLINE(DIF<DEA,-0.01,-0.02,10,1),colorgreen,LINETHICK5;
建仓:IF(DIF<0,DIF,0),coloryellow,LINETHICK2;
加仓:IF(DIF<0,0,DIF),colorred,LINETHICK2;
白线破仓:IF(DIF<DEA,DIF,DEA),colorwhite,LINETHICK2;
趋势强弱:IF(DIF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;
遵:IF(DIFF>=DEA,DIFF,DRAWNULL),colorred,LINETHICK3;
守:IF(DEA>=DIFF,DEA,DRAWNULL),COLORFF9900,LINETHICK3;
纪:IF(DIFF>=DEA,DEA,DRAWNULL),COLOR00FFFF,LINETHICK3;
律:IF(DEA>=DIFF,DIFF,DRAWNULL),COLOR00FF00,LINETHICK3;
F1:=ZIG(3,5);//www.fxjgsw.com
VERTLINE(F1<REF(F1,1),2),coloraa8800;
DRAWGBK(C>0, RGB(0,0,0),RGB(1,1,1),0,'0',0);
尖顶买入:ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG
(3,10),2),colorred,LINETHICK2;
尖顶卖出:ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>
REF(ZIG(3,10),2),colorgreen,LINETHICK2;
DRAWTEXT(尖顶买入=1,0.8,'入'),colorred;
DRAWTEXT(尖顶卖出=1,0.8,'出'),colorgreen;
抄底: IF(TROUGHBARS(2,5,1)=0 AND HIGH>LOW+0.01,0.50,0),coloryellow ,LINETHICK2 ;
DRAWTEXT(抄底=0.50,0.60,'抄底'),colorred;
|