mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 22:08: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:
@@ -15,8 +15,6 @@ indicator("Holt Exponential Moving Average (HOLT)", "HOLT", overlay=true)
|
||||
// When gamma=0, degenerates to standard EMA (no trend correction).
|
||||
// When gamma=alpha, provides balanced level/trend tracking.
|
||||
holt(series float source, simple int period, simple float gamma=0) =>
|
||||
if period <= 0
|
||||
runtime.error("Period must be greater than 0")
|
||||
float alpha = 2.0 / (period + 1)
|
||||
float g = gamma > 0 ? gamma : alpha
|
||||
var float level = na
|
||||
|
||||
Reference in New Issue
Block a user