Indicators & Scripts — Pine Script Ready to Copy
Free library of Pine Script indicators ready to use on TradingView. All tested, working, and AI-generated.
🎯 About this library
Every indicator here is Pine Script v5, TradingView’s native language. They were generated with AI (ChatGPT and Claude), tested on TradingView, and reviewed to make sure they work.
You can copy the code and paste it directly into TradingView’s Pine Editor. No installation needed, no programming knowledge, no payment. Everything works on the free tier.
Most indicators include configurable alerts, customizable parameters, and visual signals (arrows, colors, labels).
📖 How to use the indicators
- Pick the indicator you want to use
- Click the “📋 Copy” button on the code block
- Open TradingView and go to the Pine Editor tab
- Delete the default code and paste the copied code
- Click “Add to chart”
- The indicator appears automatically on your chart
🔥 Available Indicators
10 Ready-to-Use Pine Script Indicators
Pack of 10 indicators: RSI with arrows, EMA Cross, Bollinger+RSI, MACD, Support/Resistance, Volume, EMA Rainbow, RSI Divergence, Candle Patterns, and SuperTrend.
Automatic Fibonacci Indicator
Detects swing highs/lows automatically and draws the 7 Fibonacci levels with colors and labels. Alert at the 61.8% level.
SuperTrend + MACD Combo
Combines trend (SuperTrend) with momentum (MACD) to generate high-probability signals. Status dashboard on chart.
Custom Ichimoku Cloud
Customized version of Ichimoku Kinko Hyo with improved colors, automatic buy/sell signals, and a complete dashboard.
🧩 Pine Script ta.* Functions
ta.supertrend: Function, Syntax and Example
Complete guide to ta.supertrend: syntax, parameters, and a ready-to-use example with buy and sell signals on the chart.
ta.rsi: Function, Syntax and Example
How ta.rsi works: syntax, parameters, and a practical example with overbought/oversold levels and alerts.
ta.macd: Function, Syntax and Example
The ta.macd function explained: MACD line, signal line, and histogram with a working example ready to copy.
ta.bb (Bollinger Bands): Function and Signals
Bollinger Bands with ta.bb: syntax, band touch signals, squeeze detection, and a ready-to-use example.
ta.sma, ta.ema and ta.wma: Moving Averages
The three moving average functions compared: when to use SMA, EMA, or WMA, with code examples for each.
ta.crossover and ta.crossunder: Signal Detection
Detect crossovers in Pine Script: how ta.crossover and ta.crossunder generate precise entry and exit signals.
⚙️ Strategy & Automation in Pine Script
strategy.entry and strategy.exit: Build and Test
Build and test complete strategies: entries, exits, stop loss, and take profit with strategy.entry and strategy.exit.
strategy.entry and strategy.close: Backtest Orders
How to send and close orders in backtests with strategy.entry and strategy.close, with practical examples.
request.security: Multi-Timeframe Without Repaint
Pull data from other timeframes without repainting: correct request.security usage with lookahead and barmerge.
label.new and label.delete: Practical Guide
Draw and manage labels on the chart: label.new, label.delete, styles, positioning, and dynamic text.
alertcondition + Webhook: Automate Alerts
Turn your signals into automated alerts: alertcondition setup plus webhook integration to automate execution.
🚀 Use the indicators on a real account
After testing the indicators on TradingView, apply your strategies on Deriv — the platform with the most tools for AI and automation.
Open Free Demo Account →📚 You may also like
Build Indicators with ChatGPT and Claude
Learn how to generate your own custom indicators using AI. Ready-to-use prompts and examples.
TradingView Free for Trading
Complete guide to free TradingView. How to use the Pine Editor, set up alerts, and build your workflow.
How to Backtest
Test your indicators with historical data. Convert to a strategy and analyze the results.
Pine Script v6 — TradingView 2026 Update Guide
Everything new in Pine Script v6: key changes, migration tips, and what the 2026 update means for your scripts.
Claude vs ChatGPT for Trading (Pine Script)
Head-to-head comparison: which AI writes better Pine Script indicators and strategies for TradingView.
