The EA places pending stop orders BUY_STOP and SELL_STOP.
Recommended timeframe — M15.
Author of the idea — Yuri, author of the MQL5 code — barabashkakvn.
Trading rules:
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/17250
Autotrade
The Expert Advisor places two pending orders (BuyStop and SellStop) with the specified expiration.
2MA_4Level
The Expert Advisor uses the values of two iMA (Moving Average, MA) indicators.
Reconstruction of positions
An example of working with the trading history on Hedge accounts — reconstruction of positions.
TrailingStop
An example of an Expert Advisor with a Trailing Stop implementation.