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 | TriggerLines

The TriggerLines trend indicator draws two moving average lines colored in accordance with the trend direction:

  • Up - green;
  • Down - red.

The indicator has three input parameters:

  • Period - calculation period (line 1);
  • Smoothing - smoothing period (line 2);
  • Applied price - price used for the calculation of the two lines.

Calculations:

WT = 6.0 * sum / K  Signal = EMA(WT, Smoothing)  

where:

sum = sum of (LV * Applied price) over the Period range  LV = (Period+1)/3  K = Period * (Period+1)  

MetaTrader Experts, Indicators, Scripts and Libraries

21698