- 精华
- 0
- 在线时间
- 83 小时
- UID
- 5903
- 积分
- 748
- 帖子
- 95
- 阅读权限
- 60
- 注册时间
- 2009-11-14
- 最后登录
- 2010-11-25
- 精华
- 0
- UID
- 5903
- 积分
- 748
- 帖子
- 95
- 主题
- 11
- 阅读权限
- 60
- 注册时间
- 2009-11-14
- 最后登录
- 2010-11-25
|
if(C-lastentryprice>5 and getglobalvar(1)==0)
{
sell(4,c,false);
setglobalvar(1,1);
}
if(C-lastentryprice>10 and getglobalvar(2)==0)
{
sell(4,c,false);
setglobalvar(2,1);
}
if(c-lastentryprice>15 and getglobalvar(3)==0)
{
sell(2,c,false);
setglobalvar(3,1);
}
if(c-lastentryprice>3)
setglobalvar(0,1);
if(c-lastentryprice<2) and getglobalvar(0)==1)
sell(10,c,false);
if(c-lastentryprice<-10)
sell(10,c,false);
大概写了一下,只提供思路 |
|