Skip to content
  • Documentacion

Start Here

8
  • What’s TradeAdapter
  • How TradeAdapter works
  • Supported Platforms & Brokers
  • Requirements
  • Quick Start
  • Indicator vs Strategy
  • Strategy Example
  • Safety & Risk Disclaimer

Direct API

15
  • Overview
  • Binance Guide
  • Binance US Guide
  • Bybit Guide
  • MEXC Guide
  • Kucoin Guide
  • Kraken Guide
  • Coinbase Guide
  • OKX Guide
  • BingX Guide
  • Bitget Guide
  • Gate.io Guide
  • Alpaca Guide
  • Capital Guide
  • OANDA Guide

MetaTrader

6
  • Overview
  • MT4 Setup
  • MT5 Setup
  • TradingView Alerts
  • EA Settings
  • Symbol alignment

FAQ

7
  • Overview
  • Binance
  • Bybit
  • Bitget
  • TradingView
  • Metatrader
  • Other
View Categories
  • Home
  • Docs
  • Start Here
  • Indicator vs Strategy

Indicator vs Strategy

Indicator vs Strategy

Both work with TradeAdapter — the key difference is how you create alerts in TradingView.

The key difference #

Indicator

You create one alert per action (Buy, Sell, Close, TP, SL…). Each gets its own message.

  • 1 alert = 1 action
  • You pick the condition and set the message
  • Full control over every signal
Strategy

You create just 1 alert for the entire strategy. TradingView sends order events (entry, exit, TP, SL) automatically.

  • 1 alert = all actions
  • Orders come from strategy logic
  • Backtest-friendly

How to know which one you have #

  1. Open Pine Editor in TradingView

    Look at the first lines of your script. You’ll see either indicator(...) or strategy(...).

  2. No code access?

    Create an alert (Alt + A). If you see “Order fills only” under Condition, it’s a strategy — one alert handles everything. If instead you see individual conditions like Long, Short, Buy, Sell, TP, SL, Exit, Close, etc., it’s an indicator — you’ll create one alert per action.

Quick comparison #

Indicator Strategy
Alerts needed 1 per action (buy, sell, close…) 1 total
Signal source Alert conditions you define Strategy order events
Message format Fixed values: "order_action": "Buy" Placeholders: "order_action": "{{strategy.order.action}}"
Backtesting Not built-in Built-in
Flexibility Maximum — full control Tied to strategy logic

Common pitfalls #

  1. Duplicate alerts (indicators)

    Indicators can fire multiple times per bar. Use “Once per bar close” to avoid repeated signals.

  2. Missing exits

    If your alerts don’t include close/exit logic, positions may stay open. Make sure every entry has a matching exit.

  3. Wrong message format

    Indicator alerts use fixed order_action / order_contracts. Strategy alerts use {{strategy.order.action}} / {{strategy.order.contracts}} placeholders. Use our Message Generator to avoid errors.

MetaTrader

Using MT4/MT5? Make sure the EA is installed and running first: MT4 Setup · MT5 Setup

Updated on February 26, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Quick StartStrategy Example
Table of Contents
  • The key difference
  • How to know which one you have
  • Quick comparison
  • Common pitfalls
© 2026 • Built with GeneratePress