OPEN-SOURCE SCRIPT

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

Zaktualizowano
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.
Informacje o Wersji

  • Added an option to draw a box around the Pin Bar or the P.I. Bar
Informacje o Wersji
  • Some minor cosmetic updates
Candlestick AnalysisCandlestick analysiscandlestickpatternInside BarPin Barpriceactionanalysispricemovement

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?


🔶 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.
Również na:

Wyłączenie odpowiedzialności