Order Cancels Order (OCO) for MT4

MQL4 Asesores Expertos

Tarea técnica

1.       The OCO EA sets 2 orders simultaneously.  I want to get in at a specific price.   I do not know which direction the market will go – Long or Short.  If the market goes long and triggers my long entry, the short order is cancelled.  And vice versa.

2.       Should work with brokers who use both 4 or 5 pip digits.

3.       The solid green line in the attached picture is my Buy Stop (goes long if touched).

4.       The dotted green line in the attached picture is my Stop Loss for my Buy Stop.

5.       The solid red line in the attached picture is my Sell Stop (goes short if touched).

6.       The dotted red line in the attached picture is my Stop Loss for my Sell Stop.

7.       When I activate the OCO, lines should be automatically drawn on the chart.  The Buy Stop is automatically placed 150 pips above the high of the last candle.   The sell stop is automatically placed 150 pips below the low of the last candle.  The stop loss for the Buy Stop should automatically be placed 100 pips above the high of the last candle (or 50 pips below the Buy Stop).  The stop loss for the Sell Stop should automatically be placed 100 pips below the low of the last candle (or 50 pips above the Sell Stop). 

8.       I should be able to place my cursor on any of the lines and manually move them to the exact location I desire.

9.       Trailing Stop:  An input needs to be programmed that is set to True or False.   When it is True, the trailing stop is activated.  False – The trailing stop is not activated.  If it is activated, it should trail price by 100 pips.   As with the lines mentioned above, the trailing stop line should be automatically drawn on the chart AND I should be able to define in the input section the amount of pips that it should trail.  

10.   Take Profit:  An input needs to be programmed that is set to True or False.  When it is True, the Take Profit is activated.  False – The Take Profit is not activated.   If it is activated, it I should be able to input the number of pips that will trigger the take profit which will close the trade.   If activated, the take profit line should be automatically drawn on the chart AND I should be able to place my cursor on the line and manually move it to the exact location I desire.

 

11.   The input parameters that I can adjust should be:

    Buy Stop                        150

Stop Loss for Buy Stop    100

Sell Stop                        150

Stop Loss for Sell Stop    100

Trailing Stop                  True or False (this should be a dropdown box allowing me to select T or F)

Trailing Stop in pips       This field should be blank so I can input the number of pips

Take Profit                    True or False (this should be a dropdown box allowing me to select T or F)

Take Profit in pips         This field should be blank so I can input the number of pips


12.   I should be able to change settings in the middle of a trade.  For example:   If I place the OCO with a fixed stop loss and a couple of days later turn off the stop loss and activate the trailing stop.  

13.   When I place the OCO EA on the chart, an OCO panel should be placed on the top left of my chart from which I can easily change certain parameters.

 

Optional Depending on Price to program this OCO EA:

 

If I am trading EURUSD:  I want to be able to set OCOs on different time frames independent of each other.  For example:  The OCO on daily chart will not affect the OCO on the 15 minute chart when running at the same time for the same symbol.   If I close the 15 minute OCO it should not close the daily OCO.


Han respondido

1
Desarrollador 1
Evaluación
(26)
Proyectos
34
26%
Arbitraje
7
14% / 43%
Caducado
7
21%
Libre
2
Desarrollador 2
Evaluación
(1)
Proyectos
1
0%
Arbitraje
2
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(70)
Proyectos
86
31%
Arbitraje
1
100% / 0%
Caducado
1
1%
Libre
4
Desarrollador 4
Evaluación
(256)
Proyectos
340
59%
Arbitraje
7
14% / 71%
Caducado
9
3%
Libre
5
Desarrollador 5
Evaluación
(259)
Proyectos
533
50%
Arbitraje
54
41% / 37%
Caducado
224
42%
Trabaja
6
Desarrollador 6
Evaluación
(354)
Proyectos
629
26%
Arbitraje
89
72% / 13%
Caducado
12
2%
Trabaja
7
Desarrollador 7
Evaluación
(277)
Proyectos
334
55%
Arbitraje
14
36% / 29%
Caducado
1
0%
Libre
Solicitudes similares
Hi, I need a progrmmer who can build an EA based on Currency strength indicator brought from MQL5 website, some body already build an alert indicator based on that indicator, now i want to build an EA based on that alerts. Details of EA will be provided in specifications. If interested then reply me back asap. thanks
Kindly check my strtategy and let me know if you can handle it explaining howyou can implement this strategy into Ninja script Conditions/edits - Time session option custom, (we want to trade only from 7:00 - 8:00 am and 11:00 am to 12:00 pm) - Option - Limit one setup per time session - Stop loss at bottom of order block if long, stop loss at top of order block if short. Use order block that we are using on
Create Order Block Indictor same as the indicator i attached. 1. Buy and Sell order block with arrow 2. indicator must not repaint 3. indicator must have setting to manage order block. Order must appear in the same places as our order block indicator.... if you have workable send to me let test it
Hello, you can work with me for sure, but here's to work with an experience coder who already know the concept of xBest EA, I think if I am opportune to discuss my trading needs with him or her that already knows how xBest strategy work, that will make the process more faster and saved me from time waster, because if you know how xBest EA works as a coder, that mean you are the best fit for my project, I have this EA
i am currently in need of a multi currency EA.i want the EA to be able to read data from different symbols whenever a trade occur on that symbol,the EA will be able to read the direction of the trade and the profit or loss of that particular pair and display it on my panel.the EA must be able to to combine all the trades that were taken from different symbols and display it on the panel,if you are capable of such it
I have an EA which i got from a friend of mine and it is a fantastic tool i use to trade the markets. It's fully automatic opens, closes trades etc. My only issue is that to run strategy testing and optimizations MT4 is so frkn slow! MT5 is leaps and bounds better for testing so would like to literally convert this EA from MT4 installable exe to MT5 installable exe so i can run it on MT5. Obviously i do not have the
Modification 30+ USD
dear developers.i want to modify my custom indicator by adding new rules for alerts and arrows,the previous alerts and rules for alerts will be removed and new rules will apply.what i want is simple and straight forward...thank you
Hello, you can work with me for sure, but here's to work with an experience coder who already know the concept of xBest EA, I think if I am opportune to discuss my trading needs with him or her that already knows how xBest strategy work, that will make the process more faster and saved me from time waster, because if you know how xBest EA works as a coder, that mean you are the best fit for my project, I have this EA
I would like to make a simple EA. INDICATOR FOR ENTRY I have an indicator signal for Buy and Sell Multiple Entry True/False Maximum Open Order ____ Risk Percentage ___ FILTER 50 MA our Filter for Buying and Selling. EXITS TP and SL, Trail Stop, MACD Exit FILTER FEATURE I am looking for: Can you make a condition that the EA wont enter on consolidation or sideways movement- not uptrend or downtrend
I am seeking an experienced and proficient MQL5 developer to collaborate on an exciting project involving the enhancement of an existing EA, specifically an elaborate version of xBest v3.47. The xBest v3.47 EA is publicly available and serves as the foundation for our project. The goal is to incorporate a series of compelling features into the existing EA, leveraging its grid/hedging strategy while introducing

Información sobre el proyecto

Presupuesto
30 - 31 USD
Para el ejecutor
27 - 27.9 USD