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, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?