Rollback system – EA MetaTrader 5

The author of the ideaย –ย Scriptor

mq5 code authorย –ย barabashkakvn

Defining the channel width (Channel Open Close) for a previous day. If the channel width is sufficient, then the amount of roll-back is determined (Rollback AND Channel Rollback). Drawingย OBJ_RECTANGLE objects.

The EA works on PERIOD_H1 timeframe – this parameter is registered within the code and is not included into the inputs. Disabled work on Monday abd Friday. If there are no positions, and the last known time of the trading server is from 00:00 to 00:03 – then you can check the channel and the roll-back.ย ย 

The channel width is calculated as a difference between Open of bar #24 and Close of bar #1.

If the position opening condition is met, the channel is displayed as theย OBJ_RECTANGLE object:

Alternative:  Zero lag DEMA - indicator MetaTrader 5


Rollback system


https://www.mql5.com/ru/code/22142

๐Ÿ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks