mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 05:48:06 +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("Linear Trend Moving Average (LTMA)", "LTMA", overlay=true)
|
||||
// EMA1 lags by τ = (1−α)/α bars; EMA1−EMA2 ≈ slope·τ; result = EMA1 + (EMA1−EMA2).
|
||||
// Initializing both EMAs to source on bar 1 gives zero warmup bias with no compensator needed.
|
||||
ltma(series float source, simple int period) =>
|
||||
if period <= 0
|
||||
runtime.error("Period must be greater than 0")
|
||||
float alpha = 2.0 / (period + 1)
|
||||
float beta = 1.0 - alpha
|
||||
|
||||
|
||||
Reference in New Issue
Block a user