ZT:=C=ZTPRICE(REF(C,1),0.10);
STICKLINE (ZT OR C/REF(C,1)>1.093 AND C=H,C,O,2,0),COLORRED;
STICKLINE(ZT OR C/REF(C,1)>1.093 AND C=H,L,O,0.1,0),COLORRED;
STICKLINE(H>REF(C,1)*1.093 AND H>C,C,O,2,0),COLORBLUE;
HMA1:MA(H,5);
LMA1:MA(L,5);
LMA2:MA(L,120);
VARA1:=HMA1>REF(HMA1,1)*0.985;
VAR1:=L<=HMA1 AND C>HMA1;
T:=BARSLAST(V>MA(V,10) AND MA(V,5)>MA(V,10) AND (O-C)/REF(C,1)>0.025);
STICKLINE(T>=0,REF(O,T),REF(O,T),4,-1),{COLORMAGENTA}COLORGREEN;
VAR8:=C>=O AND C>REF(C,1)*1.05 AND{ C>=H-0.03}(H-C)/REF(C,1)<=0.005 AND VAR1 AND VARA1;
DRAWICON(VAR8,HIGH,9);
DRAWICON(C>O AND L<LMA1 AND C>HMA1,L*0.98,1){回调买入};
DRAWICON(C>O AND O<LMA1 AND C>HMA1,L*0.955,5){回调买入};
DRAWICON(V=HHV(V,1000) AND O>C,L*0.98,11);
T1:=BARSLAST(V=HHV(V,1000));
STICKLINE(T1>0,REF(MAX(C,O),T1),REF(MAX(C,O),T1),4,0),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0,0,EXTERNSTR(0,1))COLORYELLOW;
DRAWTEXT_FIX(2,0,0.08,0,EXTERNSTR(0,3))COLORYELLOW;
DRAWTEXT_FIX(1,0,0.08,0,EXTERNSTR(0,2))COLORYELLOW; |