How long did you leave it running for?
You have sell trades turned off, only buy trades, with your settings it could be days or weeks before a trade opens.
Check with your broker what the spread is for XAUUSD and share it here.
You cannot compare a backtest with fresh new data, they are not the same, maybe there were no trades to open, if a backtest works and trades open, your cBot is fine.
Make sure you run a backtest with tick data, this is important as it includes the spread.