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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.