mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 13:08:04 +00:00
fix(docs): correct .md documentation across errors, dynamics, filters, forecasts, momentum, numerics, oscillators, reversals, statistics, trends, volatility, volume
Deep review of all indicator categories verified .md headers against .cs WarmupPeriod, parameters, inputs, and outputs. Fixes include warmup corrections, parameter documentation, output type accuracy, and Pine Script alignment.
This commit is contained in:
@@ -9,10 +9,6 @@ indicator("Relative Volatility Index (RVI)", shorttitle="RVI", overlay=false)
|
||||
//@param rmaLength The lookback period for Wilder's smoothing (RMA) of the upward and downward standard deviations. Default is 14.
|
||||
//@returns float The Relative Volatility Index value.
|
||||
rvi(series float src = close, simple int stdevLength = 10, simple int rmaLength = 14) =>
|
||||
if stdevLength <= 1
|
||||
runtime.error("Standard Deviation Length must be greater than 1")
|
||||
if rmaLength <= 0
|
||||
runtime.error("RMA Length must be greater than 0")
|
||||
float currentStdDev = 0.0
|
||||
var array<float> buffer_stddev = array.new_float(stdevLength, na) // p_stddev simplified
|
||||
var int head_stddev = 0, var int count_stddev = 0
|
||||
|
||||
Reference in New Issue
Block a user