- 精华
- 0
- 在线时间
- 923 小时
- UID
- 397
- 积分
- 4818
- 帖子
- 87
- 阅读权限
- 80
- 注册时间
- 2007-9-22
- 最后登录
- 2021-6-8
- 精华
- 0
- UID
- 397
- 积分
- 4818
- 帖子
- 87
- 主题
- 13
- 阅读权限
- 80
- 注册时间
- 2007-9-22
- 最后登录
- 2021-6-8
|
Wealth-Lab Pro 5.1 内置的一个系统
3x2 System
Can a Strategy as simple as buying after 3 down days, then selling after 2 up days, be profitable? Open the 3x2 Strategy and you might be surprised by the result.
Begin
if(MarketPosition == 1)
{
If(close>close[1] and close[1]>close[2])
{
Sell(0, NextOpen,True);
}
}
if(MarketPosition == 0)
{
If(close<close[1] and close[1]<close[2]and close[2]<close[3])
{
Buy(0,NextOpen,True);
}
}
end
[ 本帖最后由 ilian 于 2008-9-19 01:36 编辑 ] |
|