源码
P1:=5;P2:=4;
80, POINTDOT;
20, POINTDOT;
Var2:=LLV(LOW,P1);
Var3:=HHV(HIGH,P1);
公主: EMA((CLOSE-Var2)/(Var3-Var2)*100,P2),COLORFFAA66;
D: EMA(0.667*REF(公主,1)+0.333*公主,2),COLOR33CC00;
源码
P1:=5;P2:=4;
80, POINTDOT;
20, POINTDOT;
Var2:=LLV(LOW,P1);
Var3:=HHV(HIGH,P1);
公主: EMA((CLOSE-Var2)/(Var3-Var2)*100,P2),COLORFFAA66;
D: EMA(0.667*REF(公主,1)+0.333*公主,2),COLOR33CC00;