Modify to an Existing EA

MQL4 Integração

Trabalho concluído

Tempo de execução 1 dia
Comentário do cliente
Nice to work with, and got the time to understand it. Great.
Comentário do desenvolvedor
thank you

Termos de Referência

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;

    }

 

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

Respondido

1
Desenvolvedor 1
Classificação
(41)
Projetos
160
45%
Arbitragem
16
13% / 50%
Expirado
48
30%
Livre
2
Desenvolvedor 2
Classificação
(267)
Projetos
542
50%
Arbitragem
55
40% / 36%
Expirado
225
42%
Carregado
3
Desenvolvedor 3
Classificação
(473)
Projetos
1138
44%
Arbitragem
51
31% / 33%
Expirado
500
44%
Livre
4
Desenvolvedor 4
Classificação
(12)
Projetos
17
35%
Arbitragem
1
0% / 100%
Expirado
3
18%
Livre
5
Desenvolvedor 5
Classificação
(470)
Projetos
706
56%
Arbitragem
45
31% / 31%
Expirado
115
16%
Livre
6
Desenvolvedor 6
Classificação
(47)
Projetos
140
49%
Arbitragem
9
56% / 0%
Expirado
27
19%
Livre
7
Desenvolvedor 7
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
Pedidos semelhantes
Hey there, interested in your services for merging 2 pinescripts into one Ninjatrader Strategy. I have attached both scripts below and both will be running on Renko Charts. I added entry examples in the attachment as well. For this, I would like to add some user-defined variables such as Stop Loss and Profit Targets, or allow it to sync with my ATM strategies. Please advise if this would be possible. Additional
https://github.com/theshadow76/PocketOptionAPI https://lu-yi-hsun.github.io/pocketoptionapi/ i need someone to help with with connecting to this API and recieving signals from telegram channel i have created the app but can't make it connect with SSID and start trades and veiw these trades in realtime on the app if someone can help i would be thankful telegram : @sadscan
hi, just like mt5 plateform. there is one another new platefrom called TM9 whose website is( https://trademaster9.com/site/index.html ) i want you to create an API intigration to connect mt5 or mt4 plateform to this platform. i want you to create a copy trading software which can copy trade from mt5/mt4 to trade master 9 plateform. for more information please contact me directly. PRICE CAN BE NEGOTIATED. looking
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price
Hi I am looking for some developer, who can develop WebPage which can display my open trades position, Trade History and Live Bid/Ask of my Watchlist. Frontend web app for customers/clients where they can login and see (Account info, Watchlist, Positions, History) Control Panel to create users and map user emails to MT5 account numbers etc

Informações sobre o projeto

Orçamento