Watch how to download trading robots for free
Find us on Telegram!
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

Historical Volatility - Parkinson - indicator for MetaTrader 5

Views:
4481
Rating:
(14)
Published:
2018.06.15 10:33
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The Parkinson's number, or High Low Range Volatility developed by the physicist, Michael Parkinson in 1980, aims to estimate the Volatility of returns for a random walk using the High and Low in any particular period. IVolatility.com calculates daily Parkinson values. Prices are observed on a fixed time interval: n = 10, 20, 30, 60, 90, 120, 150, 180 days.

  • SH is stock's High price in t day.
  • SL is stock's Low price in t day.
  • High/Low Return (xtHL) is calculated as the natural logarithm of the ratio of a stock's High price to stock's Low price.
  • Return:
  • And Parkinson's number:

An important use of the Parkinson's number is the assessment of the distribution prices during the day as well as a better understanding of the market dynamics. Comparing the Parkinson's number and periodically sampled volatility helps traders understand the tendency towards mean reversion in the market as well as the distribution of stop-losses.

Trend Envelopes of Averages Trend Envelopes of Averages

Trend Envelopes with an option to chose smoothed/filtered price in calculation instead of using "raw" prices.

LSMA Trend LSMA Trend

Indicator based on LSMA (Least Squares Moving Average). It shows the trend of the used average and displays it as a sort of an oscillator.

Historical Volatility Bands - Parkinson Historical Volatility Bands - Parkinson

Historical Volatility Bands that are constructed using average as the middle line, and upper and lower bands using the Parkinson's historical volatility (instead of "regular" Historical Volatility) for bands calculation.

PivotHeiken 3 PivotHeiken 3

The EA uses indicators Pivot-2 and Heiken Ashi Smoothed Oscillator.