HGY:=17;
E17:=EMA(EMA(EMA(C,HGY),HGY),HGY);
转强信号:=FILTER(COUNT((100*(E17-
REF(E17,1))/REF(E17,1)) REF((100*(E17-REF(E17,1))/REF(E17,1)),1),5) =4
AND ((WINNER(C*0.95) 0.5 AND COST(85) C AND (100*(E17-REF(E17,1))/REF(E17,1)) 0) OR
((100*(E17-REF(E17,1))/REF(E17,1)) REF((100*(E17-REF(E17,1))/REF(E17,1)),1) AND (100*(E17-REF(E17,1))/REF(E17,1)) 0) OR
((100*(E17-REF(E17,1))/REF(E17,1)) =0 AND (100*(E17-REF(E17,1))/REF(E17,1)) REF((100*(E17-REF(E17,1))/REF(E17,1)),1))),5),COLOR00FFFF;
STICKLINE(转强信号,L*0.99,L*0.97,3,0),LINETHICK1,colorred;
STICKLINE(转强信号,L*0.99,L*0.97,1,0),LINETHICK1,coloryellow;
DRAWTEXT(转强信号,L*0.95,'转强'),coloryellow;