mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-24 13:38:05 +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:
@@ -11,10 +11,6 @@ indicator("Percentage Volume Oscillator (PVO)", "PVO", overlay=false)
|
||||
//@returns tuple with [pvo, signal, histogram] values
|
||||
//@optimized Beta precomputation for EMA warmup compensation
|
||||
pvo(series float vol, simple int fast_period, simple int slow_period, simple int signal_period) =>
|
||||
if fast_period <= 0 or slow_period <= 0 or signal_period <= 0
|
||||
runtime.error("All periods must be greater than 0")
|
||||
if fast_period >= slow_period
|
||||
runtime.error("Fast period must be less than slow period")
|
||||
float vol_val = nz(vol, 0.0)
|
||||
float fast_alpha = 2.0 / (fast_period + 1)
|
||||
float slow_alpha = 2.0 / (slow_period + 1)
|
||||
|
||||
Reference in New Issue
Block a user