ODARATRADING RESEARCH

Odara Account Guard

What it does, and what it does not.

A study for Sierra Chart that closes a trade account at numbers you choose. This page says exactly what it counts, when it acts, and where its limits are.

The Account Guard panel: a header with the total of all accounts, then one card per account
The real panel, drawn by the study. Example accounts, no live data.

What it counts

Three numbers per account.

LimitWhat is countedWhere the number comes from
Total targetCash plus open profit, minus the original balance of the account.The cash balance your trading service reports to Sierra Chart, and the open positions of the account. You enter the original balance.
Daily profit limitToday's closed trades plus the open position, all symbols of the account.Sierra Chart's own record of the day's trades, read on your PC, plus the open positions. The day runs from 17:00 to 17:00 Chicago time; you can change the time.
Daily loss limitThe same count, on the loss side.The same record.

Every limit is off at 0. The two daily limits share one switch, DAILY CHECKS: with it off, only the total target is watched and no trade history is read.

When a limit is reached

What a stop does.

  1. It closes the account. In live mode, with Auto Trading on, it flattens the positions of that account and cancels its working orders.
  2. It checks that the account is flat. If the close fails, it tries again. The number of tries and the time between them are settings.
  3. It holds. A new position in the same session is closed again. The card shows the stop and how it unlocks.
  4. It releases. A daily stop clears at the next session when the account is flat. Any stop can be reset by hand while the account is flat.
On the card

DAILY LOSS STOP
SIERRA REPORTS FLAT
LOCKED - RESET (In:6) OR 17:00 CT

The first line says which limit stopped the account. The second says what Sierra Chart reports after the close. The third says how the lock opens.

Before a limit

ALL CHECKS READY

Green means every check for this account has fresh data.

See it work

A stop, step by step.

The same four steps, as the card shows them. Pick a limit.

  1. The account is long 4 contracts. It has already lost $400 today. The price falls, and TODAY falls with it.
  2. TODAY reaches the daily loss limit of -$1000. The card turns to DAILY LOSS STOP.
  3. Account Guard closes the position at the market and cancels the working orders. The fill is one tick past the limit: -$1005.
  4. The stop holds. A new entry in the same session is closed again. It opens at 17:00 Chicago time, or when you reset it while the account is flat.

AN ANIMATION, NOT A RECORDING · EXAMPLE ACCOUNT AND EXAMPLE PRICES · LIVE MODE, AUTO TRADING ON · A REAL FILL CAN BE FURTHER PAST THE LIMIT

The panel

Everything on one card.

At the top

  • The build number and the mode: OBSERVE ONLY, LIVE MODE, SIM TEST or DISABLED.
  • The total profit or loss of all selected accounts.
  • The trade date, the number of accounts, and how many are stopped.

On each account card

  • The total, the target and what is left to it.
  • Today, each daily limit and what is left to each.
  • The day bar: green fills toward the profit limit, red toward the loss limit. All ten lit means that limit is reached.
  • The status, closed today, and cash plus open.

More than a few accounts: the panel has pages. You can move it, change its size or hide it.

Know this before you rely on it

What it does not do.

  • It does not close at the exact number. It checks at each chart update and closes at the market. The fill can be past your limit.
  • It does not work when Sierra Chart is closed, not connected, when the chart is closed, or when Auto Trading is off.
  • It does not act in the first seconds. For about 5 seconds after it starts, or after a setting is applied, it shows PROTECTION UNAVAILABLE - DATA and sends nothing.
  • It does not replace your firm's rules. A trailing drawdown or a firm's own daily limit is not something it knows about.
  • Copied trades: with Sierra Chart's order copy, closing the source account makes Sierra Chart cancel the copied stop and target on the other accounts. Use the group stop, or watch those accounts.
  • After a payout or an account reset the original balance changes. Enter the new one, or the total target is counted from the old one.
  • One copy per account. Two copies of the study cannot manage the same account on one PC.
  • Trading services: tested with Rithmic. Others are not tested yet.

What you need

Requirements.

Sierra Chart on Windows

A current version. Lowest version tested: 2976. The study runs inside Sierra Chart only: other trading platforms are not supported today.

A trading service in Sierra Chart

One that reports the account's cash balance to Sierra Chart. Tested with Rithmic.

An Odara membership or a free trial

The study runs for Sierra Chart accounts on the list of members. See the membership, or try it free for 10 days.