- 精华
- 0
- 在线时间
- 1479 小时
- UID
- 5696
- 积分
- 1213
- 帖子
- 256
- 阅读权限
- 60
- 注册时间
- 2009-10-18
- 最后登录
- 2023-6-10
- 精华
- 0
- UID
- 5696
- 积分
- 1213
- 帖子
- 256
- 主题
- 111
- 阅读权限
- 60
- 注册时间
- 2009-10-18
- 最后登录
- 2023-6-10
|
Params
Numeric bpoint(2590);
Numeric spoint(2590);
Numeric mytime(13.07);
Vars
Numeric minpoint;
Begin
minpoint = MinMove*PriceScale;
If(MarketPosition==-1 && time==mytime/100 && high>=bpoint && date==CurrentDate)
{
BuyToCover(4,close+10*minpoint);
}
If(time==0.0950 && low<=spoint && date==CurrentDate)
{
SellShort(2,spoint-10*minpoint);
}
If(time==0.0955 && low<=spoint && date==CurrentDate)
{
SellShort(3,spoint-10*minpoint);
}
If(time==mytime/100 && low<=spoint && date==CurrentDate)
{
SellShort(5,close-10*minpoint);
}
End |
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
|