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 Indicator | RTL

The Recursive Trendline (RTL) indicator shows the trend as a recursive line.

It has two parameters:

  • Period - calculation period;
  • Applied price - price used for calculations.

Calculation formula:

RTL[i] = (1 - Alpha)*RTL[i-1] + Alpha*(Price[i] + b0[i] - b0[i-1]),  TOSC[i] = (RTL[i] - EMA(Period, Price))  

where

Alpha = 2/(Period + 1)  b0[i] = (1 - Alpha)*b0[i-1] + Price[i]  

Possible interpretation: if the line is below the price - Buy, if the line is above the price - Sell.

MetaTrader Experts, Indicators, Scripts and Libraries

20271

Best MetaTrader Indicators + Profitable Expert Advisors