pine-patterns

Generate structured TradingView Pine Script v5/v6 indicator scaffolds with session-aware state patterns.

Updated May 19, 2026
One-click install
npx skills add https://github.com/sarkcesscrewpay/trading-intelligence-system --skill pine-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pine-patterns
Source: https://github.com/sarkcesscrewpay/trading-intelligence-system/tree/main/skills/pine%20_pattern
Command: npx skills add https://github.com/sarkcesscrewpay/trading-intelligence-system --skill pine-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces guesswork and rework when scaffolding TradingView Pine Script v5/v6 indicators by providing consistent structure, session/state patterns, and validation guidance.

Core Features & Use Cases

  • Indicator scaffolding: Establishes a lightweight, repeatable template with file conventions, versioning, and input group organization for faster development.
  • Session & state patterns: Provides reliable examples for session resets, persistent variables, RTH/session detection, and VWAP-style cumulative calculations.
  • Safety-minded development: Encourages verifying Pine syntax and function signatures using doc-researcher/Ref MCP to avoid deprecated calls and v5/v6 mismatches.

Quick Start

Ask an AI to generate a Pine Script v6 indicator using the provided pine-patterns conventions, including grouped inputs, session reset logic, and a VWAP + standard deviation band calculation.

Frequently Asked Questions about pine-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a TradingView Pine Script v6 indicator with session reset logic?

To scaffold a Pine Script v6 indicator with session reset logic, apply a repeatable template using persistent variables and RTH session detection. This enforces consistent input grouping and prevents state bleed during cumulative calculations like VWAP across distinct trading sessions.

What is the best way to structure inputs in Pine Script for TradingView indicators?

The best way to structure inputs in Pine Script is through consistent input group organization. Grouping related inputs logically creates a lightweight, repeatable template that accelerates indicator development and reduces maintenance guesswork.

Can I use Pine Script patterns to build VWAP bands with standard deviation calculations?

Yes, you can use Pine Script patterns to build VWAP bands with standard deviation calculations. These patterns provide reliable examples for VWAP-style cumulative calculations, combining session-aware state handling with band-style plots for accurate output.

Why does my TradingView Pine Script indicator fail after upgrading from v5 to v6?

Pine Script indicators often fail after upgrading from v5 to v6 due to deprecated function calls and syntax mismatches. Verifying function signatures and syntax differences using research tools prevents these errors and ensures version compatibility during indicator development.

Do I need to verify Pine syntax signatures manually for TradingView indicator development?

Verifying Pine syntax signatures manually is recommended to avoid deprecated calls and v5/v6 mismatches. Safety-minded development encourages using research tools to validate function signatures, ensuring your indicator scaffold remains compliant and structurally sound.