通达信突破起跳副图指标 源码 贴图 VAR2:=MAX(REF(H,BARSLAST(VAR1)+2),REF(H,BARSLAST(VAR1)+1)); VAR3:=MAX(VAR2,REF(H,BARSLAST(VAR1))); VAR4:=(C-REF(C,1))/REF(C,1)*100>5; VAR5:=BARSLAST(VAR1)<150; VAR6:=(O-VAR3)/VAR3*100< 30; VAR7:=(C-LLV(L,BARSLAST(VAR1)))/LLV(L,BARSLAST(VAR1))*100<50; VAR8:=(C-REF(O,5))/REF(O,5)*100<30; VAR9:=V/MA(V,5)<3.5; VAR10:=(C-REF(C,89))/REF(C,89)*100<80; VAR11:=VAR4 AND VAR5 AND VAR6 AND VAR7 AND VAR8 AND VAR9 AND VAR10; VAR12:=(C-MA(C,54))/MA(C,54)<0.1; VAR13:=(C-MA(C,10))/MA(C,10)<0.3; VAR14:=(VAR12=1 AND VAR13=1)*0.2; VAR15:=(VAR14=0 AND REF(VAR14,1)=0.2 AND REF(COUNT(VAR14=0.2,10)=10,1)=1)*(-0.1); VAR16:=FILTER(VAR11,15) OR VAR15=(-0.1); VAR17:=DYNAINFO(7)/REF(C,1)>1.05 AND DYNAINFO(7)/O>1.05; VAR18:=V/REF(V,1)>1.2 AND COUNT(C>O,1) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>1.2); VAR19:=VAR16 AND C/REF(C,1)>1.095 AND VAR18 AND VAR17 OR (C/REF(C,1)>=1.096 AND H=C); 突破:FILTER(VAR19,5),NODRAW; STICKLINE(突破,260,300,0,0),COLORRED; STICKLINE(突破,200,260,0.8,0),COLORBLUE; STICKLINE(突破,200,260,0.5,0),COLORMAGENTA; STICKLINE(突破,200,260,0.2,0),COLORAAFFFF; STICKLINE(突破,100,200,0,0),COLORBLUE; STICKLINE(突破,100,200,1,0),COLORMAGENTA;
|