设为首页收藏本站

 找回密码
 注册
查看: 2396|回复: 0
打印 上一主题 下一主题

我写了一个策略代码,但是一运行这个代码MACD的指标就不显 [复制链接]

Rank: 2

精华
0
UID
251844
积分
115
帖子
39
主题
19
阅读权限
30
注册时间
2017-5-31
最后登录
2018-2-7
跳转到指定楼层
1#
发表于 2017-6-30 17:54:17 |只看该作者 |倒序浏览
本帖最后由 marialeng 于 2017-7-5 15:00 编辑

我写了一个策略代码,但是一运行这个代码MACD的指标就不显示,软件也跟着崩溃。各位老师能不能帮我看看是什么原因。
Params
        Numeric FastLength(12);
        Numeric SlowLength(26);
        Numeric MACDLength(9);
        Numeric StopLossSet(50);
        Numeric Lots(1);
Vars
    NumericSeries MACDValue;
        Numeric AvgMACD;
        Numeric MACDDiff;
        Numeric MinPoint;   //一跳
        Numeric MyEntryPrice;
        Numeric MyExitPrice;
Begin
    //集合竞价和小节休息过滤
    If (!CallAuctionFilter())Return;
        MinPoint=MinMove*PriceScale;
您需要登录后才可以回帖 登录 | 注册

bottom

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

GMT+8, 2024-5-9 04:39

Powered by Discuz! X2 LicensedChrome插件扩展

© 2011-2012 交易开拓者 Inc.

回顶部