PINE LIBRARY
bollingerBandsV2

Library "bollingerBandsV2"
Bollinger bands related functions
get_multiple_bollinger_bands(stdv1, stdv2, stdv3, stdv4, stdv5, stdv6, stdv7, length, source)
: Calculates 7 sets of bollinger bands, with 7 different standard deviations
Parameters:
stdv1 (float): (simple int): standard deviation 1
stdv2 (float): (simple int): standard deviation 2
stdv3 (float): (simple int): standard deviation 3
stdv4 (float): (simple int): standard deviation 4
stdv5 (float): (simple int): standard deviation 5
stdv6 (float): (simple int): standard deviation 6
stdv7 (float): (simple int): standard deviation 7
length (simple int): (simple int): Length for the bands
source (float): (simple float): source for the calculation
Returns: : Returns 8 levels plus the range of all the levels.
get_bb_volatility(bb_highest, bb_lowest, ma_length, lookback)
: Provides a volatility indicator based on Bollinger Bands, and indicates wheather the volatility is increasing or decreasing.
Parameters:
bb_highest (float): (simple float): Top Bollinger Band on which to calculate the range.
bb_lowest (float): (simple float): Bottom Bollinger Band on which to calculate the range.
ma_length (simple int): (simple int): Length to use in the smoothing of Bollinger Bands range.
lookback (int): (simple int): Lookback period to identify a change in the Bollinger Bands range.
Returns: : Returns 8 levels plus the range of all the levels.
get_bbVolatility_data(source, length, stdv1, stdv2, stdv3, stdv4, stdv5, stdv6, stdv7, trend_direction)
: Generates Bollinger Bands Volatility
Parameters:
source (float): (float): Source for Bollinger Bands
length (simple int): (int): Length for Bollinger Bands
stdv1 (int): (int): Standard Deviation 1
stdv2 (int): (int): Standard Deviation 2
stdv3 (int): (int): Standard Deviation 3
stdv4 (int): (int): Standard Deviation 4
stdv5 (int): (int): Standard Deviation 5
stdv6 (int): (int): Standard Deviation 6
stdv7 (int): (int): Standard Deviation 7
trend_direction (string): (string): Current direction of the trend
Returns: : Returns a map with the levels, plus direction flag and the data table
Bollinger bands related functions
get_multiple_bollinger_bands(stdv1, stdv2, stdv3, stdv4, stdv5, stdv6, stdv7, length, source)
: Calculates 7 sets of bollinger bands, with 7 different standard deviations
Parameters:
stdv1 (float): (simple int): standard deviation 1
stdv2 (float): (simple int): standard deviation 2
stdv3 (float): (simple int): standard deviation 3
stdv4 (float): (simple int): standard deviation 4
stdv5 (float): (simple int): standard deviation 5
stdv6 (float): (simple int): standard deviation 6
stdv7 (float): (simple int): standard deviation 7
length (simple int): (simple int): Length for the bands
source (float): (simple float): source for the calculation
Returns: : Returns 8 levels plus the range of all the levels.
get_bb_volatility(bb_highest, bb_lowest, ma_length, lookback)
: Provides a volatility indicator based on Bollinger Bands, and indicates wheather the volatility is increasing or decreasing.
Parameters:
bb_highest (float): (simple float): Top Bollinger Band on which to calculate the range.
bb_lowest (float): (simple float): Bottom Bollinger Band on which to calculate the range.
ma_length (simple int): (simple int): Length to use in the smoothing of Bollinger Bands range.
lookback (int): (simple int): Lookback period to identify a change in the Bollinger Bands range.
Returns: : Returns 8 levels plus the range of all the levels.
get_bbVolatility_data(source, length, stdv1, stdv2, stdv3, stdv4, stdv5, stdv6, stdv7, trend_direction)
: Generates Bollinger Bands Volatility
Parameters:
source (float): (float): Source for Bollinger Bands
length (simple int): (int): Length for Bollinger Bands
stdv1 (int): (int): Standard Deviation 1
stdv2 (int): (int): Standard Deviation 2
stdv3 (int): (int): Standard Deviation 3
stdv4 (int): (int): Standard Deviation 4
stdv5 (int): (int): Standard Deviation 5
stdv6 (int): (int): Standard Deviation 6
stdv7 (int): (int): Standard Deviation 7
trend_direction (string): (string): Current direction of the trend
Returns: : Returns a map with the levels, plus direction flag and the data table
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
Trade Smarter, Not Harder!
TradeCreator9
algotraderpro.io/tradecreator9/
TradeCreator9
algotraderpro.io/tradecreator9/
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
Trade Smarter, Not Harder!
TradeCreator9
algotraderpro.io/tradecreator9/
TradeCreator9
algotraderpro.io/tradecreator9/
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。