mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-17 10:08:05 +00:00
Add documentation links for various volatility indicators and channels
- Updated BBWN, BBWP, CCV, CV, CVI, EWMA, GKV, HLV, HV, Jvolty, JVOLTYN, MASSI, NATR, RSV, RV, RVI, TR, UI, VOV, VR, YZV indicators with documentation links. - Added documentation links for Aberration, Acceleration Bands, Andrews' Pitchfork, Adaptive Price Zone, ATR Bands, Bollinger Bands, Center of Gravity, Donchian Channels, Decay Min-Max Channel, Detrended Synthetic Price, EACP, EBSW, HOMOD, Jurik Volatility Bands, Keltner Channel, MA Envelope, Min-Max Channel, Price Channel, Regression Channels, Standard Deviation Channel, Stoller Average Range Channel, Super Trend Bands, Ultimate Bands, Ultimate Channel, VWAP Bands, and VWAP with Standard Deviation Bands.
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
//@version=6
|
||||
indicator("Bollinger %B", "BBB", overlay=false)
|
||||
|
||||
//@function Calculates Bollinger Bands %B oscillator
|
||||
//@param source Series to calculate %B from
|
||||
//@param period Lookback period for Bollinger Bands calculation
|
||||
//@param multiplier Standard deviation multiplier for band width
|
||||
//@returns Bollinger %B value (0 = lower band, 1 = upper band)
|
||||
//@optimized Uses circular buffer SMA/StdDev with O(1) complexity per bar
|
||||
bbb(series float source, simple int period, simple float multiplier) =>
|
||||
if period <= 0 or multiplier <= 0.0
|
||||
runtime.error("Period and multiplier must be greater than 0")
|
||||
|
||||
Reference in New Issue
Block a user