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 (Ccor) |
| **Output range** | Varies (see docs) |
| **Warmup** | `period` bars |
### TL;DR
| **PineScript** | [ccor.pine](ccor.pine) |
- CCOR extracts cycle phase by computing Pearson correlation of a price window against cosine (Real) and negative-sine (Imaginary) reference waves of...
- Parameterized by `period` (default 20), `threshold` (default 9.0).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Ccyc) |
| **Output range** | Varies (see docs) |
| **Warmup** | `7` bars |
### TL;DR
| **PineScript** | [ccyc.pine](ccyc.pine) |
- CCYC isolates the dominant cycle component from price data using a 2-pole high-pass IIR filter applied to a 4-tap FIR-smoothed input, producing an ...
- Parameterized by `alpha` (default 0.07).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Cg) |
| **Output range** | Varies (see docs) |
| **Warmup** | `period` bars |
### TL;DR
| **PineScript** | [cg.pine](cg.pine) |
- CG identifies potential turning points using the physics concept of weighted center of mass applied to a price window.
- Parameterized by `period` (default 10).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Dsp) |
| **Output range** | Varies (see docs) |
| **Warmup** | `slowPeriod * 3` bars |
### TL;DR
| **PineScript** | [dsp.pine](dsp.pine) |
- DSP creates a zero-centered oscillator by subtracting a half-cycle EMA from a quarter-cycle EMA, isolating the dominant cyclical component of price...
- Parameterized by `period` (default 40).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Eacp) |
| **Output range** | Varies (see docs) |
| **Warmup** | `maxPeriod * 2` bars |
### TL;DR
| **PineScript** | [eacp.pine](eacp.pine) |
- EACP estimates the dominant cycle period of a financial time series by computing autocorrelation across multiple lags and transforming the result i...
- Parameterized by `minperiod` (default 8), `maxperiod` (default 48), `avglength` (default 3), `enhance` (default true).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Ebsw) |
| **Output range** | Varies (see docs) |
| **Warmup** | `Math.Max(hpLength, ssfLength) + 3` bars (default 43) |
### TL;DR
| **PineScript** | [ebsw.pine](ebsw.pine) |
- EBSW is a refined cycle oscillator that combines a high-pass filter (trend removal), a Super-Smoother filter (noise removal), and Automatic Gain Co...
- Parameterized by `hplength` (default 40), `ssflength` (default 10).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Homod) |
| **Output range** | Varies (see docs) |
| **Warmup** | `maxPeriod * 2` bars (default 100) |
### TL;DR
| **PineScript** | [homod.pine](homod.pine) |
- HOMOD estimates the dominant cycle period of a market using homodyne mixing, a technique from radio engineering where a signal is multiplied by a d...
- Parameterized by `minperiod` (default 6.0), `maxperiod` (default 50.0).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (HT_DCPERIOD) |
| **Output range** | Varies (see docs) |
| **Warmup** | `LOOKBACK` bars |
### TL;DR
| **PineScript** | [ht_dcperiod.pine](ht_dcperiod.pine) |
- HT_DCPERIOD estimates the period of the dominant market cycle using Ehlers' Hilbert Transform cascade.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (HT_DCPHASE) |
| **Output range** | Varies (see docs) |
| **Warmup** | `LOOKBACK` bars |
### TL;DR
| **PineScript** | [ht_dcphase.pine](ht_dcphase.pine) |
- HT_DCPHASE measures the instantaneous phase angle of the dominant market cycle using Ehlers' Hilbert Transform cascade.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (HT_PHASOR) |
| **Output range** | Varies (see docs) |
| **Warmup** | `LOOKBACK` bars |
### TL;DR
| **PineScript** | [phasor.pine](phasor.pine) |
- HT_PHASOR decomposes the price signal into two orthogonal components, InPhase ($I$) and Quadrature ($Q$), using the Hilbert Transform.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (HT_SINE) |
| **Output range** | Varies (see docs) |
| **Warmup** | `LOOKBACK` bars |
### TL;DR
| **PineScript** | [ht_sine.pine](ht_sine.pine) |
- HT_SINE extracts the dominant market cycle phase and outputs both Sine and LeadSine (45° phase advance) for cycle timing.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (LUNAR) |
| **Output range** | Varies (see docs) |
| **Warmup** | `0` bars |
### TL;DR
| **PineScript** | [lunar.pine](lunar.pine) |
- LUNAR calculates the Moon's illumination fraction using precise orbital mechanics from Jean Meeus' *Astronomical Algorithms*.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (SOLAR) |
| **Output range** | Varies (see docs) |
| **Warmup** | `0` bars |
### TL;DR
| **PineScript** | [solar.pine](solar.pine) |
- SOLAR models Earth's seasonal position relative to the Sun using astronomical ephemeris calculations.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (SsfDsp) |
| **Output range** | Varies (see docs) |
| **Warmup** | `slowPeriod * 2` bars |
### TL;DR
| **PineScript** | [ssfdsp.pine](ssfdsp.pine) |
- SSFDSP isolates the dominant cycle by subtracting a half-cycle Super-Smoother from a quarter-cycle Super-Smoother, producing a zero-centered oscill...
- Parameterized by `period` (default 40).