Create a MT5 Robot - Clear instructions and Tradingview code provided

İş tamamlandı

Tamamlanma süresi: 2 gün
Müşteri tarafından geri bildirim
Very straightforward. Easy communication and the job was completed as discussed.
Geliştirici tarafından geri bildirim
Swift communication and clear specifications, looking forward to future collaborations.

İş Gereklilikleri

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

Dosyalar:

PNG
example.png
89.3 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(152)
Projeler
190
57%
Arabuluculuk
10
80% / 0%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 kod
2
Geliştirici 2
Derecelendirme
(152)
Projeler
228
80%
Arabuluculuk
22
27% / 50%
Süresi dolmuş
11
5%
Serbest
Yayınlandı: 24 makale, 1882 kod
Benzer siparişler
Final Trading System Specifications 1. Hedging Activation Allow opening buy and sell positions simultaneously when entry conditions are met for each direction independently. 2. Smart Entry Logic Candles Count: Analysis based on the last 72 candles. Overall Trend Determination: If the majority of candles are bullish → the trend is bullish. If the majority of candles are bearish → the trend is bearish. Buy Entry
Need a Rebate EA 30 - 200 USD
1. Platform & Environment Platform: MetaTrader 5 (MT5 ONLY) Language: MQL5 Account type: high spread / Netting or Hedging Designed for broker rebate/commission return programs No DLLs, no external dependencies 2. Strategy Overview The EA is a high-frequency scalping Expert Advisor focused on maximizing the number of trades with minimal price movement, where the main source of profitability is broker rebate rather
Automated trading 70 - 100 USD
Automated trading board that runs 24 x 7 on cryptocurrencies/Forex and as well as copy with all the integrated, etc., along with profit and having no boundary of a minimum investment. I want fully executable file, fully customizable robot not a demo
The EA is very simple with just a few parameters to make it lightweight, fast, and above all safe when closing. The EA must close all open positions and cancel all pending orders for the basket when a certain profit or loss is reached, with the trailing profit feature. Capabilities: Closing all open positions and canceling all pending orders for the current symbol or for all symbols. Closing individual order or whole
Fixed alert mt4 40+ USD
I’m looking for an experienced developer to help fix and improve an alert system in a trading project. Tasks Review and fix existing alert logic Ensure alerts work perfectly with no lag or delay Organize and optimize scattered alert code Check for missing files and improve overall structure Suggest and implement necessary improvements Dashboard (Optional but Preferred) Create a dashboard displaying: Brand name
I have an existing MT5 EA and I am sharing the exact behaviour settings below. I need a NEW custom MT5 Expert Advisor that behaves the SAME WAY as these settings. Platform: MetaTrader 5 Symbol: Gold (XAUUSD) Timeframe: M5 (Trading_TF = 0 means current chart) ======================== INDICATOR & TRADE MODE ======================== - Trade Mode = 2 (both Buy & Sell) - Trading timeframe = Current chart (M5)
For a buy case, ea will set buy stop order at the high of the current 4H candle, if the close of the current 4h candle is higher than the open and if the close is less than the high of the 4H candle , then ea will set a buy stop at the high of the current 4h candle. Reverse of this is the sell case. , - -- sell SL to 1800point for gold pair only, set 4500 point for TP, --- , BE the SL to 50points when price moved
//+------------------------------------------------------------------+ //| INDICES SCALPING BOT | //+------------------------------------------------------------------+ #property strict input double RiskPercent = 4.0; input int EMAtrend = 50; input int EMAPullback = 20; input int RSIPeriod = 14; input double ATRMultiplierSL = 3.0; input double ATRMultiplierTP = 2.5; double LotSize(double
I am looking for a bot that has been created and tested and confirmed profitable in a live market for Gold. The bot must be profitable and have a low drawdown. The developer will send a demo EA which I can test for myself. I am looking for more of a partnership with an experienced developer. Please no EA on demo accounts. The EA must be verifiable on real account
I am looking for a bot that has been created and tested and confirmed profitable in a live market for Gold. The bot must be profitable and be verifiable on real account and have a low drawdown. The developer will send a demo of the EA which I can test for myself. I am looking for more of an experienced developer. Please no EA on demo account

Proje bilgisi

Bütçe
30+ USD