手工下单时,能不能买入后立即按照n个点下止盈委卖单的功能?
现在的止盈止损只能在盘口达到一定条件时才下单,我的意思是提前下好止盈单,可以么?
现在的止盈止损只能在盘口达到一定条件时才下单,我的意思是提前下好止盈单,可以么?
效果是一样的,
现在除了大连,其他交易所均不支持止损单,都是金字塔再内部监控的
详情请看 http://www.weistock.com/bbs/dispbbs.asp?boardid=2&Id=49 问题35
比如,我26630开多ru,1点止盈的话,只有当bidprice为26635时,才发出卖平指令。
如果能提前下到26635的卖平委托单,则只要突破askprice为26635时,就能成交。效率更高。
效果是一样,但是提前下单的方式效率更高,成功率更高,因为前者必须突破26635,后者只要达到26635上我下的单子即可,因为实盘时,可能突破我的委托单后就向下运行了。
说白了,就是止盈应该在开仓之后立刻按止盈点数限价挂单,止损才需要实时监控价格,当满足止损条件时,止损平仓。
参考http://www.weistock.com/bbs/dispbbs.asp?boardid=5&Id=2671这个用VBA写的下止损单例子,你可以自己编写一段宏,让他自动帮你下止赢单
if tholding=0 then begin
tbuy(le,1,limitr,askprice);
tbuyshort(se,1,limitr,bidprice);
end;
if tholding<0 then begin
tsell(not(tisremain(0)),holding,limitr,enterprice+2*mindiff);
tsell(enterprice-close>=2*mindiff,holding,stopr,close);
end;
if tholding>0 then begin
tsellshort(not(tisremain(0)),holding,limitr,enterprice-2*mindiff);
tsellshort(close-enterprice>=2*mindiff,holding,stopr,close);
end;