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:
@@ -10,8 +10,6 @@ indicator("Volume Weighted Moving Average (VWMA)", "VWMA", overlay=true)
|
||||
//@returns VWMA value representing volume-weighted moving average
|
||||
//@optimized for performance and dirty data
|
||||
vwma(series float src, series float vol, simple int period) =>
|
||||
if period <= 0
|
||||
runtime.error("Period must be greater than 0")
|
||||
var int p = math.max(1, period), var int head = 0, var int count = 0
|
||||
var array<float> price_buffer = array.new_float(p, na)
|
||||
var array<float> vol_buffer = array.new_float(p, na)
|
||||
|
||||
Reference in New Issue
Block a user