VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20)/2,COLORF0F000,LINETHICK2;
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
持股线:VAR4/2,colorred,LINETHICK2;
STICKLINE(持股线>REF(持股线,1),0,持股线,3,1),colorred;
STICKLINE(持股线<REF(持股线,1),0,持股线,3,1),colorgreen;
VAR5:=C<HHV(C,60)*0.6 OR C<HHV(C,10)*0.8 OR C<HHV(C,3)*0.9 AND (H-L)/REF(C,1)>0.04 OR (REF(H,1)-REF(L,1))/REF(C,2)>0.08 AND V>MA(V,5) AND 持股线<10 AND 持股线>REF(持股线,1);
DRAWICON(VAR5=1,LOW*0.38,9);
由绿柱变红柱关注,中长期均线走多为佳。
使用时请结合其他技术指标、成交量、大盘走势等多因素进行综合判断。
VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20)/2,COLORF0F000,LINETHICK2;
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
持股线:VAR4/2,colorred,LINETHICK2;
STICKLINE(持股线>REF(持股线,1),0,持股线,3,1),colorred;
STICKLINE(持股线<REF(持股线,1),0,持股线,3,1),colorgreen;
VAR5:=C<HHV(C,60)*0.6 OR C<HHV(C,10)*0.8 OR C<HHV(C,3)*0.9 AND (H-L)/REF(C,1)>0.04 OR (REF(H,1)-REF(L,1))/REF(C,2)>0.08 AND V>MA(V,5) AND 持股线<10 AND 持股线>REF(持股线,1);
DRAWICON(VAR5=1,LOW*0.38,9);