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
(134)
Projeler
162
52%
Arabuluculuk
10
80% / 0%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 1 kod
2
Geliştirici 2
Derecelendirme
(149)
Projeler
221
80%
Arabuluculuk
18
33% / 44%
Süresi dolmuş
10
5%
Çalışıyor
Yayınlandı: 24 makale, 1882 kod
Benzer siparişler
Mt5 indicator 50+ USD
hello great developer Hi, I need another indicator for MT5 from you, please. The indicator is as follows: As soon as three wicks of a candle reach the same price but then retreat, leaving a wick behind, a yellow line should appear between the wicks. There must be at least three wicks. There can be more than one, but no fewer than three. And please set an alert as soon as a yellow line appears. I've attached a PDF
I have an account on (MT4 AxiTrader) I need some support from you I need to add a bank account on the Client Portal. Once its verify my bank account, I can submit a withdrawal. If you can do that for me then send me an offer please If you can can help how to add a bank account on the (Client Portal) please I will be very appreciate
HELLO GREAT DEVELOPER Hi, I'm looking for an experienced NinjaTrader 8 developer to complete an automated trading strategy. All custom indicators (4) are done, and I have a full spec document. I just need the strategy logic finalized—entry/exit rules, integration, position management, and testing. There’s a partial strategy file ready. Please let me know your availability, experience with multi-timeframe logic, and
to compile all the suitable markets for buy and place a buy for the shortest timeframe and place a sell for also a shortest timeframe it should work with all brokers and can automatically place a trade as long as its connected to the internet it should inform where the contracts are placed and for how long
I need an experienced Pine Script v5 developer to help finalize and package a custom strategy that has already been partially converted from TradeStation EasyLanguage. The core logic uses four key technical indicators: MACD crossover Chaikin Oscillator (volume-based) Directional Movement Index (DMI +/- crossover) Simple Moving Averages (SMA) Project Scope: 1. Fix and clean the current Pine Script code 2. Implement
ATAS trading bot. 40 - 70 USD
Hello expert developer i am interested in an ATAS trading bot. i already know what I want it to do. What are your terms regarding confidentiality? After I have hired you for a project, does the final product remain solely mine, and will it not be replicated? I am open to any suggestions on how it can be improved. or any limitation you may notice i'll be looking forward to expert developer only to work with thanks
I need an experienced developer to convert my MT4 EA based on the Super Trend indicator to MT5. The new EA should also include additional features. Essential modifications: - Incorporate additional indicators: Moving Average and PSAR. - Add custom alerts: Push and sound notifications. - Implement money management rules
i am looking for an indicator that gives buy sell signal by placing arrows on the chart, signals must not repaint or be placed with an offset, i want it to be accurate enough so i can trade from signal to signal and actually make profit, do any one have a strategy and skill to create such an indicator, and also it is to mql5, ( Important is, It must have No repainting and No offset ), if you know it is something you
hello freelancers i need some one with a profitable ea for gold and dj30 i need the ea to be a scalping ea which places orders with sl and tp of 200 points for each trade and have a winning rate of more than 70 percent. if you have it already please apply for this
Hello, I m looking for experienced developer to code me indicator Market structure all in one in my EA MONEYPAL, to open trade on FVG separated by fractal signals.Thank you Regards

Proje bilgisi

Bütçe
30+ USD
KDV (23%): 6.9 USD
Toplam: 36.9 USD
Geliştirici için
27 USD