PINE LIBRARY
Actualizado 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
Notas de prensa
minor changesNotas de prensa
v3Notas de prensa
v4Notas de prensa
v5Notas de prensa
v6Notas de prensa
v7Notas de prensa
v8Notas de prensa
v9Notas de prensa
v10Notas de prensa
v11Notas de prensa
v12Notas de prensa
v13Biblioteca Pine
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Exención de responsabilidad
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Biblioteca Pine
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Exención de responsabilidad
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.