mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 05:48:06 +00:00
docs: add PineScript links to all indicator .md files, docsify .pine renderer with comprehensive Prism v6 syntax highlighting
- Added PineScript row to property tables in 375 .md files linking to companion .pine files - Docsify plugin intercepts .pine link clicks, fetches and renders content as syntax-highlighted code blocks - Comprehensive Prism.languages.pine grammar covering 18 token categories: annotations, types, qualifiers, namespaces, OHLCV builtins, functions, keywords, operators - Custom CSS tokens using GitHub dark palette for Pine-specific visual differentiation
This commit is contained in:
@@ -27,7 +27,7 @@ yzv(int length) =>
|
||||
raw_rma_val := (nz(raw_rma_val[1]) * (length - 1) + s_sq_daily) / length
|
||||
e_comp_val := (1.0 - rma_alpha) * e_comp_val
|
||||
smoothed_s_sq := e_comp_val > EPSILON_YZV ? raw_rma_val / (1.0 - e_comp_val) : raw_rma_val
|
||||
result = math.sqrt(smoothed_s_sq)
|
||||
result = math.sqrt(math.max(0.0, nz(smoothed_s_sq)))
|
||||
result
|
||||
|
||||
// Inputs
|
||||
|
||||
Reference in New Issue
Block a user