Kiran-Kumbar/XAU-USD-Signal-Bot ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python bot that watches XAU/USD, figures out high probability trade setups using smart money concepts, and sends the signal to Telegram.
I want it to check market structure, liquidity grabs, fair value gaps, support and resistance, candle patterns, and RSI divergence, then combine that into a confidence score. It should use 1 hour candles for the bigger trend and 5 minute candles for entries, and only send a signal when the setup is strong enough.
When it finds a trade, send a clean Telegram message with the entry, stop loss, take profit, confidence score, and a short explanation of why it triggered. Please include paper trading mode, strict risk management, dynamic lot sizing, and a check that rejects trades if the account size is too small for the stop loss.
It should run continuously, be aware of trading sessions, and be easy to deploy on Railway or Heroku with environment variables for the Telegram token, chat ID, and TwelveData API key. If you need to look up current docs online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit