Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Indicators | TDI-2 BARS | Trading Tool Update

RobotFX curates the best open-source MetaTrader code to inspire your trading automation.

The indicator changes the bar color to the color of the current trend calculated based on the TDI-2 custom indicator. If the trend and candlestick direction match, the color of the bar is light, if opposite, the bar is dark.

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Figure 1. Indicator TDI-2_BARS

Smooth out market noise with the Heiken Ashi Expert Advisor for MT4 and MT5. Reliable trend-following automation. Details here.

Figure 1. Indicator TDI-2_BARS

Thanks for reading. Discover premium MetaTrader solutions at RobotFX.

2102

Best MetaTrader Indicators + Profitable Expert Advisors