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:
@@ -12,8 +12,6 @@ indicator("Volume Weighted Accumulation/Distribution (VWAD)", "VWAD", overlay=fa
|
||||
//@returns VWAD value representing volume-weighted accumulation/distribution
|
||||
//@optimized for performance and dirty data
|
||||
vwad(simple int period, series float src_high = high, series float src_low = low, series float src_close = close, series float src_vol = volume) =>
|
||||
if period <= 0
|
||||
runtime.error("Period must be greater than 0")
|
||||
var int p = math.max(1, period), var int head = 0
|
||||
var array<float> vol_buffer = array.new_float(p, na)
|
||||
var float sum_vol = 0.0
|
||||
|
||||
Reference in New Issue
Block a user