How hakizajr3-glitch/mt5-propfirm-superea works
PropFirm SuperEA provides the same trend-following rules and prop-firm guardrails through separate MT5 and TradeLocker runtimes, with historical backtesting for the Python strategy. The repository also includes a dashboard-driven autonomous bot and an AI multi-agent decision pipeline. The excerpts establish the dashboard’s live engine and AI orchestration calls, but do not show every provider, execution, or MT5 implementation detail; those connections are included only where the README or sampled code supports them.
Main entry points: app.py Flask dashboard · orchestrator.py Cycle orchestrator · bot.py TradeLocker bot · app.js Dashboard interface
Components 23
Trading runtimes
- MT5 Expert Advisor
PropFirm_SuperEA.mq5 - TradeLocker bot
tradelocker_bot/bot.py - Entry and exit rules
tradelocker_bot/strategy.py - Prop-firm guardrails
tradelocker_bot/risk.py - Bot configuration
tradelocker_bot/config.py
AI decision pipeline
- Cycle orchestrator
ai_hedge_fund/orchestrator.py - Investor agents
ai_hedge_fund/agents - Consensus and risk
ai_hedge_fund/risk_manager.py - Portfolio decisions
ai_hedge_fund/portfolio_manager.py - Order execution
ai_hedge_fund/executor.py
Dashboard and signals
- Flask dashboard
dashboard/app.py - Dashboard interface
dashboard/static/app.js - Autonomous engine
dashboard/engine.py - Market data providers
dashboard/providers.py - Dashboard state
dashboard/state.py - TradingView webhook
ai_hedge_fund/webhook.py
Strategy validation
- Historical backtester
tradelocker_bot/backtest.py
Other components
- Trader
- TradeLocker API
- MetaTrader 5
- Historical price data
- Dashboard user
- TradingView alerts
Connections 25
- Trader → MT5 Expert Advisor: attaches EA
- MT5 Expert Advisor → MetaTrader 5: trades on
- Trader → Bot configuration: configures bot
- Bot configuration → TradeLocker bot: configures
- TradeLocker bot → Entry and exit rules: computes signals
- TradeLocker bot → Prop-firm guardrails: checks risk
- TradeLocker bot → TradeLocker API: requests market data and orders
- Historical backtester → Entry and exit rules: reuses rules
- Historical backtester → Historical price data: loads history
- Dashboard user → Dashboard interface: uses
- Dashboard interface → Flask dashboard: requests API
- Flask dashboard → Market data providers: gets account and bars
- Flask dashboard → Dashboard state: builds state
- Flask dashboard → Cycle orchestrator: runs hedge-fund cycle
- Flask dashboard → Autonomous engine: starts and reports
- Autonomous engine → TradeLocker bot: connects and runs cycles
- Autonomous engine → TradeLocker API: via bot
- TradingView alerts → TradingView webhook: posts alert
- Flask dashboard → TradingView webhook: registers routes
- Dashboard interface → TradingView webhook: fetches signals
- Cycle orchestrator → Investor agents: requests analysis
- Cycle orchestrator → Consensus and risk: evaluates signals
- Cycle orchestrator → Portfolio decisions: requests decision
- Cycle orchestrator → Order execution: dispatches order
- Order execution → TradeLocker API: submits order