mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-13 16:18: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("Average Directional Movement Index (ADX)", "ADX", overlay=false)
|
||||
|
||||
//@function Calculates ADX using Wilder's smoothing with compensated RMA
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/dynamics/adx.md
|
||||
//@param period Number of bars used in the calculation
|
||||
//@returns tuple of ADX value, +DI, -DI
|
||||
adx(simple int period = 14) =>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Average Directional Movement Index Rating (ADXR)", "ADXR", overlay=false)
|
||||
|
||||
//@function Calculates ADX Rating (ADXR) using current and historical ADX values
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/dynamics/adxr.md
|
||||
//@param period Number of bars used in ADX calculation
|
||||
//@param rating_period Number of bars between current and historical ADX
|
||||
//@returns tuple of ADXR value, ADX value, +DI, -DI
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Autoregressive FIR Moving Average (AFIRMA)", "AFIRMA", overlay=true)
|
||||
|
||||
//@function Calculates AFIRMA using various windowing functions with optional least squares cubic spline fitting
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/forecasts/afirma.md
|
||||
//@param source Series to calculate AFIRMA from
|
||||
//@param period Lookback period - window size
|
||||
//@param windowType Window function type (1:Hanning, 2:Hamming, 3:Blackman, 4:Blackman-Harris)
|
||||
|
||||
@@ -67,4 +67,4 @@ i_source = input.source(close, "Source")
|
||||
plot(middle, "Middle", color=color.yellow, linewidth=2)
|
||||
p1 = plot(upper, "Upper", color=color.new(color.yellow, 50), linewidth=1)
|
||||
p2 = plot(lower, "Lower", color=color.new(color.yellow, 50), linewidth=1)
|
||||
fill(p1, p2, color=color.new(color.yellow, 90), title="Band Fill")
|
||||
fill(p1, p2, color=color.new(color.yellow, 90), title="Band Fill")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// The MIT License (MIT)1
|
||||
// The MIT License (MIT)
|
||||
// © mihakralj
|
||||
//@version=6
|
||||
indicator("EACP: Ehlers Autocorrelation Periodogram","EACP",overlay=false)
|
||||
|
||||
@@ -24,7 +24,6 @@ atan2(series float y, series float x) =>
|
||||
angle
|
||||
|
||||
//@function Calculates Hilbert Transform Dominant Cycle Period using Ehlers algorithm
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/ht_dcperiod.md
|
||||
//@param source Series to analyze for dominant cycle
|
||||
//@returns Dominant cycle period in bars (typically 6-50)
|
||||
ht_dcperiod(series float source) =>
|
||||
|
||||
@@ -24,7 +24,6 @@ atan2(series float y, series float x) =>
|
||||
angle
|
||||
|
||||
//@function Calculates Hilbert Transform Dominant Cycle Phase using Ehlers algorithm
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/ht_dcphase.md
|
||||
//@param source Series to analyze for dominant cycle phase
|
||||
//@returns Phase angle in radians (-π to π)
|
||||
ht_dcphase(series float source) =>
|
||||
|
||||
@@ -24,7 +24,6 @@ atan2(series float y, series float x) =>
|
||||
angle
|
||||
|
||||
//@function Calculates Hilbert Transform Phasor Components (InPhase and Quadrature)
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/ht_phasor.md
|
||||
//@param source Series to analyze for phasor components
|
||||
//@returns Tuple [inphase, quadrature] components
|
||||
ht_phasor(series float source) =>
|
||||
|
||||
@@ -24,7 +24,6 @@ atan2(series float y, series float x) =>
|
||||
angle
|
||||
|
||||
//@function Calculates Hilbert Transform SineWave and LeadSine
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/ht_sine.md
|
||||
//@param source Series to analyze for dominant cycle
|
||||
//@returns Tuple [sine, leadsine] - sine wave and lead sine wave
|
||||
ht_sine(series float source) =>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Lunar Phase (LUNAR)", "LUNAR", overlay=false)
|
||||
|
||||
//@function Calculates precise lunar phase using orbital mechanics
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/lunar.md
|
||||
//@param none Uses timestamp of open (start of the bar) for calculations
|
||||
//@returns float Lunar phase from 0.0 (new moon) through 1.0 (full moon)
|
||||
//@Includes orbital perturbation terms and epoch corrections
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
// The MIT License (MIT)
|
||||
// © mihakralj (Implementation based on John Ehlers' "Phasor Analysis" and user-provided v6 function structure)
|
||||
// © mihakralj
|
||||
//@version=6
|
||||
indicator("Ehlers Phasor Analysis (PHASOR)", shorttitle="PHASOR", overlay=false)
|
||||
|
||||
//@function Calculates the Ehlers Phasor Angle, Derived Period, and Trend State.
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/phasor.md
|
||||
//@param src The source series to analyze.
|
||||
//@param period The fixed cycle period to correlate against. Default is 28.
|
||||
//@returns A tuple: `[float finalPhasorAngle, float derivedPeriod, int trendState]`.
|
||||
|
||||
@@ -5,7 +5,6 @@ indicator("Ehlers Sine Wave (SINE)", "SINE", overlay=false)
|
||||
|
||||
//@function Calculates Ehlers’ original Sine Wave using a two‑pole High‑Pass, a Super‑Smoother,
|
||||
// and a Hilbert‑transform FIR pair (In‑phase I / Quadrature Q).
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/sine.md
|
||||
//@param src Series to calculate the Sine Wave from
|
||||
//@param hpLength High‑Pass filter length (detrending period)
|
||||
//@param ssfLength Super‑Smoother filter length (cycle smoothing period)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("Solar Cycle (SOLAR)", "SOLAR", overlay=false)
|
||||
|
||||
//@function Calculates precise solar cycle value using Sun's ecliptic longitude.
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/solar.md
|
||||
//@param barTime int The timestamp of the bar (open time) in milliseconds.
|
||||
//@returns float Solar cycle value from -1.0 (winter solstice) through 0.0 (equinoxes) to +1.0 (summer solstice).
|
||||
//@optimized for performance and dirty data
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
indicator("SSF-Based Detrended Synthetic Price", "SSF-DSP", overlay=false)
|
||||
|
||||
//@function Calculates SSF-based Detrended Synthetic Price using dual Super Smooth Filters
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/ssfdsp.md
|
||||
//@param source Series to detrend
|
||||
//@param period Dominant cycle period for quarter/half-cycle SSF calculation
|
||||
//@returns Detrended synthetic price (difference between quarter-cycle and half-cycle SSFs)
|
||||
|
||||
@@ -28,7 +28,6 @@ ema(series float source,simple int period=0,simple float alpha=0)=>
|
||||
ema
|
||||
|
||||
//@function Calculates the Schaff Trend Cycle (STC) indicator
|
||||
//@doc https://github.com/mihakralj/pinescript/blob/main/indicators/cycles/stc.md
|
||||
//@param source Input price series
|
||||
//@param cycleLength Main cycle length parameter for lookback periods
|
||||
//@param fastLength Period for fast EMA calculation
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// The MIT License (MIT)
|
||||
// © mihakralj
|
||||
// Ultimate Bands logic based on work by John F. Ehlers (c) 2024
|
||||
//@version=6
|
||||
// Ultimate Bands logic based on work by John F. Ehlers (c) 2024
|
||||
indicator("Ehlers Ultimate Bands (UBANDS)", "UBANDS", overlay=true)
|
||||
|
||||
//@function Calculates Ultimate Bands
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// The MIT License (MIT)
|
||||
// © mihakralj
|
||||
// Ultimate Channel logic based on work by John F. Ehlers (c) 2024
|
||||
//@version=6
|
||||
// Ultimate Channel logic based on work by John F. Ehlers (c) 2024
|
||||
indicator("Ultimate Channel (UCHANNEL)", "UCHANNEL", overlay=true)
|
||||
|
||||
//@function Calculates Ultimate Channel
|
||||
|
||||
Reference in New Issue
Block a user