Pending Orders & Trailing Stop Not Working

Техническое задание

I am writing to provide you with comprehensive feedback on the Expert Advisor I have been developing. Below is a complete overview of its features, followed by some important observations about functionalities that need attention.

---

✅ PART 1: CURRENT FEATURES OF THE EA (WHAT IT CONTAINS)

1. Multi-API AI Integration

· Supports 10+ API providers: OpenAI (ChatGPT), Anthropic (Claude), Google (Gemini), X.AI (Grok), DeepSeek, Perplexity, Moonshot, Mistral, OpenRouter
· Intelligent Fallback system that automatically switches to secondary provider if primary fails
· Configurable AI update frequency

2. Comprehensive News Filter

· Pre-trading stop before news: configurable minutes
· Post-news resume: configurable minutes
· Currency-specific filtering (USD, CAD, AUD, NZD, JPY)
· Impact level selection (High, Medium, Low)
· Bank Holidays support

3. Advanced Risk Management

· Max Spread control in pips
· Max Directional Currencies limit
· Minimum Volatility threshold
· Drawdown protection
· Margin Limit
· Split Orders for large volumes

4. Multiple Trading Strategies

· Primary Strategy: Market or Pending Orders
· Secondary Strategy: Sacred Phi Entry with Symmetry Types
· ACR Mode for reduced AI costs
· Entry Management: Primary Only or Primary + Secondary
· XGBoost integration with configurable training frequency

5. Position Management

· APM (AI Position Management) with adjustable frequency
· Dynamic TP/SL modification types
· Web Grounding for accuracy
· Close/Health Check options

6. Flexible Lot Size Calculations

· Fixed Lot Size
· Dynamic Balance/Equity Based
· Risk Percentage Based
· Funded/Firm Static Initial Deposit support

7. Precise Trading Times

· GMT-based trading hours
· Rollover periods management
· Configurable start/end minutes

8. Comprehensive Telegram Integration

· Bot Token support
· Chat/Group ID support
· Topic ID for threaded conversations
· Real-time trade notifications

9. EA Guard Rails

· Disable All Guard Rails option
· Web Grounding for most accurate results
· Spread and Directional Currencies protection

10. AI Model Selection

· 11 different model configurations
· ChatGPT, Claude, Gemini, Moonshot, Mistral, X.AI, DeepSeek models
· OpenRouter dual model support
· Perplexity integration for web search analysis

---

⚠️ PART 2: ISSUES REQUIRING ATTENTION (MUST BE FIXED)

1. Pending Orders Not Working ❌

· When Entry Type = Pending Orders is selected, the EA still opens Market Orders
· The pending order placement function is either missing or not properly implemented
· Expected Behavior: Should place Buy Stop/Sell Stop orders at calculated distances

2. Trailing Stop Not Functioning ❌

· Despite setting SL_Trailing_Start and SL_Trailing_Distance, the stop never moves
· No visible updates in Experts tab when profit exceeds threshold
· Expected Behavior: Stop Loss should automatically trail behind profitable trades

3. Values Are Purely Cosmetic ❌

· Many input parameters are defined but not actually used in the logic
· Example: Max_Directional_Currencies, Min_Volatility exist as inputs but don't affect trading decisions
· Expected Behavior: EVERY setting should have REAL impact on EA behavior

4. Missing Professional Dashboard ❌

· No visual interface showing EA status
· No animated AI indicator
· Expected Behavior: Small animated AI icon showing:
  · Current AI decision (BUY/SELL/HOLD)
  · API connection status
  · Active trades counter
  · Real-time profit/loss

---

🔧 PART 3: REQUESTED ENHANCEMENTS FOR PROFESSIONAL VERSION

1. Professional Dashboard Features:

· Animated AI Icon: Small animated GIF-style icon at top of chart
  · Pulsing green when connected to API
  · Flashing red on errors
  · Spinning animation while processing
· Real-time Info Panel:
  · Current AI Decision
  · Last Update Time
  · Open Trades Count
  · Daily P&L
  · API Status (Connected/Disconnected)

2. Make ALL Settings Functional:

· Every input parameter should have REAL code implementation
· Max_Spread_Pips should actually block trades when exceeded
· Min_Volatility should prevent trading in low volatility
· Max_Directional_Currencies should limit correlated trades

3. Professional Grade Trading Logic:

· Pending orders with proper distance calculation based on ATR
· Trailing stop that works 100% of the time
· Dynamic position sizing based on actual account risk
· Proper error handling with user-friendly messages

---

✅ PART 4: WHAT'S ALREADY WORKING GREAT

Feature Status
API Integration ✅ Fully Working
News Filter Structure ✅ Excellent Framework
Risk Management Inputs ✅ Comprehensive
Telegram Integration ✅ Ready to use
Multi-Strategy Framework ✅ Well Designed
AI Model Selection ✅ Extensive Options

---

🎯 SUMMARY

The EA has an EXCELLENT FOUNDATION with:

· ✅ Comprehensive AI integration
· ✅ Professional risk management structure
· ✅ Extensive customization options
· ✅ Clean and organized input interface

However, to become a truly PROFESSIONAL EA, it needs:

1. ✅ Working Pending Orders
2. ✅ Functional Trailing Stop
3. ✅ Real implementation of ALL settings
4. ✅ Animated AI Dashboard

---

Откликнулись

1
Разработчик 1
Оценка
(13)
Проекты
18
11%
Арбитраж
6
33% / 67%
Просрочено
1
6%
Свободен
Опубликовал: 1 пример
2
Разработчик 2
Оценка
(533)
Проекты
807
62%
Арбитраж
33
27% / 45%
Просрочено
23
3%
Свободен
Опубликовал: 1 пример
3
Разработчик 3
Оценка
(1)
Проекты
2
0%
Арбитраж
2
0% / 0%
Просрочено
0
Работает
Опубликовал: 1 пример
4
Разработчик 4
Оценка
(5)
Проекты
6
0%
Арбитраж
1
0% / 100%
Просрочено
1
17%
Работает
5
Разработчик 5
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
6
Разработчик 6
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
7
Разработчик 7
Оценка
(2)
Проекты
4
25%
Арбитраж
1
0% / 0%
Просрочено
1
25%
Работает
8
Разработчик 8
Оценка
(12)
Проекты
16
13%
Арбитраж
4
50% / 25%
Просрочено
4
25%
Работает
9
Разработчик 9
Оценка
(3)
Проекты
4
50%
Арбитраж
0
Просрочено
0
Свободен
10
Разработчик 10
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
11
Разработчик 11
Оценка
(32)
Проекты
33
61%
Арбитраж
1
100% / 0%
Просрочено
1
3%
Свободен
Опубликовал: 5 примеров
12
Разработчик 12
Оценка
(16)
Проекты
18
28%
Арбитраж
1
0% / 0%
Просрочено
2
11%
Свободен
13
Разработчик 13
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
14
Разработчик 14
Оценка
(6)
Проекты
5
0%
Арбитраж
2
50% / 50%
Просрочено
2
40%
Свободен
15
Разработчик 15
Оценка
(6)
Проекты
6
0%
Арбитраж
2
50% / 0%
Просрочено
1
17%
Свободен
Похожие заказы
have the Beatrix Inventor Expert Advisor (EA) that was profitable in the past but has been losing money recently. I need an experienced EA developer/optimizer to study the trade history (especially Stop Loss hits, drawdown periods, SL/TP behavior, win/loss ratio, etc.) and recommend + implement specific tweaks so it becomes consistently profitable again. Your job: 1. Deep analysis of why the EA is no longer
Project: Ready MT5 Multi-Symbol Expert Advisor (No Grid/Martingale) Platform: MetaTrader 5 (MQL5) Type: Fully automated Expert Advisor (EA) Strict mandatory requirements: - Absolutely NO grid trading in any form - Absolutely NO martingale (no lot multiplication on losses, no averaging, no anti-martingale if risky) - No other high-risk money management (e.g., no unnecessary hedging or aggressive entries) - At least 1
want to develop a trading robot (EA) for MetaTrader 5 based on 10 specific rules. The robot should include a professional interface to control all settings, including: Fixed lot size (0.50), Stop Loss (10 USD), RSI indicators for entry/exit, News filter, Trailing stop, and daily profit targets. I have the full logic ready to discuss with the developer. Please ensure high-quality code and testing
Società di investimento con attività tra Sanremo e Monaco ricerca un giovane collaboratore con esperienza nell’utilizzo avanzato di MetaTrader 5. Attività: Il collaboratore si occuperà di: • eseguire backtest di strategie di trading su MT5 • effettuare ottimizzazioni parametri tramite Strategy Tester • analizzare risultati e robustezza delle strategie • eseguire forward test • preparare report di test e analisi. Gli
We are seeking an experienced MQL5 developer to design and develop a high-performance Expert Advisor (EA) for trading Gold (XAUUSD) on MetaTrader 5 . This project is intended for large-scale capital deployment , with an available trading capital exceeding $8,000,000 USD . As such, we are looking for a developer capable of building a robust, scalable, and risk-controlled algorithmic trading system suitable for
حلل لي اصل مالي ) اكتب هنا مثلا XAU EUR USD USD اريد تحليلا تعليما و ليس توصية مالية ۱- نوع التحليل المطلوب : ( فني / اساسي / سلوك سعري ) ٢ - المدي الزمني : ( قصير / متوسط / طويل ) M15 / H1 / H4 / ) اذكر الفريمات المطلوبه + (D1 ما اريد استخراجه من التحليل : الاتجاه العام اقوي مستويات دعم و مقاومة رقمية سيناريو صعود و سيناريو هبوط مع شروط كل سيناريو ( IF / THEN ) اين يصبح السيناريو لاغيا مناطق دخول و خروج تعليمية (
I am looking for an experienced quantitative developer to analyze and optimize an MT5 Expert Advisor that I have already developed. The EA is relatively complex and includes: Multiple strategies (Trend Pullback, Breakout, Mean Reversion, EMA Reclaim) Scoring system combining technical score and probabilistic filter Regime detection (ADX based) Volatility filters (ATR regime) Correlation and cluster exposure control
Until zone detection is coded , you will be from that point . Trailing Stop Optimization for live chart . Apply with Specific Currency Support . Clean Code . Zone Upper Limit and Lower Limit . Apply with careful understanding of the project requirement
hello, please take a moment to review my project. It is for Quanttower. it is very detailed in the instructions. Thank you, Just let me know if you can do it and the whats the cost and timeframe
XAUUSD - TREND TRADER 30 - 500 USD
Find a good entry point and enter the trade .after the first profit of 25% is done then exit the trade .find the good market analysis of the trend and know when the market is on a good trend. After that now know the entry point and the take profit of the slot you have opened .have also a risk management strategy

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

Бюджет
30 - 80 USD
Сроки выполнения
от 1 до 5 дн.

Заказчик

(9)
Размещено заказов13
Количество арбитражей0