RepositoryPythonUSUnited States
mihakralj

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.

51stars
19forks
0issues
0views

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 na handling 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

Indicator families

Practical usage (the part where charts meet reality)

  1. Open indicators/ and select the family you actually need (or the one your backtest said looked magical yesterday).
  2. Open the linked .pine source from the docs page.
  3. Use the full script in TradingView, or extract only the function block into your own script.
  4. Run on short and long histories to inspect warm-up behavior and stability.
  5. 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.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
PyneSys/pynecore

Pine Script-compatible Python runtime for indicators and strategies, validated against TradingView on real published scripts

274
Nov 19, 2026
RepositoryTypeScript
LuxAlgo/PineTS

Run Pine Script® anywhere. PineTS is LuxAlgo's open-source Pine Script® runtime for Node.js and the browser.

960
Nov 13, 2026
RepositoryJavaScript
Alorse/pinescript-strategies

A collection of custom Pinescript files for TradingView. Includes indicators, multi-alert scripts, and over 50 custom trading strategies to enhance your trading analysis.

370
Aug 25, 2026
RepositoryTypeScript
deepentropy/lightweight-charts-indicators

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

341
Nov 13, 2026
Repository
harryguiacorn/TradingView-Proprietary-Indicators

A collection of indicators written in Pine script for TradingView platform.

225
May 8, 2025
RepositoryTypeScript
TradingGoose/TradingGoose-Studio

Build your own AI investment system

172
Nov 20, 2026
Repository
Triex/TriexDev-SuperBuySellTrend-TradingView-Trend-Indicator

A minimal but powerful Trend Direction/BuySell indicator for TradingView

148
Dec 15, 2023
RepositoryPython
zvtvz/zvt

modular quant framework.

4.3k
Jul 1, 2026
RepositoryPython
pAulseperformance/awesome-pinescript

A Comprehensive Collection of Everything Related to Tradingview Pine Script.

2.0k
Nov 17, 2026