mcpField
T
templates

templates

github.com/traderspostDevelopment23347 installsUpdated 14w ago
Repository

About templates

A skill for browsing Pine Script indicator, strategy, and utility templates, explaining their customization points, and helping adapt a selection into a project file. It is intended for users starting or customizing Pine Script projects.

Key features

  1. 01Lists templates by category
  2. 02Describes purpose and included features
  3. 03Explains inputs and customization points
  4. 04Copies selected templates into projects/

Use cases

  1. 01Finding an RSI or moving-average starting point
  2. 02Adapting a strategy template to project needs

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/traderspost/pinescript-agents --skill templates

After installing, type/templatesin Claude Code to confirm it loaded.

Details

From the project README

Pine Script Templates

Browse available templates for quick project starts.

Instructions

When this skill is invoked:

  1. List all templates from the templates/ directory

  2. Organize by category:

    • templates/indicators/ - Indicator patterns
    • templates/strategies/ - Strategy patterns
    • templates/utilities/ - Helper functions
  3. Show template details:

    • Name and purpose
    • Key features included
    • Customization points

Template Categories

Indicators
  • Momentum (RSI, MACD variations)
  • Trend (Moving averages, channels)
  • Volatility (ATR-based, Bollinger)
  • Volume (Volume profiles, OBV)
Strategies
  • Trend Following (MA crossover, breakout)
  • Mean Reversion (Bollinger, RSI extremes)
  • Momentum (MACD, RSI strategies)
Utilities
  • Debug panels
  • Risk management helpers
  • Session filters
  • Alert builders

Using a Template

When user selects a template:

  1. Copy to projects/:

    • Rename to descriptive project name
    • E.g., templates/indicators/rsi-divergence.pine → projects/my-rsi-scanner.pine
  2. Explain customization points:

    • Which inputs to adjust
    • Where to add custom logic
    • How to modify visuals
  3. Help customize based on user needs

Quick Start

Suggest popular templates based on common requests:

  • "RSI indicator" → templates/indicators/rsi-momentum.pine
  • "Moving average strategy" → templates/strategies/ema-cross.pine
  • "Volume analysis" → templates/indicators/volume-profile.pine

Comments

Markdown supported