Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Indicators

Price Rate of Change (ROC) - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
8915
Rating:
votes: 21
Published:
2010.01.26 11:21
Updated:
2016.11.22 07:32
roc.mq5 (2.69 KB)view

As you know, prices drop and grow in ondulatory way, in cycles. This cyclic movement is a result of change in investors' expectations and the price control fight between bulls and bears.

Price Rate of Change (ROC) reflects this ondulatory movement like an oscillator, measuring the difference in prices in a certain period. ROC grows if prices grow and drops along with them. The more the price change is, the more ROC changes.

12- and 25-day ROC are most widely spread. A 12-day ROC is a perfect short-term and medium-term indicator of overbought/oversold.

The higher ROC is, the more probable the rise. However, like in the case of using all other overbought/oversold indicators, you should not hurry to open a position until the market changes its direction (turns up or down). The market that seems to be outbidden can remain so for some time. In general, the state of utmost overbought/oversold usually assumes an extension of the current trend.

Price Rate of Change indicator

Price Rate of Change indicator

Calculation:

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.

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/46

Price and Volume Trend (PVT) Price and Volume Trend (PVT)

The Price and Volume Trend Indicator(PVT), like On Balance Volume (OBV), represents the cumulative sum of trade volumes calculated considering close price changes.

Price Channel Price Channel

The Price Channel Indicator draws the price channel, its upper and lower boundaries are determined by maximal and minimal prices for a certain period.

Relative Strength Index (RSI) Relative Strength Index (RSI)

The Relative Strength Index Indicator (RSI) is a price-following oscillator that varies between 0 and 100.

Relative Vigor Index (RVI) Relative Vigor Index (RVI)

The main point of the Relative Vigor Index Indicator (RVI) is that on the bull market the closing price is, as a rule, higher, than the opening price.