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):
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 Software Corp.
Original code: https://www.mql5.com/ru/code/8039
A new High and Low Levels every day .. it is perfect levelsDailyPivotPoints
The DailyPivot Points indicator helps to compose a picture of market future movements, in distinct from the other tools that hang behind the market.