mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-19 19:18: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** | Single series (AVGPRICE) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `1` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [avgprice.pine](avgprice.pine) |
|
||||
|
||||
- AVGPRICE computes the arithmetic mean of a bar's four canonical prices: Open, High, Low, and Close.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
|
||||
+1
-2
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (HA) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `1` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [ha.pine](ha.pine) |
|
||||
|
||||
- HA transforms standard OHLC bars into smoothed Heikin-Ashi candles by averaging each component with its predecessor.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (MEDPRICE) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `1` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [medprice.pine](medprice.pine) |
|
||||
|
||||
- MEDPRICE computes the midpoint of a bar's High and Low: $(H + L) \times 0.5$.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `1` bars |
|
||||
|
||||
### TL;DR
|
||||
|
||||
Midbody computes the arithmetic mean of Open and Close prices: $(O + C) \times 0.5$. It captures where price started and ended within a bar, ignoring intra-bar extremes. No lookback period, no state, always hot after the first bar. Equivalent to `TBar.OC2`.
|
||||
|
||||
## Historical Context
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (Midpoint) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [midpoint.pine](midpoint.pine) |
|
||||
|
||||
- Single-series rolling midpoint: `(Highest(V, N) + Lowest(V, N)) * 0.5`.
|
||||
- Parameterized by `period`.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (Midprice) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `period` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [midprice.pine](midprice.pine) |
|
||||
|
||||
- MIDPRICE computes the center of a rolling price channel by averaging the highest High and lowest Low over the past $N$ bars: $(\text{Highest}(H, N)...
|
||||
- Parameterized by `period`.
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | 1 bar |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- `SimdExtensions` provides high-performance, SIMD-accelerated extension methods for `ReadOnlySpan<double>`.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
- Output range: Varies (see docs).
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | 1 bar |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- `TBar` is a lightweight, immutable struct representing a single OHLCV (Open, High, Low, Close, Volume) bar.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
- Output range: Varies (see docs).
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | 1 bar |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- `TBarSeries` is a high-performance collection of OHLCV bars.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
- Output range: Varies (see docs).
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | 1 bar |
|
||||
|
||||
### TL;DR
|
||||
|
||||
- `TSeries` is a high-performance, memory-efficient container for time-series data.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
- Output range: Varies (see docs).
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | 1 bar |
|
||||
|
||||
## TL;DR
|
||||
|
||||
- `TValue` is the fundamental atomic unit of data in QuanTAlib.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
- Output range: Varies (see docs).
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (TYPPRICE) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `1` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [typprice.pine](typprice.pine) |
|
||||
|
||||
- TYPPRICE computes the equal-weighted average of Open, High, and Low: $(O + H + L) \times \frac{1}{3}$.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
| **Outputs** | Single series (WCLPRICE) |
|
||||
| **Output range** | Varies (see docs) |
|
||||
| **Warmup** | `1` bars |
|
||||
|
||||
### TL;DR
|
||||
| **PineScript** | [wclprice.pine](wclprice.pine) |
|
||||
|
||||
- WCLPRICE computes a Close-biased average of High, Low, and Close by double-weighting the closing price: $(H + L + 2C) \times 0.25$.
|
||||
- No configurable parameters; computation is stateless per bar.
|
||||
|
||||
Reference in New Issue
Block a user