Modify to an Existing EA

MQL4 Integración

Trabajo finalizado

Plazo de ejecución 1 día
Comentario del Cliente
Nice to work with, and got the time to understand it. Great.
Comentario del Ejecutor
thank you

Tarea técnica

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;

    }

 

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

Han respondido

1
Desarrollador 1
Evaluación
(41)
Proyectos
160
45%
Arbitraje
16
13% / 50%
Caducado
48
30%
Libre
2
Desarrollador 2
Evaluación
(261)
Proyectos
535
50%
Arbitraje
54
41% / 37%
Caducado
224
42%
Trabaja
3
Desarrollador 3
Evaluación
(473)
Proyectos
1138
44%
Arbitraje
51
31% / 33%
Caducado
500
44%
Libre
4
Desarrollador 4
Evaluación
(12)
Proyectos
17
35%
Arbitraje
1
0% / 100%
Caducado
3
18%
Libre
5
Desarrollador 5
Evaluación
(461)
Proyectos
688
56%
Arbitraje
43
30% / 33%
Caducado
110
16%
Trabaja
6
Desarrollador 6
Evaluación
(47)
Proyectos
140
49%
Arbitraje
9
56% / 0%
Caducado
27
19%
Libre
7
Desarrollador 7
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
Solicitudes similares
a.) My current Script can do the Followings, 1.a) Create an index; 1.b) Create a custom configuration chart. b.) What i want is to assemble all indexes and make an average index(Avg Index= index1 + index2 + index3 + ........../ no: of indexes) We will call this average index "APX" c.) Then we will configure another custom charts whereby we will say 1.) APXAUD=APX/AUD Index; 2.) APXCAD=APX/CAD Index; 3.)
ICT, SMC, PAMETNI NOVAC KONCEPTI, PAMETNI NOVAC, koncept pametnog novca, podrška i otpor, analiza trenda, radnja cijena, tržišna struktura, blokovi naloga, BOS/CHoCH, blokovi razbijača , pomak momentuma, zona ponude i potražnje/blokovi naloga , jaka neravnoteža, HH/LL/HL/LH, jaz fer vrijednosti, FVG, Zone premije i popusta , Fibonacci retracement, OTE, Likvidnost na strani kupnje, Likvidnost na strani prodaje
I'm looking for someone to help me implement the MetaQuotes web API in Laravel: - Create clients - Create users - Change passwords accounts - Create deposits and withdrawals I'm using a library, but it's only giving me problems
I need the following help wih the set up I have a TradingView paid license I have a script running in TradingView generating Alerts - see a screenshot example Then I have PineConnector which should be able to take those Alerts and deliver to MT4 And then there is MT4 installed with running PineConnector on it Yet somehow I cannot get those Alerts, including Trade set up, from TradingView to MT4. Please let me know if
I want to connect Python with MT5 for trading signal managing. Currently, this is solved by exporting the .csv file from Python and the MT5 EA reads it and trades based on it. After a while, MT5 does not allow me to import the .csv file from the MQL5/Files folder and the process stops. I have to restart it, so it's not stable. The data exchange sometimes stops after 4-5 hours or 30 minutes. Not so stable. I'm looking
Hello, I have an existing Expert Adviseo for Metatrader 5 that still contains a few errors. (The MQL5 code is present.) I would like to have these errors fixed. If necessary I would add a few more features to the EA
I need EA which can copy telegram signals to MT5 The EA should have the following 1. take profit 2. take loss 3. Break even 4. trailing stop 5. Stop trading if amount reaches 6. Accept buy stop , sell stop , sell limit and buy limit
I am looking for someone to help me to automate my trading from mt4/5 expert advisors and own trades to tradovate. My trades are generated by my expert in MT5, I want those trades copied to Tradovate's platform using their API to different accounts, that some programmers have suggested is a REST API and should be easily doable
I want to receive and automate trade signal on Metatrader from tradingview, but i do not have access to the indicator i am using presently now but i have an alternative indicator which i have it's source code and also works similar to it but needed to be included with this features (SL and TP logic, add code to calculate the stop-loss and take-profit levels) so it can provide me the signal i want on
I need to export from MT5 the live charts open data to excel. So the information that is on the Data Windows Must show in the excel (including the indicators value). ScreenShot of MT5 information I want: https://ibb.co/pKDxWcz So the information I want from all open tabs on the MT5

Información sobre el proyecto

Presupuesto