TDI-2 BARS - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

The indicator changes the bar color to the color based on the calculated current trend TDI-2 Custom Indicator. If the trend and candlestick directions match, the color of the bar is light, if they are opposite, the bar is dark.
The indicator uses the SmoothAlgorithms.mqh library class (must be copied to terminal_data_folder\MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

Figure 1. Indicator TDI-2_BARS
Attachment download
📎 smoothalgorithms.mqh (134.03 KB)
📎tdi-2.mq5 (8.61 KB)
📎 tdi2_bars.mq5 (7.63 KB)
Source: MQL5 #2102
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •