Repository navigation
I Want Combine Tradingview+MT5+Myfxbook (Journal) #7460
cadisticssp-source
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
# Master Engineering Prompt: Unified Trading Intelligence Platform
1. Role and Mission
Act as a senior quantitative trading systems engineer, full-stack developer, financial data engineer, security engineer, and reverse-engineering specialist.
Build a production-oriented trading intelligence platform that combines:
Use the REA (Reverse Engineer Anything) repository as a potential engineering aid for inspecting software and understanding authorized interfaces. First inspect its README, source code, dependencies, and documented capabilities. Do not assume REA itself implements broker connectivity or provides a complete trading platform.
Project working name: Trade Intelligence Hub (TIH).
The application must be modular, testable, secure, auditable, and extensible.
2. Core Operating Principles
3. Phase Zero: Repository and Environment Reconnaissance
Before implementing features:
Do not modify the user's existing trading terminal, browser profile, or account settings without authorization.
Deliverable: a repository audit and an executable implementation plan.
4. TradingView-Inspired Charting Module
Create an original interactive charting interface with:
Charts
Technical analysis
-should able to save their custome setting in local
Data integrity
Use a legally compatible charting library or an original chart implementation.
5. MT5 Account Integration
Create a dedicated MT5 integration layer for authorized accounts.
Connection methods
Investigate and choose the most reliable supported method:
Do not assume MT5 can be controlled directly from every operating system or cloud sandbox.
Account features
Use read-only access by default. Do not store the MT5 password in the application database. Prefer the broker terminal's supported authentication flow or another approved credential mechanism.
6. Exness Broker Integration
Implement Exness connectivity only through a supported route available to the user's actual account.
First determine:
Support account discovery, connectivity checks, and account synchronization only where technically and contractually supported.
Do not invent an Exness REST endpoint or scrape the broker's private web interface as a substitute for an official integration.
Provide a connection diagnostics screen showing:
If direct connectivity is unavailable, provide an import workflow for supported MT5 reports and clearly label the application as disconnected from live account data.
7. Order Management and Risk Controls
After the read-only and paper-trading stages pass validation, implement optional order management.
Supported order types should include market, limit, stop, and stop-limit orders only where the connected broker supports them.
Before order submission:
Add configurable risk limits:
Risk calculations must account for instrument contract specifications, account currency, conversion rates, and execution uncertainty. Never promise a guaranteed loss limit.
8. Myfxbook-Inspired Analytics Engine
Create a comprehensive trade-performance dashboard using verified account history.
Performance overview
Clearly define every formula and its assumptions. Distinguish balance-based returns, equity-based returns, realized P&L, and open-position P&L.
Trade breakdowns
Analyze performance by:
Equity and drawdown analysis
Use accurate trade identifiers and distinguish orders, deals, and positions. Avoid double-counting partial closes, commissions, or reversals.
9. Automatic Trading Journal
Create a journal entry for every trade or logical trading position.
Each entry should support:
Journal automation
Never infer emotions, intent, or a strategy with certainty from price data alone. Label these as user-entered information or AI hypotheses.
9A. Trade copying mechanism
-able to multiple MT5 account
-able to copy trade from master account to secondary account on setup and for copy Stoploss and target use pip size Stoploss of master account
10. AI Trade Review and Research Assistant
Create an assistant that answers questions such as:
The assistant must:
Include an optional strategy-testing module with out-of-sample testing, realistic spread and commission assumptions, slippage modeling, and safeguards against look-ahead bias and overfitting.
11. Application Architecture
Use a modular architecture with clearly separated services.
Suggested components:
Define interfaces for market-data providers and broker connectors so another provider can be added without rewriting the application.
Choose dependencies based on current compatibility, licensing, maintenance, and security. Avoid unnecessary microservices during the initial implementation.
12. Data Model
Design normalized database entities for:
Use stable identifiers, UTC timestamps, explicit account-currency fields, decimal-safe monetary calculations, and documented relationships.
Maintain import provenance and idempotent synchronization so repeated imports do not duplicate trades.
13. Security and Privacy
Implement:
Do not transmit trading history or account information to an AI provider without explicit consent and clear disclosure.
14. User Interface
Build an original, professional trading workstation with these main screens:
Support responsive layouts, keyboard accessibility, readable tables, explicit currency and time-zone formatting, and clear error states.
Do not imitate TradingView's or Myfxbook's logos or represent the application as affiliated with either service.
15. Testing and Acceptance Criteria
Write unit, integration, and end-to-end tests.
Required checks include:
Do not mark a feature complete merely because its screen renders. Verify its data flow and behavior.
16. Development Milestones
Milestone 1 — Reconnaissance
Inspect REA, establish the environment, document dependencies, and verify available integration methods.
Milestone 2 — Working foundation
Create the application shell, database, authentication boundary, and automated tests.
Milestone 3 — Historical data and analytics
Import supported MT5 reports and deliver correct trade history, equity curves, drawdowns, and performance metrics.
Milestone 4 — Journal
Implement automatic journal drafts, tagging, annotations, and editable trade reviews.
Milestone 5 — Charting
Integrate an original charting interface with historical market data and technical indicators.
Milestone 6 — Read-only broker integration
Connect to a supported MT5/Exness route and verify synchronization against actual account records.
Milestone 7 — Paper trading and risk controls
Validate the order lifecycle, position sizing, risk limits, and reconciliation.
Milestone 8 — Optional live execution
Enable live trading only after explicit user opt-in, documented broker support, security review, and successful end-to-end testing.
Milestone 9 — AI assistant
Add grounded analytical queries, cited trade records, and journal summaries.
Milestone 10 — Release readiness
Run regression tests, security checks, backup/recovery tests, and produce deployment documentation.
17. Required Deliverables
Produce:
At each milestone, report what was actually implemented, the commands executed, the tests that passed or failed, and any remaining blockers.
Final instruction: Begin with Milestone 1. Inspect the actual REA repository and execution environment before writing code. Build a functional, testable trading analytics application incrementally. Do not pretend to have broker access, account credentials, proprietary data feeds, or successful execution that has not been verified. Keep live trading disabled until all required checks and explicit authorization are complete.
All reactions