Well, I tried to edit your indicator today, winrate looked very nice on your "itm counter", but I'm not sure if it's working or if it has issues.
Or maybe I broke it? Can you test?
I sent my edited version in a private message, check it later.
Ok people, big thanks to ruynzinho for making efforts to find a good filter.
He actually gave a good fitler idea,
I checked it and ITM ratios were fine, he didn't mess up the code, I implemented the fitler idea he provided in a proper way,
now it's a new indicator.
Be warned that I haven't tested it live, now it might repaint!
Be warned that ITM calculations are done just once and cover the current history, in order to trigger it to recalculate you need to refresh indicator
So it calculates ones it is refreshed - it doesn't add up ITM results as a live trading goes
Why it doesn't? because it was quite hard to code it in the first place, and the feature to calculate ITM results on the fly is even harder - no, not harder but just time consuming to code
So be advised that ITM results are calculated once the indicator is refreshed by you!
How to refresh indicator? There are several ways (you need to do only one of them):
- Remove and add indicator to chart again,
- Change timeframe and change back
- Change indicator settings
- Recompile indicator in the editor