Hello Mr. Beknazarov, how are you? I need to make some changes to EA that you have developed for me, the Efficiency_Ratio_EA. In fact, I have already made some modifications myself: I added some rules for entering the operation and changed to work with more than one open order at the same time. (Version: Efficiency_Ratio_2 Medias_Moveis_Especial_EA, attached). I would like you to study and budget to make the following changes: 1- In the developed EA Efficiency_Ratio we include the imputs input int Y = 3; // Y (Max trades per cycle) input double Step = 50; // Steep (if 0 - is not used) Which serve to limit the number of entries per cycle. This idea did not work and would like it to be excluded from EA. On the other hand, I want to keep in EA the maximum number of open orders (Maxorders), which needs to be fixed because it is not working right. I would also like Maxorders (currently only int) to be transformed into input. 2- I would like to make a modification in Stop Loss. When EA works with only one order, Stop Loss works, but when it works with more than one open order ( Maxorders >1), the Stop Loss does not working right. Therefore I would like to make the following modification, the Stop Loss will be of the position (of all open orders). Since the concept of this EA is that the operation increases the profit as the distance of the arithmetic mean increases, the idea is that the Stop Loss of the position is equal to the value of an new arithmetic mean ( that I can choose the period of candles of this media) . I thought of doing this as follows: At the end of each Candle, the EA calculates the arithmetic media value and establishes this value as Stop Loss of the next candle (see attached chart). This should only work when the operation is in damage, because when it is in profit must keep the exit of the operation as it is already in the EA, ie by closing the candle after crossing the arithmetic mean. By my calculations, this modification should increase EA's profitability. https://charts.mql5.com/13/113/win-d-m5-clear-ctvm-s-2.png Observation: a) The operation is in damage b) Stop Loss equal to MA of the previous candle, in this case diff.= 42 less injury 3- I would like to add a new rule for placing orders when it is more than one open order. The rule is that a second order can only be placed in the next candle and each new entry must be priced better than the previous entry (if the buy order, the next order price must be higher than the first order, If sell order the price of the next order must be less than the price of the previous order) up to the limit of Maxorders. 4-It happens the same thing with Breakeven, with an order it works fine, but with more than one order does not work right. Would it be possible to establish a breakeven of the position (ie all open orders) based on the price of the last open order plus an informed value (imput). Or optionally the average price of the input orders in the operation.