加了,limitr,close+2*mindiff [金字塔]
- 咨询内容:
老师如下程序加了,limitr,close+2*mindiff,测试不通过讲参数出错.请给更改谢谢
平空:SELLSHORT(PK OR EXITTIME,lots,limitr,close+2*mindiff,); //平空信号开多:BUY(KD AND HOLDING=0 and aXITTIME,lots,limitr,close+2*mindiff,); //开多信号平多:SELL(PD OR EXITTIME,lots,limitr,close-2*mindiff,); //平多信号开空:BUYSHORT(KK AND HOLDING=0 and aXITTIME,lots,limitr,close-2*mindiff,); - 金字塔客服:
把编译报错截图说明一下
截图方法http://www.weistock.com/bbs/dispbbs.asp?boardid=2&Id=31614&page=3
- 用户回复:
如下代码更改为多平空用limitr,close+2*mindiff
开空平多用limitr,close-2*mindiff
平空:SELLSHORT(PK OR EXITTIME,lots,LIMITR,OPEN,1); //平空信号开多:BUY(KD AND HOLDING=0 and aXITTIME,lots,LIMITR,OPEN,1); //开多信号平多:SELL(PD OR EXITTIME,lots,LIMITR,OPEN,1); //平多信号开空:BUYSHORT(KK AND HOLDING=0 and aXITTIME,lots,LIMITR,OPEN,1); //开空信号
- 网友回复:
把逗号1去掉就行了
- 网友回复: 具体怎弄请帮编写完善谢谢
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容