shiny-trading

byMAFIDUL ISLAM

📌 Prompt Start Project Overview Build a private AI-powered trading analysis system called ProbEdge AI. Purpose: This app is a personal trading assistant that analyzes uploaded charts and identifies only high-probability setups based on multi-layer confirmation logic. It does NOT give guaranteed signals. It generates probability-based trade scenarios. Core Philosophy Trade only when confluence ≥ 4 confirmations Minimum Risk:Reward = 1:2 Max risk per trade = 1% No revenge trading No trade in low volatility Tech Stack Frontend: Next.js Tailwind Dark theme UI Backend: Node.js Python microservice for technical indicators Chart pattern detection logic Database: PostgreSQL (Supabase) Optional: TradingView webhook integration (alerts only) Data Schema Users id email risk_profile created_at Analyses id user_id image_url market_structure liquidity_sweep (boolean) rsi_divergence (boolean) bos_break (boolean) order_block_detected (boolean) moving_average_trend entry_zone stop_loss target_zone rr_ratio probability_score created_at Journal id user_id analysis_id result (win/loss) pnl_percent notes High-Probability Engine Logic The system must: Step 1: Detect Market Structure HH/HL or LH/LL Step 2: Check Liquidity Sweep Step 3: Confirm BOS (Break of Structure) Step 4: RSI Divergence Check Step 5: Moving Average Trend Alignment Trade Generation Rules IF: Minimum 4 confirmations true RR >= 1:2 Market volatility normal THEN: Generate: Entry Zone (range) Stop Loss Target Probability Score Probability Formula: (Base confirmations / Total checks) × 100 Minimum required probability = 65% Otherwise: Show: “No high-quality setup detected.” Screens Auth Dashboard Upload Chart Analysis Result Trade Journal Analytics Risk Settings Edge Case Handling No trade if: Low volume Sideways market News volatility spike Prevent overtrading: Max 3 trades/day Advanced Feature (Optional) Add: Backtesting engine Monte Carlo simulation Win rate tracker Equity curve display Risk Management System Hard-coded rule: 1% risk per trade Max 3% daily drawdown Auto warning if violated UI Design Dark trading theme Green bullish Red bearish Clear probability badge Confluence checklist Prompt End

No preview

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
📝

Requirements Not Generated Yet

The SRD will be automatically generated as you discuss your project with the Tech Lead Agent.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.