mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-24 21:48:03 +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:
@@ -8,8 +8,6 @@ indicator("Linear Decay (DECAY)", "DECAY", overlay=true)
|
||||
//@param length Decay period
|
||||
//@returns Decayed value that tracks peaks and descends linearly
|
||||
decay(series float source, simple int length) =>
|
||||
if length <= 0
|
||||
runtime.error("Length must be greater than 0")
|
||||
var float prev = na
|
||||
float scale = 1.0 / length
|
||||
float result = na
|
||||
|
||||
Reference in New Issue
Block a user