INVITE-ONLY SCRIPT

Terra FVGs

52
Terra FVGs — LTF-anchored FVG & iFVG mapping with higher-TF overlay

Terra FVGs finds classic 3-bar Fair Value Gaps (FVGs) and optionally marks their inversions (iFVGs) when price fully closes back through the gap. It’s built for scalpers and intraday traders who want a consistent, anchor-based view on low timeframes, plus an optional “Above Anchor” layer that adapts to whatever higher timeframe you’re viewing.

What it does

  • Detects FVGs (bullish/bearish, candle 1 vs candle 3 gap).
  • Converts to iFVGs when the gap is validated by a close through the opposing boundary (inversion).
  • LTF Anchor layer: locks detection to your chosen lower timeframe (e.g., 1m) and displays it on that TF and below.
  • Above Anchor layer: when your chart TF is higher than the anchor, detection automatically runs on the chart’s TF (not the anchor) so you always see the relevant FVGs/iFVGs for that higher view.


Key settings
  • LTF Anchor
  • LTF Anchor timeframe — choose your anchor TF (e.g., 1 = 1m, 15S = 15 seconds).
  • Above Anchor Controls
  • Enable Above Anchor layer — ON shows FVGs/iFVGs on higher TFs using the current chart TF.
  • Show FVGs on Above Anchor layer — toggle pre-inversion gaps.
  • Show iFVGs on Above Anchor layer — toggle inversions.
  • iFVG on top at conversion — raises iFVGs visually above FVGs when they invert.
  • Draw Order & Caps
  • Per-layer caps for how many FVGs and iFVGs to keep visible (default 3/3).
  • Colors
    • Separate palettes and opacities for LTF Anchor and Above Anchor layers
    • Optional borders per layer.
    • Extension
    • Extend right — project each zone a fixed number of bars (uses the active detection TF so spacing stays consistent).
    • Alerts
    • Filter by chart TF (All, 1, 5, 15, 60) for iFVG confirmations.



How to use

  • Pick your anchor (e.g., 1m). On 1m and below, you’ll see 1m gaps.
  • Move up TFs (e.g., 5m/15m/1h). If Above Anchor is enabled, detection auto-switches to the chart TF, so you see that TF’s gaps.
  • Watch the inversion: when price closes through the opposite side of the gap, the FVG becomes an iFVG (and can rise to the top if enabled).


Tips
  • Use brighter colors/borders for iFVGs to distinguish them from pre-inversion FVGs at a glance.
  • Increase caps (e.g., 5–10) for context; lower them for a cleaner, minimal chart.
  • Keep Extend right modest (5–20 bars) to highlight near-term targets without clutter.


Notes
  • All drawings are time-anchored (bar-time), so zones remain aligned when zooming or changing chart compression.
  • This script is optimized to avoid runtime errors by capping objects and separating layers.


Alerts included
iFVG Confirmed — fires on the bar that validates the inversion (respects your alert TF filter).

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.