The Expert Advisor works with pending orders: it sets Buy Stop and Sell Stop at the specified time. Pending orders are set with the Stop Loss. The EA uses virtual Take Profit, i.e. it monitors open positions, and when the current position profit reaches Take Profit, the EA closes it by market.
Results for EURUSD, H30 with the following settings:
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/19070
An expert advisor based on the TRIX ARROWS indicator.TRIX ARROWS
The Triple Exponential Average (TRIX) indicator + the signal line + arrows at the intersection of the signal and the main lines.