DislikedI have a way to calculate the MTF values so the historic values will be the same as realtime. I'm working on that but it will take me a while -- it's a bit complicated, I'm still learning MQL4, and I don't have much time to work on it.Ignored
I have a preliminary non-recalculating, non-repainting indicator working. I believe the historical bar calculations are right, but I can't test the realtime bar generation until I have realtime ticks.
Here's an example of it. The top HAS is mine, and the bottom is the original. I used the same "incorrect" calculation used in the original HAS so they're as comparable as possible. Any differences you see are (I think) due to the original HAS repainting, changing the history so it's different than you would have seen in realtime. I believe my HAS (the top one) shows the history correctly, as you would have seen it in realtime -- but again, I can't test that until I have live ticks.
The differences are pretty small -- maybe small enough that the original "repainting" version is just fine, especially for live trading. But if you want to do visual backtesting, this is more accurate.