rosemarycox5334-debug/PA_Agent ? reverse-engineered prompt

Reverse engineered prompt

Build me a desktop app for price action trading analysis.

I want to load candlestick data from MT5, TradingView, yfinance, or AkShare, then have the app send the structured candles and a few computed features to an AI model for a two step analysis, first a market diagnosis, then a trading decision. The app should help me decide whether to do nothing, or use a limit order, breakout entry, or market entry, but it must not connect to a broker or place any trades.

Please make it feel useful for a subjective trader, with a clean chart view, incremental updates when new candles come in, a way to keep tracking the analysis over time, and a history of past analyses and chat questions. I also want the results, prompts, raw AI replies, and token usage saved locally, plus a simple settings screen for API base URL, model name, and API key. If you need to look up current docs online, go ahead.