Discussion of article "The Drawing Styles in MQL5"

 

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.

Table 1. List of drawing styles in MQL4 and MQL5

Author: Loong

 
Is there any example of how to use DRAW_ZIGZAG in MQL4?
 
Zigzag2 R
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.

 
Al Bundy # :

Unfortunately, this is not possible: when using the DRAW_CANDLES (or DRAW_COLOR_CANDLES) styles, the candle body is obtained WITHOUT a border.

 
Vladimir Karputov #:

Unfortunately, this is not possible: when using the DRAW_CANDLES (or DRAW_COLOR_CANDLES) styles, the candle body is obtained WITHOUT a border.

Thanks for this info
Reason: