Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Percentage_Price_Oscillator - indicator for MetaTrader 5

Views:
7057
Rating:
(37)
Published:
2013.08.12 22:41
Updated:
2023.03.29 13:42
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
Original code: https://www.mql5.com/ru/code/1778

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.