OPEN-SOURCE SCRIPT
Kinzamvwete

**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.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.