When run on the price chart, the script modifies stop loss or take profit of all open orders for the current instrument.
Example: If multiple buy positions are opened on the GBPUSD pair, dragging the script to the chart below the current price causes the stop loss levels of all open positions to be modified, and dragging it above the current price causes the take profit levels to be modified.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/16333
The Expert Advisor uses the iDeMarker (DeMarker, DeM) and iStochastic (Stochastic Oscillator) indicators. Three virtual levels to protect profit.10 pips EURUSD
The Expert Advisor trades the High and Low breakouts of the previous day.