Order Cancels Order (OCO) for MT4

MQL4 Эксперты

Техническое задание

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.


Откликнулись

1
Разработчик 1
Оценка
(26)
Проекты
34
26%
Арбитраж
7
14% / 43%
Просрочено
7
21%
Свободен
2
Разработчик 2
Оценка
(1)
Проекты
1
0%
Арбитраж
2
0% / 100%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(70)
Проекты
86
31%
Арбитраж
1
100% / 0%
Просрочено
1
1%
Свободен
4
Разработчик 4
Оценка
(256)
Проекты
340
59%
Арбитраж
7
14% / 71%
Просрочено
9
3%
Свободен
5
Разработчик 5
Оценка
(259)
Проекты
533
50%
Арбитраж
54
41% / 37%
Просрочено
224
42%
Работает
6
Разработчик 6
Оценка
(354)
Проекты
630
26%
Арбитраж
89
73% / 13%
Просрочено
12
2%
Работает
7
Разработчик 7
Оценка
(277)
Проекты
334
55%
Арбитраж
14
36% / 29%
Просрочено
1
0%
Свободен
Похожие заказы
News field 30+ USD
I am in need of a custom EA news filter for my trading platform, and I believe your expertise in this field can greatly assist me. Below are the specifications for the filter: 1. It should be implemented as a boolean function, returning either true or false. 2. The filter must automatically detect currency pairs. 3. Three hours before and after any significant news events pertaining to each currency in the pair, the
Hello, I would like to ask who would perform a backtest + optimization on my existing EA ? The EA works mainly on two pairs. Thank you for your reply. Sincerely Martin
I need someone to create an MA crossover EA. This program should be able to trade the crosses. We would be using the MA indicators to make decisions about buying and selling stocks or other assets. The MA crossover would help me invest my money more effectively by automatically executing trades based on these indicators. If you can create this program, please let me know as I am interested in working with you
the idea of the bot is to trade based on trend. we are going to use 5 different sma( smoothed moving average). they are sma7,sma20, sma50, sma100 and sma200. the bot will look for only buy trades when all the smas are facing up. the bot will look for only sell trades when all the smas are facing down. when we are in a up trend, the bot will look to enter trades on bullish candles that create fvg. if there is an fvg
Topx 80+ USD
1)I need EA with on/off button per currency and buttons to control lots size, auto change of currency with time, Dashboard of 4 indicators (Bollinger, Currency strength, FVG and Gann ) and trade management. Entry: When buy is clicked, the EA draws a line. After x pips market move away from the line or when price moves to given price line and or time, the EA opens buy order if clicked/selected indicators align. Set
I'm looking for an experienced developer to make some modifications to my MT4 Currency Strength Table indicator. Key Requirements: - I would like to have the add on feature of delta or the difference of the strength of currencies displayed in the new table and showing as B or S of only the one currency pair when the delta or difference arises. the delta will change values as the difference of strength of compared
I need Spike DETECTOR EA for Boom and Crash.. which will send me notification or alerts when spike is near. The EA should also be able be buy on crash Index and sell on Boom Index depending on the market..Demo may be provided for faster execution of my order
· I need an MT5 EA that trades on Currencies, Indices, Metals, Crypto, Commodities and Deriv Synthetic Indices. · It should trigger trades on the Moving average cross above or below of the RSI levels in the same window. It should have a Trailing stop and break even input variables. Please note that I only want to use the RSI levels and not its period hence the RSI period will be set to 1. Also the
ODSMART EA 30 USD
I want an EA developed from this strategy that will buy and sell based on the appearance of these colours. Blue-buy (Enter when the signal indicator is at zero on the blue background) Red -sell( Enter when the signal indicator is at 100) White and brown, exit trade
i want to create RSI trading bot in 1 min time frame this is will happern in 1 min timeframe if RSI level 3 min chat frame touch 27 RSI level than excute buy order as and if 3 min time frame candle touch 72 level RSI will excute sell order than profit will be 3 time where order fill from and stop loss open ,. and i want in the setting able adjust the stoploss in tick adjust the take profit and entry lot

Информация о проекте

Бюджет
30 - 31 USD
Исполнителю
27 - 27.9 USD