- 精华
- 0
- 在线时间
- 21 小时
- UID
- 240899
- 积分
- 43
- 帖子
- 19
- 阅读权限
- 10
- 注册时间
- 2016-9-23
- 最后登录
- 2017-10-7
- 精华
- 0
- UID
- 240899
- 积分
- 43
- 帖子
- 19
- 主题
- 12
- 阅读权限
- 10
- 注册时间
- 2016-9-23
- 最后登录
- 2017-10-7
|
为什么公式总是通不过呢?
Vars
NumericSeries myprice;
NumericSeries myprice1;
NumericSeries myprice2;
NumericSeries line;
Begin
If(time==0.145950)
myprice=Close;
If(time==0.092000)
myprice1=open;
If(time==0.093010)
myprice2=open;
If(time==0.093010 )
if(closeD(1)>openD(1))
{
If( myprice1> myprice&&myprice2>myprice1)
sellshort(1,myprice2);
}
If(time==0.100000)
buytocover(1,open-MinMove*PriceScale);
|
|