Market order vs limit order vs stop order: which should TradingView automation use?
Market orders prioritize execution, limit orders prioritize price but may not fill, and stop orders activate after a trigger level. The correct order type depends on the strategy's intent; a connector should not silently substitute one for another.
Why this matters
This question belongs to the reliability layer of automated trading. The goal is not merely to make a signal execute once; it is to make the result predictable, observable and safe when timing, networks, broker rules or account state change.
Automation chain
TradingView/Pine calculation
↓
Server-side alert
↓
Webhook transport
↓
NRUNO validation + routing
↓
cTrader execution
↓
Broker result
↓
Position reconciliation
Real-world scenarios
Scenario A — Immediate breakout entry
How to diagnose it: Record the exact symptom, preserve the relevant timestamps and IDs, identify the last successful stage, then use the next stage's log or cTrader result to locate the failure. Correct only that layer and reproduce the same case on demo.
Scenario B — Pullback limit
How to diagnose it: Record the exact symptom, preserve the relevant timestamps and IDs, identify the last successful stage, then use the next stage's log or cTrader result to locate the failure. Correct only that layer and reproduce the same case on demo.
Scenario C — Stop-entry above resistance
How to diagnose it: Record the exact symptom, preserve the relevant timestamps and IDs, identify the last successful stage, then use the next stage's log or cTrader result to locate the failure. Correct only that layer and reproduce the same case on demo.
Deep diagnostic workflow
- Record the intended action, symbol, timeframe and exact UTC time.
- Confirm what Pine knew at that moment—not what the historical chart shows later.
- Inspect the server-side TradingView alert and its delivery result.
- Record the receiver's signal ID, validation result and normalized command.
- Record the resolved cTrader account, symbol and volume.
- Record the exact cTrader/broker response.
- Reconcile the final order/position state.
- Reproduce the failure on demo after changing only one variable.
Example — EURUSD automation
A EURUSD signal may be logically correct but still produce a different live result because of bar timing, spread, symbol volume rules, a stale queued command or broker rejection. The audit trail should make it possible to state exactly where the intended action changed into the observed result.
Example — fast 1-minute strategy
For a 1-minute strategy, milliseconds can matter, but Pine timing and execution timing are separate. A signal that waits for candle confirmation has a deliberate strategy delay; that should not be reported as webhook latency. Conversely, a fast alert with a slow broker fill is not a Pine problem.
Safe implementation rules
- Define one source of truth for action, account, symbol and volume.
- Use explicit units and explicit timezones.
- Give time-sensitive signals an expiry.
- Make duplicate processing idempotent.
- Separate transport retry from broker retry.
- Never silently transform an invalid command into a different valid trade.
- Keep demo and live routing visibly separate.
- Allow exits even when an entry-time filter would block a new position, unless the strategy explicitly says otherwise.
- Preserve exact error codes for support and future Wiki improvements.
NRUNO implication
A reliable NRUNO execution trace lets a user answer: Was the signal generated? Was it delivered? Was it accepted? Which account/symbol did it resolve to? What did cTrader return? What position resulted? Support cases from these states can later become anonymized scenarios in this Wiki.
Likely follow-up questions
This page should link to the immediately adjacent problem in the user's decision path—for example repainting → bar confirmation → order timing; volume → lots/units → risk sizing; disconnect → stale signal → retry policy; multi-account → routing → wrong-account prevention.
Primary sources
Need a TradingView → cTrader execution route?
NRUNO routes your TradingView instructions to cTrader. Your strategy and signal logic remain yours.