mayureshjadhav12

Pullback Indicator

mayureshjadhav12 已更新   
The Pullback Indicator is a technical analysis tool designed to identify pullbacks in the price action of a financial instrument. It is based on the concept that price tends to retrace to a previous level of support or resistance before continuing in the direction of the trend.

The indicator is plotted as a series of triangles above or below the price bars, depending on the type of pullback detected. A green triangle is displayed when a bullish pullback is detected, while a red triangle is displayed for a bearish pullback.

The Pullback Indicator uses Inside Bar Range, this number is a user-defined input that specifies the number of bars to look back for the highest high and lowest low.

The indicator classifies four types of pullbacks:
  • Swing Low - When the price forms a lower low and a higher low than the previous bar.
  • Swing High - When the price forms a higher high and a lower high than the previous bar.
  • High Low Sweep and close below - When the price forms a lower low and a higher low than the previous bar, but the close is below the previous high.
  • High Low Sweep and close above - When the price forms a higher high and a lower high than the previous bar, but the close is above the previous low.

The Pullback Indicator is best used in conjunction with other technical analysis tools to confirm the direction of the trend and to identify potential entry and exit points.
版本注释:
Made changes to the script to identify minor pullbacks. If needed you can change the style as per your requirement
版本注释:
Update: Checked equal condition
版本注释:
Fixed some errors
版本注释:
Checked equal conditions and updated inside bar range
版本注释:
Updated Inside bar Range
版本注释:
Few bug fixes
版本注释:
Changes in code
版本注释:
Few bug fixes
版本注释:
Updated Inside bar candles with different colors
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?