OPEN-SOURCE SCRIPT

HTF Fair Value Gap [LuxAlgo]

Updated
The HTF Fair Value Gap indicator aims to display the exact time/price locations of fair value gaps within a higher user-selected chart timeframe.

🔶 USAGE

snapshot

The indicator can be used to detect higher time frame fair value gaps. Detected historical HTF FVG are displayed as changes in chart background colors, with a green color indicating a bullish FVG and red a bearish FVG.

snapshot

The most recent HTF FVG is displayed as a candle to the right of the most recent price candle. Dashed lines indicate the exact location of the FVG upper and lower extremities.

snapshot

The wicks of the FVG candle indicate the price deviation from the FVG extremities after its formation and can help determine where the FVG is located within a trend.

A "Status" dashboard is included to indicate if the FVG is mitigated or not. This is also indicated by the border of the FVG candle, with a solid border indicating an unmitigated FVG.

🔶 SETTINGS

  • Timeframe: Chart timeframe used to retrieve the fair value gaps


🔹Style

  • Offset: Offset to the right (in bars) of the FVG candle from the most recent bar.
  • Width: Width (in bars) of the FVG candle.


🔹Dashboard

  • Show Dashboard: Determine whether to display the dashboard or not.
  • Location: Location of the dashboard on the chart.
  • Size: Size of the dashboard on the chart.
Release Notes
- fixed wrong mitigation evaluation
Release Notes
- Fixed "Show Dashboard" input not working
Candlestick analysisChart patternsfairvaluegapfvgfvgmtfgapHTFimbalanceliquidityluxalgoTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Also on:

Disclaimer