MQL4 - automated forex trading   /  

Code Base

Code Base  Scripts  history data analysis To post a new code, please log in or register

This script is for
MetaTrader 4
Download MT 4 - 5.5 Mb

Mobile trading!
Buy a license and be mobile in your trading!

Name:
history data analysis [ ru ]
Author: Bagadul (2008.06.30 10:29)
Downloaded: 586
Download:
 history_data_analysis.mq4 (28.9 Kb) View
 history_data_analysis3.jpg (160.1 Kb)


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).

1 comment  To post a new comment, please log in or register

Hello,


Could you please try to help me write the EA like this:  'Can somebody try to write EA based on Taichi & deMarker indicators only on 1 hour charts?'

The above link is to my subject I have added last time on this MQL Forum...


Best regards,

Puncher

POLAND

03.07.2008 08:58 puncher