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

Latest: Metatrader 5 Indicators | Price Rate of Change (ROC) | MQL5 Code

Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

Price Rate of Change indicator

Price Rate of Change indicator

Calculation:

Trade the powerful Traders Dynamic Index strategy automatically with this dedicated TDI Expert Advisor. More details.

You can find the speed of price change as a difference between current closing price and the closing price n periods ago.

ROC = ((CLOSE (i) - CLOSE (i - n)) / CLOSE (i - n)) * 100

where:

  • CLOSE (i) - closing price of the current bar;
  • CLOSE (i - n) - closing price n bars ago;
  • ROC - the value of Price Rate of Change indicator.

Complement community code with advanced automation from RobotFX.

46

Best MetaTrader Indicators + Profitable Expert Advisors