DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*6; VAR1:=99999999999;
DEA:EMA(DIF,9)*6;
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORRED;
STICKLINE(MACD0,0,MACD,1,1),COLORA8A8A8;
STICKLINE(MACD
VAR2:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR4:=SMA(VAR3,13,8);
阳: SMA(VAR4,13,8),COLORRED;
阴: SMA(VAR2,21,8),COLOR00FF00;
减:90,COLORCYAN,LINETHICK2, POINTDOT;
加:0, ,COLORFF00FF,LINETHICK2, POINTDOT;
分水岭: 45,COLORYELLOW, POINTDOT;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
阴阳线:A+100,COLORBLUE;