The EA closes orders, opened in the terminal, when certain loss is reached by them in the account currency. Including the orders opened for all other pairs on which the adviser is not installed. It can be put on any currency pair and it will keep track of all open orders.
It is possible to vary the loss by the volume of the order. For example, by default the maximum loss equals 4 (min_001_002=4) for orders with the volume of 0,01-0,02 lots (if the account is in dollars, then $4), and equals 30 (min_from1=30) at order volumes greater than 1 lot.
Attention: possible slippage depending on the market conditions, as well as the broker!
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14597
Script for opening opposite stop orders at a specified time. Once one of them triggers, the other one is deleted.F_RSI
The RSI with dynamic levels.