OPEN-SOURCE SCRIPT

P.I.B. System (Pin Bar | Inside Bar) // AlgoFyre

已更新
The "P.I.B. System (Pin Bar | Inside Bar)" identifies bullish and bearish pin bars and inside bars on a price chart. It highlights potential market reversals by plotting labels and colorizing bars, providing traders with visual cues for better decision-making.

Description
The "P.I.B. System (Pin Bar | Inside Bar)" script is designed to help traders identify potential reversal points in the market by detecting bullish and bearish pin bars and inside bars. A pin bar is a candlestick pattern that indicates a potential reversal, characterized by a small body and a long wick. Inside bars are candlestick patterns where the current bar's high and low are within the previous bar's range, indicating potential consolidation before a breakout.

This script allows customization of various parameters to fine-tune the identification of pin bars and inside bars. When a pin bar or an inside bar is detected, the script plots a label on the chart and colorizes the bars to highlight these patterns. This tool is useful for traders looking to identify potential reversal points and make informed trading decisions.

Explanation of All Options
  • Pin-Wick Size Ratio Minimum Value: The minimum ratio of the wick size to the total candle size for a pin bar to be considered valid. Default is 0.66.
  • Candle Body Size Ratio Maximum Value: The maximum ratio of the body size to the total candle size for a pin bar to be considered valid. Default is 0.4.
  • Handle-Wick Wick Size Ratio Maximum Value: The maximum ratio of the opposite wick size to the total candle size for a pin bar to be considered valid. Default is 0.4.
  • Filter Out Small Candles: Option to filter out small candles based on the previous candle's size. Default is true.
  • Small Candle Size Ratio: The ratio used to determine if a candle is considered small compared to the previous candle. Default is 2.0.
  • Identify Inside Bars: Option to identify inside bars following a pin bar. Default is true.
  • Show Only P.I.B.: Option to show only the bars where a pin bar is followed by an inside bar. Default is true.
  • Hide Horizontal Rays: Option to hide horizontal rays drawn from the last identified pin bars. Default is false.


How to Use
To use this script, add it to your chart. Customize the input parameters to match your trading strategy. The script will automatically identify and highlight bullish and bearish pin bars and inside bars on the chart. Use the visual cues provided by the labels and colorized bars to make informed trading decisions.
發布通知

  • Added an option to draw a box around the Pin Bar or the P.I. Bar
發布通知
  • Some minor cosmetic updates
Candlestick AnalysisCandlestick analysiscandlestickpatternInside BarPin Barpriceactionanalysispricemovement

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


🔶 New content every Wednesday!
🔶 Check out algofyre.com/linktree
🔶 Looking for custom indicators, strategies, or automation? Hire us at AlgoFyre.com
🔶 All content provided by AlgoFyre is for informational and educational purposes only.
更多:

免責聲明