andywarui/xauusd-ai-trading-bot — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me an XAUUSD gold trading bot that can train an AI model in Python and then run inside MetaTrader 5 as an Expert Advisor.

I want it to take raw one minute gold data, clean and merge it, create trading features like RSI, MACD, ATR, Bollinger Bands, market structure, liquidity sweeps, order blocks, volatility, session timing, and a Smart Money Concepts quality score. Then train a LightGBM model that predicts short, hold, or long, back test it, show clear results like win rate, profit factor, drawdown, trades per day, and export the model to ONNX for MetaTrader 5.

For the MT5 side, make the EA use the exported model, only trade during the London and New York overlap, use ATR based stop loss, trailing stop, position sizing around 5 percent risk, and a drawdown kill switch. Keep it demo safe and include setup instructions. Look up current docs online if you need to.

Want more depth? Deep Reverse