同花顺上升止赢副图指标
源码
Var2:=LLV(LOW,33);
Var3:=HHV(HIGH,21);
Var4:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20)*0.998;
DRAWTEXT(FILTER(CLOSE>0,100),15,'安全区'),colorwhite;
短线:=EMA(0.667*REF(Var4,1)+0.333*Var4,1);
STICKLINE(短线>=REF(短线,1),短线+0.5,短线-1,6,0),colorred,linethick2;
STICKLINE(短线<REF(短线,1),短线+0.5,短线-1,6,0),color00ff00;