VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
VAR6:=MA(VAR5,3);
macd: VAR6*5,COLORSTICK ,LINETHICK2 ;
警戒雷达: IF(VAR6<-6,20,0),LINETHICK3 , COLORFF0000;
K: SMA(VAR1,3,1), colorgreen;
D: SMA(K,3,1), coloryellow;
底: 20,LINETHICK2 ,POINTDOT, COLOR77AA1A;
入顶: 80,LINETHICK2 ,POINTDOT , COLOR9966FF;
大顶: 100,LINETHICK2 ,POINTDOT ,COLOR22A6E6;