Fair Value Gap Indicator for TradingView
One-time Pine Script v6 indicator: the facts
Fair Value Gap Indicator for TradingView is a one-time purchase: pay $29.00 once and download the complete Pine Script v6 source, a user guide and the license terms. Paste it into TradingView's Pine Editor and it runs on your own charts, including on TradingView's free plan. There is no subscription, no renewal and no invite-only access list, and a 7-day money-back guarantee applies.
| Price | $29.00, one-time |
| You get | Complete Pine Script v6 source, user guide, license terms |
| Runs on | TradingView, including the free plan |
| Repainting | Every rule stated in full in the guide |
| Refund | 7-day money-back guarantee |
| Pay with | Card or crypto |
About this product
Automatic three-candle fair value gaps — boxed, midpoint-marked, and cleared on mitigation.
Fair value gaps are the empty price intervals left when a three-candle move is fast enough that candle 1 and candle 3 never overlap. Finding them by eye across a whole chart is slow and inconsistent; this indicator applies the published three-candle definition mechanically to every bar.
Every bullish and bearish gap is drawn as a shaded box from the first candle of the pattern, extended to the right, with an optional dotted midpoint (50%) line. When price later closes back through the far edge of a gap, the gap is mitigated: the box is removed, or kept on the chart faded if you prefer to study filled gaps. An optional ATR size filter ignores gaps too small to matter on your timeframe.
You get the complete Pine Script v6 source — not a locked black box — with every rule the indicator uses stated in the guide: the exact gap definition, the close-based mitigation rule, and the honest limitation that a detected gap is a pattern record, not a prediction. The script was compile-verified in TradingView's Pine Editor before publication.
Features
- Automatic bullish and bearish FVG detection on any symbol and timeframe
- Gap boxes drawn from candle 1 with configurable right-extension
- Optional midpoint (50%) line per gap
- Close-based mitigation: boxes clear (or fade, your choice) when price closes through the gap
- Optional minimum gap size filter in ATR(14) multiples
- Configurable gap history (default 20 per direction) within TradingView drawing limits
- Two alert conditions (bullish / bearish gap detected)
- Full source included — every rule inspectable in the Pine Editor
What's included
- The complete Pine Script v6 source file (fair-value-gap-indicator.pine) — paste into TradingView's Pine Editor and add to any chart
- User guide with the exact mechanical definition, every input explained, and a hand-verified worked example
- Evidence receipt, security review, and licensing review for this build
- Product artwork
Requirements
A TradingView account (the free tier runs indicators) and a modern web browser. Nothing else to install; the script runs on TradingView's platform, on your own charts and data entitlements.
$29.00, one-time payment. 7-day money-back guarantee: email us within 7 days of purchase for a refund.
Educational tool only, not financial advice. A detected gap is a pattern record, not a prediction: this product makes no claim that price will return to fill any gap, and it presents no fill-rate or performance statistics. Whether and how often gaps fill on a given symbol or timeframe is an empirical question this product does not answer. Mitigation here is a close-based definition and differs from touch-based tools; live-bar gaps can appear or disappear until the bar closes.
Frequently asked questions
What is a fair value gap in trading?
A fair value gap is a three-candle pattern where the first and third candles do not overlap in price. If the third candle's low is above the first candle's high, the interval between them is a bullish fair value gap; the mirror image is a bearish one. It records that price moved through that interval in a single candle without trading back into it at the time.
How does this indicator decide a gap is mitigated?
By a close through the far edge: a bullish gap is mitigated when a bar closes at or below the gap's bottom, and a bearish gap when a bar closes at or above its top. A wick into the gap does not count. You can keep mitigated gaps on the chart in faded gray or have them removed.
Does a fair value gap mean price will come back to fill it?
This product makes no such claim. The indicator detects and draws the pattern and tracks whether price has closed back through it. Whether and how often gaps fill on a given symbol or timeframe is an empirical question this product does not answer.
Do I need a paid TradingView plan?
No. Indicators run on TradingView's free tier. You paste the included Pine Script v6 source into the Pine Editor and add it to your chart.
Questions about this product
What exactly do I get?
fair-value-gap-indicator.pine — complete Pine Script v6 source, USER-GUIDE.md — the exact mechanical definition, every input, hand-verified worked example, EVIDENCE-RECEIPT.md — build evidence per the SML Research+ standard, SECURITY-REVIEW.md and LICENSING-REVIEW.md, LICENSE-TERMS.md, Product artwork (PNG). Delivered as one download, the moment your payment is confirmed — on this site, with no shipping and no account.
Is this a one-time purchase or a subscription?
One-time. You pay once and keep the complete Pine Script v6 source; there is no renewal and no invite-only access list.
Do I get the Pine Script source code?
Yes: the complete Pine Script v6 source, a user guide and the license terms. You can read every rule and adjust every input.
Does it work on TradingView's free plan?
Yes. Paste the source into TradingView's Pine Editor and add it to your chart; the free plan runs custom indicators.
How do I set up this Pine Script indicator on TradingView after I buy it as a one-time purchase, with no subscription?
Get started in about a minute: open TradingView's Pine Editor, create a new indicator, replace the template with the source, save, click Add to chart, then adjust the inputs from the gear icon. TradingView's first-steps page shows where the editor opens: https://tradingview.com/pine-script-docs/primer/first-steps. Step by step: https://dual.scriptmasterlabs.com/guides/install-pine-script-v6-indicator-check-repainting
How does buying this one-time purchase Pine Script indicator compare with free TradingView scripts and invite-only subscriptions?
Compared with free open-source scripts on TradingView, you get one stated definition per rule, a written guide and a compile check before listing. Compared with invite-only subscriptions, you pay once and get the source instead of renting hidden access. If a free script does what you need, it is a fine alternative.
What are the risks and limitations of buying this one-time purchase Pine Script indicator for TradingView instead of a subscription?
It measures and draws a stated rule; it does not predict price, recommend trades or show a win rate. TradingView's free plan caps how many indicators one chart can hold. Trading involves risk of loss; this is educational software, not financial advice. TradingView's manual explains repainting, so you can test it yourself: https://tradingview.com/pine-script-docs/concepts/repainting