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 (Chandelier) |
| **Output range** | Varies (see docs) |
| **Warmup** | `period + 1` bars |
### TL;DR
| **PineScript** | [chandelier.pine](chandelier.pine) |
- The Chandelier Exit computes ATR-based trailing stop levels that hang from the highest high (for longs) or rise from the lowest low (for shorts) ov...
- Parameterized by `period` (default 22), `multiplier` (default 3.0).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Ckstop) |
| **Output range** | Varies (see docs) |
| **Warmup** | `atrPeriod + stopPeriod` bars |
### TL;DR
| **PineScript** | [ckstop.pine](ckstop.pine) |
- The Chande Kroll Stop computes adaptive trailing stop levels using ATR-smoothed volatility envelopes around rolling extremes.
- Parameterized by `atrPeriod` (default 10), `multiplier` (default 1.0), `stopPeriod` (default 9).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (FRACTALS) |
| **Output range** | Varies (see docs) |
| **Warmup** | 1 bar |
### TL;DR
| **PineScript** | [fractals.pine](fractals.pine) |
- Williams Fractals detect local price extremes using a strict five-bar pattern: an Up Fractal marks a bar whose high exceeds the highs of the two ba...
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (PIVOT) |
| **Output range** | Varies (see docs) |
| **Warmup** | `2` bars |
### TL;DR
| **PineScript** | [pivot.pine](pivot.pine) |
- Classic Pivot Points calculate seven horizontal support and resistance levels from the previous bar's high, low, and close.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (PIVOTCAM) |
| **Output range** | Varies (see docs) |
| **Warmup** | `2` bars |
### TL;DR
| **PineScript** | [pivotcam.pine](pivotcam.pine) |
- Camarilla Pivot Points calculate nine horizontal support and resistance levels from the previous bar's high, low, and close.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (PIVOTDEM) |
| **Output range** | Varies (see docs) |
| **Warmup** | `2` bars |
### TL;DR
| **PineScript** | [pivotdem.pine](pivotdem.pine) |
- DeMark Pivot Points calculate three horizontal support and resistance levels from the previous bar's open, high, low, and close.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (PIVOTEXT) |
| **Output range** | Varies (see docs) |
| **Warmup** | `2` bars |
### TL;DR
| **PineScript** | [pivotext.pine](pivotext.pine) |
- Extended Traditional Pivot Points calculate eleven horizontal support and resistance levels from the previous bar's high, low, and close.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (PIVOTFIB) |
| **Output range** | Varies (see docs) |
| **Warmup** | `2` bars |
### TL;DR
| **PineScript** | [pivotfib.pine](pivotfib.pine) |
- Fibonacci Pivot Points apply Fibonacci retracement ratios (38.2%, 61.8%, 100%) to the standard pivot point formula.
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (PIVOTWOOD) |
| **Output range** | Varies (see docs) |
| **Warmup** | `2` bars |
### TL;DR
| **PineScript** | [pivotwood.pine](pivotwood.pine) |
- Woodie's Pivot Points weight the closing price twice in the pivot calculation, biasing the central pivot toward where the market actually settled r...
- No configurable parameters; computation is stateless per bar.
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Psar) |
| **Output range** | Varies (see docs) |
| **Warmup** | `1` bars |
### TL;DR
| **PineScript** | [psar.pine](psar.pine) |
- The Parabolic Stop And Reverse (PSAR) is a trend-following overlay indicator created by J.
- Parameterized by `afStart` (default 0.02), `afIncrement` (default 0.02), `afMax` (default 0.20).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (sign-encoded SAR) |
| **Output range** | ±price level (positive = long, negative = short) |
| **Warmup** | `2` bars |
### TL;DR
| **PineScript** | [sarext.pine](sarext.pine) |
- Extended Parabolic SAR with **asymmetric acceleration factors** for long and short positions.
- Sign-encoded output: positive = long (SAR below price), negative = short (SAR above price).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (Swings) |
| **Output range** | Varies (see docs) |
| **Warmup** | 1 bar |
### TL;DR
| **PineScript** | [swings.pine](swings.pine) |
- Swing High/Low detection identifies local price extremes using a configurable lookback window.
- Parameterized by `lookback` (default 5).
+1 -2
View File
@@ -8,8 +8,7 @@
| **Outputs** | Single series (TtmScalper) |
| **Output range** | Varies (see docs) |
| **Warmup** | 1 bar |
### TL;DR
| **PineScript** | [ttmscalper.pine](ttmscalper.pine) |
- John Carter designed TTM Scalper Alert for quick identification of potential reversal points using a simple three-bar pattern recognition.
- Parameterized by `usecloses` (default false).