乖离抓大牛
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
K1:=SMA(RSV,10,1);
D1:=SMA(K1,5,1);
KK:=INTPART(K1);
DD0:=INTPART(D1);
TFXXS:=KK+DD0;{//变异KD风险系数}
TGLD:=MOD(TFXXS,10);{//踏浪涨停概率点}
TGLXS:=(TFXXS-REF(TFXXS,1))*10;{//变异KD乖离系数}
TYCFX:=TFXXS+TGLXS;{//变异KD预测风险}
乖离系数:TGLXS;
CHOUMA:=(CLOSE/COST(50)-1)*100 ;
IF(CHOUMA>0 AND CHOUMA>REF(CHOUMA,1),CHOUMA,0) COLORRED;
IF(CHOUMA<=0 AND CHOUMA<=REF(CHOUMA,1),CHOUMA,0) COLORGREEN;
赞 (0)