Auftrag beendet
Spezifikation
If you want, you can modify the partially finished code(.mq5) or write it from scratch / Если хотите можете доработать частично готовый код(.mq5) или написать с нуля
This trading EA places pending orders in grid format similar to Magic Grid. It includes Take Profit and Stop Loss.
When the EA starts:
- A grid of orders is created at equal distances from the current price
- New grid levels are added as price moves
- The EA only uses pending orders and restores deleted or closed ones (TP/SL)
- Each level has 1 buy and 1 sell order
If Compensator-1 is enabled:
- An additional pending order is added to support price
Result:
- Without compensator:
Below price: BuyLimit + SellStop;
Above price: SellLimit + BuyStop;
- With compensator. 3 pending orders per level:
2 from base grid;
1 compensator order (SellStop or BuyStop);