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 | i4 DRF v2

Real author:

goldenlion@ukr.net

A simple trend indicator with calculation of rise and fall in Close prices. Calculation formula:

i4_DRF_v2=100 * (Psum - NSum) / Period

where:

  • Psum — the number of candles per calculation period, which have a rise in price;
  • Nsum — the number of candles per calculation period, which have a fall in price;
  • Period — calculation period.

Originally this indicator has been written in MQL4 and was first published in the Code Base on 09.03.2008.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig1. The i4_DRF_v2 indicator

16170

Best MetaTrader Indicators + Profitable Expert Advisors