This article explains how Riskanto's daily loss limit works: how to set it, what counts toward it, what Riskanto does when it is reached, and what you see on screen.
Short answer
When an account's Day PnL reaches the daily loss limit, Riskanto closes the account's open positions, cancels its working orders and locks the account until the next trading day opens. A locked account refuses new entries inside NinjaTrader; closing orders still work.
How to set it
- In NinjaTrader's Control Center, open New > FlowBots > Riskanto.
- Make sure the account is Off. On a Flexible account, as installed, rules cannot be changed while it is On (monitored) or locked; on a Committed or Strict account a change waits for the next trading day (see A rule change that waits for the next trading day).
- Right-click the account and choose Rules for <account>...
- In the Limits tab, under Daily limits, type the loss limit as a positive amount, for example
500. Empty or 0 turns the rule off. - Click Save, then switch the account On. Its Status shows Monitored.
What counts toward the limit
- The Day PnL is NinjaTrader's own realized PnL for the account in the trading day, plus the open PnL of its positions. A position that is losing can reach the limit before it is closed.
- The trading day follows the Trading Hours template chosen in Riskanto's Settings. See When a Riskanto daily lock ends and how to unlock.
What happens when the limit is reached
- You can make Riskanto act a little before the limit with the Safety margin on the loss limit in Settings > Rules, so the slippage of the closing orders does not take the day past the limit. With a margin of 25 and a limit of 500, the account is locked and flattened at -475. With a margin of 0, which is how Riskanto is installed, it acts at the limit itself.
- With Settings > Notifications > Show a message when an account locks on (as installed), a message titled <account> locked: daily loss limit shows the Day PnL, the limit, and the line New entries are refused until ..., when the next trading day opens. It ends with Done: the account is flat.
- NinjaTrader's Alerts log always gets the line <account> locked by Riskanto: daily loss limit. Day PnL .... No new entries until ....
- The account's Status shows the rule's icon and until ... (when the lock ends). A new entry is refused with Riskanto: order refused, the account is locked (...). Closing orders still work.
Tradovate accounts: the limit also goes to the broker
On a Tradovate account, with Write to the broker (Tradovate) on in Settings, Riskanto also writes your daily loss limit to Tradovate's own daily loss limit, but only when the website already has a daily limit for the account. With Receive from the broker (Tradovate) also on (both are on unless you turned them off), while the Tradovate website shows Riskanto's value, the limit is left to the broker alone, with no safety margin:
- Tradovate's rule closes the positions and blocks new orders when it acts, and locks the account there until its session ends. Riskanto sends no order for it.
- The account's Status shows At the broker's limit instead of Riskanto's own lock message.
- Riskanto cannot release a lock that Tradovate applied.
If the website has no daily limit for the account, Riskanto writes nothing (the Activity panel shows Daily limit not written to the broker) and acts on its own value, with its safety margin; set a daily limit once on the website. See Riskanto vs. your broker's free risk settings and Replikanto.
Before the limit: the warning
As the Day PnL gets close to the limit, the loss side of the bar in the Loss limit ◂ day ▸ Target column (the Settings hint calls it the Loss / Target bar) turns amber and the Status shows Near limit. Nothing pops up. The point where it starts is Warn near a loss rule (%) in Settings: 80 as installed, measured from where Riskanto acts, so with a limit of 500 and a margin of 25 the bar is amber from -380. 0 turns the warning off.
If the day is already past the limit when you switch the account On
Riskanto tells you first: <account>'s day PnL (...) is already past its daily loss limit (...). The amount in parentheses is where Riskanto acts (the limit minus the safety margin), and a part of NinjaTrader's figure carried from the previous trading day is not counted. If you continue, the account is locked right away and its positions are closed. Click Cancel and change the limit first if you want to keep trading.
Trading again, or making the limit stick
- To trade again the same day, see When a Riskanto daily lock ends and how to unlock.
- To stop yourself from raising the limit or unlocking mid-day, see How to commit to your daily loss limit in Riskanto.
What the limit does not guarantee
Fast markets, gaps, slippage, rejected or delayed orders and a lost connection can carry an account past the value you set. A safety margin reduces this risk but does not remove it. If Riskanto cannot close a position after 3 attempts, it says so and asks you to close it by hand.
Comments
0 comments
Article is closed for comments.