Zigzag2_R_Color - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

The standard indicator ZigZag.mq4 uses the DRAW_SECTION drawing style. This style allows drawing line segments only between points that lie on different bars. The DRAW_ZIGZAG drawing style eliminates this limitation. For this purpose, use two buffers instead of one. Zigzag2_R_color.mq5 was developed to illustrate this style. Added handling of external bars in the code when the high price of the current bar is higher than the previous bar and the low price of the current bar is lower than the previous bar.
The indicator was originally written in MQL4 and first published in the code base on January 25, 2007.

Figure 1. Zigzag2_R_Color indicator
Attachment download
📎 zigzag2_r_color.mq5 (22.36 KB)
Source: MQL5 #16455
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •