You are right But, luckily, it is benign since it affects only the rsiPeriod oldest bars (the ones at the far left on the chart - with default values it is the oldest 14 bars, the rest are OK, so don't be surprised that there will be no difference at all in the rest of the bars). Anyway, updated the indicators at the post where they were posted originally (at this post : https://www.mql5.com/en/forum/181297/page9 )
is small mistake in the "Ma Rsi Adaptive" source?
workMaRsi[r] = price; // i suggest "tprice", not "price"?
Another macd this time using the nonlagma.
both files must be in indicators folder to macd works
Macd of t3
Hilbert-Huang transform and empirical mode decomposition Знакомство с методом эмпирической модовой декомпозиции - Статьи по MQL5 by the look of the article the author did not take Ehlers work as reference.I have read that in some where that the Hilbert-Huang transform is not suitable due to the cubic spline and the end effects I dont know if the Russian author brought something new for these problems in the article.
T3 that can be aplied to on chart indicators ...
Since know that this is what is interesting you per moment, here is a n example how an indicator that can use previous indicators data for calculation is written. It is a "good old" T3 with which you can do that. Here are examples on chart (those are applied to each other, only the first is using the regular price) and when they are applied to sub-window indicators
but how you code together rsi and (for example) sma? I tried without success
You need to include the MovingAverages.mqh and called simplema function but how could I get the rsi data for the sma calculation?
could you please explain a bit this (array range array resize??? when I need them? ):
if (ArrayRange(workT3,0) != bars) ArrayResize(workT3,bars);
if (ArrayRange(workT3Coeffs,0) < (instanceNo+1)) ArrayResize(workT3Coeffs,instanceNo+1);
couldn't understand fully b'coz don't know about coding but seems really interesting...
Drag it to some other indicator and in the "parameters->apply to" chose "previous indicator data" or "first indicator data"
That was not possible in metatrader 4. So, now in that example, you have there a T3 of a momentum, a T3 of a RSI, a T3 of a T3, a T3 of a T3 of a T3, all with a same indicator without changing a single line of code
You the best !
I prefer using arrays instead of buffers in calculations and then the array resize is needed.
In fact, using default settings for buffers and arrays, the only difference between arrays and buffers in metatrader 5 is that buffers are automatically adjusted their size (when the number of bars displayed on chart changes) while arrays have to be managed "manually" (the ArrayResize()) function from that code part you refer to
Also, if it was a single dimension array (liker double array; instead of double array[n];) you could use the ArraySize() function instead of ArrayRange(). ArrayRange() must be used on a "non-single dimension" arrays to find out what is the effective number of array elements for a single dimension