The EA trades on the breakout or the retreat from the support/resistance lines. The lines are set manually by the trader using the "Trend line" object on the toolbar.
When the price moves towards the profit the EA trails the Stop Loss order.
Two trade modes are available:
For ease of visual perception, the line colors are set according to the slope angle, as well as zero thickness in case incompatible trade directions relative to it are set. In that case the line is considered to be disabled, and trading based on it is not performed. A reduction to the horizontal is provided once the trader moves the second plot point of the horizontal line to the left of the first plot point, in order to simplify its placement.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14206
The Expert Advisor places a grid of pending orders in both directions several minutes before the specified time and trails the Stop Loss order after the orders trigger.ClusterBox_DayHistogramm - horizontal cross-section of the market by days
Tick volumes drawn by days as a histogram of clusters.
The function allows the execution of the specific code in the specified time interval.High, Low and Close of the previous day, week or month
The indicator shows the High, Close and Low of the previous day, week or month with time shift.