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)/7;
VAR6:=MA(VAR5,1);
MACD: VAR3*8,COLORSTICK ,LINETHICK6 ;
K: SMA(VAR1,3,1) , COLORWHITE;
D: SMA(K,3,1) , COLORYELLOW;
J: 3*K-2*D, COLORFF00FF;
底部: 20,LINETHICK2 ,POINTDOT COLORGREEN;
预警: 80,LINETHICK2 ,POINTDOT COLORWHITE;
顶部: 100,LINETHICK2 ,POINTDOT COLORYELLOW;
先知: STICKLINE(VAR6<=-8,68,0,1,0), , COLORYELLOW;
逢低买入: IF(VAR6<-8,38,0),LINETHICK1,COLORRED;
|