mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-19 11:08:05 +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:
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Multiple series (DiPlus, DiMinus) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period * 2` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [adx.pine](adx.pine) |
|
||||
|
||||
- The Average Directional Index is the industry-standard measure of trend strength, ignoring direction entirely to focus on the velocity of price exp...
|
||||
- Parameterized by `period`.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (Adxr) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `adx.WarmupPeriod + period - 1` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [adxr.pine](adxr.pine) |
|
||||
|
||||
- The Average Directional Movement Rating is a smoothed version of ADX that dampens short-term fluctuations in trend strength by averaging the curren...
|
||||
- Parameterized by `period`.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Multiple series (Jaw, Teeth, Lips) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `Math.Max(Math.Max(jawPeriod, teethPeriod), lipsPeriod)` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [alligator.pine](alligator.pine) |
|
||||
|
||||
- The Williams Alligator is a trend-following system that uses three Smoothed Moving Averages (SMMA/RMA) with different periods and forward display o...
|
||||
- Parameterized by `jawperiod`, `jawoffset`, `teethperiod`, `teethoffset`, `lipsperiod`, `lipsoffset`.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Multiple series (Strength, FastEma, SlowEma) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `slowPeriod` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [amat.pine](amat.pine) |
|
||||
|
||||
- The Archer Moving Averages Trends indicator is a triple-confirmation trend identification system that uses dual EMAs to produce discrete directiona...
|
||||
- Parameterized by `fastperiod` (default 10), `slowperiod` (default 50).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Multiple series (Up, Down) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [aroon.pine](aroon.pine) |
|
||||
|
||||
- The Aroon indicator measures the temporal freshness of price extremes, answering not "how much did price move?" but "how long ago did it make a new...
|
||||
- Parameterized by `period`.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (AroonOsc) |
|
||||
| **Output range** | $-100$ to $+100$ |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [aroonosc.pine](aroonosc.pine) |
|
||||
|
||||
- The Aroon Oscillator condenses the dual-line Aroon system into a single zero-centered value by computing $\text{AroonUp} - \text{AroonDown}$.
|
||||
- Parameterized by `period`.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (CHOP) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [chop.pine](chop.pine) |
|
||||
|
||||
- The Choppiness Index is a non-directional regime indicator that measures whether the market is trending or trading sideways.
|
||||
- Parameterized by `period` (default 14).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (Dmx) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [dmx.pine](dmx.pine) |
|
||||
|
||||
- The DMX is Mark Jurik's modernized overhaul of Wilder's Directional Movement system, replacing the sluggish RMA smoothing with the Jurik Moving Ave...
|
||||
- Parameterized by `period`.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Multiple series (DiPlus, DiMinus) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [dx.pine](dx.pine) |
|
||||
|
||||
- The Directional Movement Index is the raw, unsmoothed measure of trend strength from Wilder's directional movement system.
|
||||
- Parameterized by `period` (default 14).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (Ghla) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [ghla.pine](ghla.pine) |
|
||||
|
||||
- The Gann High-Low Activator (GHLA) is a trend-following stop/reversal indicator that alternates between the Simple Moving Average of Highs and the ...
|
||||
- Parameterized by `period` (default 13).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (HT_TRENDMODE) |
|
||||
| **Output range** | $0$ to $1$ |
|
||||
| **Warmup** | `LOOKBACK` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [ht_trendmode.pine](ht_trendmode.pine) |
|
||||
|
||||
- The Hilbert Transform Trend Mode indicator is a binary regime classifier that determines whether price action is dominated by trending behavior (ou...
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Multiple series (Tenkan, Kijun, SenkouA, SenkouB, Chikou) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `maxPeriod` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [ichimoku.pine](ichimoku.pine) |
|
||||
|
||||
- Ichimoku Kinko Hyo ("One Glance Equilibrium Chart") is a comprehensive trend-following system that provides five distinct components revealing tren...
|
||||
- Parameterized by `tenkanperiod`, `kijunperiod`, `senkoubperiod`, `displacement`.
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `Math.Max(emaPeriod, macdSlow) + macdSignal - 1` bars (default 34) |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- The Elder Impulse System combines a 13-period EMA (trend inertia) with the MACD(12,26,9) histogram (momentum acceleration) to classify each bar as ...
|
||||
- Parameterized by `emaperiod` (default 13), `macdfast` (default 12), `macdslow` (default 26), `macdsignal` (default 9).
|
||||
- Output range: Varies (see docs).
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# MINUS_DI: Minus Directional Indicator
|
||||
|
||||
### TL;DR
|
||||
Measures downward directional movement strength as a percentage (0-100).
|
||||
|
||||
## Introduction
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# MINUS_DM: Minus Directional Movement
|
||||
|
||||
### TL;DR
|
||||
Wilder-smoothed downward directional movement in price units (≥0).
|
||||
|
||||
## Introduction
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (Pfe) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period + 1` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [pfe.pine](pfe.pine) |
|
||||
|
||||
- Polarized Fractal Efficiency (PFE) quantifies trend strength by comparing the Euclidean distance a price series actually travels bar-to-bar against...
|
||||
- Parameterized by `period` (default 10), `smoothperiod` (default 5).
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# PLUS_DI: Plus Directional Indicator
|
||||
|
||||
### TL;DR
|
||||
Measures upward directional movement strength as a percentage (0-100).
|
||||
|
||||
## Introduction
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# PLUS_DM: Plus Directional Movement
|
||||
|
||||
### TL;DR
|
||||
Wilder-smoothed upward directional movement in price units (≥0).
|
||||
|
||||
## Introduction
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (QSTICK) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [qstick.pine](qstick.pine) |
|
||||
|
||||
- The Qstick indicator, developed by Tushar Chande, computes a moving average of the close-minus-open difference over a lookback period, quantifying ...
|
||||
- Parameterized by `period` (default defaultperiod), `useema` (default defaultuseema).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (Ravi) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `longPeriod` bars (default 65) |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [ravi.pine](ravi.pine) |
|
||||
|
||||
- RAVI (Range Action Verification Index) measures trend strength by computing the absolute percentage divergence between a short-period SMA and a lon...
|
||||
- Parameterized by `shortperiod` (default 7), `longperiod` (default 65).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Multiple series (UpperBand, LowerBand) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `> period + 1` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [super.pine](super.pine) |
|
||||
|
||||
- SuperTrend is a trend-following overlay that uses ATR-scaled bands around the HL2 midpoint, switching between upper and lower bands based on close ...
|
||||
- Parameterized by `period` (default 10), `multiplier` (default 3.0).
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `Math.Max(Math.Max(bbPeriod, kcPeriod), momPeriod)` bars |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- John Carter's TTM Squeeze detects low-volatility compression by comparing Bollinger Band width against Keltner Channel width: when BB fits inside K...
|
||||
- Parameterized by `bbperiod` (default 20), `bbmult` (default 2.0), `kcperiod` (default 20), `kcmult` (default 1.5), `momperiod` (default 20).
|
||||
- Output range: Varies (see docs).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (TTM_TREND) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `> 2` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [TtmTrend.pine](TtmTrend.pine) |
|
||||
|
||||
- John Carter's TTM Trend uses a fast EMA (default period 6) applied to typical price (HLC/3) to determine short-term trend direction via slope sign.
|
||||
- Parameterized by `period` (default defaultperiod).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (Vhf) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period + 1` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [vhf.pine](vhf.pine) |
|
||||
|
||||
- VHF (Vertical Horizontal Filter) measures trend strength by dividing the price range over $N$ periods by the total absolute bar-to-bar path distanc...
|
||||
- Parameterized by `period` (default 28).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Multiple series (ViPlus, ViMinus) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [vortex.pine](vortex.pine) |
|
||||
|
||||
- The Vortex Indicator measures upward and downward trend momentum by computing the ratio of positive and negative vortex movements to true range ove...
|
||||
- Parameterized by `period` (default 14).
|
||||
|
||||
Reference in New Issue
Block a user