Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
9389
Rating:
(14)
Published:
2012.10.12 08:26
Updated:
2016.11.22 07:32
macd_atr.mq5 (7.89 KB) view
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

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 ColorStochastic_HTF

Standard Stochastic oscillator displayed as a cloud that can be located by setting the indicator timeframe value different from the chart one.

PositionInfo PositionInfo

The simple indicator for displaying some relevant information about a position right in the chart window.

XprofuterDD XprofuterDD

XprofuterDD presents an attempt to predict the future price behavior.

XprofuterOverlay XprofuterOverlay

XprofuterOverlay shows the line of the price future movement.