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
Scripts

history data analysis - script for MetaTrader 4

Views:
7894
Rating:
(14)
Published:
2008.06.30 08:29
Updated:
2014.04.21 14:52


The represented code identifies the bars that absent in the history ("holes" hereafter) and disruptions ("big holes"), defines their size, length and gap, works with all symbols. It is intended for intraday charts, so the timeframe is limited with the H4 period. Only the weekend days are considered (Saturday and Sunday - 48 hours) during the analysis, the other moments are counted as the holes or the disruptions. For your convenience while working with a chart the filter is implemented, there you can specify (these options can be found in the script properties):

  • 1. the number of absent bars, that will be ignored as the holes by the code, on the timeframes (M1,5,15,30);
  • 2. the number of absent bars (minimum value), that will be counted as a disruption by the code (20 bars by default). If these values are equal to 1 or 2, all the holes found will be counted as the disruptions by the code;
  • 3. the number of absent pips that will be ignored as a gap by the code.

The represented code is launched as a script. For simplifying the code, the comments are given where it is possible, the results are outputted in the *.txt file.


The code was created with the MT4 build 182.


!!! If the history data was "agglutinated" or it was delivered by several brokers, then the result of the report can contain some inaccuracies in the part that is marked with the note (*** including weekend).

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/8039

Waddah Attar Hidden Level Waddah Attar Hidden Level

A new High and Low Levels every day .. it is perfect levels

DailyPivotPoints DailyPivotPoints

The DailyPivot Points indicator helps to compose a picture of market future movements, in distinct from the other tools that hang behind the market.

up3x1 up3x1

An EA that demostrates the excellent properties on the H1 with EUR/USD. The MA indicators were used.

Base64 Base64

Simple coding/decoding of entries in Base64.