A1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(A1,3,1),COLORYELLOW;
D:=SMA(K,3,1),COLORFF00FF;
J:3*K-2*D,COLORRED,LINETHICK3;
波段底部:IF(J<0,J,DRAWNULL),COLORGREEN ,LINETHICK2;
波段顶部:IF(J>100,J,DRAWNULL),COLORGREEN ,LINETHICK2;
LC:=REF(CLOSE,1);
{ _通达信股票指标公式}
rsi6:(SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100),COLORLIGREEN,LINETHICK1;
进场:IF(crOSS(J,0) ,100,50);
DRAWTEXT(进场=100,50,'←操盘'),COLORRED;
DRAWTEXT(CROSS(100,J) ,105,'←100')COLORRED;
0;
100,COLORLIGRAY;