Author of the idea: Evgeny, MQ5 code author: barabashkakvn.
The Expert Advisor opens no more than one position per day. Conditions for opening a position are checked at the specified time. The EA searches for the highest high price and the lowest low price in the Analyzed interval. The EA takes into account Shift of the interval from the current moment.

Additional conditions: analysis of the position of the found prices (highest price and lowest price) relative to two Moving Averages: "Fast" and "Slow".
Use only the following parameters during the initial optimization: Start hour, Shift and Analyzed interval.

Parameters of the "Fast" Moving Average:
Parameters of the "Slow" Moving Average:
Testing on USDJPY, H1:

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/20208
Days of the week color
A colored histogram of the days of the week. Uses the drawing style DRAW_COLOR_HISTOGRAM.
DayTime
An arrow indicator, which compares the daily open price with the close price of an hour.
DPO_Bar
Detrended Price Oscillator Bar - price chart without a trend.
BW_Zone_Trading
Modified BW Zone Trading - a modified indicator of Bill Williams' zone trading.