Guide
Why did my sell alert arrive before my buy alert?
Nyria does not guarantee the order of alerts sent close together. A sell alert posted right after a buy alert can arrive first, and two alerts that conflict can leave a position you did not intend. Leave a gap of at least 30 to 60 seconds. To flip a position, send one alert that reverses it instead of an exit followed by an entry.
Official documentation
Fix alerts that arrive out of order
- 1
Check the arrival order
Open the strategy's Logs tab. It has one entry per incoming alert, so you can see which one Nyria received first.
- 2
Compare with your broker
Open the positions page at your broker. Nyria tracks the orders it placed, so the broker shows what is really open.
- 3
Space the alerts out
Keep a gap of at least 30 to 60 seconds. TradingView can send an alert up to a minute late.
- 4
Reverse with one alert
Set both sides to Enter position and send one alert that reports the flip, not an exit followed by an entry.
- 5
Close what is wrong
If an unintended position is open, close it at your broker, or send a CLOSE alert with the direction you hold.
Why alerts race
- Each alert source adds its own delivery time, so two alerts sent together can land in either order.
- A sell that lands before its buy finds no open position, so Nyria logs it Skipped and sends nothing.
- The buy then opens a position you meant to close.
What to change in the strategy
- Do not build a strategy that sends conflicting alerts.
- Use one alert to flip between long and short.
- Wait 30 to 60 seconds before sending the next.
Related limits
- TradingView can send an alert up to a minute late.
- Discord, Telegram and TrendSpider add their own delivery time.
- Nyria is built for 1-minute timeframes and slower.
Questions
- Does Nyria guarantee the order of alerts?
- No. Alerts sent close together can arrive in either order.
- What happens when a sell arrives first?
- With no open position, Nyria sends nothing to the broker and logs the exit Skipped.
- How long should I wait between alerts?
- Leave at least 30 to 60 seconds.
- How do I flip long to short safely?
- Send one alert that reverses the position, not an exit and then an entry.
- Where do I see what arrived?
- The strategy's Logs tab has one entry per incoming alert.
- What does it cost?
- Paper is free. Live trading from $15 a month.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Write a TradingView message with the alert builder.
- Step by step for one account: how to automate TradingView to Alpaca.
- Step by step for one account: how to automate TradingView to tastytrade.
- Alert tester.
Guides
Why does my TradingView alert place duplicate orders?
TradingView fired twice. Nyria drops a repeat body, and skips a second entry when multiple entries are off.
Read guideWhy did my TradingView alert expire?
Alerts stop on their expiration date. Recreate the alert and the bot hears it again.
Read guideHow do I close or reverse a position with a TradingView alert?
CLOSE with the direction exits. One alert that reports the flip reverses.
Read guideWhy is my trading bot not placing orders?
Open the bot's Logs tab. Seven states explain a bot that places nothing.
Read guideWhy was my trading bot's exit skipped?
Skipped exits send nothing. Five causes, one leaves a position open.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.