Hoa Kỳmihakralj/pinescript
A collection of meticulously crafted technical indicators for TradingView's Pine Script 6, implemented with mathematical rigor versus forum folklore. Properly initialized, optimized for speed, with accurate FIR/IIR implementations that remain stable during market volatility. Your charts deserve better than guess-work disguised as math.
README - Readme
Architectural problem
Technical analysis on live charts has two failure modes: inconsistent warm-up behavior and unpredictable runtime cost. This repository documents Pine implementations with a streaming-first lens so those failure modes stay visible, testable, and controllable.
Architectural stance
Every indicator page is written for technical evaluation, not marketing. Design choices are presented with trade-offs, source-level evidence, and concrete verification steps.
Welcome, chart wizards
This repository is a large collection of technical indicators assembled with mathematical care, operational caution, and the calm optimism of someone debugging Pine at 2 a.m.
Use it copy-paste if needed, but the real value is understanding bar-zero behavior, warm-up effects, and runtime constraints before they surprise you in live charts.
Features (with mild sarcasm, still useful)
- Mathematically grounded implementations: aligned with canonical definitions, not folklore copied from a forum thread with three rocket emojis.
- Deterministic initialization: explicit warm-up behavior instead of ceremonial
nahandling and crossed fingers. - Runtime awareness: notes call out where Pine limitations can turn elegant ideas into expensive chart decorations.
- Source-first documentation: docs are expected to match code, so your future self can verify claims without archaeology.
- Practical engineering bias: if a method is fast, stable, and explainable, it wins over clever but fragile tricks.
Repository facts
- Pine source files: 416
- Canonical upstream project: https://github.com/mihakralj/QuanTAlib
Indicator families
- Channels and Bands — 22 documented scripts
- Core Price Transforms — 7 documented scripts
- Cycles — 16 documented scripts
- Dynamics — 20 documented scripts
- Error Metrics — 27 documented scripts
- Filters — 40 documented scripts
- Forecasts — 2 documented scripts
- Momentum — 19 documented scripts
- Numerics — 41 documented scripts
- Oscillators — 47 documented scripts
- Reversals — 10 documented scripts
- Statistics — 34 documented scripts
- Trends - FIR — 34 documented scripts
- Trends - IIR — 36 documented scripts
- Volatility — 28 documented scripts
- Volume — 27 documented scripts
Practical usage (the part where charts meet reality)
- Open
indicators/and select the family you actually need (or the one your backtest said looked magical yesterday). - Open the linked
.pinesource from the docs page. - Use the full script in TradingView, or extract only the function block into your own script.
- Run on short and long histories to inspect warm-up behavior and stability.
- If results look too perfect, assume you found either a bug or a future Nobel Prize; statistically, it is the first one.
Contributing expectations
Contributions should preserve mathematical correctness, deterministic initialization behavior, and runtime efficiency.
Include concise rationale for algorithmic changes and keep documentation aligned with source.
If a patch is clever but unverifiable, it is just performance art and will be treated accordingly.
License
MIT License.
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Pine Script-compatible Python runtime for indicators and strategies, validated against TradingView on real published scripts
Run Pine Script® anywhere. PineTS is LuxAlgo's open-source Pine Script® runtime for Node.js and the browser.
A collection of custom Pinescript files for TradingView. Includes indicators, multi-alert scripts, and over 50 custom trading strategies to enhance your trading analysis.
1,713 technical analysis indicators for the lightweight-charts library: 117 standard, 1,551 community ports and 45 candlestick patterns, with a renderer for plots, drawings and tables
A collection of indicators written in Pine script for TradingView platform.
A minimal but powerful Trend Direction/BuySell indicator for TradingView
A Comprehensive Collection of Everything Related to Tradingview Pine Script.