Re: Ehlers Indicators for MT4

791
Cagliostro wrote: Mon Dec 09, 2024 12:15 am The code has nothing that enables repainting. I suggest you test it live, the strategy tester does not work well with all the indicators, specifically the MT4 tester.
Yes, the MTF filter repaints until the MTF candle closes. That’s normal behavior for any MTF indicator. I think he might not be aware of that.
These users thanked the author ujtrader for the post:
Cagliostro
Don't fight the market let it reveal its tricks, then strike with precision. 💪🥊


Re: Ehlers Indicators for MT4

793
ionone wrote: Mon Dec 09, 2024 9:39 pm the indi repaints like crazy
there is a problem somewhere
1) on what TF are you using it? It is optimized for 5 and 15M, on 1M I wan't able to have decent results.
2) I am using it "live", no tester. As explained tester is not suitable for all indicators.
3) As already mentioned earlier, the MTF part naturally recalculates as long as the higher tf candle does not close. It is normal.
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro

Re: Ehlers Indicators for MT4

794
ionone wrote: Mon Dec 09, 2024 9:39 pm the indi repaints like crazy
there is a problem somewhere
😲
So far, I haven't experienced any repainting, bro. 😲 I’ll post if I see it. Since this morning, it hasn't repainted. I've taken 3 entries in the same direction, and 2 have already closed in profit. I’ve set the MTF filter to 30 minutes. Working perfectly! Using with VZU strategy as a confluence for higher timeframe bias . Love how it aligns everything smoothly. 📈💸
These users thanked the author ujtrader for the post:
Cagliostro
Don't fight the market let it reveal its tricks, then strike with precision. 💪🥊

Re: Ehlers Indicators for MT4

795
ujtrader wrote: Mon Dec 09, 2024 9:54 pm 😲
So far, I haven't experienced any repainting, bro. 😲 I’ll post if I see it. Since this morning, it hasn't repainted. I've taken 3 entries in the same direction, and 2 have already closed in profit. I’ve set the MTF filter to 30 minutes. Working perfectly! Using with VZU strategy as a confluence for higher timeframe bias 🔥. Love how it aligns everything smoothly. 📈💸
I trade 5m on 30 HTF as well. Happy you find it useful! ;)
These users thanked the author Cagliostro for the post:
ujtrader
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro


Re: Ehlers Indicators for MT4

796
Cagliostro wrote: Mon Dec 09, 2024 10:00 pm I trade 5m on 30 HTF as well. Happy you find it useful! ;)
I think it's time to start a thread called "The Art of Using Indicators" 😂 Obviously, if the M30 is about to turn bearish, it will start signaling the entry 6 bars back on the 5-minute chart... and that's probably what they’re calling "repainting," I guess. 😅
Don't fight the market let it reveal its tricks, then strike with precision. 💪🥊

Re: Ehlers Indicators for MT4

797
ujtrader wrote: Mon Dec 09, 2024 9:54 pm 😲
So far, I haven't experienced any repainting, bro. 😲 I’ll post if I see it. Since this morning, it hasn't repainted. I've taken 3 entries in the same direction, and 2 have already closed in profit. I’ve set the MTF filter to 30 minutes. Working perfectly! Using with VZU strategy as a confluence for higher timeframe bias . Love how it aligns everything smoothly. 📈💸
when I put the Indi in the strategy tester :
when I then put the indicator back on the chart :
there is obviously something worng here. both are VERY different
Scalping the Century TimeFrame since 1999

Re: Ehlers Indicators for MT4

799
Cagliostro,

What I’ve figured out about repainting indicators is that they start their main loop like this:
a) for (i = 0; i <= limit; i++)

Non-repainting indicators, on the other hand, start like this:
b) for (I = limit; I >= 0; I--)

If your main loop is still starting like (a) instead of (b), then it’s definitely going to repaint. Can you confirm?

I’m using just the filter line instead of the histogram for my trading decisions, and it’s working fine so far.
Don't fight the market let it reveal its tricks, then strike with precision. 💪🥊

Re: Ehlers Indicators for MT4

800
ujtrader wrote: Tue Dec 10, 2024 7:16 am Cagliostro,

What I’ve figured out about repainting indicators is that they start their main loop like this:
a) for (i = 0; i <= limit; i++)

Non-repainting indicators, on the other hand, start like this:
b) for (I = limit; I >= 0; I--)

If your main loop is still starting like (a) instead of (b), then it’s definitely going to repaint. Can you confirm?

I’m using just the filter line instead of the histogram for my trading decisions, and it’s working fine so far.
Yes, confirm that. It uses a reverse loop, processing bars from the newest to the oldest to ensure that only completed bars are used for indicator calculations, thereby preventing repainting.
These users thanked the author Cagliostro for the post:
ujtrader
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro