Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Indicators

MACD Crossing the zero level (color candles) - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch Português

Views:
468
Rating:
votes: 15
Published:
2018.01.22 09:20

The "MACD Crossing the zero level" indicator uses the DRAW_COLOR_CANDLES style to draw areas, in which MACD is above or below the zero line.

In the indicator settings, you can select the MACD line to show areas for, i.e. the main or the signal line:

MACD Crossing the zero level (clr candles) Signal

Fig. 1. Displaying areas for the MACD signal line

MACD Crossing the zero level (clr candles) MACD

Fig. 2. Displaying areas for the MACD main line

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/19302

MACD Crossing the zero level MACD Crossing the zero level

Displays areas, in which the MACD indicator crosses the zero line.

An abstract trading robot, an OOP pattern An abstract trading robot, an OOP pattern

An example of a template for developing automated trading systems.

Statistics of candles Statistics of candles

Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The script uses the CGraphic class.

WPRValues WPRValues

The indicator shows a text block with the values ​​of the user defined WRP oscillator period for each timeframe.