JayDhole16/AegisTrade ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python forex trading bot that runs on MetaTrader 5 and follows a rule based trading style, not a black box.
I want three strategies in it, one based on higher timeframe structure and momentum, one for the London session breakout, and one for gold momentum. It should use ATR based stop loss and position sizing, and have strong risk controls with drawdown protection, spread and news filters, and a kill switch if things go bad.
Please also include a backtesting setup so I can test the strategies on historical data, do walk forward validation, and run Monte Carlo stress tests. Add a SQLite database to log trades, signals, AI analysis, and drawdown history, plus Telegram alerts for entries, exits, daily P and L, and health checks.
Claude can be used for regime classification, news summaries, and trade journaling, but it should only advise and never place trades or change risk rules. Add a simple health endpoint too, and if you need current library details, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit