NRUNO Trading Automation Wiki

Accounts, Routing & Multi-Account Safety

Account targeting, demo/live separation, multiple accounts and position targeting.

008How do I send Buy, Sell and Close commands from TradingView?

Use explicit semantics: BUY/SELL for entries and CLOSELONG/CLOSESHORT/CLOSEPOSITION for exits. An opposite entry is not always the same as closing.

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

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

041Hedging vs netting: what happens to opposite automated signals?

On Hedged accounts, opposite positions can coexist. On Netted accounts, positions on the same symbol consolidate into one net position, so the same opposite signal can have a…

042How do I close one specific cTrader position from an external signal?

Use an unambiguous position reference or deterministic targeting rule. Symbol and side alone can be insufficient on a Hedged account that contains multiple positions.

068How do I safely automate multiple cTrader accounts?

Treat account routing as part of the command's security boundary. Each signal must resolve to the intended authorized account, with separate execution state, risk limits and…

069How should account routing work in a TradingView webhook?

Do not trust a free-form account number from an unauthenticated webhook. Map a connector/token or authenticated routing identifier to an authorized server-side account…

070How do I prevent a signal from reaching the wrong cTrader account?

Use server-side authorization, immutable connector-to-account mappings, environment separation for demo/live, validation before dispatch and audit logs that record the resolved…