OPEN-SOURCE SCRIPT

Abnormal Pin Bar

已更新
Pin Bar is one of the most important candlestick patterns. Almost every time you see a pin bar, you can expect the price to turn in the opposite direction.
You should pay more attention to the abnormal ones among the pin bars. What I mean by abnormal pin bar is that the long leg is at least 3 times larger than the body.

With this indicator, you can set your own abnormal pin bar settings. The indicator will highlight abnormal pin bars according to the settings you specified.
The indicator uses the following three factors to indicate abnormal pin bar:
- Minimum body ratio in the pattern in percent
- Minimum ratio of the long shadow to the body
- Minimum ratio of the long shadow to the short shadow

Also, there is a volume strength check to confirm the pin bar. If the volume where the pin bar is formed is greater than the 20 volume average, it indicates that the pin bar is more important. Of course, confirming the pin bar with the volume is optional and you can disable it in settings if you wish.

You can use the highlights of this indicator as an entry signal if the pin bar appears at the trend key levels or in support or resistance zones.
版本注释
Changes:
- Title updated
- Alert conditions added
版本注释
Add option to confirm pin bar by checking if the volume of the pin bar candle is bigger than the previous volume.
版本注释

  • Added a feature to indicate the number of pinbars that have previously occurred within the same range as a new pinbar.
  • Added new confirmation options to check if a pinbar occurred at a higher high (HH) or lower low (LL).
  • Upgraded to PineScript v5.
  • Refined Settings Menu
buysignalCandlestick AnalysisCandlestick analysiscandlestickpatternentrypointPin Barsellsignal

开源脚本

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

想在图表上使用此脚本?

免责声明