الورقة البيضاء التقنية لـ PMTS
TrackRecord FX Blue الرئيسية
التوثيق التقني

الورقة البيضاء التقنية لـ PMTS — بنية التداول بالذكاء الاصطناعي

ورقة بيضاء تقنية شاملة توثق البنية والخوارزميات وتنفيذ نظام تداول مُنسّق بالذكاء الاصطناعي بمستوى مؤسسي متخصص في XAUUSD.

الإصدار 3.1
آخر تحديث January 2026
المنصة MetaTrader 5
المؤلف Elysium Media FZCO
الاتصال info@elysiumdubai.net
التقييم الرسمي

اكتشف القيمة المؤسسية لـ PMTS

الوصول إلى تقرير التقييم الرسمي الكامل لنظام التداول المعياري الاحترافي. تحليل مالي مفصل ومنهجية تقييم المخاطر والعوائد المتوقعة بناءً على الأداء التاريخي الموثق.

منهجية DCF
مقاييس موثقة
تحليل المخاطر
تدقيق مستقل

تقرير التدقيق التقني والأداء

الوصول إلى تقرير التدقيق المستقل الكامل مع مراجعة الكود وتقييم الأمان والتحقق من جميع أكثر من 820 صفقة نفذها نظام PMTS الخوارزمي.

820 صفقة موثقة
مراجعة الكود
تقييم الأمان
القسم 01

الملخص

يمثل نظام التداول المعياري الاحترافي (PMTS) نقلة نوعية في التداول الآلي، يجمع بين إدارة المخاطر بمستوى مؤسسي وتنسيق الذكاء الاصطناعي المتطور. تقدم هذه الورقة البيضاء نظرة عامة تقنية شاملة على بنية PMTS، مع التركيز على فلسفة التصميم المعياري وبروتوكول التحقق متعدد الطبقات والتحسينات المتخصصة لتداول الذهب (XAUUSD).

على عكس المستشارين الخبراء التقليديين الذين يعتمدون على أنظمة قائمة على قواعد صارمة، ينفذ PMTS آلية تسجيل تقاطع ديناميكية تتكيف مع ظروف السوق المتغيرة في الوقت الفعلي. يعالج النظام أكثر من 150 مؤشراً فنياً عبر أطر زمنية متعددة، مطبقاً تحليلاً مرجحاً لتوليد إشارات تداول عالية الاحتمالية مع ضوابط مخاطر مدمجة تحمي رأس المال مع تعظيم العوائد المعدلة للمخاطر.

الابتكار الرئيسي

نظام التحقق المتبادل متعدد الطبقات في PMTS يقلل الإيجابيات الكاذبة بنسبة تصل إلى 85% مقارنة باستراتيجيات المؤشر الواحد، مع الحفاظ على زمن التنفيذ أقل من 50 مللي ثانية.

القسم 02

مقدمة

يقدم سوق الذهب (XAUUSD) تحديات فريدة لأنظمة التداول الآلي. مع أحجام تداول يومية تتجاوز 130 مليار دولار وحركات أسعار متأثرة بالعوامل الاقتصادية الكلية والأحداث الجيوسياسية ومواقع المؤسسات، يتطلب تداول الذهب الناجح تحليلاً متطوراً يتجاوز المؤشرات الفنية البسيطة.

تم تطوير PMTS بواسطة Elysium Media FZCO (دبي) استجابةً لهذه التحديات، حيث ينفذ بنية معمارية معيارية تفصل المخاوف عبر مكونات متخصصة: التحليل، توليد الإشارات، إدارة الأوامر، التحكم في المخاطر، وإدارة المراكز.

أهداف التصميم

  • الحفاظ على رأس المال: إعطاء الأولوية لإدارة المخاطر على تعظيم الربح من خلال أنظمة حماية متعددة الطبقات
  • الاستجابة التكيفية: ضبط المعلمات ديناميكياً بناءً على تقلبات السوق الحالية وجلسات التداول
  • التنفيذ المؤسسي: تنفيذ إدارة أوامر احترافية مع التحكم في الانزلاق والتحقق من الهامش
  • الشفافية: توفير تسجيل شامل ومقاييس أداء في الوقت الفعلي
  • قابلية التوسع: دعم إدارة حسابات متعددة مع معلمات مخاطر متسقة
القسم 03

الميزات الرئيسية

تنسيق الذكاء الاصطناعي

محرك الذكاء الاصطناعي المركزي ينسق 7 وحدات تحليل متخصصة، مع متطلبات توافق متعدد الطبقات قبل التحقق من الإشارة.

تسجيل التوافق

نظام تسجيل ديناميكي يوزن مؤشرات متعددة وتوقيت الجلسات والتقلبات لتوليد درجات ثقة من 0-100.

ضوابط المخاطر

حماية متعددة المستويات مع حدود الخسارة اليومية وسقوف السحب القصوى ومراقبة الهامش وتحجيم المركز التلقائي.

تخصص الذهب

تحسينات XAUUSD متخصصة تشمل التداول القائم على الجلسات وتحليل ارتباط الدولار وتحجيم اللوت الخاص بالذهب.

نظام التدرج

تدرج لوت ذكي بعد الخسائر مع استهداف التعافي التلقائي وحدود تصعيد المخاطر القابلة للتكوين.

لوحة بيانية مرئية

لوحة رسم بياني في الوقت الفعلي تعرض مربعات الجلسات وأسهم الإشارات والمستويات المعلقة وإحصائيات التداول الشاملة.

القسم 04

بنية النظام

يستخدم PMTS بنية معيارية هرمية حيث يعمل كل مكون كوحدة مستقلة مع واجهات محددة. يعمل Expert Advisor الرئيسي (PMTS-GOLD-V51.mq5) كنقطة دخول، وينسق 16 وحدة متخصصة منظمة في 6 فئات وظيفية.

تسلسل مكونات النظام
PMTS-GOLD-V51.mq5 (Main EA)
Config (3)
Analysis (4)
Trading (3)
Risk (3)
Utils (4)
Visual (3)

تنظيم الوحدات

الفئة الوحدة المسؤولية
Config InputParameters.mqh معلمات وإعدادات التداول القابلة للتكوين من قبل المستخدم
Analysis Indicators.mqh تهيئة وإدارة المؤشرات الفنية
Analysis GoldAnalysis.mqh تحليل الجلسات والارتباط الخاص بـ XAUUSD
Trading SignalEngine.mqh تسجيل التوافق وتوليد الإشارات
Trading OrderManager.mqh وضع الأوامر وإدارة الأوامر المعلقة
Risk MoneyManager.mqh تحجيم اللوت وتخصيص رأس المال
Risk RiskControl.mqh تطبيق الحدود ووقف الخسارة الهجين
Risk ScalingManager.mqh تدرج استرداد الخسائر وتقدم اللوت
القسم 05

فلسفة التصميم المعياري

تتبع البنية المعيارية أفضل ممارسات هندسة البرمجيات مع فصل واضح للمخاوف. كل ملف رأسي .mqh يغلف مجالاً محدداً مع الحد الأدنى من التبعيات على الوحدات الأخرى. يمكّن هذا التصميم:

  • الاختبار المستقل: يمكن التحقق من صحة كل وحدة بشكل منفصل قبل التكامل
  • التحسين الانتقائي: يمكن ضبط معلمات المؤشرات دون التأثير على إدارة المخاطر
  • الصيانة السهلة: إصلاحات الأخطاء والتحسينات محلية لملفات محددة
  • تبديل الميزات: يمكن تمكين/تعطيل مكونات مثل Williams %R أو MACD عبر معلمات الإدخال
القسم 06

محرك الإشارات

محرك الإشارات هو مكون اتخاذ القرار الأساسي في PMTS. ينفذ نظام تسجيل توافق يجمع الإشارات من مؤشرات متعددة وظروف السوق لإنتاج درجة ثقة واحدة (0-100). فقط الإشارات التي تتجاوز عتبة 60 نقطة تنتقل إلى وضع الأوامر.

خوارزمية تسجيل التوافق

يعين حساب التوافق درجات موزونة بناءً على محاذاة المؤشرات وسياق السوق. يقيم نظام التسجيل الأساسي الشروط الأولية، بينما تطبق العوامل الثانوية مكافآت أو عقوبات على الدرجة النهائية.

المكون النقاط الشرط
TEMA Falling+30TEMA[0] < TEMA[1] < TEMA[2]
SuperTrend Lateral+30السعر ضمن 200 نقطة من خط SuperTrend
Williams %R Neutral+20WPR بين -90 و -25 (ليس في أقصى الحدود)
EMA Alignment+15EMA18 > EMA30 > EMA290
MACD Bullish+10خط MACD > خط الإشارة
Session Overlap+15تداخل لندن/نيويورك (13:00-16:00 GMT)

العقوبات الديناميكية

يتم تعديل الدرجة النهائية بواسطة عوامل مضاعفة بناءً على ظروف السوق:

  • قوة الدولار: الدرجة مضروبة في 0.8 عندما يظهر مؤشر الدولار قوة (ارتباط سلبي مع الذهب)
  • تقلب منخفض: الدرجة مضروبة في 0.8 عندما نسبة ATR < 0.8
  • تقلب عالي: الدرجة مضروبة في 0.3/GoldVolatilityMultiplier عندما نسبة ATR > 2.5
  • قرب الأخبار: الدرجة مضروبة في 0.5 عندما تكون أخبار عالية التأثير خلال 30 دقيقة
القسم 07

Technical Indicators

PMTS utilizes a curated set of technical indicators, each optimized for gold's unique price behavior. All indicators operate on the H1 timeframe to balance signal quality with execution frequency.

Indicator Optimized Parameters Purpose
TEMAPeriod: 16Primary trend direction with reduced lag
SuperTrendPeriod: 23, Mult: 2.0Trend continuation and reversal detection
ATRPeriod: 50Stop-loss calculation and volatility measurement
Williams %RPeriod: 17Overbought/oversold conditions and divergences
EMA Fast/Slow/Trend18 / 30 / 290Long-term trend bias
MACD17 / 27 / 13Momentum confirmation filter
Parameter Optimization

These parameters were derived through walk-forward optimization across 5 years of XAUUSD data (2019-2024), with particular emphasis on the post-2020 volatility regime.

القسم 08

Money Management

PMTS implements a sophisticated money management system that automatically calculates position sizes based on account equity, current risk parameters, and market volatility. The system supports both fixed lot sizes and automatic risk-based sizing.

Default Risk Parameters

Parameter Default Value Description
RiskPercent1.0%Maximum risk per individual trade
MaxAccountRisk20.0%Maximum total account drawdown before trading stops
MaxDailyTrades5Maximum number of trades per day
GoldPipValueAdjustment12.0Divisor to normalize gold lot sizes

Position Sizing Algorithm (MQL5 Implementation)

The following MQL5 code demonstrates how PMTS calculates position sizes using fixed percentage risk - NOT Martingale progression. Each trade risks a constant percentage of account equity regardless of previous outcomes.

CalculateLotSize() - MQL5 Fixed Risk Position Sizing
//+------------------------------------------------------------------+
//| Calculate lot size based on FIXED PERCENTAGE RISK               |
//| This is NOT Martingale - risk % is constant per trade           |
//+------------------------------------------------------------------+
double CalculateLotSize(double stopLossPips)
{
    // Get current account equity (NOT balance, to account for floating P/L)
    double equity = AccountInfoDouble(ACCOUNT_EQUITY);

    // Fixed risk percentage (default 1.0%, max 2.0%)
    double riskPercent = MathMin(g_RiskPercent, 2.0);

    // Calculate dollar amount to risk
    double riskAmount = equity * (riskPercent / 100.0);

    // Get pip value for current symbol
    double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE);
    double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE);
    double pointValue = tickValue / tickSize * _Point;

    // Calculate lot size: Risk Amount / (Stop Loss in Points * Point Value)
    double lotSize = riskAmount / (stopLossPips * 10 * pointValue);

    // Apply gold-specific adjustment (higher pip value)
    if(StringFind(_Symbol, "XAU") >= 0)
        lotSize /= g_GoldPipValueAdjustment;  // Default: 12.0

    // Apply loss reduction (OPPOSITE of Martingale - reduce after loss)
    if(g_ConsecutiveLosses > 0 && g_ReduceAfterLoss)
        lotSize *= MathPow(0.75, g_ConsecutiveLosses);  // Reduce 25% per loss

    // Normalize to broker's lot step and enforce min/max limits
    double minLot = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MIN);
    double maxLot = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MAX);
    double lotStep = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_STEP);

    lotSize = MathMax(minLot, MathMin(maxLot, lotSize));
    lotSize = MathRound(lotSize / lotStep) * lotStep;

    return NormalizeDouble(lotSize, 2);
}
Why This Is NOT Martingale
  • Fixed Risk Per Trade: Risk percentage (1-2%) remains constant regardless of previous outcomes
  • Position Size DECREASES After Losses: Line 26-27 shows 25% reduction per consecutive loss (opposite of Martingale)
  • Equity-Based Calculation: Lot size is derived from current equity, automatically adjusting to account changes
  • Always Uses Stop-Loss: Every trade has a defined risk level through mandatory stop-loss

3-Tier Stop-Loss System (MQL5 Implementation)

PMTS implements a three-tier protection system that prevents catastrophic losses at trade, daily, and account levels.

RiskGuard() - 3-Tier Protection System
//+------------------------------------------------------------------+
//| Three-Tier Risk Protection System                                |
//| Provides layered protection at trade, daily, and account levels  |
//+------------------------------------------------------------------+
bool CheckRiskGuard()
{
    double equity = AccountInfoDouble(ACCOUNT_EQUITY);
    double balance = AccountInfoDouble(ACCOUNT_BALANCE);

    //--- TIER 1: Account-Level Circuit Breaker (15% max drawdown)
    double accountDrawdown = ((g_PeakEquity - equity) / g_PeakEquity) * 100;
    if(accountDrawdown >= g_MaxAccountDrawdown)  // Default: 15%
    {
        CloseAllPositions("CIRCUIT BREAKER: Max account drawdown reached");
        g_TradingHalted = true;
        return false;
    }

    //--- TIER 2: Daily Loss Limit (5% daily max)
    double dailyPL = CalculateDailyPL();
    double dailyDrawdown = (MathAbs(dailyPL) / balance) * 100;
    if(dailyPL < 0 && dailyDrawdown >= g_MaxDailyLoss)  // Default: 5%
    {
        g_DailyTradingPaused = true;
        Alert("Daily loss limit reached. Trading paused until next day.");
        return false;
    }

    //--- TIER 3: Per-Trade Stop-Loss (ATR-based)
    // Stop-loss is ALWAYS set on every trade, calculated as:
    // SL Distance = ATR(50) * 2.0  (default multiplier)
    // This ensures no trade can lose more than the calculated risk amount

    // Update peak equity for drawdown tracking
    if(equity > g_PeakEquity)
        g_PeakEquity = equity;

    return true;  // All guards passed, trading allowed
}

//+------------------------------------------------------------------+
//| Calculate ATR-based Stop-Loss (ALWAYS required)                  |
//+------------------------------------------------------------------+
double CalculateStopLoss(ENUM_ORDER_TYPE orderType, double entryPrice)
{
    // Get ATR value (50-period by default)
    double atr = iATR(_Symbol, PERIOD_H1, g_ATRPeriod);  // Default: 50

    // Calculate SL distance (2x ATR for gold volatility)
    double slDistance = atr * g_ATRMultiplier;  // Default: 2.0

    // Apply SL in correct direction
    if(orderType == ORDER_TYPE_BUY)
        return entryPrice - slDistance;
    else
        return entryPrice + slDistance;
}

PMTS vs. Martingale Comparison

Aspect Martingale (Dangerous) PMTS (Fixed Risk)
After Loss DOUBLE position size REDUCE position size by 25%
Stop-Loss Often none (wait for reversal) ALWAYS required (ATR-based)
Maximum Risk Unlimited (can wipe account) Capped at 2% per trade, 15% total
Position Growth Exponential (2x, 4x, 8x, 16x...) Linear, proportional to equity
Consecutive Losses 6-7 losses = total account loss Survives 50+ consecutive losses
Circuit Breaker None 3-tier protection (trade/daily/account)
القسم 09

Hybrid Protection System

The Hybrid Protection System is a multi-level stop-loss management mechanism that progressively locks in profits as positions move favorably. Unlike simple trailing stops, this system implements discrete protection levels that activate at specific profit thresholds.

Level Trigger (Pips) Protection Action
Level 1+30BreakevenMove SL to entry price + 0.2 pips buffer
Level 2+50+20 pipsLock in 20 pips profit
Level 3+80+40 pipsLock in 40 pips profit
Level 4+120Trailing 50Activate trailing stop at 50 pips distance
Important

The Hybrid Protection System only moves stop-losses in the favorable direction (higher for BUY positions). It never decreases protection once established.

القسم 10

Scaling System

The optional Scaling System implements a controlled lot progression strategy designed to recover from consecutive losses. When enabled, it doubles the lot size after each loss up to a maximum of 3 levels (2x, 4x, 8x), then expands stop-loss and take-profit distances if losses continue.

Lot Progression

Scaling Example (Base: 0.01 lots)
Loss 0: 0.01 lots (normal trading)
Loss 1: 0.02 lots (x2 multiplier)
Loss 2: 0.04 lots (x4 multiplier)
Loss 3: 0.08 lots (x8 multiplier - max)
Loss 4+: 0.08 lots + expanded TP/SL
Risk Warning

The Scaling System significantly increases risk exposure. It is disabled by default (UseScalingSystem = false) and should only be enabled by experienced traders who understand the implications of martingale-style progression.

القسم 11

XAUUSD Specialization

PMTS is specifically designed and optimized for gold trading (XAUUSD). The system refuses to initialize on any other symbol, ensuring all parameters and logic are applied in their intended context.

Gold Market Characteristics

  • Higher Pip Value: Gold typically has 10x the pip value of major forex pairs, requiring lot size adjustment
  • Session Sensitivity: Price action varies significantly across Asian, London, and NY sessions
  • USD Correlation: Strong inverse correlation with US dollar strength
  • News Reactivity: Highly sensitive to FOMC, NFP, and inflation data releases

Gold-Specific Adjustments

Aspect Adjustment
Lot SizingDivided by GoldPipValueAdjustment (12.0) to normalize risk
Volatility ThresholdsWider range (0.8-2.5) with additional 1.7x penalty multiplier
Spread LimitsMaximum spread set to 5.0 pips for execution
Margin Buffer50% extra margin required before order placement
القسم 12

Session-Based Trading

Gold exhibits distinct behavioral patterns across global trading sessions. PMTS continuously monitors the current session and applies appropriate multipliers to both signal scoring and risk parameters.

Session Hours (GMT) Multiplier Score Bonus
Asian00:00 - 08:000.7x-10
London08:00 - 16:001.2x+10
London/NY Overlap13:00 - 16:001.43x+15
New York13:00 - 20:001.3x+10
Late NY20:00 - 24:000.8x+5
القسم 13

API Endpoints

PMTS includes a REST API that provides real-time market analysis and trading signals. The API aggregates data from multiple sources including technical indicators, fundamental events, and sentiment analysis.

Available Endpoints
GET /api/analysis/{symbol}
GET /api/analysis/{symbol}/signal.json
GET /api/dashboard/accounts
GET /api/dashboard/sync

Supported: XAUUSD, EURUSD, GBPJPY, USDJPY, BTCUSD, ETHUSD...

Signal JSON Format

/api/analysis/XAUUSD/signal.json
{
  "symbol": "XAUUSD",
  "signal": "BUY",
  "confidence": 72,
  "entry_price": 2645.50,
  "stop_loss": 2632.80,
  "take_profit_1": 2658.20,
  "risk_reward": "1.5:1"
}
القسم 14

Backtesting Results

Comprehensive backtesting was performed using MetaTrader 5's Strategy Tester with tick-by-tick data from multiple liquidity providers. The following results represent optimized parameter sets validated through walk-forward analysis.

Disclaimer

Past performance does not guarantee future results. Backtesting results may not reflect actual trading conditions including slippage, requotes, and varying spread conditions.

Performance Metrics (2019-2024)

Metric Value Industry Benchmark
Annual Return47.3%15-25%
Sharpe Ratio1.89> 1.0
Win Rate64.2%50-60%
Profit Factor1.87> 1.5
Max Drawdown12.8%< 20%
Recovery Factor4.2> 3.0
القسم 15

AI Analysis Engine Overview

The PMTS AI Analysis Engine represents the cutting-edge of institutional-grade market analysis. Unlike basic systems that rely on a handful of indicators with synthetic data, our engine processes real-time data from multiple professional sources, combining Technical, Fundamental, and Sentiment analysis through an intelligent orchestration layer that mimics how professional institutional traders approach the market.

The system operates with a conservative, high-quality signal approach. Every trading signal must pass through multiple validation filters before being presented to the user. This ensures that only high-probability setups with strong confluences across multiple analysis dimensions are recommended.

Institutional-Grade Analysis

The AI Engine processes 15+ technical indicators across 4 timeframes, integrates real-time news sentiment, macroeconomic data from FRED, Fear & Greed indices, and whale activity tracking to generate signals with calculated confidence scores ranging from 0-100%.

System Architecture

AI Analysis Engine Architecture
Analysis Orchestrator (Analysis.php)
Technical Analysis
Fundamental Analysis
Sentiment Analysis
DataSources.php (Real-Time APIs)
Component Function Output
TechnicalAnalysis.phpMulti-timeframe indicator analysis, market structure detection, Fibonacci levelsScore 0-100, Signal direction
FundamentalAnalysis.phpEconomic calendar, real-time news with NLP sentiment, macro data integrationScore 0-100, Event warnings
SentimentAnalysis.phpFear & Greed Index, social sentiment, whale tracking, COT positioningScore 0-100, Market mood
DataSources.phpAPI wrapper for Binance, Finnhub, FRED, Alternative.me, Yahoo Finance, and moreReal-time market data
Analysis.phpOrchestrates all modules, applies dynamic weights, calculates final confidenceFinal signal + confidence
القسم 16

Multi-Timeframe Analysis

Professional traders never rely on a single timeframe. The AI Engine simultaneously analyzes 4 timeframes to ensure confluence and validate trade setups. Each timeframe serves a specific purpose in the analysis hierarchy, with weighted contributions to the final signal.

Timeframe Weight Purpose
1H (Hourly)20%Precise entry timing and immediate momentum detection
4H (4-Hour)30%Intermediate trend confirmation and pattern validation
1D (Daily)35%Primary market direction and key support/resistance levels
1W (Weekly)15%Macro bias and long-term trend context

Confluence Requirements

The system requires minimum confluence thresholds before generating actionable signals:

  • STRONG Signal: 4/4 timeframes aligned in the same direction - highest confidence trades
  • GOOD Signal: 3/4 timeframes aligned (weekly may differ) - high probability setups
  • WEAK Signal: 2/4 timeframes aligned - lower confidence, requires additional confirmation
  • NEUTRAL: Less than 2 timeframes aligned - no signal generated, market is choppy
القسم 17

Advanced Technical Indicators

Beyond standard indicators, the AI Engine implements institutional-grade technical analysis tools that provide deeper market insight:

Ichimoku Cloud (Full Implementation)

The complete Ichimoku Kinko Hyo system provides 5 key components for comprehensive trend analysis:

Component Calculation Signal Interpretation
Tenkan-sen(9-period High + Low) / 2Conversion line - short-term momentum
Kijun-sen(26-period High + Low) / 2Base line - medium-term trend direction
Senkou Span A(Tenkan + Kijun) / 2, plotted 26 aheadLeading span A - first cloud boundary
Senkou Span B(52-period High + Low) / 2, plotted 26 aheadLeading span B - second cloud boundary
Chikou SpanClose price plotted 26 periods backLagging span - trend confirmation

Additional Advanced Indicators

Indicator Description
TEMA (Triple EMA)Reduces lag significantly compared to standard EMA, providing faster trend detection
RSI Divergence DetectionAutomatically detects bullish and bearish divergences for reversal signals
Bollinger BandsVolatility-based bands identifying overbought/oversold and squeeze conditions
Stochastic OscillatorMomentum indicator identifying extreme zones and potential reversals
ADX (Average Directional Index)Measures trend strength (0-100), used for dynamic weight adjustments
Pivot PointsDaily and weekly pivot levels with R1-R3 and S1-S3 support/resistance zones
Fibonacci RetracementsAuto-calculated levels at 0.236, 0.382, 0.5, 0.618, 0.786 from swing points

Market Structure Detection

The engine automatically identifies market structure patterns that professional traders use:

  • Higher Highs / Higher Lows (HH/HL): Confirmed uptrend structure
  • Lower Highs / Lower Lows (LH/LL): Confirmed downtrend structure
  • Break of Structure (BOS): Trend continuation confirmation
  • Change of Character (ChoCH): Potential trend reversal signal
القسم 18

Real-Time Data Sources

The AI Engine integrates with multiple professional data sources to ensure accuracy and reliability. All price data is real-time, not synthetic or simulated.

Category Source Data Provided
Crypto PricesBinance APIReal-time candles, multi-timeframe OHLCV
Forex/StocksFinnhub + Yahoo FinanceReal-time quotes, historical data
Gold (XAUUSD)Swissquote + Forex APIsLive spot prices with tight spreads
Fear & Greed IndexAlternative.me (Official)Crypto fear/greed 0-100, updated daily
Macro EconomicsFRED API (Federal Reserve)Fed Funds Rate, 10Y Treasury, Inflation
News SentimentFinnhub + Finlight.meReal-time news with NLP sentiment scoring
Whale TrackingClankAppLarge crypto transactions monitoring
COT ReportsCFTC Public DataInstitutional positioning (weekly)
Options FlowVIX-based EstimationPut/Call ratio for sentiment analysis
Social SentimentTwitter/X + RedditGold-specific social sentiment from financial communities
Data Quality Assurance

All data sources are validated in real-time. If any API fails or returns invalid data, the system automatically falls back to secondary sources or synthetic estimation with a confidence penalty applied to the final score.

القسم 19

Confidence Calculation System

The confidence score (0-100%) is calculated through a sophisticated bonus/penalty system that evaluates multiple market factors. This score directly influences whether a signal is presented and how it should be weighted in trading decisions.

Confidence Bonuses (+)

Factor Bonus Condition
Timeframe Confluence+20%4/4 timeframes aligned
Indicator Agreement+15%80%+ indicators confirm direction
Real Data Quality+10%All APIs returning real data
No Disruptive Events+10%No high-impact news in 4 hours
Extreme Sentiment Confirms+15%Fear/Greed at extremes aligning with signal
Clear Market Structure+15%HH/HL or LH/LL pattern confirmed
Fibonacci Zone+15%Price at key Fib level (0.618, 0.5, 0.382)
COT Confirms+10%Institutional positioning aligns
Whale Activity+10%Bullish whale activity for BUY signals

Confidence Penalties (-)

Factor Penalty Condition
Synthetic Data Used-20%Real API unavailable, using estimates
Counter-Trend Trade-15%Signal against daily trend
Upcoming High-Impact Event-10%FOMC, NFP, CPI within 4 hours
Indicator Conflict-10%Significant indicator disagreement
Extreme Sentiment Against-15%Fear/Greed against signal direction
High Volatility-10%VIX > 25 or extreme ATR
Low TF Confluence-15%Less than 3 timeframes aligned

Dynamic Weight System

The base analysis weights (Technical: 40%, Fundamental: 35%, Sentiment: 25%) are dynamically adjusted based on market conditions:

  • High VIX (>25): Technical weight +10% (volatility favors technical analysis)
  • Strong Trend (ADX>25): Technical weight +10% (trending markets are more technical)
  • Pre-Event (4h): Fundamental weight +15% (macro events dominate)
  • Extreme Sentiment: Sentiment weight +10% (extreme readings are predictive)
  • COT Extreme: Sentiment weight +5% (institutional positioning matters)
القسم 20

Intelligent Risk Management

The AI Engine calculates precise entry, stop-loss, and take-profit levels based on market structure rather than arbitrary fixed distances. This approach ensures that stops are placed at logical levels where the trade thesis would be invalidated.

Structure-Based Stop Loss

Stop-loss placement follows a priority hierarchy:

  • SWING_LOW/HIGH: Below last swing low (BUY) or above last swing high (SELL) - most reliable
  • FIBONACCI: Below/above key Fibonacci level (0.786 or 0.618) - strong confluence
  • PIVOT: At nearby daily pivot support/resistance level
  • ATR_BASED: Fallback calculation at 1.5x ATR from entry - when structure unclear

Multiple Take Profit Levels

The system provides three take-profit levels with recommended position allocation:

Level Target Calculation Allocation Typical R:R
TP1Next resistance/support or 1.5x risk distance50%1.5:1
TP2Fibonacci extension or 2.5x risk distance30%2.5:1
TP3Major structure level or 4x risk distance20%4:1
Professional Trade Management

The multi-TP approach allows traders to secure profits progressively while letting winners run. The 50/30/20 allocation ensures a portion of profit is locked in early while maintaining exposure for larger moves.

Signal Validation Filters

Before any signal is presented, it must pass through these validation filters (Conservative Mode):

  • At least 3 of 4 timeframes must align with signal direction
  • Daily trend must not contradict the signal
  • No HIGH impact economic events in the next 4 hours
  • At least 2 of 3 analysis types (Technical/Fundamental/Sentiment) must agree
  • Market structure must confirm (HH/HL for BUY, LH/LL for SELL)
  • RSI must not be at extremes against the signal (no BUY at RSI>80)
  • Calculated confidence must be >= 55%

If a signal fails validation filters, the system will either downgrade it to WEAK signal with a warning, or return NEUTRAL with an explanation of why no trade is recommended.

القسم 21

AI Master Intelligence (GPT)

The crown jewel of PMTS is the AI Master Intelligence system, powered by OpenAI's GPT model. This advanced neural network acts as the final decision-maker, synthesizing all analysis layers into a coherent, actionable trading recommendation with unprecedented precision and contextual understanding.

GPT Powered Analysis

The AI Master processes technical indicators, fundamental data, sentiment metrics, and reversal signals through a sophisticated prompt engineering system, generating human-readable summaries with institutional-grade precision and multilingual support (English/Spanish).

Multi-Layer Analysis Architecture

The AI Master receives pre-processed data from five specialized analysis modules, each contributing unique market insights:

AI Master Data Flow
Technical Analysis (40%)
Fundamental Analysis (35%)
Sentiment Analysis (25%)
Reversal Detection System
News Impact Power System
AI Master (GPT) - Final Synthesis

Intelligent Output Generation

The AI Master generates comprehensive analysis summaries that include:

  • Market Context: Current market conditions, key levels, and dominant trends
  • Signal Justification: Clear reasoning for the BUY/SELL/NEUTRAL recommendation
  • Risk Assessment: Potential risks and factors that could invalidate the signal
  • Confidence Breakdown: Contribution of each analysis layer to the final score
  • Actionable Levels: Precise entry, stop-loss, and multiple take-profit levels

Multilingual Intelligence

The AI Master supports full internationalization, generating complete analysis summaries in the user's preferred language. The system currently supports English and Spanish, with the language parameter passed through the entire analysis chain to ensure consistent localization.

Feature Implementation
Language DetectionAPI parameter (?lang=en or ?lang=es) with localStorage persistence
AI ResponseGPT generates full analysis in requested language natively
Cache SystemLanguage-aware caching with separate cache entries per language
UI IntegrationSeamless language switching without page reload
القسم 22

News Impact Power System

Not all news is created equal. A headline about a minor central bank comment differs vastly from an unexpected Fed rate decision or major economic data surprise. The News Impact Power System quantifies the market-moving potential of each news article on a 0-100% scale, enabling the AI to differentiate between routine market noise and truly significant events.

Impact Power Scale (0-100%)

Category Range Examples
CRITICAL85-100%Emergency Fed rate decisions, major banking crises, sovereign debt defaults, unexpected central bank interventions
HIGH65-84%FOMC rate decisions (unexpected), major earnings misses, geopolitical escalations
MEDIUM40-64%Economic data releases (CPI, NFP), scheduled rate decisions (as expected), earnings in-line
LOW20-39%Analyst upgrades/downgrades, minor policy comments, routine economic indicators
MINIMAL0-19%Market commentary, opinion pieces, routine corporate announcements

Weighted Score Calculation

Each news article generates a weighted score combining direction, impact power, and confidence:

Weighted Score Formula
weighted_score = direction × impact_power × confidence

Where:
  direction    = +1 (BULLISH), -1 (BEARISH), 0 (NEUTRAL)
  impact_power = 0 to 100 (percentage of market-moving potential)
  confidence   = 0 to 1 (AI confidence in sentiment analysis)

Examples:
  "Fed announces surprise 50bp rate cut" → BULLISH for Gold
  direction = +1, impact_power = 78%, confidence = 0.92
  weighted_score = 1 × 78 × 0.92 = +71.76 (strongly bullish)

  "US CPI comes in higher than expected at 3.4%" → BEARISH for Gold (short-term)
  direction = -1, impact_power = 55%, confidence = 0.85
  weighted_score = -1 × 55 × 0.85 = -46.75 (moderately bearish)

  "ECB holds rates steady as expected" → NEUTRAL
  direction = 0, impact_power = 35%, confidence = 0.90
  weighted_score = 0 × 35 × 0.90 = 0 (no directional impact)

Net Weighted Score

The system aggregates all news articles into a single Net Weighted Score, providing an overall market sentiment reading:

  • Strong Bullish (>50): Multiple high-impact bullish news dominate
  • Moderate Bullish (20-50): Bullish bias with mixed signals
  • Neutral (-20 to 20): Balanced news flow or low-impact news only
  • Moderate Bearish (-50 to -20): Bearish bias with mixed signals
  • Strong Bearish (<-50): Multiple high-impact bearish news dominate
Real-World Example

A minor Fed comment about "watching inflation closely" might score 25% impact power, while breaking news of an emergency rate cut would score 90%+. This differentiation ensures the AI responds proportionally to the true significance of market events.

القسم 23

Reversal Detection System

Trend reversals represent the highest-reward trading opportunities in financial markets. The PMTS Reversal Detection System employs a multi-factor confluence analysis to identify potential trend reversals before they occur, combining price action, momentum, volume, and pattern recognition.

Reversal Detection Factors

Detection Factor Weight Description
RSI Divergence25%Price makes new high/low while RSI fails to confirm - classic reversal signal
MACD Crossover20%Signal line crossovers at extreme levels indicate momentum shift
Bollinger Band Extreme15%Price touches or exceeds outer bands suggesting overextension
Stochastic Crossover15%%K/%D crossover in overbought/oversold zones
Candlestick Patterns15%Engulfing, hammer, doji, and other reversal candlestick formations
Volume Analysis10%Unusual volume spikes often precede major reversals

Reversal Probability Calculation

The system calculates a reversal probability percentage (0-100%) based on the confluence of detected factors:

  • 75-100%: HIGH reversal probability - Multiple strong signals confirm potential reversal
  • 50-74%: MODERATE probability - Some reversal signals present, caution advised
  • 25-49%: LOW probability - Few reversal signals, trend likely to continue
  • 0-24%: MINIMAL probability - No significant reversal signals detected

Integration with AI Master

Reversal detection data feeds directly into the AI Master for final synthesis:

  • Signal Modification: High reversal probability can upgrade NEUTRAL to cautionary signal
  • Risk Adjustment: Reversal warnings trigger tighter stop-loss recommendations
  • Confidence Impact: Conflicting trend/reversal signals reduce overall confidence score
  • Summary Inclusion: AI Master explicitly mentions reversal potential in analysis summary
Important Note

Reversal detection is inherently predictive and carries higher risk than trend-following signals. The system provides reversal probabilities as additional context, not as standalone trading signals. Always wait for confirmation before acting on reversal indications.

© 2026 Elysium Media FZCO - Dubai
Professional Modular Trading System (PMTS) v3.1
جميع الحقوق محفوظة.

الاتصال: info@elysiumdubai.net

إخلاء المسؤولية القانونية

هذه الورقة البيضاء للأغراض الإعلامية فقط ولا تشكل نصيحة مالية. التداول ينطوي على مخاطر كبيرة للخسارة وليس مناسباً لجميع المستثمرين.