通达信交易师指标公式

通达信三枪术指标公式

通达信交易师指标公式:

RSV:=(C-LLV (LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:SMA(RSV,3,1);

D:SMA(K,3,1);

J:K*3-D*2;

IF(K>D,K,D),COLORRED;

收获:=K>80 AND REF(K,1)>80 AND REF(K,2)>80;

建仓:=K<20 AND REF(K,1)<20 AND REF(K,2)<20;

清仓:=K<80 AND REF(K,1)>80;

加仓:=K>20 AND REF(K,1)<20;

stICKLINE(收获,110,120,2,0),COLORYELLOW;

STICKLINE(建仓,-10,0,2,0),COLORGREEN;

STICKLINE(清仓,110,120,2,0),COLORMAGENTA;

STICKLINE(加仓,-10,0,2,0),COLORRED;

kd乖离:(K-D),NODRAW;

STICKLINE(KD乖离>0,K,D,1,0),COLORRED;

通达信共振波段指标公式