源码
安全区: -70;
风险区: -30;
Var1:=1;
Var2:=LLV(LOW,33)*Var1;
Var3:=HHV(HIGH,21)*Var1;
Var4:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20)*0.998*Var1;
极品K线趋势: -100+EMA(0.667*REF(Var4,1)+0.333*Var4,1)*Var1;
Var5:=-100+EMA(0.667*REF(Var4,1)+0.333*Var4,1)*Var1;
STICKLINE(Var5>=-70 AND Var5<=-30,Var5,Var5+3,20,0), ,COLORGREEN;
STICKLINE(Var5>-30,Var5,Var5+3,20,0), , colorred;
STICKLINE(Var5<-70,Var5,Var5+3,20,0), , ;