AN EXPERT BASED ON PENDING BUY STOP AND SELL STOP ORDERS

Spécifications

This is a MQL4 trading robot code that seems to implement a basic grid trading strategy. It opens two pending orders (a BuyStop and a SellStop) for a specified symbol when the current server time matches the specified trading time. It then modifies the stop loss and take profit of each order based on their type (BuyStop or SellStop). The lot size of each order is calculated using a risk percentage (RiskPercent) and the free margin available in the account.

Here are some of the important variables and functions used in this code:

Variables:

  • BuyPips: the distance in pips between the BuyStop and the current market price
  • SellPips: the distance in pips between the SellStop and the current market price
  • RiskPercent: the risk percentage used to calculate the lot size of each order
  • Ntokozo: a string variable used to display a comment on the chart
  • TradingTime: the time when the robot should start trading
  • ContractSize: the contract size used to calculate the lot size of each order
  • maxPendingOrders: the maximum number of pending orders that can be opened for each symbol
  • pendingOrdersCount: an array that keeps track of the number of pending orders for each symbol
  • symbolInitialized: a boolean array that keeps track of whether each symbol has been initialized or not

Répondu

1
Développeur 1
Évaluation
(19)
Projets
26
27%
Arbitrage
3
0% / 100%
En retard
2
8%
Gratuit
2
Développeur 2
Évaluation
(2)
Projets
5
0%
Arbitrage
1
0% / 100%
En retard
0
Travail
3
Développeur 3
Évaluation
(37)
Projets
59
27%
Arbitrage
26
19% / 54%
En retard
10
17%
Travail
Publié : 1 code
4
Développeur 4
Évaluation
(6)
Projets
10
50%
Arbitrage
6
17% / 50%
En retard
3
30%
Travail
5
Développeur 5
Évaluation
(85)
Projets
174
44%
Arbitrage
3
100% / 0%
En retard
5
3%
Gratuit
Publié : 1 code
6
Développeur 6
Évaluation
(568)
Projets
641
41%
Arbitrage
25
48% / 36%
En retard
46
7%
Travail
7
Développeur 7
Évaluation
(45)
Projets
46
24%
Arbitrage
34
9% / 85%
En retard
10
22%
Gratuit
8
Développeur 8
Évaluation
(3)
Projets
4
0%
Arbitrage
2
0% / 100%
En retard
1
25%
Gratuit
9
Développeur 9
Évaluation
(298)
Projets
478
40%
Arbitrage
105
40% / 24%
En retard
82
17%
Chargé
Publié : 2 codes
10
Développeur 10
Évaluation
(72)
Projets
80
10%
Arbitrage
38
8% / 58%
En retard
6
8%
Gratuit
11
Développeur 11
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
12
Développeur 12
Évaluation
(144)
Projets
186
41%
Arbitrage
24
58% / 21%
En retard
13
7%
Gratuit
13
Développeur 13
Évaluation
(44)
Projets
53
38%
Arbitrage
8
13% / 38%
En retard
8
15%
Gratuit
14
Développeur 14
Évaluation
(87)
Projets
131
22%
Arbitrage
7
57% / 0%
En retard
33
25%
Gratuit
Publié : 1 code
15
Développeur 15
Évaluation
(6)
Projets
8
25%
Arbitrage
1
100% / 0%
En retard
3
38%
Gratuit
16
Développeur 16
Évaluation
(458)
Projets
485
70%
Arbitrage
6
67% / 0%
En retard
2
0%
Travail
Commandes similaires
Professional MT5 Expert Advisor – Multi-Engine Trading Framework Description I'm looking for an experienced MQL5 developer to build a professional MetaTrader 5 Expert Advisor. This is not a simple indicator-based EA. The system should be designed using a modular architecture with a strong focus on maintainability, optimization, and future scalability. The first version should include the following features. Market
Looking for an MT5 Expert Advisor developer with: Minimum 1 year of verified activity on the MetaTrader Market Positive, real user reviews Ability to build EAs without Bollinger Bands Fully configurable parameters (risk, filters, SL/TP, trading hours) Free test version available before any payment Clear communication and ongoing support If you meet these requirements, please send your MQL5 profile or portfolio
Akram boushaba 30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم
MetaTrader In-App Trade Alerts An existing MetaTrader terminal is already running on my side, but its account is kept hidden for privacy reasons. I need a specialist to wire up native in-app notifications so that every time a position is opened or later closed I see an immediate pop-up inside the platform—no emails or SMS, just the built-in alert window (and the usual MT push to mobile if that comes automatically
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
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). يجب أن ينفذ أوامر السوق فقط بناءً على مستويات أسعار يحددها المستخدم. يجب ألا يستخدم أي مؤشرات أو تحليل فني أو أوامر معلقة أو ذكاء اصطناعي أو قرارات تداول تلقائية. يجب أن ينفذ المستشار الخبير ببساطة تسلسلًا محددًا مسبقًا لمستويات الأسعار كما يحددها المستخدم تمامًا، مع إدارة دقيقة للحالة، ودورة نشطة واحدة في كل مرة، ومعالجة الفجوات السعرية،
Message me please for the investor login. You will replicate the ea and I shall tell u some things about it, I am not paying over $100. You should have great skills. The EA can handle any market and shall not blow the account
Мне нужен простой торговый бот, написанный исключительно на Python. Бот должен подключаться к терминалу MetaTrader 5 через официальную библиотеку Python "MetaTrader5". Объем кода невелик (около 250 строк). КРИТИЧЕСКИ ВАЖНЫЕ ТРЕБОВАНИЯ: 1. НЕТ КОДА MQL5: Весь проект должен быть написан только на Python. 2. ВНЕШНЯЯ КОНФИГУРАЦИЯ: У бота должен быть внешний конфигурационный файл (config.ini или settings.json). Я должен
Dashboard Backtest 30 - 500 USD
Hello, I have a question. Is it possible to create an offline version of MetaTrader for backtesting multi-timeframe dashboards? Specifically, I would like the dashboard to receive historical data from multiple timeframes (such as M1, M5, M15, H1, and H4) during a backtest and operate exactly as it does in live trading. Is this technically possible, or do MetaTrader's backtesting limitations prevent this

Informations sur le projet

Budget
30 - 50 USD
Délais
de 1 à 2 jour(s)