mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-24 05:28: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:
@@ -8,8 +8,6 @@ indicator("Normalized Average True Range", "NATR", overlay=false, format=format.
|
||||
//@returns The NATR value as a percentage of close price.
|
||||
//@optimized Beta precomputation for RMA warmup compensation
|
||||
natr(simple int length) =>
|
||||
if length <= 0
|
||||
runtime.error("Period must be greater than 0")
|
||||
float prevClose = nz(close[1], close)
|
||||
float tr1 = high - low
|
||||
float tr2 = math.abs(high - prevClose)
|
||||
|
||||
Reference in New Issue
Block a user