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
Оценка
(153)
Проекты
191
58%
Арбитраж
10
80% / 0%
Просрочено
0
Работает
Опубликовал: 1 пример
2
Разработчик 2
Оценка
(152)
Проекты
228
80%
Арбитраж
22
27% / 50%
Просрочено
11
5%
Свободен
Опубликовал: 24 статьи, 1882 примера
Похожие заказы
I have a High-Frequency Trading EA and I need a full conversion and optimization for MT5. The goal is to ensure stable execution and reliable performance on real accounts (IC Markets Raw and similar ECN brokers). I need an experienced and reputable MQL5 developer to: Convert the existing strategy to MT5 with full fidelity to the original trading logic (entries, SL, breakeven, trailing, pending orders). Optimize the
Description: I am interested in acquiring an already developed Expert Advisor (EA) that has demonstrated consistent and reliable performance in live or real trading conditions. I am not looking for a new EA to be created. The EA must already exist, be fully functional, and ready for immediate use. The system should have a verified trading history of approximately 6 to 12 months. A shorter history may still be
Hello friends, We need Robot, EA , or Trading software with proven( 6 to 12 months) and it should be given consistent profit upto 3 % per month with no risk ( low Drawdown ), we will pay what you ask, and also We are regulated forex broker and we have all access like FIX API etc, and we dealing with Top tier 1 LPs . Thanks
The indicator a bit inverted. But it doesn’t matter to me as long as the winrate make sense for investment. For brief details regarding the indicator. What should have been a sell, i inverted it into buy with sl and tp swapped(only change the name of sl and tp for visualisation , but the code still on right tp and sl) . And in script ive inverted the signal command code. But the trouble is the tp and sl cant be
All other Necessary filters already coded , Mostly it is referring to another expert copy pasting . Live Chart Optimization . Optimization from Signal Trigger Point . Apply to stay ahead . While applying please explain the correct trailing stop loss for value gap entries
Patrick 30 - 200 USD
//+------------------------------------------------------------------+ //| EURUSD Daily Strategy EA | //+------------------------------------------------------------------+ extern int MA_Fast = 50; extern int MA_Slow = 200; extern int RSI_Period = 14; extern double RiskReward = 2.0; extern double StopLossMultiplier = 1.5; void OnTick() { if (TimeCurrent() != iTime(NULL, PERIOD_D1, 0)) return;
I would like to create a robot with the smart money concepts, that integrates order block,FVG,supply & demand ,read the market structure,liquidity and also trade with the session and also after a liquidity sweep a market structure is needed to verify the reversal and a retracement to the order block and sometimes fair value Gap
Joker poverty scalper 40 - 100 USD
the joker poverty scalper is the power full robort it can analyse in just 1 minutes it is good for beginner traders you can even make 5000$ in just an week or two.. the best thing to do is to buy joker and make life easy with your own copy of joker .in order to be rich you need the joker to help you with your success in life even in future THE JOKER POVERT SCALPER
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Project Scope Development of a fully automated, conservative, institutional-style Expert Advisor for MT5 trading XAUUSD, designed with strict capital preservation and mathematically structured risk management. • Symbol input will be fully configurable to support broker-specific suffixes/prefixes (example: XAUUSD.a, XAUUSDm) and automatically adapt to different digit formats. Core Strategy Logic • Higher-timeframe

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

Бюджет
30+ USD