指标: CCFp (复杂通用框架百分比)

 

CCFp (复杂通用框架百分比):

群集指标基于文章 https://www.mql5.com/zh/articles/1464


作者: Vladimir Karputov

 

在 D1 阶段,由于限制器的原因,我只得到了 20 个小节:

      int index=coefficient*(int)MathMax((double)InpFast_ma_period,(double)InpSlow_ma_period);
      limit=(int)MathMin(index,limit);

大约在第 384 行左右。

我在这些行下添加了以下内容,以便在任何时间段都能获得完整的数值图表。

      long visibleBars = 0;
      if(!ChartGetInteger(0,CHART_VISIBLE_BARS,0,visibleBars))
      {
         Print("Could not determine CHART_VISIBLE_BARS");
      }

      if ( limit < visibleBars ) limit = (int) visibleBars;

这样做似乎 没有对货币的计算产生任何不良影响。

 
你好,

,我不是编码员。

在 1 分钟图表上使用时,Mt4 版本和 mt5 版本的设置相似,即

快速 MA = 1
慢速 MA =2
MA平滑类型= 指数
价格类型 = 收盘

结果大不相同。

有谁能调查一下这个问题吗?

谢谢。