Indicators: CCFp (Complex Common Frames percent)
On D1 period, I got only 20 bars because of the limiter:
int index=coefficient*(int)MathMax((double)InpFast_ma_period,(double)InpSlow_ma_period); limit=(int)MathMin(index,limit);
This was around line 384 or so.
I added the following right under these lines to allow for a full chart of values on any time frame.
long visibleBars = 0; if(!ChartGetInteger(0,CHART_VISIBLE_BARS,0,visibleBars)) { Print("Could not determine CHART_VISIBLE_BARS"); } if ( limit < visibleBars ) limit = (int) visibleBars;
It seems to have worked with no ill effects to the calculations of the currencies.
Hi,
I am not a coder. However I am quite certain that something is off/wrong with the mt5 version of this indicator when compared to the mt4 version.
When used on the 1 min chart with similar settings on both the Mt4 version and the mt5 version i.e.
fast MA = 1
slow MA =2
MA smoothing type = Exponential
type of price = Close
The results are vastly different. It is almost like as if the mt4 version is a lot more responsive than the mt5 version.
Can anyone please look into this ?
Thankyou
I am not a coder. However I am quite certain that something is off/wrong with the mt5 version of this indicator when compared to the mt4 version.
When used on the 1 min chart with similar settings on both the Mt4 version and the mt5 version i.e.
fast MA = 1
slow MA =2
MA smoothing type = Exponential
type of price = Close
The results are vastly different. It is almost like as if the mt4 version is a lot more responsive than the mt5 version.
Can anyone please look into this ?
Thankyou
CCFp (Complex Common Frames percent):
Cluster indicator based on article https://www.mql5.com/en/articles/1464
Author: Vladimir Karputov