Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.
The real author:
Likhovidnov V.N.
The indicator transfers the price data to the new coordinates system shifting price axis. Before throwing the indicator to the chart create a chart object of trend line in the chart. Remember the name of this line in the Windows clipboard and after throwing the AffineTransform indicator to the chart, enter from the Windows clipboard the name of the trend line as input parameter of the indicator.
Classic MACD strategy made fully automatic – the MACD Expert Advisor for MT4 handles it all. Check it out.
This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 07.12.2009.

Fig.1 The AffineTransform indicator
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
1248