UnknownUnicorn45927007

Pullback by Candle Body

The Pullback Indicator version 0.2

Identifies pullbacks by checking if the current candle's body is lower than the previous candle's low for a bearish pullback or higher than the previous candle's high for a bullish pullback. Once a pullback has been identified, the Indicator marks the lowest low or highest high of the trend with a circle.

NOTE it's not fully working as expected as it lacks trend analysis in its code, resulting in it indicating pullbacks in the opposite direction of the trend, such as bullish pullbacks in a bullish trend or bearish pullbacks in a bearish trend. This is a work in progress, maybe it will be "improved" in the future.
Release Notes:
TODO comments and name update
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?