- 注册时间
- 2010-9-14
- 最后登录
- 2010-9-29
- 在线时间
- 14 小时
- 阅读权限
- 30
- 积分
- 73
- 帖子
- 14
- 精华
- 0
- UID
- 16234

|
发表于 2010-9-25 17:19:12
|显示全部楼层
// 止损
If(MarketPosition == 1)
{
If(Low < AvgEntryPrice - StopPoint * MinMove*PriceScale)
{
myExitPrice = AvgEntryPrice - (StopPoint+1) * MinMove*PriceScale;
myExitPrice = max(low,myExitPrice);
Sell(lots,myExitPrice);
}
其中一句: myExitPrice = max(low,myExitPrice);
卖平是否应该用min(low,myExitPrice);低价优先?
如果用市价平,如何写? |
|