This article explains what Riskanto tells you when one of its rules locks an account: the lock message window, the sound, and the line in NinjaTrader's Alerts log. It covers what the message shows, how to turn the message or the sound off and on again, which notices always show, and which events give only an Alerts line.
Short answer
When a rule locks an account, Riskanto opens a message saying which account, which rule, the PnL, until when, and whether the positions were closed. It also posts a line to NinjaTrader's Alerts log, with NinjaTrader's alert sound. Turn the message or the sound off in Riskanto's Settings, group Notifications. A position Riskanto could not close is always shown, whatever the setting, and the Alerts line is posted either way.
What the message shows
The message opens on top of your other windows, whether or not Riskanto's window is open. Each account has its own message; a new lock on the same account updates the one already open. It has four lines:
- The title: <account> locked: ... with the rule's name, for example <account> locked: daily loss limit.
- What happened, for example The day PnL (...) reached the daily loss limit of ...., The week PnL (...) reached the weekly loss limit of .... or The account value (...) reached the trailing drawdown's floor of ... (peak ...).
- Until when: New entries are refused until ..., when the next trading day opens. A weekly limit says the next trading week, a trailing drawdown says New entries are refused until the account is reset., and a pause gives its end time.
- How the close went: Closing the open positions and cancelling the working orders..., then Done: the account is flat. If nothing was open: There were no open positions or working orders. For a lock that keeps positions: Open positions were kept: they can be reduced or closed, not increased.
Under the lines are the tick box Do not show this message again (Settings > Notifications turns it back on). A position Riskanto cannot close is always shown. and the OK button.
Turn the message or the sound off, or on again
- In Riskanto's window, right-click and choose Settings...
- In the Notifications group:
- Show a message when an account locks turns the message on or off.
- Play a sound when an account locks turns the sound on or off.
Both are on unless you turned them off. Ticking Do not show this message again in a message turns Show a message when an account locks off; tick that setting again to get the messages back. Turning the message off does not stop the Alerts line, and turning the sound off does not either: the line is posted, silently.
Notices that always show
These open a message even with Show a message when an account locks off, because a position is still at risk:
- Riskanto could not close everything: the title <account> is not flat and Riskanto could not close everything after 3 attempts: .... Close it by hand now.
- The connection is down with a position open: The connection is down and ... is still open. Riskanto closes it when the connection is back; close it at the broker now. When the account becomes flat later, the message turns to Now flat (since ...).
- A trade Riskanto could not close at its max loss per trade.
- A position that the guard against opposite positions could not close.
When you see one of these, close the position by hand or at the broker at once.
The Alerts line and the sound
Every lock by a rule posts a line to NinjaTrader's Alerts log, with NinjaTrader's alert sound when Play a sound when an account locks is on. Examples:
- <account> locked by Riskanto: daily loss limit. Day PnL .... No new entries until ....
- <account> locked by Riskanto: max trades per day, ... of .... No new entries until ....
- <account> paused by Riskanto: ... losing trades since the last pause. No new entries until ....
- <account> is still not flat after 3 flattens by Riskanto: .... Close it by hand.
Events that give only an Alerts line
These never open a message, whatever the setting:
- A trade closed at its max loss per trade: <account>: Riskanto closed ... at the max loss per trade. This trade: ... (max loss ...). The account is not locked. Only a close that fails opens a message.
- A closing order that NinjaTrader refused: <account>: closing order refused by NinjaTrader – a working bracket already covers the position. Use Close or Flatten, or cancel the bracket first. This one plays no sound.
- A price warning.
- <account> is flat now. when an account flattens late: no new message (a message already open turns to Now flat), and the Alerts line plays no sound.
When no message shows
- A pause after losses or a losing trades in a row lock that keeps a position open shows no message, so nothing covers your order entry in the middle of a trade. The Alerts line and its sound still come.
- A lock that Riskanto engages again when NinjaTrader starts shows no message.
The next trading day's news
On a Committed or Strict account, a change that waited for the next trading day can switch the account on at the open. Riskanto tells you with a message and an Alerts line, under the same Show a message when an account locks setting: <account> was switched on by its commitment at ...., or <account> stays off when it could not be switched on. See A rule change that waits for the next trading day.
Comments
0 comments
Article is closed for comments.