Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5430
- Rating:
- Published:
- 2018.08.13 12:46
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
There a lot of ways how some indicators can be made adaptive instead of calculating fixed periods
One, less known method, is to use normalized ATR (Average True Range) for making the calculation adaptive. And since double smoothed EMA (Double smoothed Exponential Moving Average - originally published here : Double Smoothed EMA) is a a good candidate for being adaptive (it allows fractional periods for calculation) and since it is known for producing smoothe results without adding lag, here is double smoothed EMA that is using ATR for adaptive double smoothed EMA calculations
![Average penetration histogram](https://c.mql5.com/i/code/indicator.png)
Average penetration histogram
![Average penetration bars](https://c.mql5.com/i/code/indicator.png)
Average Penetration indicator displayed as bars.