This tool measures the profitability of every exponential moving average length combination for the entire history of the instrument that it is applied and only displays the most profitable combination in real-time meaning that this indicator is fully functional for trading.
The Optimised Exponential Moving Average can be tested using an Exponential Moving Average strategy and the Strategy Tester panel on any instrument or time-stamp. It will always display the lengths of the most profitable exponential moving average lengths at the current moment in time.
This can be used on its own, or paired with the Intelligent Exponential Moving Average (AI) for a better understanding of the indicators movements.
The Intelligent Exponential Moving Average (AI) uses this tool as a predictive method for machine learning.
@Angusmck, TV Servers are not coping with these scripts very well. These problems only showed up after publishing which indicates that it is a scaling issue that TV needs to fix.
zAngus
⋅
@GrantPeace, thanks Grant, it loaded about 10 mins after I posted - not a 10 min delay - just started working when I looked at other charts. Been good ever since. I spent the last couple of hours comparing it to other indicators I have been using and it genuinely does hang onto trades better than pretty much everything else I have been using. It does look like a winner...
GrantPeace
⋅
@Angusmck, Awesome! I am so glad it is loading.
It really does work very well. I think it deserves to replace the moving average... Using a static length pair of moving average should be like driving a steam engine!
I will get to the moving average crossings. I have made the script to be as big as it can possibly be and still load, so any extra lines seems to throw it over the edge and I get internal server errors. But I will keep trying.
zAngus
⋅
@GrantPeace, did you see the scripts I sent you as examples of displaying cross overs? The code seemed pretty straight forward. Depends how you have written your logic I guess.
Regards