Spezifikation
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function (A)
Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one
Leave in extern (false) or (true)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function (B)
Add the function (false) or (true) INTO THE EXISTING FUNCTION: TradeSize = 0.01;
(true) Function (C) does not work
(false) Function (B) does not work
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function (C)
KEEP AVAILABLE FOR MODIFICATION (extern = 0.01;)
Add function (false) or (true)
(true) Function (B) does not work
(false) Function (C) does not work
._____________________________________________________________________________
If entered in (extern = 0.01;) Initial lot value
FIRST BUY ORDER TO OPEN _________________________________________________
If the command was given to open the FIRST BUY ORDER (1* buy order lot 0.01) - (1* order is open in the YES market (2* buy order lot 0.02) - (2* order is open in the YES market (3* buy order lot 0.03) - (3* order is open in the YES market (4* buy order lot 0.04) - (4* order is open in the YES market (5* buy order lot 0.05)... so on there is no maximum limit.
If the command was given to open a 6* sell order, the function will take the lot value of the last buy order that is open in the market and the penultimate buy order that is open in the market (example (3* order is open in the market YES (4* buy order lot 0.04) - (4* order is open in the market YES (5* buy order lot 0.05): 0.04 + plus 0.05 = equal to (6* sell order lot 0.09) Sell orders will not be used to make the calculation.
If the command was given to open a 7* buy order: (5* order is open in the market YES (7* buy order lot 0.06)... No sell orders will be used to make the calculation
If the 2nd order was a sell command, the function will take the lot value of the last buy order that is open on the market (example (1st order is open on the market YES (2nd sale order lot 0.01): it will repeat the same lot value
The function will be restarted again with the initial lot of 0.01 only if all orders 1*, 2*, 3*, 4*, 5*, 6* and 7* etc... all orders were closed and if the command was given to open a new order
There will be only buy orders.
There will be both buy and sell orders.
FIRST SELL ORDER TO OPEN _____________________________________________________
If the command was given to open the FIRST SELL ORDER (1* sell order lot 0.01) - (1* order is open in market YES (2* sell order lot 0.02) - (2* order is open in market YES (3* sell order lot 0.03) - (3* order is open in market YES (4* sell order lot 0.04) - (4* order is open in market YES (5* sell order lot 0.05)... so on there is no maximum limit.
If the command was given to open a buy order 6*, the function will take the lot value of the last sell order that is open in the market and the penultimate sell order that is open in the market (example (order 3* is open in the market YES (sell order 4* lot 0.04) - (order 4* is open in the market YES (sell order 5* lot 0.05): 0.04 + plus 0.05 = equal to (buy order 6* lot 0.09). Buy orders will not be used to perform the calculation.
If the command was given to open a sell order 7*: (order 5* is open on the YES market (sell order 7* lot 0.06)... No buy order will be used to make the calculation.
If the 2nd order was a buy command, the function will take the lot value of the last sell order that is open in the market (example (1st order is open in the market YES (2nd purchase order lot 0.01): it will repeat the same lot value
The function will be restarted again with the initial lot of 0.01 only if all orders 1*, 2*, 3*, 4*, 5*, 6* and 7* etc... all orders were closed and if the command was given to open a new order
There will only be sell orders.
There will be both sell and buy orders.
._____________________________________________________________________________
If entered in (extern = 0.02;) It will be twice the value of extern = 0.01; multiply by 2
If entered in (extern = 0.03;) It will be three times the value of extern = 0.01; multiply by 3
If it is inserted in (extern = 0.04;) It will be four times the values of extern = 0.01; multiply by 4... and so on, there is no maximum limit
Function (C) must work individually independently for each Expert Advisor of function (A)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function (D)
ADD THE FUNCTION THAT CHANGES FROM | 01 |; TO THE MAXIMUM | 99 |;
ONLY THE LAST TWO PLACES OF THE MAGIC NUMBER
AND REPEAT THE SAME NUMBER FOR ALL WITHIN A LIST
int NúmeroMágico1 = 62745 | 01 |;
int NúmeroMágico2 = 62746 | 01 |;
int NúmeroMágico3 = 62747 | 01 |;
int NúmeroMágico4 = 62748 | 01 |;
KEEP AVAILABLE FOR MODIFICATION (external) EDITABLE FIELD ONLY
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function (E)
Hide the Indicators used in the expert so that they do not appear in the strategy tester backtest
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
function (F)
Remove and take only the code from (55858884.mq4) referring to the information contained to show the data on the visual screen and place it in the experts
Add and create these two more (Current Spread: 0.0) and (Magic Number: 00 Show only the last two numbers)
![689974 689974](https://c.mql5.com/21/567/8499654.png)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The Experts and the code (55858884.mq4) will be sent in the comments.
DO THE SAME FUNCTIONS IN (EA 1111.mq4) and (EA 2222.mq5) MAKING THE NECESSARY CHANGES.
The files (EA 1111.mq4) and (EA 2222.mq5) were created only to obtain the information.