OPEN-SOURCE SCRIPT
HTF Fair Value Gap (FVG) Indicator

Automatically detects and plots Fair Value Gaps from the 1H, 4H, and Daily timeframes directly on any chart. A Fair Value Gap is a 3-candle imbalance where the wick of candle A and the wick of candle C do not overlap, leaving an unfilled gap in price. Bullish FVGs form when the high of candle A is below the low of candle C. Bearish FVGs form when the low of candle A is above the high of candle C.
Each FVG is drawn as a colored box spanning the gap zone with a dotted midline. When price trades back through a zone it becomes an Inverse Fair Value Gap (IFVG), changing color to indicate the shift in character. IFVGs can be toggled off to simply remove mitigated zones. All colors and borders are fully customizable. You can control how many FVGs per timeframe are displayed at once, keeping the chart clean regardless of what timeframe you are trading on.
Each FVG is drawn as a colored box spanning the gap zone with a dotted midline. When price trades back through a zone it becomes an Inverse Fair Value Gap (IFVG), changing color to indicate the shift in character. IFVGs can be toggled off to simply remove mitigated zones. All colors and borders are fully customizable. You can control how many FVGs per timeframe are displayed at once, keeping the chart clean regardless of what timeframe you are trading on.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.