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
(257)
Proyectos
341
58%
Arbitraje
7
14% / 71%
Caducado
9
3%
Libre
5
Desarrollador 5
Evaluación
(264)
Proyectos
538
50%
Arbitraje
55
40% / 36%
Caducado
224
42%
Trabaja
6
Desarrollador 6
Evaluación
(356)
Proyectos
632
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Libre
7
Desarrollador 7
Evaluación
(277)
Proyectos
334
55%
Arbitraje
14
36% / 29%
Caducado
1
0%
Libre
Solicitudes similares
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link

Información sobre el proyecto

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