REOPENBASKET code

MQL4 Autre Consultation

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
OK

Spécifications

REOPENBASKET



My Ea  has basket of 18 trades opened on signal . 

EA will not be provided  , but you will provide code  to input in my ea .

There is a function in the EA  basket  take profit . In the function , it will close the open basket first  if conditions are met .
I want to add a line of code  , the line of code  will direct the EA to  REOPENBASKET , after it is closed  or immediately after the EA closes the basket .



You will provide code to redirect ea  to to signal re-open  basket , as a signal to open basket.

EA   will read history and  code latest open basket time is true  , it is closed in last 30 minutes , latest basket is closed ,
  there are no open trades  on magic for last basket of trades , that trades open on magic =0  zero. 

give signal to open trades. It will by pass all codes for filters and signals etc  , and RETURN the EA to order send.



I will simply copy  and paste your code  on to my ea



You will get code of  close basket  below  . In the basket closing  code  , you will ask EA to  return to order send   and place new order .
Where it says return , in the code below , you will insert code for directing EA  to open to order send  to reopen  basket  as current signal to open at current prices.
Here is code for basket take profit

if(BasketTakeProfit!=0)
      if(total_pips>=BasketTakeProfit*Point)
        {
         _ClosingThisSymbolAll(Symbol(),Uptrend);
         _ClosingThisSymbolAll(Symbol(),Downtrend);
         Print("Basket Take Profit");
         return;
        }


Newcode will look like this


if(BasketTakeProfit!=0)
      if(total_pips>=BasketTakeProfit*Point)
        {
         _ClosingThisSymbolAll(Symbol(),Uptrend);
         _ClosingThisSymbolAll(Symbol(),Downtrend);
         Print("Basket Take Profit");
          REOPENLASTBASKET ;
                        return;
                        continue;
      
        }



Dossiers :

Répondu

1
Développeur 1
Évaluation
(176)
Projets
236
45%
Arbitrage
17
82% / 12%
En retard
35
15%
Travail
2
Développeur 2
Évaluation
(58)
Projets
82
54%
Arbitrage
9
33% / 33%
En retard
7
9%
Gratuit
Commandes similaires
The basic indicator and the only indicator to be used is PRICE PERCENT RANGE and the indicator files are attached. A picture to visualize what is required is also attached. Job: Indicator : 1. Add Buy alert and Buy arrow function,if the price%R value touches or goes below value 9.5 or the user specified,after candle close. 2. Add Sell alert and Sell arrow function,if the price%R value touches or goes below value 90.5

Informations sur le projet

Budget
30 - 40 USD
Pour le développeur
27 - 36 USD