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.05.09 12:00
Scripts

VM - Volatility Measure - script for MetaTrader 5

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

Views:
4818
Rating:
votes: 34
vm.mq5 (39.51 KB)view

I would like to represent you a small script that copies candlestick data for the specified period of time and searches separate parts of the candlestick (body, upper and lower shadows) there. Then the script finds the maximum and minimum value, as well as the arithmetic mean value. In this case, scanning is performed on all timeframes. As a result, the script displays the received data as a table in the upper left corner of the active window.

Features

The following abbreviations are used in the script:

  • MAX - maximum value,
  • MIN - minimum value,
  • MID - arithmetic mean value,
  • B - candlestick body,
  • US - upper shadow,
  • DS - lower shadow.

For smaller than weekly timeframes the results of arithmetic mean values ​​are displayed with rounding up to one decimal place.

Note!

The script downloads the history on all timeframes, and it may be unable to download all the data at the first launch. In this case, of course, the display will be incorrect, at that copy error messages will be thrown to the log. To operate the script to the end, you need to run it after several time again.

There can also be possible crashes in data testimony on minute timeframes when using large periods of scanning, as the data arrays will be too large.  

Why Do You Need It

The script was developed to search the distinctive features of pairs, exactly volatility. By using it you can find out on how many points the movement of these or those pairs is strong. The arithmetic mean value especially good assists to orient in it.

So, Here Is The Result of The Script Work.

VM - Volatility Measure

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

MUV_NorDIFF_Cloud MUV_NorDIFF_Cloud

The fast trends indicator drawn on the basis of two normalized XMUV Moving Averages.

MUV_Cloud MUV_Cloud

The fast trends indicator drawn on the basis of two normalized XMUV Moving Averages.

Waddah_Attar_Hidden_Levels Waddah_Attar_Hidden_Levels

Support and resistance levels drawn by the day charts

NRTR Color Line NRTR Color Line

NRTR is Nick Rypock Trailing Reverse indicator.