Unisciti alla nostra fan page
- Visualizzazioni:
- 8270
- Valutazioni:
- Pubblicato:
- 2018.01.22 09:19
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
The "MACD Crossing the zero level" indicator uses the DRAW_FILLING 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:
Fig. 1. Displaying areas for the MACD signal line
Fig. 2. Displaying areas for the MACD main line
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/19276
![An abstract trading robot, an OOP pattern](https://c.mql5.com/i/code/expert.png)
An example of a template for developing automated trading systems.
![eaBreakeven](https://c.mql5.com/i/code/expert.png)
The expert advisor moves stop loss of position at user-defined breakeven.
![MACD Crossing the zero level (color candles)](https://c.mql5.com/i/code/indicator.png)
Color candlesticks display areas, in which the MACD indicator crosses the zero line.
![Statistics of candles](https://c.mql5.com/i/code/script.png)
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.