mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-20 11: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:
@@ -9,16 +9,17 @@ indicator("Exponential Transformation (EXP)", "Exptrans", overlay=false)
|
||||
//@optimized for performance and dirty data
|
||||
expT(series float source) =>
|
||||
if na(source)
|
||||
runtime.error("Parameter 'source' cannot be na.")
|
||||
math.exp(source)
|
||||
na
|
||||
else
|
||||
math.exp(source)
|
||||
|
||||
// ---------- Main loop ----------
|
||||
|
||||
// Inputs
|
||||
i_source = input(close, "Source")
|
||||
i_source = input.source(close, "Source")
|
||||
|
||||
// Calculation
|
||||
transformedSource = expT(i_source)
|
||||
|
||||
// Plot
|
||||
plot(transformedSource, "Exponential Transformation", color=color.yellow, linewidth=2)
|
||||
plot(transformedSource, "Exptrans", color=color.yellow, linewidth=2)
|
||||
|
||||
Reference in New Issue
Block a user