他要写的是, 程序化下单 以下单价格第两跳成交 若三十秒内仍不成交 以市价追单 如何编写? |
http://www.weistock.com/bbs/dispbbs.asp?boardid=4&Id=69035
请不要重复发帖,谢谢您的配合
下单价格+2跳,图表里面就是limitr,close+2*mindiff
比如举个例子:buy(holding=0,1,limitr,close+2*mindiff);
追单在这里设置
if close<=998 and barslast(close>=1000)>0 and barslast(close>=1000)<=todaybar then buy(holding=0,1,limitr,close+2*mindiff);