mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 22: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:
@@ -4,7 +4,6 @@
|
||||
indicator("Balance of Power (BOP)", "BOP", overlay=false)
|
||||
|
||||
//@function Calculates Balance of Power with optional smoothing
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/bop.md
|
||||
//@param length Smoothing period (0 for no smoothing)
|
||||
//@returns BOP value measuring buying/selling pressure
|
||||
bop(simple int length) =>
|
||||
@@ -42,4 +41,4 @@ i_smooth = input.int(14, "Smoothing Length", minval=0, tooltip="0 for no smoothi
|
||||
bop_value = bop(i_smooth)
|
||||
|
||||
// Plot
|
||||
plot(bop_value, "BOP", color=color.yellow, linewidth=2)
|
||||
plot(bop_value, "BOP", color=color.yellow, linewidth=2)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Commodity Channel Index (CCI)", "CCI", overlay=false)
|
||||
|
||||
//@function Calculates Commodity Channel Index using circular buffer for efficiency
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/cci.md
|
||||
//@param length Lookback period for calculations
|
||||
//@returns CCI value measuring price deviation from its moving average
|
||||
cci(simple int length) =>
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
indicator("Jurik Composite Fractal Behavior", "CFB", overlay=false)
|
||||
|
||||
//@function Calculates Jurik Composite Fractal Behavior (Trend Duration Index)
|
||||
//@doc Measures trend duration via fractal efficiency across multiple timescales.
|
||||
//@doc Adaptive, zero-lag indicator for modulating other indicator periods.
|
||||
//@param source Series to calculate CFB from
|
||||
//@param maxLength Maximum lookback length (default 192, lengths 2,4,6,...,maxLength used)
|
||||
//@returns CFB value - weighted average of efficient trend lengths, minimum 1
|
||||
@@ -76,4 +74,4 @@ cfb_value = cfb(i_source, i_maxLength)
|
||||
|
||||
// Plot
|
||||
plot(cfb_value, "CFB", color=color.yellow, linewidth=2)
|
||||
hline(1, "Min", color=color.gray, linestyle=hline.style_dotted)
|
||||
hline(1, "Min", color=color.gray, linestyle=hline.style_dotted)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Chande Momentum Oscillator (CMO)", "CMO", overlay=false)
|
||||
|
||||
//@function Calculates Chande Momentum Oscillator using circular buffer for efficiency
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/cmo.md
|
||||
//@param src Source series to calculate CMO for
|
||||
//@param len Lookback period for calculations
|
||||
//@returns CMO value measuring momentum strength and direction
|
||||
@@ -41,4 +40,4 @@ i_source = input.source(close, "Source")
|
||||
cmo_value = cmo(i_source, i_length)
|
||||
|
||||
// Plot
|
||||
plot(cmo_value, "CMO", color=color.yellow, linewidth=2)
|
||||
plot(cmo_value, "CMO", color=color.yellow, linewidth=2)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Moving Average Convergence Divergence (MACD)", "MACD", overlay=false)
|
||||
|
||||
//@function Calculates MACD with fast and slow EMAs and signal line
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/macd.md
|
||||
//@param src Source series to calculate MACD from
|
||||
//@param fast_length Period for fast EMA
|
||||
//@param slow_length Period for slow EMA
|
||||
@@ -72,4 +71,4 @@ i_source = input.source(close, "Source")
|
||||
hline(0, "Zero Line", color=color.gray)
|
||||
plot(histogram, "Histogram", style=plot.style_columns, color=histogram >= 0 ? (histogram[1] < histogram ? color.green : color.green) : (histogram[1] < histogram ? color.red : color.red))
|
||||
plot(macd_line, "MACD", color=color.blue, linewidth=2)
|
||||
plot(signal_line, "Signal", color=color.red, linewidth=2)
|
||||
plot(signal_line, "Signal", color=color.red, linewidth=2)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Momentum (MOM)", "MOM", overlay=false)
|
||||
|
||||
//@function Calculates price momentum over specified period
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/mom.md
|
||||
//@param src Source series to calculate momentum for
|
||||
//@param len Lookback period for momentum calculation
|
||||
//@returns Momentum value measuring rate of price change
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Price Momentum Oscillator (PMO)", "PMO", overlay=false)
|
||||
|
||||
//@function Calculates Price Momentum Oscillator (DecisionPoint algorithm)
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/pmo.md
|
||||
//@param src Source series to calculate PMO for
|
||||
//@param time_periods First EMA smoothing period for 1-bar ROC (default 35)
|
||||
//@param smooth_periods Second EMA smoothing period for PMO (default 20)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Percentage Price Oscillator (PPO)", "PPO", overlay=false)
|
||||
|
||||
//@function Calculates Percentage Price Oscillator using compensated EMAs
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/ppo.md
|
||||
//@param src Source series to calculate PPO for
|
||||
//@param fast_len Fast EMA period
|
||||
//@param slow_len Slow EMA period
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Price Relative Strength (PRS)", "PRS", overlay=false)
|
||||
|
||||
//@function Calculates Price Relative Strength comparing two assets
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/prs.md
|
||||
//@param base Base asset price series
|
||||
//@param comp Compare asset price series
|
||||
//@param smooth_len Smoothing period for ratio
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Rate of Change (ROC)", "ROC", overlay=false)
|
||||
|
||||
//@function Calculates absolute Rate of Change between current price and N periods ago
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/roc.md
|
||||
//@param source Source price series
|
||||
//@param length Lookback period
|
||||
//@returns Absolute price change value
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Rate of Change Percentage (ROCP)", "ROCP", overlay=false)
|
||||
|
||||
//@function Calculates percentage Rate of Change between current price and N periods ago
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/rocp.md
|
||||
//@param source Source price series
|
||||
//@param length Lookback period
|
||||
//@returns Percentage price change value
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Rate of Change Ratio (ROCR)", "ROCR", overlay=false)
|
||||
|
||||
//@function Calculates ratio between current price and N periods ago
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/rocr.md
|
||||
//@param source Source price series
|
||||
//@param length Lookback period
|
||||
//@returns Price ratio value
|
||||
|
||||
@@ -33,4 +33,4 @@ i_source = input.source(close, "Source")
|
||||
rsi_value = rsi(i_source, i_length)
|
||||
|
||||
// Plot
|
||||
plot(rsi_value, "RSI", color=color.yellow, linewidth=2)
|
||||
plot(rsi_value, "RSI", color=color.yellow, linewidth=2)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("True Strength Index (TSI)", "TSI", overlay=false)
|
||||
|
||||
//@function Calculates the True Strength Index and its signal line.
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/momentum/tsi.md
|
||||
//@param src series float The source series.
|
||||
//@param longLen simple int The lookback period for the first EMA smoothing (typically 25).
|
||||
//@param shortLen simple int The lookback period for the second EMA smoothing (typically 13).
|
||||
|
||||
@@ -61,4 +61,4 @@ i_source = input.source(close, "Source")
|
||||
vel_value = vel(i_source, i_length)
|
||||
|
||||
// Plot
|
||||
plot(vel_value, "VEL", color=color.yellow, linewidth=2)
|
||||
plot(vel_value, "VEL", color=color.yellow, linewidth=2)
|
||||
|
||||
Reference in New Issue
Block a user