once again : play your indicator in the strategy tester, for a few bars, and then put the indicator a second time on the chartCagliostro wrote: Mon Dec 23, 2024 10:20 pm The MTF component will repaint in any case, it is how MTF works.
Is the rest repainting, sure?
Find something in the code below that enables repainting please.
Doing calculations from the newest bar (Code: Select all
// Main Fisher Transform Loop for(i_ = limit - 1; i_ >= 1; i_--) { MaxH = High[Highest(NULL, 0, MODE_HIGH, period, i_)]; MinL = Low[Lowest(NULL, 0, MODE_LOW, period, i_)]; ... mainFisherCalc0[i_] = ... // Calculation ... }limit - 1) down to the oldest (i_ >= 1) prevents “forward-looking” changes to already-closed bars. Once bari_is processed, its values are fixed and do not change afterward.
PS: none is forcing you to use it, there are 100.000 indicators around to test. Nothing personal, but your attitude is not the best.
both signals should be identical if they don't repaint.
here is what your indicator outputs :
TWO TOTALLY DIFFERENT THINGS and this is without any MTF