通达信持股买卖交易策略副图指标 源码

[复制链接]
查看24 | 回复0 | 2022-7-11 09:52:47 | 显示全部楼层 |阅读模式
拿这个代码,就是自己策略信号,可以去下载我的风控指标,买卖点加上风控指标会更好一点,里面有文字说明,需要大智慧的下方留言吧,我所以指标都有大智慧版本,成本价交易软件可以自动获取,不会的话就手动写成本价,成本价我加上了交易手续费的,主要是我自己要测试成功率

A1:=IF(STRCMP(CODE, '000407'),3.5,1);
A2:=IF(STRCMP(CODE, '000617'),10.14,1);
A3:=IF(STRCMP(CODE, '002196'),5.16,1);
A4:=IF(STRCMP(CODE, '603458'),19.25,1);
A5:=IF(STRCMP(CODE, '300300'),8.4,1);
A6:=IF(STRCMP(CODE, '603105'),7.68,1);
A7:=IF(STRCMP(CODE, '002101'),7.8,1);
A8:=IF(STRCMP(CODE, '600335'),5.3,1);
A9:=IF(STRCMP(CODE, '603039'),76.1,1);
A10:=IF(STRCMP(CODE, '603226'),18.8,1);
A11:=IF(STRCMP(CODE, '002863'),4.95,1);
A12:=IF(STRCMP(CODE, '002845'),22.4,1);
A13:=IF(STRCMP(CODE, '002480'),4.3,1);
A14:=IF(STRCMP(CODE, '002560'),7.37,1);
A15:=IF(STRCMP(CODE, '300184'),7.52,1);
A16:=IF(STRCMP(CODE, '300798'),13.85,1);
A17:=IF(STRCMP(CODE, '600387'),7.35,1);
A18:=IF(STRCMP(CODE, '300318'),4.8,1);
A19:=IF(STRCMP(CODE, '600455'),26.09,1);
A20:=IF(STRCMP(CODE, '002201'),16.58,1);
A21:=IF(STRCMP(CODE, '002410'),49.00,1);
成本中间价:IF(A1*A2*A3*A4*A5*A6*A7*A8*A9*A10*A11*A12*A13*A14*A15*A16*A17*A18*A19*A20*A21=1,0,A1*A2*A3*A4*A5*A6*A7*A8*A9*A10*A11*A12*A13*A14*A15*A16*A17*A18*A19*A20*A21);
成本价下:=IF(A1*A2*A3*A4*A5*A6*A7*A8*A9*A10*A11*A12*A13*A14*A15*A16*A17*A18*A19*A20=1,0,A1*A2*A3*A4*A5*A6*A7*A8*A9*A10*A11*A12*A13*A14*A15*A16*A17*A18*A19*A20)*0.995;
成本价上:=IF(A1*A2*A3*A4*A5*A6*A7*A8*A9*A10*A11*A12*A13*A14*A15*A16*A17*A18*A19*A20=1,0,A1*A2*A3*A4*A5*A6*A7*A8*A9*A10*A11*A12*A13*A14*A15*A16*A17*A18*A19*A20)*1.005;
成本价:DYNAINFO(7)=成本中间价;

手动多个股票成本价设置方法和代码

202111510115231874.png

202111510115231874.png

202111510134346821.rar

2.62 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

202111510134346821.rar

回复

使用道具 举报

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

本版积分规则