This article explains what you can still do on an account that Riskanto, FlowBots' risk-management add-on for NinjaTrader 8, has locked: closing and reducing positions, stops and targets, cancelling orders, what happens to your working orders when the lock comes, and what Riskanto does if a position still grows on a locked account.
Short answer
A locked account refuses new entries: orders that would open a position, add to one or reverse it. Everything that reduces risk still works: closing, reducing and cancelling. Whether your open positions are closed when the lock comes depends on the rule that locked the account (see the table below).
What still works on a locked account
- Closing a position: Close or Flatten in Chart Trader or the SuperDOM, or any order on the closing side up to the size of the position.
- Reducing a position: a partial close on the closing side.
- Stops and targets of an open position: they are closing orders, so they are not refused. A bracket's own stop and target are never refused.
- Cancelling any order: never blocked.
Every refusal you get on a locked account says so: Riskanto: order refused, the account is locked (...). Closing orders still work. See Riskanto: order refused, the account is locked for which orders are refused.
What is refused
- A new entry on a flat instrument.
- An order on the same side as the position (it adds to it).
- An order on the closing side larger than the position (a reversal). For example, on long 1, a sell of 3 is refused.
Orders sent from the broker's website or app, or from another platform, are judged too: one that would open, add to or reverse the position is cancelled (Activity: Outside order cancelled (locked)).
Which locks close your positions and which keep them
| Lock | Open positions | Working orders |
|---|---|---|
| Daily loss limit | Closed | Cancelled, stops and targets included |
| Daily profit target | Closed | Cancelled, stops and targets included |
| Profit give-back floor | Closed | Cancelled, stops and targets included |
| Weekly loss limit | Closed | Cancelled, stops and targets included |
| Weekly profit target | Closed | Cancelled, stops and targets included |
| Trailing drawdown | Closed | Cancelled, stops and targets included |
| Manual lock with Close open positions now | Closed | Cancelled, stops and targets included |
| Manual lock without Close open positions now | Kept | Only orders that would open or add are cancelled; stops and targets stay |
| Max trades per day | Kept | Only orders that would open or add are cancelled; stops and targets stay |
| Losing trades in a row | Kept | Only orders that would open or add are cancelled; stops and targets stay |
| Pause after losses | Kept | Only orders that would open or add are cancelled; stops and targets stay |
| Trailing drawdown with no mark | Kept | Only orders that would open or add are cancelled; stops and targets stay |
- When the lock closes the positions, the positions are closed and the working orders of every instrument with a position or a working order are cancelled.
- When a lock message opens for a lock that keeps the positions, it says Open positions were kept: they can be reduced or closed, not increased. Each working order cancelled by the lock appears in the Activity panel as Resting order cancelled (locked).
- The manual lock's dialog tells you which one you chose: New entries on (...) are refused until (...). Open positions, their stops and targets are kept., or, with Close open positions now ticked, New entries on (...) are refused until (...), and its open positions are closed now, their orders cancelled.
The trading hours are not a lock. An account outside its hours refuses new entries the same way; a scheduled close is described in Trading hours.
If a position still grows on a locked account
Riskanto keeps watching a locked account's positions. If a position grows anyway (for example, an order sent from another platform fills):
- A position that grew on the same side is cut back: the extra contracts are closed at market.
- A position opened from flat, or reversed, is closed as a whole.
- The Activity panel shows Position cut, with the line (...): position (...) on a locked account, where (...) is allowed; Riskanto closed the difference.
- If Riskanto's closing orders keep being refused, the account's grid row shows close by hand: close that position yourself, in NinjaTrader or at the broker.
The lock in Chart Trader and the SuperDOM
While a lock is live, Chart Trader and the SuperDOM show a bar such as Locked by Riskanto until (...) or, for a manual lock, Locked by you until (...). Its tooltip reads Riskanto refuses new entries on this account whether or not this bar shows. Closing and cancelling still work.
When the lock ends
- Daily rules: at the next trading day's open. See When a Riskanto daily lock ends and how to unlock.
- Weekly rules: at next week's open. See Weekly limits and Week PnL.
- Trailing drawdown: until the account is reset. See Trailing drawdown.
- Manual lock: at the time you chose in its dialog.
Comments
0 comments
Article is closed for comments.