Pine Script

Candlestick chart with teal and coral gap zone boxes and a code icon: drawing gap zones in Pine Script

How to Draw Gap Zones in TradingView Pine Script

Draw gap zones in Pine Script v6 automatically and track whether each gap gets filled, using box objects and arrays together...
Rajandran R
10 min read
Matchstick igniting a rising trend line that becomes a rocket for a trend ignition system

The 10-Point Trend Ignition System – Tradingview Pinescript code

The 10-point trend ignition system for TradingView: Pine Script v6 code that scores 10 non-repainting daily signals to catch swing trends...
Rajandran R
16 min read
Chat bubble turning into a trading strategy blueprint about prompting AI to build strategies

How Experienced Traders Should Actually Prompt Claude to Build Strategies

Write a Claude trading strategy prompt that works: specify rules bar by bar, give context, build in stages and avoid the...
Rajandran R
9 min read
Relative rotation graph with coloured quadrants and rotating dot trails around a chip: building an RRG clone

Building an RRG Clone: A Real-World Test of Claude Sonnet 4.5’s Coding Capabilities

Free RRG indicator for TradingView in Pine Script v6, built with Claude Sonnet 4.5: how to use it, read the quadrants,...
Rajandran R
18 min read
Modular blocks snapping together into a trading dashboard with gauges and charts

Building a Modular PNL Tracker for TradingView PineScript Strategies

Build a reusable Pine Script PNL tracker that adds win rate, profit factor, drawdown and streaks to any TradingView strategy, with...
Rajandran R
13 min read
Row of glowing array cubes with push and pop arrows, explaining Pine Script arrays in TradingView

Understanding Arrays and Array Operations in TradingView Pine Script

Pine Script arrays explained: push, get, set, pop, shift, sort and size, how arrays differ from series, and a 40-stock Nifty...
Rajandran R
14 min read
Options payoff curve linked to four sensitivity gauges, option Greeks in TradingView Pine Script

First Order and Second Order Option Greeks in Tradingview Pinescript Code

Pine Script calculator for TradingView with real-time first and second order option Greeks like Charm and Vanna, plus premium and implied...
Rajandran R
14 min read
Glowing implied volatility surface fed by code lines from an editor, live option Greeks in Pine

Tradingview Pinescript – Real-Time Option Greeks with Implied Volatility Using Claude Sonnet 3.5 (Newer Model)

Real-time option Greeks Pine Script for TradingView: IV, Delta, Gamma, Theta and Vega for NSE options, converted from Amibroker AFL with...
Rajandran R
11 min read
V-shaped straddle payoff line beside a compact options dashboard panel with gauges

Simple Option Straddle Dashboard – Tradingview Pinescript v5

In this blog post, we’ll walk through creating a Simple Option Straddle Dashboard using TradingView’s Pine Script v5. This dashboard will...
Rajandran R
3 min read

My Experience Converting SSL Hybrid from PineScript to Amibroker AFL Code Using OpenAI’s New Reasoning Model ChatGPT o1-preview

As a trader and coding enthusiast, I often find myself needing to translate trading indicators from one programming language to another....
Rajandran R
7 min read

Pivot Reversal Strategy – Tradingview Pinescript to Amibroker AFL Conversion

Pivot reversal strategy AFL converted from TradingView's built-in Pine Script strategy, with code fixes and a backtest add-on that mimics stop-order...
Rajandran R
6 min read

Using Tables in TradingView Pinescript – Tutorial

Pine Script table tutorial: create TradingView dashboards with table.new() and table.cell(), five practical uses, v5 code and an updated v6 version.
Rajandran R
9 min read