NRUNO Trading Automation Wiki · Question 18

Why does my Close signal open another trade instead of closing it?

cTrader Execution & Broker ErrorsLast reviewed: 25 Aug 2026
Short answer

SELL can mean open short, not close long. Hedged and netted accounts behave differently, so exits should use explicit close semantics.

What this means in practice

SELL can mean open short, not close long. Hedged and netted accounts behave differently, so exits should use explicit close semantics. This page is specifically about “Why does my Close signal open another trade instead of closing it?”, so each scenario below is explained by its own mechanism instead of sharing one generic diagnosis.

Real-world scenarios

Scenario A — Hedged long+SELL

Resolve current cTrader exposure before acting. An opposite order can hedge, flatten or reverse depending on account model and state, so explicit OPEN, CLOSE and REVERSE semantics are safer than ambiguous BUY/SELL behavior. For Scenario A — Hedged long+SELL on question 18, use that evidence specifically to answer “Why does my Close signal open another trade instead of closing it?”; keep it separate from the evidence for the other scenarios on this page.

Scenario B — Netted equal SELL

Resolve current cTrader exposure before acting. An opposite order can hedge, flatten or reverse depending on account model and state, so explicit OPEN, CLOSE and REVERSE semantics are safer than ambiguous BUY/SELL behavior. For Scenario B — Netted equal SELL on question 18, use that evidence specifically to answer “Why does my Close signal open another trade instead of closing it?”; keep it separate from the evidence for the other scenarios on this page.

Scenario C — Oversized reverse

Resolve current cTrader exposure before acting. An opposite order can hedge, flatten or reverse depending on account model and state, so explicit OPEN, CLOSE and REVERSE semantics are safer than ambiguous BUY/SELL behavior. For Scenario C — Oversized reverse on question 18, use that evidence specifically to answer “Why does my Close signal open another trade instead of closing it?”; keep it separate from the evidence for the other scenarios on this page.

Scenario D — CLOSE_LONG

Inspect the mechanism named by “Scenario D — CLOSE_LONG” directly. Record its input, the state immediately before it and the first observable output that differs from the intended result. For Scenario D — CLOSE_LONG on question 18, use that evidence specifically to answer “Why does my Close signal open another trade instead of closing it?”; keep it separate from the evidence for the other scenarios on this page.

What to check

  • intended signal/action
  • last stage that definitely succeeded
  • first stage that differs from intent
  • final cTrader state after the event

Practical rule

For “Why does my Close signal open another trade instead of closing it?”, change only the first layer whose evidence no longer matches the intended action. Preserve signal identity, timestamps and final cTrader state, and reproduce execution-affecting changes on demo before live use.

Decision summary

Direct answer: SELL can mean open short, not close long. Hedged and netted accounts behave differently, so exits should use explicit close semantics.

Next action: Match the observed evidence to one scenario above, test that mechanism independently on demo and keep the result traceable with one signal ID.

Primary sources

Need a TradingView → cTrader execution route?

NRUNO routes your TradingView instructions to cTrader. Your strategy and signal logic remain yours.