RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
Recursive implementation of multi-timeframe smoothed RSI indicator.
The values of the standard Relative Strength Index indicator are smoothed using Simple Moving Average (SMA). To disable smoothing set the value of Smoothed <= 1.
The indicator uses the recursive call of itself for lower timeframes. This eliminates the need to create two indicators: the conventional and multi-timeframe (implemented by call of the conventional). Moreover, the multi-timeframe indicator can not work without conventional version. This code is useful rather as a demonstration of the special programming technique than unique oscillator for trading.
Never miss news-driven moves – use the News OCO Expert Advisor to place pending orders safely around economic releases. Find out more.

Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
2186