Tâche terminée

Temps d'exécution 2 jours
Commentaires du client
Skilled programmer with high level professionalism. Definitely will ask for his help first with future works.
Commentaires de l'employé
He is good and kind customer. I want to work him again.

Spécifications

Hello MQL5 programmers:

I need an EA that modify all exsiting positions' SL(Stoploss) at once. 

Three criterias as follow:
1. EA will automatically know my exsiting positions are either buy or sell; and modify their SL accordingly. (Modify all exsiting positions to same SL value).
2. Auto close all positions at certain time (can be either TimeLocal or TimeCurrent). ie. I can set time so all my exsiting positions will be closed by tomorrow 0900. For this, I will have to be able to set time in EA's parameter. (I will list parameter needed at the end of this txt all together).
3. Print and GetLastError should be included. 

How EA may work:
a simple one. As my attached image file show, the EA only needs analysing two previous bars (P1 and P2) and modify all SL when Current bar starts to tick. There wont be hedging, so all positions will always be either BUY or SELL.

1. if EA detects the exsiting positions are BUY positions:
a.if P1 and P2 both are bull candles, and [P1 low] is >= [P2 low]; then set SL at ([P2 low] - Slippage (in pips)). Slippage is another parameter which I have to be able to change.
b.if P1 is bear candle, P2 is bull candle, set SL the same way as (a.), and use SendNotification to alert me that P1 is bear candle. 

2. if EA detects the exsiting positions are SELL positions:
a. if P1 and P2 are both bear candle, and [P1 high] is <= [P2 high]; then set SL at ([P2 high] + Slippage + Spread). Spread should be obtained from the server and/or using ask-bid to calculate.
b. if P1 is bull candle, P2 is bear candle, set SL the same way as (a.), and use SendNotification to alert me that P1 is bull candle.

Thank you for your hard work!

for input parameters:
I need at least:
1.Time

2.Slippage (in pips)


ps. final work should be .mq5 file.


Dossiers :

JPG
SL_EA.jpg
189.5 Kb

Répondu

1
Développeur 1
Évaluation
(67)
Projets
97
35%
Arbitrage
11
27% / 45%
En retard
13
13%
Gratuit
2
Développeur 2
Évaluation
(217)
Projets
369
33%
Arbitrage
34
41% / 29%
En retard
108
29%
Gratuit
Publié : 1 code
3
Développeur 3
Évaluation
(57)
Projets
72
22%
Arbitrage
13
46% / 15%
En retard
5
7%
Gratuit
4
Développeur 4
Évaluation
(132)
Projets
178
39%
Arbitrage
4
25% / 50%
En retard
14
8%
Gratuit
Commandes similaires
I have an existing MT5 Expert Advisor for XAUUSD M5. This is NOT a new robot from zero. I need modification and professional review of an existing MQL5 EA. Main goals: 1. Buy entries: Buy trades are currently too rare. The Buy ADX filter was very strict at 45. I am testing 40 now. I need you to review the Buy entry filters and improve Buy entry quality without making entries random or weak. 2. Sell entries: Sell
I am looking for an experienced MQL5 developer to build a professional MetaTrader 5 (MT5) Expert Advisor (EA) for swing trading. Trading Pairs EUR/USD USD/JPY Timeframes Daily (D1) for trend identification. H4 for trade entries. Strategy The EA should: Detect Daily market structure (HH, HL, LH, LL) using confirmed swing highs and lows (not relying solely on ZigZag). Use DMI/ADX for trend confirmation. Open trades
JOB TITLE: XAUUSD ONLY MQL5 Strategy Developer Needed To Improve Existing MT5 EA Winrate JOB DESCRIPTION: I already have a working MetaTrader 5 Expert Advisor with a fixed set file and existing trading logic. The strategy is based on Volume Profile / Delta bias, ATR-based TP/SL, ATR deviation filtering, ATR trade spacing, break-even after TP1, and TP lock management. I am looking for an experienced MQL5 / trading
أحتاج إلى مستشار خبير لمنصة MetaTrader 5 (MT5) مصمم كآلة حالة محدودة (FSM). يجب أن ينفذ أوامر السوق فقط بناءً على مستويات أسعار يحددها المستخدم. يجب ألا يستخدم أي مؤشرات أو تحليل فني أو أوامر معلقة أو ذكاء اصطناعي أو قرارات تداول تلقائية. يجب أن ينفذ المستشار الخبير ببساطة تسلسلًا محددًا مسبقًا لمستويات الأسعار كما يحددها المستخدم تمامًا، مع إدارة دقيقة للحالة، ودورة نشطة واحدة في كل مرة، ومعالجة الفجوات السعرية،
Мне нужен простой торговый бот, написанный исключительно на Python. Бот должен подключаться к терминалу MetaTrader 5 через официальную библиотеку Python "MetaTrader5". Объем кода невелик (около 250 строк). КРИТИЧЕСКИ ВАЖНЫЕ ТРЕБОВАНИЯ: 1. НЕТ КОДА MQL5: Весь проект должен быть написан только на Python. 2. ВНЕШНЯЯ КОНФИГУРАЦИЯ: У бота должен быть внешний конфигурационный файл (config.ini или settings.json). Я должен
[7/6/2026 12:24 PM] DR.HassaN: Current Phase: Comprehensive Review & Final Enhancement_ This indicator is designed for the TradingView platform. Now that the core engines have been completed, I want to enter a comprehensive review and professional enhancement phase before adding any major new features. My goal is to transform this indicator into a premium institutional-grade TradingView indicator , both in terms of
Part 1: Project setup Input settings (risk, stop loss, take profit, EMA periods) Indicator initialization Trade management framework Part 2: Trading logic EMA crossover detection Buy/Sell entry rules One-trade-per-symbol check Part 3: Risk management Automatic lot size calculation Stop-loss and take-profit placement Trade execution and error handling Part 4: Final touches On-screen information Optimization
I am looking for an experienced MQL4 or MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for cryptocurrency trading between LMAX and IC Markets. I need someone who understands low-latency execution, price feeds, slippage, spreads, and fast order execution. The basic idea is that LMAX acts as the leading price feed while IC Markets is the execution broker. The EA should constantly
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or
I am looking for an experienced MQL5 or MQL4 developer with a strong understanding of high-frequency trading (HFT) concepts who can explain how certain HFT-style strategies have historically been able to pass proprietary firm evaluations while also being profitable on demo accounts and capable of transitioning successfully to live trading. I am interested in understanding the legitimate trading logic, execution

Informations sur le projet

Budget
30+ USD
Délais
de 1 à 3 jour(s)