PINE LIBRARY
Atualizado bollingerBands

Library "bollingerBands"
Bollinger bands related functions
get_multiple_bollinger_bands(stdv1, stdv2, stdv3, stdv4, stdv5, stdv6, stdv7, length, source)
Parameters:
stdv1 (int)
stdv2 (int)
stdv3 (int)
stdv4 (int)
stdv5 (int)
stdv6 (int)
stdv7 (int)
length (simple int)
source (float)
get_bb_volatility(bb_highest, bb_lowest, ma_length, lookback)
Parameters:
bb_highest (float)
bb_lowest (float)
ma_length (simple int)
lookback (int)
Bollinger bands related functions
get_multiple_bollinger_bands(stdv1, stdv2, stdv3, stdv4, stdv5, stdv6, stdv7, length, source)
Parameters:
stdv1 (int)
stdv2 (int)
stdv3 (int)
stdv4 (int)
stdv5 (int)
stdv6 (int)
stdv7 (int)
length (simple int)
source (float)
get_bb_volatility(bb_highest, bb_lowest, ma_length, lookback)
Parameters:
bb_highest (float)
bb_lowest (float)
ma_length (simple int)
lookback (int)
Notas de Lançamento
v2Updated:
get_multiple_bollinger_bands(stdv1, stdv2, stdv3, stdv4, stdv5, stdv6, stdv7, length, source)
Parameters:
stdv1 (float)
stdv2 (float)
stdv3 (float)
stdv4 (float)
stdv5 (float)
stdv6 (float)
stdv7 (float)
length (simple int)
source (float)
Notas de Lançamento
v3Added:
get_bbVolatility_data(source, length, stdv1, stdv2, stdv3, stdv4, stdv5, stdv6, stdv7, bbVol_lookback, 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
bbVol_lookback (int): (int): Lookback period for the bb volatility
trend_direction (string): (string): Current direction of the trend
Returns: : Returns a map with the levels, plus direction flag and the data table
Updated:
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.
Notas de Lançamento
v4Updated:
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
Notas de Lançamento
v5Notas de Lançamento
v6Biblioteca do Pine
No verdadeiro espirito do TradingView, o autor desse código Pine o publicou como uma biblioteca de código aberto, para que outros programadores Pine da nossa comunidade possam reusa-los. Parabéns ao autor! Você pode usar essa biblioteca privadamente ou em outras publicações de código aberto, mas a reutilização desse código em publicações é regida pelas Regras da Casa.
Trade Smarter, Not Harder!
TradeCreator9
algotraderpro.io/tradecreator9/
TradeCreator9
algotraderpro.io/tradecreator9/
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Biblioteca do Pine
No verdadeiro espirito do TradingView, o autor desse código Pine o publicou como uma biblioteca de código aberto, para que outros programadores Pine da nossa comunidade possam reusa-los. Parabéns ao autor! Você pode usar essa biblioteca privadamente ou em outras publicações de código aberto, mas a reutilização desse código em publicações é regida pelas Regras da Casa.
Trade Smarter, Not Harder!
TradeCreator9
algotraderpro.io/tradecreator9/
TradeCreator9
algotraderpro.io/tradecreator9/
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.