Join our fan page
- Views:
- 9651
- Rating:
- Published:
- 2012.10.12 08:26
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author:
Svinozavr
The indicator is simple enough. When MACD is in positive area its values are shifted downwards by the amount of ATR, when MACD is in negative area, its values are shifted upwards.
Therefore, the resulting curve enters the same area with MACD only when the value of the latter one is big enough to cover the value of the trading range. Besides, this method allows users to track decreasing of ATR at the end of the movement – the resulting curve enters the area where MACD is located at the moment.
Blue line - result of MACD shift by ATR. Highlighted histogram bars indicate places where MACD and shift result have the same sign (±).
The additional condition for their emerging is MACD slope in the direction of the price movement.
iMACD±ATR
This indicator was first implemented in MQL4 and published in Code Base at mql4.com 18.08.2011 (in Russian).
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1019
![ColorStochastic_HTF](https://c.mql5.com/i/code/indicator.png)
Standard Stochastic oscillator displayed as a cloud that can be located by setting the indicator timeframe value different from the chart one.
![PositionInfo](https://c.mql5.com/i/code/indicator.png)
The simple indicator for displaying some relevant information about a position right in the chart window.
![XprofuterDD](https://c.mql5.com/i/code/indicator.png)
XprofuterDD presents an attempt to predict the future price behavior.
![XprofuterOverlay](https://c.mql5.com/i/code/indicator.png)
XprofuterOverlay shows the line of the price future movement.