0029【选股指标】通达信高胜率 《山谷淘金》副图选股源码...
指标介绍:
出现信号后,等待回调买入。
此指标半原创,无未来,是多位**指标结合并简化,优点是优化掉了很多的杂乱信号,做到信号少而精!指标不是万能的摇钱树,请理性对待!
¨初步测试结果(按最高卖测试,理想状态):
类别
评测方案
日期
总次数
胜 率
年化收益率
最大回撤比
山谷淘金(止损-3%;止盈10%)
收盘买,次周期最高卖
2022/02/14-2023/02/10
14984
86.69%
6.35
8.11
次日开盘买,3日最高卖
75.40%
6.84
18.21
次日收盘买,3日最高卖
88.44%
6.11
10
次日最低买,3日最高卖
98.66%
13
9.73
推荐级别:一般推荐
测试图片:
公式源码/技术指标源码
选股:
CC1:=IF(NAMELIKE('S')||NAMELIKE('*S')||CODELIKE('688'),0,1) AND DYNAINFO(4)>0;
CC2:=BARSCOUNT(C)>40;
YU1:=REF(LOW,1);
YU2:=SMA(ABS(LOW-YU1),3,1)/SMA(MAX(LOW-YU1,0),3,1)*100;
YU3:=EMA(IF(CLOSE*1.3,YU2*10,YU2/10),3);
YU4:=LLV(LOW,30);
YU5:=HHV(YU3,30);
YU6:=IF(MA(CLOSE,58),1,0);
YU7:=EMA(IF(LOW<=YU4,(YU3+YU5*2)/2,0),3)/618*YU6;
YU8:=IF(YU7>100,100,YU7);
YU9:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
YU10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
YU11:=YU9REF(VOL,1) AND CLOSE>REF(CLOSE,1);
XG:(YU11 AND COUNT(YU11,18)=1) AND CC1 AND CC2 ;
副图
DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,' ',0),LINETHICK2;
DRAWTEXT_FIX(1,0,0.1,0,'山谷淘金'),COLOR00FFFF;
YU1:=REF(LOW,1);
YU2:=SMA(ABS(LOW-YU1),3,1)/SMA(MAX(LOW-YU1,0),3,1)*100;
YU3:=EMA(IF(CLOSE*1.3,YU2*10,YU2/10),3);
YU4:=LLV(LOW,30);
YU5:=HHV(YU3,30);
YU6:=IF(MA(CLOSE,58),1,0);
YU7:=EMA(IF(LOW<=YU4,(YU3+YU5*2)/2,0),3)/618*YU6;
YU8:=IF(YU7>100,100,YU7);
STICKLINE(YU8>-120,0,YU8,5,0),COLORRED;
STICKLINE(YU8 <REF(YU8,1),0,YU8,5,0),COLOR008000;< span> </REF(YU8,1),0,YU8,5,0),COLOR008000;<>
YU9:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
YU10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
YU11:=YU9REF(VOL,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(YU11 AND COUNT(YU11,18)=1,0,60,1,0),COLOR00EAEA;
DRAWTEXT(YU11 AND COUNT(YU11,18)=1,55,'低'),COLOR0099FF;
DRAWTEXT(YU11 AND COUNT(YU11,18)=1,48,'位'),COLOR0033FF;
DRAWTEXT(YU11 AND COUNT(YU11,18)=1,36,'淘'),COLOR0099FF;
DRAWTEXT(YU11 AND COUNT(YU11,18)=1,24,'金'),COLOR0033FF;
XG:(YU11 AND COUNT(YU11,18)=1);
页:
[1]