










PRECIOUS METALS SCALPER v4.0
Advanced Algorithmic Trading System for Gold (XAUUSD) & Silver (XAGUSD)
By DATARUMALGORITHMICA
OVERVIEW
Precious Metals Scalper v4.0 is a fully automated cBot engineered specifically for Gold (XAUUSD) and Silver (XAGUSD) trading. It combines five integrated analytical engines — Bar Quality Scoring, Candle Pattern Recognition, VWAP Analysis, Volume Profile and Liquidity Filtering — into a single composite decision system that selects only the highest-probability entry conditions before placing any trade.
The algorithm adapts its behaviour dynamically to market conditions, distinguishing between ranging and spike volatility regimes and adjusting take profit, stop loss, and execution mode accordingly.
HOW IT WORKS
Every bar, the bot calculates a composite quality score from five weighted subsystems:
1. Bar Quality Engine Each bar receives a score from 0–100 based on volume strength, candle anatomy, pattern quality, VWAP proximity, and liquidity. Only bars scoring above your configurable threshold are considered for entry — separately for market orders (high quality) and limit orders (medium quality).
2. Candle Pattern Engine Detects: Bullish/Bearish Engulfing, Hammer, Shooting Star, Inside Bar, Momentum Burst, Doji (entry blocker), and Volume Climax. Each pattern contributes a directional bias and strength score to the composite signal.
3. VWAP Reversion Strategy Identifies statistically significant price deviations from the daily VWAP using configurable sigma bands. Fades extended moves back toward fair value — effective in ranging and mean-reverting sessions.
4. Volatility Breakout Strategy Detects ATR spike conditions relative to a rolling mean. When volatility expands, the bot trades momentum in the direction confirmed by EWMA crossover and bar direction.
5. Volume Node Bounce Strategy Builds an intrabar Volume Profile and identifies High Volume Nodes (HVN) and the Point of Control (POC). Enters in the direction of momentum when price interacts with these high-liquidity zones.
All three strategies are weighted and blended into a single composite score. Trades only execute when the composite score clears a minimum threshold and direction vote is unambiguous.
EXECUTION ENGINE
- Smart Routing: High-quality bars trigger market orders for immediate execution. Medium-quality bars trigger limit orders placed at the best nearby structural level (S/R, VWAP, HOD/LOD, POC).
- Adaptive TP: Take profit scales with ATR in spike conditions; uses a fixed ranging TP otherwise. Bounded by configurable floor and ceiling values.
- Adaptive SL: Stop loss widens proportionally in high-volatility spike regimes to avoid premature exits on noise.
- Trailing Stop: Activates after a configurable pip profit trigger and trails at a defined distance with a minimum step to avoid unnecessary modifications.
- Break-Even: Moves stop to entry plus 1 pip after a configurable profit trigger.
- Spread & Slippage Guard: Maximum spread (absolute pips) and maximum spread/ATR ratio filters block execution during illiquid or wide-spread conditions.
RISK MANAGEMENT
- Fixed lot size or risk-percentage-based position sizing
- Hard lot cap as an absolute ceiling
- Daily loss circuit breaker: closes all positions and halts trading for the day if equity drawdown exceeds the configured percentage
- Daily trade limit
- Maximum simultaneous open positions
- Limit orders include configurable expiry (seconds) to avoid stale fills
- Full session filter with configurable UTC start/end hours and Friday early close
BACKTEST RESULTS (for reference only — past performance does not guarantee future results)
All backtests were conducted on XAUUSD with the cTrader built-in backtester using tick data with variable spreads. No curve fitting was applied to the results shown. Settings were independently varied across timeframes.
Starting capital: €100 (M30), €100 (M1), €1,000 (M2). Period: May 2022 – February 2026.
⚠️ Important Disclaimer: Backtesting results are hypothetical and based on historical data. They do not represent live trading performance. Market conditions, spreads, slippage, and broker execution quality will affect real-world results. Always test on a demo account before applying any automated strategy to a live account. Trade responsibly and only risk capital you can afford to lose
Currently Forward Tuning the algorithm, in Live Trading, you can see from the images, live trades in february , and the order ticket cBot (PMScalper 4) Precious Metal Scalper 4. Which is the product available for $100 dollars only.
KEY FEATURES SUMMARY
- Designed exclusively for Gold (XAUUSD) and Silver (XAGUSD)
- Five-engine composite signal system with configurable weights
- Dynamic volatility regime detection (Ranging / Spike)
- Adaptive TP and SL — not static fixed values
- Dual execution mode: market orders and limit orders with structural level targeting
- Full trailing stop, break-even, and daily circuit breaker
- Spread and slippage guards
- Session filter with Friday close protection
- Verbose logging mode for full signal transparency
- Compatible with all brokers offering XAUUSD on cTrader
PARAMETERS AT A GLANCE
The bot exposes full control over all its engines via clearly labelled parameter groups:
- Instrument — symbol override
- Session Filter — trading hours (UTC), Friday close hour
- Bar Quality Engine — quality thresholds and weights for each subsystem
- Candle Pattern Engine — enable/disable each pattern type individually
- Market Structure — S/R lookback, VWAP bands, HOD/LOD proximity
- Liquidity Engine — volume spike multiplier, spread filters
- Strategy Signals — enable/disable VWAP, Breakout, Volume Node strategies with individual weights and thresholds
- Execution — limit offset, expiry, max positions, slippage
- Position Size — fixed lot or risk %, max lot cap
- Take Profit — ranging TP, spike ATR multiplier, floor and ceiling
- Stop Loss — base SL, spike widening multiplier
- Trailing Stop — trigger, distance, step, break-even trigger
- Risk Limits — daily loss %, daily trade cap, verbose logging
RECOMMENDED SETUP
- Symbol: XAUUSD or XAGUSD
- Timeframe: M1, M2, or M30 (all tested)
- Broker: Any cTrader broker with raw/ECN pricing on gold
- Starting Capital: Minimum €100 with 0.01 lot fixed sizing
- Test First: Always run on demo for a minimum of 2–4 weeks before going live
TRIAL VERSION
This listing includes a 7-day fully functional trial. All features are active during the trial period. After 7 days, the bot will stop and prompt you to purchase the full version. No data or settings are lost between trial and full version.
Precious Metals Scalper v4.0 — DATARUMALGORITHMICA Built for cTrader. Optimised for Gold.
















 (8).png)


.png)

