Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
IT - indicator for MetaTrader 5
- Views:
- 4402
- Rating:
- Published:
- 2018.06.16 10:07
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator shows John Ehlers trendline on the price chart.
Calculations:
Instantaneous Trendline = MVA(Price, Period) + SmoothSlope/2,
where:
SmoothSlope[i] = (Slope[i] + 2*Slope[i-1] + 2*Slope[i-2] + Slope[i-3])/6, Slope[i] = Price[i] - Price[i-Period+1]
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20569