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 | Trend Force

The Trend Force oscillator indicator.

The indicator has three input parameters:

  • Period - calculation period;
  • ATR's period - ATR parameter;
  • ATR's coefficient - ATR parameter.

Calculation:

Trend Force[i] = Up[i]-Dn[i]

where

  • Up[i] - the highest value (MaxPrice-ATR_Coeff*ATR) in the range from (i-Period+1) to i;
  • Dn[i] - the lowest value (MinPrice+ATR_Coeff*ATR) in the range from (i-Period+1) to i;
  • MaxPrice, MinPrice - the highest and the lowest price in the range from (i-ATR_Period+1) to i;
  • ATR - Average True Range value with the period ATR_Period.

MetaTrader Experts, Indicators, Scripts and Libraries

20452

Best MetaTrader Indicators + Profitable Expert Advisors