Is there any example of how to use DRAW_ZIGZAG in MQL4?
see that https://www.mql5.com/en/code/7762
![Zigzag2 R Zigzag2 R](/i/code/indicator.png)
Zigzag2 R
- votes: 4
- 2008.02.02
- MetaQuotes Software Corp.
- www.mql5.com
Zigzag2_R_ is a variant of the indicator Zigzag with an added option of drawing two extremums on one bar.
>>> You can draw what you want.
I want to draw bicolored candles to additional display the trend.
Bullish candle during uptrend: green border with green filling,
Bullish candle during downtrend: green border with red filling,
Bearish candle during uptrend: red border with green filling,
Bearish candle during downtrend:red border with red filling.
How is this possible? You can find this kind with other platforms.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
New article The Drawing Styles in MQL5 is published:
There are 6 drawing styles in MQL4 and 18 drawing styles in MQL5. Therefore, it may be worth writing an article to introduce MQL5's drawing styles. In this article, we will consider the details of drawing styles in MQL5. In addition, we will create an indicator to demonstrate how to use these drawing styles, and refine the plotting.
Author: Loong