The Expert Advisor determines the direction of the last daily bar at a set time and opens a position in the opposite direction (provided that there is no open position).
The image below shows the performance of the Expert Advisor in the strategy tester's visual mode.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1086
The Expert Advisor operating based on divergence of two moving averages.TEMA Band
An indicator similar to Bolinger Band.