PINE LIBRARY
更新済 honest personal library

Library "honestpersonallibrary"
<library_description>
thestratnumber() this will return the number 1,2 or 3 using the logic from Rob Smiths #thestrat which uses these type of bars for setups
getBodySize() Gets the current candle's body size (in POINTS, divide by 10 to get pips)
Returns: The current candle's body size in POINTS
getTopWickSize() Gets the current candle's top wick size (in POINTS, divide by 10 to get pips)
Returns: The current candle's top wick size in POINTS
getBottomWickSize() Gets the current candle's bottom wick size (in POINTS, divide by 10 to get pips)
Returns: The current candle's bottom wick size in POINTS
getBodyPercent() Gets the current candle's body size as a percentage of its entire size including its wicks
Returns: The current candle's body size percentage
strictBearPinBar(float, float) This it to find pinbars with a very long wick compared to the body that are bearish
Parameters:
float: minTopMulitplier (default=4) The minimum number of times that the top wick has to be bigger than the candle body size
float: maxBottomMultiplier (default=2) The maximum number of times that the bottom wick can be bigger than the candle body size
Returns: a bool function true if current candle is withing the parameters
strictBullPinBar(float, float) This it to find pinbars with a very long wick compared to the body that are bearish
Parameters:
float: minTopMulitplier (default=4) The minimum number of times that the top wick has to be bigger than the candle body size
float: maxBottomMultiplier (default=2) The maximum number of times that the bottom wick can be bigger than the candle body size
Returns: a bool function true if current candle is withing the parameters
<library_description>
thestratnumber() this will return the number 1,2 or 3 using the logic from Rob Smiths #thestrat which uses these type of bars for setups
getBodySize() Gets the current candle's body size (in POINTS, divide by 10 to get pips)
Returns: The current candle's body size in POINTS
getTopWickSize() Gets the current candle's top wick size (in POINTS, divide by 10 to get pips)
Returns: The current candle's top wick size in POINTS
getBottomWickSize() Gets the current candle's bottom wick size (in POINTS, divide by 10 to get pips)
Returns: The current candle's bottom wick size in POINTS
getBodyPercent() Gets the current candle's body size as a percentage of its entire size including its wicks
Returns: The current candle's body size percentage
strictBearPinBar(float, float) This it to find pinbars with a very long wick compared to the body that are bearish
Parameters:
float: minTopMulitplier (default=4) The minimum number of times that the top wick has to be bigger than the candle body size
float: maxBottomMultiplier (default=2) The maximum number of times that the bottom wick can be bigger than the candle body size
Returns: a bool function true if current candle is withing the parameters
strictBullPinBar(float, float) This it to find pinbars with a very long wick compared to the body that are bearish
Parameters:
float: minTopMulitplier (default=4) The minimum number of times that the top wick has to be bigger than the candle body size
float: maxBottomMultiplier (default=2) The maximum number of times that the bottom wick can be bigger than the candle body size
Returns: a bool function true if current candle is withing the parameters
リリースノート
updated publish as the chart contained indicators not in the libraryリリースノート
changed the pinbar calculationsUpdated:
strictBearPinBar(float, float) This it to find pinbars with a very long wick compared to the body that are bearish
Parameters:
float: minTopMulitplier (default=4) The minimum number of times that the top wick has to be bigger than the candle body size
float: minBottomMultiplier (default=2) The minimum number of times that the bottom wick can fit in the top wick
Returns: a bool function true if current candle is withing the parameters
strictBullPinBar(float, float) This it to find pinbars with a very long wick compared to the body that are bearish
Parameters:
float: minBottomMulitplier (default=4) The minimum number of times that the top wick has to be bigger than the candle body size
float: minTopMultiplier (default=2) The minimum number of times that the top wick can fit in the bottom wick
Returns: a bool function true if current candle is withing the parameters
リリースノート
added a dummy value to the body size as I encountered a body size that had a value of 0 which can not get multiplied so could not identify the pin bar. With this dummy value I hope to be able to identify these very weird barsリリースノート
v5Added:
PBDoji(float) This it to find doji within the pivot boss doji reversal system parameters
Parameters:
float: maxbodysize (default=0.1) The percentage body size candle can have
Returns: a bool function true if current candle is a doji candle
PBWickRevBull(float, float) his it to find pinbars within the pivot boss wick reversal system parameters
Parameters:
float: wick_multiplier (default=2.5) The minimum number of times that the bottom wick has to be bigger than the candle body size
float: body_percentage (default=0.25) The percentage range from top of the candle the close has to close in.
Returns: a bool function true if current candle is within the wick reversal parameters
PBWickRevBear(float, float) This it to find pinbars within the pivot boss wick reversal system parameters
Parameters:
float: wick_multiplier (default=2.5) The minimum number of times that the top wick has to be bigger than the candle body size
float: body_percentage (default=0.25) The percentage range from bottom of the candle the close has to close in.
Returns: a bool function true if current candle is within the wick reversal paramaters
PBExtremeRevBull(float, float, float, float) This it to find pivot boss extreme bullish reversals within the system parameters.
Parameters:
float: minbodysize (default=0.5) This is the minimum percentage change the body has to be of the total candle.
float: maxbodysize (default=0.85) This is the maximum percentage change the body can be of the total candle
float: barsback (default=50) The amount of candles the script will look back to find average candle size.
float: bodymultiplier (default=2) The multiplier amount the extreme candle has to be bigger than an average candle.
Returns: a bool function true if current candle is within the pivot boss extreme bullish reversal parameters.
PBExtremeRevBear(float, float, float, float) This it to find pivot boss extreme bearish reversals within the system parameters.
Parameters:
float: minbodysize (default=0.5) This is the minimum percentage change the body has to be of the total candle.
float: maxbodysize (default=0.85) This is the maximum percentage change the body can be of the total candle
float: barsback (default=50) The amount of candles the script will look back to find average candle size.
float: bodymultiplier (default=2) The multiplier amount the extreme candle has to be bigger than an average candle.
Returns: a bool function true if current candle is within the pivotboss extreme bearish reversal parameters
PBOutsideRevBull(float, float) This it to find pivot boss outside bullish reversals within the system parameters.
Parameters:
float: barsback (default=50) The amount of candles the script will look back to find average candle size.
float: barmultiplier (default=2) The multiplier amount the extreme candle has to be bigger than an average candle.
Returns: a bool function true if current candle is within the pivot boss outside bullish reversal parameters.
PBOutsideRevBear(float, float) This it to find pivot boss outside bearish reversals within the system parameters.
Parameters:
float: barsback (default=50) The amount of candles the script will look back to find average candle size.
float: barmultiplier (default=2) The multiplier amount the extreme candle has to be bigger than an average candle.
Returns: a bool function true if current candle is within the pivot boss outside bearish reversal parameters.
PBDojiRevBull(float) This it to find pivot boss bullish doji reversal.
Parameters:
float: percentage (default=0.1) The maximum percentage body size the doji can have.
Returns: a bool function true if current candle is within the pivot boss bullish doji reversal parameters.
PBDojiRevBear(float) This it to find pivot boss bullish doji reversal
Parameters:
float: percentage (default=0.1) The maximum percentage body size the doji can have.
Returns: a bool function true if current candle is within the pivot boss bearish doji reversal parameters.
リリースノート
v6Pineライブラリ
TradingViewの精神に則り、作者はPineコードをオープンソースライブラリとして公開し、コミュニティ内の他のPineプログラマーが再利用できるようにしました。作者に敬意を表します!このライブラリを個人的に、または他のオープンソースの投稿で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。
✅ Let me help you become profitable long-term.
Patreon -> patreon.com/ChartMuse
Patreon -> patreon.com/ChartMuse
✅ Work with me:
Form -> forms.gle/caAJxCNTP4CqjFy4A
Form -> forms.gle/caAJxCNTP4CqjFy4A
Patreon -> patreon.com/ChartMuse
Patreon -> patreon.com/ChartMuse
✅ Work with me:
Form -> forms.gle/caAJxCNTP4CqjFy4A
Form -> forms.gle/caAJxCNTP4CqjFy4A
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
Pineライブラリ
TradingViewの精神に則り、作者はPineコードをオープンソースライブラリとして公開し、コミュニティ内の他のPineプログラマーが再利用できるようにしました。作者に敬意を表します!このライブラリを個人的に、または他のオープンソースの投稿で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。
✅ Let me help you become profitable long-term.
Patreon -> patreon.com/ChartMuse
Patreon -> patreon.com/ChartMuse
✅ Work with me:
Form -> forms.gle/caAJxCNTP4CqjFy4A
Form -> forms.gle/caAJxCNTP4CqjFy4A
Patreon -> patreon.com/ChartMuse
Patreon -> patreon.com/ChartMuse
✅ Work with me:
Form -> forms.gle/caAJxCNTP4CqjFy4A
Form -> forms.gle/caAJxCNTP4CqjFy4A
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。