# TradingView alerts: settings, limits and why an alert was not traded

Which of your settings a TradingView listener uses, what an alert may decide and what your settings always decide, the size an alert gives, breakeven and trailing from an alert, what counts on your plan, and every reason in the alert log with what to do about it.

## Settings for every listener, for Telegram, for TradingView

Most settings work the same for every listener: sizing, stops, take-profits and trailing, runners, the safety limits, trading days and hours, the symbol lists. Some are only about reading a Telegram group, and some only about TradingView alerts.

In Settings, each setting shows a mark beside its name: a globe for every listener, "Telegram" for Telegram groups only, "TradingView" for TradingView alerts only. Above the settings, "All", "Telegram" and "TradingView" show the settings that kind of listener uses. It starts on the kind your listeners are.

![The Settings filter on TradingView](/img/help/tradingview/settings-filter.png)

A TradingView listener's own settings show only what applies to it.

**Telegram groups only** (a TradingView listener does not use them): the group and its topics, "Read calls without a number", "Leave out messages containing", "Follow analysis", "Entry mode", "Enter as the message says", "Where in an entry range", "Stop orders", "Let both sides of a straddle trade", the group's follow-ups ("Exits and stop moves", "Partial closes and target moves", "Share closed when none is given"), and "Duplicate window (min)" with its tolerance.

**TradingView alerts only:** "Use the size the alert gives".

**What a new TradingView listener starts with.** Three settings of its own, where alerts want other than a Telegram group: "Opposite-direction signals" on "Close them, then trade it", so an indicator that flips from buy to sell closes the buys and sells, and never holds both; "Protect runners" and "Close runners before the weekend" off, so a strategy's own exits decide and a trade with no take-profit stays until the strategy's alert closes it. They are under the listener's "Settings of its own", to change like any other; the profile's settings stay as they are.

## What an alert decides, and what your settings decide

An alert may decide: buy or sell, at the market or with a limit or stop order, the stop-loss and take-profits, a breakeven, a trailing stop, a spread limit, and closing or managing its own trades.

Your settings always decide, whatever the alert says:

- the size, unless the listener uses the alert's size (below);
- the limits: the maximum lots per trade or per signal, "Max open positions", the daily loss and profit lines, the funded-account rules;
- when it trades: "Trading days" and "Trading hours";
- what it trades: the symbol lists;
- the listener's mode: on "Watch — record only" nothing is placed, on "Manual — wait for my approval" each trade waits for you.

What an alert does not say is decided by your settings: a trade without a stop-loss gets your default stop (or is skipped under "Require stop-loss"); without take-profits, your settings for take-profits and runners apply.

A TradingView listener always enters the way the alert says: at the market, or with the limit or stop order it asks for. The listener's "Max entry deviation" still holds: when the alert gives the price it fired at, the trade is not chased further than that.

## The size an alert gives

"Use the size the alert gives" (in the listener's own settings) is off at first: every trade is sized by your sizing settings.

On, an alert that says how much to trade is traded at that size: the lots of `vol_lots=` or `risk=` in a PineConnector line, `"lots"` or `"risk_percent"` in our format, the contracts of a strategy's message. Your limits still hold: an alert asking for more than your maximum lots is cut down to it.

A strategy's contracts on TradingView are not always lots at your broker. TradingView's built-in strategies, for example, size by a share of their own equity: on gold that is ounces, and an alert of theirs says "order buy @ 60.42", which as lots would be sixty lots. Your maximum lots cut it down, but it is not what you meant. Leave this setting off for such a strategy, or set its order size in TradingView to the lots you want, and check the first trades on a demo account or on "Watch — record only".

## Breakeven, trailing and closing from an alert

An alert can give its trade a breakeven ("stop to the entry after 20 pips, 2 pips past it") and a trailing stop ("starts after 30 pips, 25 pips behind, in steps of 5"). The app looks after those stops like a runner's: the stop only ever moves to protect more, never further away, and it goes on after the app restarts.

An alert's instructions about its own trades (close, close part, close one side, cancel waiting orders, move the stop or the target, breakeven) are always carried out on that listener's trades on the symbol. The settings about a group's follow-ups are Telegram's and do not stop them.

## What counts on your plan

- A TradingView listener counts toward the number of listeners your plan runs at once.
- **An alert read exactly is free:** a strategy's message, a PineConnector line, JSON, a message that is only a command (`buy`, `SELL XAUUSD`, `close long`), our format, the Buy, Sell and Close addresses. It does not count toward your daily signals.
- An alert in plain words, read by the reader, counts toward your daily signals and your daily readings, as a Telegram message does.

## Why an alert was not traded

The alert log says why, under each alert:

| The log says | Why | What to do |
|---|---|---|
| "Not understood" | the message said no buy, sell or close, or no symbol | use the Buy, Sell or Close address, fill in "What does it trade?", or write the message (see https://relay2trade.com/help/tradingview-alert-messages.md) |
| "Not placed" | your settings turned it down; the reason follows (trading hours, a limit, the spread, the symbol lists…) | the reason names the setting; open it from the signal's story |
| "Too old" | the app was off or offline and took it after your "Max signal age (min)" | keep the app running, on a VPS for alerts at any hour |
| "No app signed in" | no app is signed in to your account | start the app on your computer or VPS |
| "Listener off" | the listener's switch is off | switch it on |
| "Refused" | your plan has ended, or TradingView alerts are not in it; your plan stopped this profile or paused this listener (it runs fewer than you have on); or the day's limit for alerts read by the reader is used up | see https://relay2trade.com/help/your-limits-explained.md |
| "Refused", your app is older than 3.0 | the app on your computer or VPS has not updated yet | let it update (restart it), then send the alert again |
| "Failed" | something went wrong on our side | send it again; if it repeats, write to support |

An alert that never shows in the log never reached us: check in TradingView that "Webhook URL" is ticked with your address, that the alert fired (its log in TradingView), that its notification schedule covers that hour (keep it on 24/7), that it was not stopped for firing too often, and that your TradingView plan sends webhooks.

## Repeated alerts and late exits

An alert that buys or sells a symbol the listener already holds that way is left out as repeated: an indicator that fires buy twice means one buy. When your strategy adds to its positions, say so in the setup ("Does your strategy add to a position that is already open?") or set "Repeated alerts" to "Add a trade each time" in the listener's settings: each entry then opens another trade. An alert the other way follows "Opposite-direction signals".

An exit (a close, a partial close, cancelling a waiting order) is always carried out, however late it comes, so a position is never left open because its exit arrived while the app was off. Entries and stop or target moves keep to your "Max signal age (min)".

## Several strategies, several listeners

Give each strategy its own listener when you want them to trade differently: one on "Auto" with a small size, another on "Manual" while you test it, each with its own "Settings of its own". Each has its own address, its own log, and its trades are its own: a close from one strategy's alert never closes the other's trades.
