设为首页收藏本站

 找回密码
 注册
楼主: iorichen
打印 上一主题 下一主题

随机试错模型 [复制链接]

Rank: 4

精华
0
UID
113701
积分
342
帖子
12
主题
1
阅读权限
50
注册时间
2012-11-25
最后登录
2013-7-29
1#
发表于 2013-7-23 10:14:53 |显示全部楼层
25.If(BarsSinceentry == 0)

26.        {  

27.                HighestAfterEntry = Close;

28.                LowestAfterEntry = Close;  

29.         If(MarketPosition <> 0)  

30.         {

31.                HighestAfterEntry = Max(HighestAfterEntry,AvgEntryPrice);

32.                LowestAfterEntry = Min(LowestAfterEntry,AvgEntryPrice);

33.         }         

34.    }else

35.        {

36.                HighestAfterEntry = Max(HighestAfterEntry,High);

37.                LowestAfterEntry = Min(LowestAfterEntry,Low);

38.        }
楼主这段代码有问题

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

bottom

静态版|手机版|联系我们|交易开拓者 ( 粤ICP备07044698   

GMT+8, 2024-5-19 12:17

Powered by Discuz! X2 LicensedChrome插件扩展

© 2011-2012 交易开拓者 Inc.

回顶部