OPEN-SOURCE SCRIPT

Kinzamvwete

812
**Gold Strategy v10 – XAUUSD** is an automated trading strategy for gold built on two complementary setups: **Fair Value Gaps (FVG)** and **Bollinger Band reversals**, both filtered by a **200-period moving average** for directional bias.

Entries are triggered when price returns into an unfilled FVG or bounces off the outer Bollinger Bands, with dynamic position sizing that automatically calculates the correct lot size based on your account capital and risk percentage per trade. Stop losses are placed beyond the signal candle's wick with a configurable buffer, while take profits target a fixed R:R ratio (FVG) or the BB midline / MA20 (BB setups).

The strategy includes session filtering, breakeven and trailing stop management, and a real-time dashboard displaying active trade details, win/loss counts, and net profit — making it a complete, risk-managed system ready for backtesting and live deployment on XAUUSD.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.