s:=EMA((CLOSE-LLV(CLOSE,21))/(HHV(CLOSE,21)-LLV(CLOSE,21)),1);
一线胜庄:if(s>0,ma(s,1),0),COLORred;
drawicon(cross(一线胜庄,0.001),一线胜庄,1);
s:=EMA((CLOSE-LLV(CLOSE,21))/(HHV(CLOSE,21)-LLV(CLOSE,21)),1);
一线胜庄:if(s>0,ma(s,1),0),COLORred;
drawicon(cross(一线胜庄,0.001),一线胜庄,1);