Modify to an Existing EA

MQL4 Integrazione

Lavoro terminato

Tempo di esecuzione 1 giorno
Feedback del cliente
Nice to work with, and got the time to understand it. Great.
Feedback del dipendente
thank you

Specifiche

I need a coder to make this rule for me, so I can integrate it in my EA.

The strategy  is to count from last Orders open price,

if price goes up X-pips, it opens a BUY (POS1), then  if price goes down X-pips,  it opens a SELL (POS2).

So far so good.


But then if the price goes up again X-Pips, it would open again at the same price as the existing opened BUY, but we want it to go further up from here the X-Pips before it  is allowed to open a BUY (POS3).
If the existing Opened BUY is more than 2 positions away, it is allowed to open the BUY at the same price.

 

//=========== Code

  int tick=GetLastPositionTicket();   

  if(OrderSelect(tick,SELECT_BY_TICKET) && GVGet("Stopped")==0 && GVGet("Start")==1)

    {

      if((OrderOpenPrice()-Bid)/(Point*P)>Distance_Down)sell=true;     

      if((Ask-OrderOpenPrice())/(Point*P)>Distance_Up)buy=true;

    }

 

//==============   

Con risposta

1
Sviluppatore 1
Valutazioni
(41)
Progetti
160
45%
Arbitraggio
16
13% / 50%
In ritardo
48
30%
Gratuito
2
Sviluppatore 2
Valutazioni
(266)
Progetti
540
50%
Arbitraggio
55
40% / 36%
In ritardo
224
41%
Gratuito
3
Sviluppatore 3
Valutazioni
(473)
Progetti
1138
44%
Arbitraggio
51
31% / 33%
In ritardo
500
44%
Gratuito
4
Sviluppatore 4
Valutazioni
(12)
Progetti
17
35%
Arbitraggio
1
0% / 100%
In ritardo
3
18%
Gratuito
5
Sviluppatore 5
Valutazioni
(467)
Progetti
701
56%
Arbitraggio
44
30% / 32%
In ritardo
114
16%
In elaborazione
6
Sviluppatore 6
Valutazioni
(47)
Progetti
140
49%
Arbitraggio
9
56% / 0%
In ritardo
27
19%
Gratuito
7
Sviluppatore 7
Valutazioni
(49)
Progetti
134
27%
Arbitraggio
62
13% / 53%
In ritardo
58
43%
Gratuito
Ordini simili
I am seeking a coder who has experience in converting an MT4 indicator & EA(.mq4 file, source code provided) to TradingView's Pine Script. The indicator should be identical to the original, with the same inputs and settings. Upon completion of the task, the coder will send me the Pine Script indicator & EA along with the full source code, and the project will remain confidential. This task should be straightforward

Informazioni sul progetto

Budget