Create a MT5 Robot - Clear instructions and Tradingview code provided

Работа завершена

Время выполнения 2 дня
Отзыв от заказчика
Very straightforward. Easy communication and the job was completed as discussed.
Отзыв от исполнителя
Swift communication and clear specifications, looking forward to future collaborations.

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

Hi dev,

I want to code a MQL5 EA as described below.

I can provide my custom tradingview pinescript v5 code as a reference.


*** Strategy description ***

The strategy looks for a specific 4 candle pattern to open long or short.

Current candle is candle 0, previous candle is 1 and so on.

For longs: Current candle closes above previous candle’s high (candle 1) and also closes above candle 3 high.

For shorts: Current candle closes below previous candle’s low (candle 1) and also closes below candle 3 low.

The candle pattern is only valid on bar close.


*** Entry conditions ***

Once a pattern is detected we will stop looking for new patterns until the trade is closed or cancelled. If the limit order is not triggered in X number of candles we cancel the limit order and restart looking for candle patterns. If before the trade is triggered we get a contrarian signal we also cancel the trade and open the last one to appear.

Here is the candle detection code in pinescript V5:

bool greenTriangle = close > high[1] and close > high[3] and not prevGreenTriangle

bool redTriangle = close < low[1] and close < low[3] and not prevRedTriangle

When the pattern is detected a limit order is set to X pips above the last candle for longs or under for shorts. This makes sure that the trade will only open if the price actually moves in the direction of the signal. If the price moves in the opposite direction we will end up canceling the order after X candles or a contrarian signal.

That’s all for the trigger conditions.


*** Exit conditions***

For exit we use a fixed stop loss value equal to X pips and a dynamic take profit that is a multiplier of the ATR value (period 7 candles and multiplier 0.7 for instance).

An open position should also be closed if we get an opposing candle pattern.


*** Position size ***

In terms of position size we risk losing 1% of the account per trade. If this results in a value bigger than the whole account we use 90% of the account as position size.



The strategy only keeps one long or one short open per time so there is no pyramiding.


It should be possible to define two time periods for opening trades per day. For instance from 08h00 UTC to 12h30 UTC and again from 14h30 UTC until 21h00 UTC.

Closing trades can be anytime since we defined the stop loss and take profit already.


We should have an icon indicating a long and one for short. Position entry price, stop loss and take profit should also be displayed.


Please see attached image for an idea of what it should do.


Thanks

Файлы:

PNG
example.png
89.3 Kb

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

1
Разработчик 1
Оценка
(90)
Проекты
110
37%
Арбитраж
8
88% / 0%
Просрочено
0
Работает
2
Разработчик 2
Оценка
(140)
Проекты
203
80%
Арбитраж
17
29% / 47%
Просрочено
10
5%
Работает
Похожие заказы
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
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
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for

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

Бюджет
30+ USD
VAT (23%): 6.9 USD
Итого: 36.9 USD
Исполнителю
27 USD