欢迎您光临花生网社区!
| |

 找回密码
 立即注册
查看: 6883|回复: 3
打印 上一主题 下一主题

新手请教,设置开多仓的止盈和止损 [复制链接]



Rank: 8Rank: 8

1#
发表于 2013-4-9 10:20:37 |显示全部楼层 | [分享到 腾讯微博 新浪微博]
if 多仓 then begin
SetProfitTarget(200);


SetStopLoss(100);
end

可以看下这些函数的帮助

另外,可以参考http://www.hs633.com/forum.php?m ... &extra=page%3D1
1,Initial stop loss
2,Trailing stop loss(Moves up from initial stop to reduce risk,Protects us at break-even point)
3,Profit protection stop(Keeps winning trades from becoming losses,Locks in a portion of the open profit)
4,Profit maximizing exit(Attempts to exit without giving back profits)

使用道具 举报



Rank: 8Rank: 8

2#
发表于 2013-4-9 10:42:55 |显示全部楼层 | [分享到 腾讯微博 新浪微博]
1,Initial stop loss
2,Trailing stop loss(Moves up from initial stop to reduce risk,Protects us at break-even point)
3,Profit protection stop(Keeps winning trades from becoming losses,Locks in a portion of the open profit)
4,Profit maximizing exit(Attempts to exit without giving back profits)

使用道具 举报



Rank: 8Rank: 8

3#
发表于 2013-4-9 10:50:58 |显示全部楼层 | [分享到 腾讯微博 新浪微博]
SetProfitTarget(profitPoint*BigPointValue);
SetStopLoss(LossPoint*BigPointValue);  
这两句放到最后吧,另外,你这个公式如果用到股指,就是100*300=3万块止赢,总仓位;如果要对每手止赢,可以
SetStopContract;
SetProfitTarget(profitPoint*BigPointValue);
SetStopLoss(LossPoint*BigPointValue);  
1,Initial stop loss
2,Trailing stop loss(Moves up from initial stop to reduce risk,Protects us at break-even point)
3,Profit protection stop(Keeps winning trades from becoming losses,Locks in a portion of the open profit)
4,Profit maximizing exit(Attempts to exit without giving back profits)

使用道具 举报



Rank: 8Rank: 8

4#
发表于 2013-4-10 14:36:49 |显示全部楼层 | [分享到 腾讯微博 新浪微博]
持仓这个面板中的  止损止赢价  是人为设置的,策略的里止赢止损不在这里体现。
1,Initial stop loss
2,Trailing stop loss(Moves up from initial stop to reduce risk,Protects us at break-even point)
3,Profit protection stop(Keeps winning trades from becoming losses,Locks in a portion of the open profit)
4,Profit maximizing exit(Attempts to exit without giving back profits)

使用道具 举报

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


bottom

Archiver|www.hs633.com ( 粤ICP备11107430号 )

GMT+8, 2024-5-10 19:14 , Processed in 0.093752 second(s), 8 queries .

花生网 Copyright©2012-2014

回顶部