OPEN-SOURCE SCRIPT

Breakaway Fair Value Gaps [LuxAlgo]

The Breakaway Fair Value Gap (FVG) is a typical FVG located at a point where the price is breaking new Highs or Lows.

🔶 USAGE

快照

In the screenshot above, the price range is visualized by Donchian Channels.

In theory, the Breakaway FVGs should generally be a good indication of market participation, showing favor in the FVG's breaking direction. This is a combination of buyers or sellers pushing markets quickly while already at the highest high or lowest low in recent history.

快照

While this described reasoning seems conventional, looking into it inversely seems to reveal a more effective use of these formations.

When the price is pushed to the extremities of the current range, the price is already potentially off balance and over-extended. Then an FVG is created, extending the price further out of balance.

With this in consideration, After identifying a Breakaway FVG, we could logically look for a reversion to re-balance the gap.

快照

However, it would be illogical to believe that the FVG will immediately mitigate after formation. Because of this, the dashboard display for this indicator shows the analysis for the mitigation likelihood and timeliness.

快照

In the example above, the information in the dashboard would read as follows (Bearish example):

Out of 949 Bearish Breakaway FVGs, 80.19% are shown to be mitigated within 60 bars, with the average mitigation time being 13 bars.
The other 19.81% are not mitigated within 60 bars. This could mean the FVG was mitigated after 60 bars, or it was never mitigated.


The unmitigated FVGs within the analysis window will extend their mitigation level to the current bar. We can see the number of bars since the formation is represented to the right of the live mitigation level.

Utilizing the current distance readout helps to better judge the likelihood of a level being mitigated.

快照

Additionally, when considering these mitigation levels as targets, an additional indicator or analysis can be used to identify specific entries, which would further aid in a system's reliability.

🔶 SETTINGS

  • Trend Length: Sets the (DC) Trend length to use for Identifying Breakaway FVGs.
  • Show Mitigation Levels: Optionally hide mitigation levels if you would prefer only to see the Breakaway FVGs.
  • Maximum Duration: Sets the analysis duration for FVGs, Past this length in bars, the FVG is counted as "Un-Mitigated".
  • Show Dashboard: Optionally hide the dashboard.
  • Use Median Duration: Display the Median of the Bar Length data set rather than the Average.
breakawaybreakawaygapChart patternsdonchianchannelDonchian Channels (DC)fairvaluegapfvgictluxalgopriceactionanalysisTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


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.
更多:

免责声明