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

2013.08.12 22:41

Percentage_Price_Oscillator - indicator for MetaTrader 5

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

votes: 32

Real author:

Tom Balfe

A non-normalized oscillator. The indicator is calculated using the following formula:

Percentage Price Oscillator = (FastMA - SlowMA) / SlowMA

According to the author:

  • It shows more accurate signals of divergence between the price and the value of the oscillator;
  • It more accurately identifies price extremes, its movements are more dynamic.

The indicator is implemented with a signal line, so it can be used similarly to the stochastic oscillator.

This indicator was first implemented in MQL4 and published in Code Base 08.03.2008.

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging price series for intermediate calculations without using additional buffers".

Figure 1. The Percentage_Price_Oscillator indicator

Figure 1. The Percentage_Price_Oscillator indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

MACD Divergence MACD Divergence

This indicator will plot divergence lines on the MACD indicator and will give buy and sell signal by displaying green and red arrows.

Velocity_v2 Velocity_v2

The Momentum oscillator with a triple averaging and a signal line.

Hull_Candles Hull_Candles

An indicator in the form of candlesticks based on the Heiken Ashi algorithms and two averages.

Trend Score Trend Score

A simple trend indicator based on counting of the number of bullish and bearish candlesticks.