通达信抢反弹公式源码

[复制链接]
查看106 | 回复0 | 2021-8-19 14:56:12 | 显示全部楼层 |阅读模式

以下是通达信抢反弹公式源码(无源码的请下载附件导入)

RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
 K:=SMA(RSV,9,1);
 D:=SMA(K,3,1);
趋势J1:3*K-2*D,COLORRED;
趋势J2:EMA(K,3),LINETHICK1;
 IF(趋势J1>=REF(趋势J1,1),趋势J1,DRAWNULL),COLORRED,LINETHICK2;
 IF(趋势J1< REF(趋势J1,1),趋势J1,DRAWNULL),COLORBLUE,LINETHICK2;
 BBIAS := (CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
抢反弹:= IF(CROSS(K,D) AND BBIAS<-6 AND D<16 AND CLOSE>REF(CLOSE,1),80,0),COLOR00FF00;
 DRAWICON(抢反弹=80,趋势J2-0.005,1);
底部动态:EMA(IF(L<= LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10,STICK,COLORRED,LINETHICK2;
 DRAWLINE(D>=HHV(D,21),D,D<=LLV(D,21),D,1),COLOR00FF00;
 V1:=AMOUNT/VOL/100;
 V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
 V3:=SUM(AMOUNT,7)/V1/100;
 V4:=DMA(V2,VOL/V3);
 V5:=(CLOSE-V4)/V4*100;
 V6:=MA(V5,20)+STD(V5,20);
 BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
 STICKLINE(REF(BIAS21,1)>=5 AND CROSS(V6,V5) AND REF("KDJ.J"(34,3,3),1)>80 AND REF("KDJ.J"(9,3,3),1)>80,90,85,5,0),COLOR00FF00;

722311975.jpg

722311975.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则