OPEN-SOURCE SCRIPT

FVG Support & Resistance

4 778
Auto FVG Target (1:2 RR)

This indicator automatically detects bullish and bearish Fair Value Gaps (FVGs) and helps traders visualize potential trade setups using a fixed Risk-to-Reward framework.
Features
Automatic detection of Bullish and Bearish Fair Value Gaps.
Clear FVG box visualization on the chart.
Entry signals based on price rejecting the Fair Value Gap and closing outside the zone.
Fixed Stop Loss calculated using the gap size (1× gap).
Automatic Take Profit based on a fixed 1:2 Risk-to-Reward ratio.
Buy and Sell labels for easy signal identification.
Configurable display settings for FVG visualization.
Designed to work across multiple markets and timeframes.
How It Works
A bullish Fair Value Gap is identified when the current candle's low is above the high of two candles earlier. A bearish Fair Value Gap is identified when the current candle's high is below the low of two candles earlier.
The indicator monitors these imbalance zones and waits for price to interact with them. When price rejects an FVG and closes outside the zone, a potential trade setup is generated. The stop loss is based on the size of the Fair Value Gap, while the take-profit target is automatically set to a fixed 1:2 Risk-to-Reward ratio.
Intended Use
This indicator is designed as a chart analysis tool to assist with identifying Fair Value Gap opportunities. It does not predict future price movement or guarantee profitable trades. Users should always combine its signals with their own analysis, risk management, and trading plan.
Notes
Works on all timeframes.
Suitable for Forex, Crypto, Indices, Commodities, and Stocks.
Best used alongside market structure, liquidity concepts, or other confirmation tools.
Historical results and plotted signals should not be considered a guarantee of future performance.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.