PINE LIBRARY
已更新 VonnyPublicLibrary

Library "VonnyPublicLibrary"
A collection functions commonly used within my scripts
EntryBull(float, float)
Calculate when a bullish condition occurs. (When you have two variables)
Parameters:
float: Enter first variable
float: Enter second variable
Returns: True the first bar of your bullish condition
EntryBear(float, float)
Calculate when a bearish condition occurs. (When you have two variables)
Parameters:
float: Enter first variable
float: Enter second variable
Returns: True the first bar of your bearish condition
LowestPivot(bool, bool, bool, float, float)
Calculate the low of your bearish condition
Parameters:
bool: bullish condition
bool: bearish condition
bool: candle buffer to prevent the script from crashing. Since were working with a Dynamic Length
float: Enter what you want to see the low off? Low of the bar OR Close of the bar
float: Enter what you want to see the low off? Low of the bar OR Open of the bar..... might seem pointless but some times the Lowest open is lower then the Lowest Close
Returns: Lowest point of your sell condition when ever your buy condition is triggered
HighestPivot(bool, bool, bool, float, float)
Calculate the high of your bullish condition
Parameters:
bool: bullish condition
bool: bearish condition
bool: candle buffer to prevent the script from crashing. Since were working with a Dynamic Length
float: Enter what you want to see the high off? High of the bar OR Close of the bar
float: Enter what you want to see the high off? High of the bar OR Open of the bar..... might seem pointless but some times the Highest open is Higher then the Highest Close
Returns: Highest point of your buy condition when ever your sell condition is triggered
lookBack(bool, bool)
Calculate how many bars since your bullish condition and bearish condition.
Parameters:
bool: enter bullish condition
bool: enter bearish condition
Returns: How many bars elapsed since the most recent condition. Bullish or bearish
A collection functions commonly used within my scripts
EntryBull(float, float)
Calculate when a bullish condition occurs. (When you have two variables)
Parameters:
float: Enter first variable
float: Enter second variable
Returns: True the first bar of your bullish condition
EntryBear(float, float)
Calculate when a bearish condition occurs. (When you have two variables)
Parameters:
float: Enter first variable
float: Enter second variable
Returns: True the first bar of your bearish condition
LowestPivot(bool, bool, bool, float, float)
Calculate the low of your bearish condition
Parameters:
bool: bullish condition
bool: bearish condition
bool: candle buffer to prevent the script from crashing. Since were working with a Dynamic Length
float: Enter what you want to see the low off? Low of the bar OR Close of the bar
float: Enter what you want to see the low off? Low of the bar OR Open of the bar..... might seem pointless but some times the Lowest open is lower then the Lowest Close
Returns: Lowest point of your sell condition when ever your buy condition is triggered
HighestPivot(bool, bool, bool, float, float)
Calculate the high of your bullish condition
Parameters:
bool: bullish condition
bool: bearish condition
bool: candle buffer to prevent the script from crashing. Since were working with a Dynamic Length
float: Enter what you want to see the high off? High of the bar OR Close of the bar
float: Enter what you want to see the high off? High of the bar OR Open of the bar..... might seem pointless but some times the Highest open is Higher then the Highest Close
Returns: Highest point of your buy condition when ever your sell condition is triggered
lookBack(bool, bool)
Calculate how many bars since your bullish condition and bearish condition.
Parameters:
bool: enter bullish condition
bool: enter bearish condition
Returns: How many bars elapsed since the most recent condition. Bullish or bearish
版本注释
minor changes版本注释
v3版本注释
v4版本注释
v5版本注释
v6版本注释
v7版本注释
v8版本注释
v9版本注释
v10版本注释
v11版本注释
v12版本注释
v13Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。