OPEN-SOURCE SCRIPT

Breakout/Consolidation Filter [jwammo12]

This indicator acts as a filter for determining recent breakouts and consolidations in price.

The first way to use the indicator is with a short lookback period. It then will paint yellow most of the time, with red marking a sharp recent breakdown in price and green marking a sharp breakout in price. This can be used to follow the breakout, or to fade it.

The second way to use the indicator is a long lookback period. This will change the output to be colored most of the time, with small sections of yellow. The yellow indicators areas where price has not made a large move in a while, or periods of consolidation. This can then be used to plan reversal trades, or follows any new trend.

The blue line is a Average True Range Percent Rank, when this value is high, it means that breakouts are less likely to trigger, since price has been moving rapidly recently, and a relative breakout would have to be a large move. When the line is low, breakouts will trigger more easily, since price has been moving relatively slowly
Average True Range (ATR)breakoutconsolidationflaggingTrend AnalysisVolatility

开源脚本

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

想在图表上使用此脚本?


Software Engineer and FX, Options, Crypto Trader. Previously worked at large options market maker. If you like my scripts and would like to donate:
Bitcoin: 179ETrGo3FCVcnBV8i1uc4J8YHFRknYytz
Eth: 0x73d59A8214FD70053aF37E9700692e25de441245

免责声明