通达信买点狙击副图指标源码测试图

[复制链接]
查看161 | 回复0 | 2021-8-26 22:34:16 | 显示全部楼层 |阅读模式

以下是通达信买点狙击副图指标源码测试图(无源码的请下载附件导入)

N:=5;
 M:=3;
 VAR1:=(CLOSE-OPEN)/OPEN*100;
 VAR2:=REF(CLOSE,1);
 VAR3:=SMA(MAX(CLOSE-VAR2,0),6,1)/SMA(ABS(CLOSE-VAR2),6,1)*100;
 VAR4:=COUNT(VAR3<M,20)>=1;
 VAR5:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100);
 VAR6:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,N);
 VAR7:=CROSS(-5,VAR6) AND VAR5<-0.4;
 VAR8:=REF(CLOSE,1);
 VAR9:=SMA(MAX(CLOSE-VAR8,0),5,1)/SMA(ABS(CLOSE-VAR8),5,1)*125;
 VAR10:=SMA(MAX(CLOSE-VAR8,0),10,1)/SMA(ABS(CLOSE-VAR8),10,1)*125;
 VAR11:=MA(CLOSE,10);
 VAR12:=MA(CLOSE,20);
 VAR13:=VAR9<80 AND VAR10<78 AND SUM(VOL/CAPITAL,10)*125>=10 AND CLOSE/LLV(CLOSE,120)<=1.2 AND (CLOSE-LLV(CLOSE,15))/LLV(CLOSE,15)>=0.12 AND CLOSE/OPEN>1.02 AND VAR11>VAR12;
低位狙击:VAR1>9 AND VAR4 OR VAR7 OR VAR13,COLORRED;
 VAR14:=EXIST(低位狙击,6) AND BARSCOUNT(低位狙击)>=8 AND C/REF(L,2)<0.97 AND NOT(C>O);
 VAR15:=FILTER(VAR14,10);
补仓救援:IF(VAR15,0.6,0),COLORBBBBBB;

1124411629.jpg

1124411629.jpg

回复

使用道具 举报

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

本版积分规则