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:
Miha Kralj
2026-03-11 15:36:23 -07:00
parent 567fa89465
commit 19f956521d
396 changed files with 606 additions and 816 deletions
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Yzv) |
| **Output range** | $\geq 0$ |
| **Warmup** | `period` bars |
### TL;DR
| **PineScript** | [yzv.pine](yzv.pine) |
- Yang-Zhang Volatility is a sophisticated volatility estimator that combines overnight (close-to-open) returns with Rogers-Satchell intraday volatil...
- Parameterized by `period` (default 20).
+1 -1
View File
@@ -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