Create indicators and strategies with AI Copilot

AI Copilot can write Pine Script for you — indicators and strategies — and apply them to your chart right away. You don't need to know Pine to get started: describe what you want in plain language, and AI Copilot generates the script, checks it for errors, and adds it to your chart.

CONTENTS:

Create an indicator

Describe the indicator you want, and AI Copilot will create and apply it for you. For example:

  • Write a Pine indicator that plots the difference between EMA 20 and EMA 50 as a histogram and changes color when the sign flips.
  • Add a custom RSI that highlights when it crosses 30 and 70.

AI Copilot generates the script, checks it, and adds it to your chart. If there's an error, it can read the error and fix the code.

Create a strategy

Ask for a strategy the same way, and AI Copilot writes and applies it so you can see it on your chart. For example:

  • Write a strategy that goes long when EMA 20 crosses above EMA 50 and exits on the opposite cross.

Optimize a strategy

AI Copilot can test different parameter combinations for a strategy and report which ones performed best, so you don't have to change inputs by hand one at a time. For example:

  • Try different EMA lengths for this strategy and show me which settings performed best.

Review a backtest

Once a strategy is on your chart, AI Copilot can read its backtest report and explain the key numbers — profit factor, max drawdown, win rate, and average trade — in plain language. For example:

  • Break down the backtest results — profit factor, max drawdown, win rate, average per trade — and tell me whether this strategy looks viable.

Tips

  • Be specific about the logic, timeframe, and any inputs you care about.
  • If a script has an error, just ask AI Copilot to fix it.
  • Backtest results describe the past and don't guarantee future performance — review them critically before you rely on a strategy.