通达信kdj与boll线结合体公式
n:=9,M1和M2都是3,和系统自带的kdj参数一样
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
BOLL:MA(J,20),LINETHICK3;
UPPER:BOLL+2*STD(J,20);
LOWER:BOLL-2*STD(J,20);
IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
IF(J<REF(J,1),J,DRAWNULL)COLOR00BB00,LINETHICK2;