Automated strategy · NinjaTrader 8 · 6 min read

CBDR Compass

Uses the evening CBDR range as a ruler: when price reaches a chosen SD level it either fades the move back toward the box or follows the break to the next level out.

NinjaTrader 8 name
ToredaCbdrSdStrategy
Modes
Fade · Continuation

What it does

CBDR Compass trades off the CBDR Range + SD indicator. Once the evening CBDR window closes — 16:00–20:00 New York time by default — the indicator projects standard-deviation levels from that range, and CBDR Compass acts when price reaches the level you choose.

CBDR range + SD · 16:00–20:00 window, SD Count 2100102104106CBDR+2 SD+1 SDCBDR HighCBDR Low−1 SD−2 SD
The window box and its projected SD levels: the levels are where CBDR Compass acts.
ModeThe ideaTarget
FadeTreats a stretch out to the level as overdone and trades back toward the CBDR box.Back at the CBDR range. Stop from the Risk settings.
ContinuationTreats a break through the level as momentum and trades with it.The next SD level out (or the Risk target at the outermost level). Stop from the Risk settings.

Once per side per day

Each level is traded at most once per side per day, resetting when the next CBDR window opens.

Inputs

InputDefaultMeaning
ModeFadeFade / Continuation — see the table above.
Trigger Level2Which SD level (1–4) arms the trade.
DirectionBothLong / Short / Both. A level skipped by Direction still counts as used for the day.
Start Hour / Minute16:00CBDR window open.
End Hour / Minute20:00CBDR window close. The window must not span midnight.

The CBDR window is always New York time

The indicator is pinned to America/New_York regardless of the Session Tz input, which only governs the trading window and the flatten clock. Enter Start and End in New York time.

The default flatten blocks the evening reaction

The 15:55 flatten is on by default and blocks entries until midnight. The window closes at 20:00, so with the defaults nothing trades in the evening — and a level reached while entries are blocked still counts as used for that day. To trade the evening reaction, turn Use Flatten Time off (or move it past the window) and mind NT8's exit-on-session-close.

Shared inputs

Brackets, session guards, confluence filters and one-position-at-a-time handling come from the base every Sun Engine strategy is built on. These are the inputs that matter most.

Risk inputDefaultMeaning
Contracts1Order quantity for every entry.
Stop Unit / Stop TicksTicks / 40Protective stop distance. Switch Stop Unit to ATR to use Stop ATR Mult (1.5) × ATR(14) instead.
Target Unit / Target TicksTicks / 80Profit target distance. ATR mode uses Target ATR Mult (3.0).
Use BreakevenOffMoves the stop to entry once the trade is Breakeven Trigger Ticks (40) in profit.
Use TrailOffTick trail at Trail Ticks (40). Breakeven and trail only ever tighten the stop, never loosen it.
Session inputDefaultMeaning
Use Time WindowOffWhen on, entries are allowed only between Window Start (09:30) and Window End (15:30).
Use Flatten TimeOnFlattens any open position and stops trading at 15:55.
Max Trades Per Day00 = unlimited.
(built in)—NT8's own exit-on-session-close is also enabled, 30 seconds before the close, as a backstop.

All session times are in Session Tz, America/New_York by default. Filters are all off out of the box; when one is on, an entry is skipped unless every enabled filter passes.

FilterRule
QuarterAllow-list of AM/PM Q1–Q4 on the 06:00–18:00 session grid. Anything outside that grid is blocked even with all eight flags on, by design.
SunrisePrice must be within Sunrise Zone Tolerance Ticks (0) of a live sunrise zone from Sunrise Cities (NYC, LON, TYO, DXB, AKL) no older than Sunrise Max Age Days (12). Any of the 18 cities can be listed, whatever the indicator's chart defaults are.
SMTRequires a same-direction SMT divergence within SMT Lookback Bars (20) against SMT Symbol A, and optionally SMT Symbol B.

SMT filter: set Symbol A to a real contract

The ES ##-## default is only a placeholder. Enter the actual contract you want to compare against, e.g. ES 12-26, or the filter has no reference series to work with.

How to run it

  1. Chart. Open your instrument on a 1–5 minute chart. The CBDR high and low are built from the chart's own bars, so a fast chart gives the truest range. Calculate is On Bar Close; leave it.
  2. Attach. Right-click the chart → Strategies… → add ToredaCbdrSdStrategy, set the inputs, and tick Enabled. Bars Required To Trade is 30, so nothing fires until 30 bars have loaded.
  3. Backtest. Control Center → Strategy Analyzer → pick the strategy, instrument and period. Optimizations run quickly; Mode, Trigger Level, Stop Ticks and Target Ticks are the natural knobs.
  4. Visual check. The strategy draws nothing. Add the ToredaCBDR indicator to the same chart with matching window times and an SD Count of at least the Trigger Level (+1 for Continuation) to see the box, the projected levels and — with Show SD Labels — the level chips.

Don't trade the defaults

The defaults are a starting point, not a tested configuration — in the backtests they lost money on most instrument and timeframe combinations. Start from the settings on the instrument pages below, and in simulation.

Behavior to expect

  • One trade at a time. A signal that arrives while in a position, or while an entry is waiting to fill, is ignored rather than queued.
  • Entries are market orders on bar close; the stop and target are attached the instant the entry fills.
  • Order signal names are CbdrFadeUp / CbdrFadeDn (Fade) and CbdrContUp / CbdrContDn (Continuation), with stop/target suffixes added by the base.
  • Nothing trades during the window itself; signals begin on the first bar after it closes.
  • An entry that never fills is released after a timeout, with a message in the Output window. Flattening a position by hand also clears the strategy's state so it can trade again.
  • Watch the NinjaScript Output window (Control Center → New → NinjaScript Output): every declined or timed-out entry and every filter problem is printed there.

Results by instrument

CBDR Compass was backtested on six micro futures, August 2024 to September 2026, and every recommended setting was confirmed in NinjaTrader's own Strategy Analyzer with commission. Pick an instrument for its results, the exact settings, and whether we'd use it there.

Backtest results are hypothetical. They were produced with the benefit of hindsight on historical data, do not represent actual trading, and cannot fully account for slippage, liquidity or the emotional pressure of live trading. Past performance is not indicative of future results. This content is for educational purposes only and is not financial advice. Trading futures involves substantial risk of loss. See our risk disclosure for details.

Disclaimer

Toreda is a product of Bearcat Solutions, a company registered in the U.S. and its affiliates (collectively, the “Company”). Toreda is a trade journaling, performance analytics, and AI coaching platform designed to help traders log, review, and improve their trading. None of the information provided by the Company or contained herein is intended as investment advice, as any offer or solicitation to buy or sell securities of any kind, or as a recommendation, endorsement, or sponsorship of any security, company, or fund. Nothing contained herein constitutes a solicitation of any kind or an offer to buy or sell futures, options, forex, or any other derivative security. The performance dashboards, trade scores, AI coach insights, and analytics provided through Toreda are for informational and educational purposes only and are not intended to be relied upon for making investment decisions. Any use of the information on the Company's websites and platform is strictly at your own risk, and the Company assumes no responsibility or liability for any use or misuse of such information. Past performance is not indicative of future results, and every investment involves risks, including the possibility of total loss of the amount invested. You should always seek professional advice before making any investment decisions. The Company is not a financial broker, financial advisor, financial manager, or a financial representative, and does not accept client deposits.

Toreda does not offer or provide trading or investment recommendations. The AI Coach feature provides analytical insights based on your own trade history — it does not recommend specific trades, securities, or strategies. Any trading or investment decisions you make are entirely your responsibility and at your own risk. The results of any services provided by Toreda are directly related to each individual's professional skill level, trading discipline, and their capacity to apply the insights provided.

Disclosure on Performance Data

The performance metrics, scores, equity curves, and analytics displayed within Toreda are calculated from trade data imported from your connected broker accounts or manually entered by you. These metrics reflect historical results and have inherent limitations. No claim is made that any trading approach tracked in Toreda will achieve or is likely to achieve future profits or losses comparable to those shown. Actual trading results can differ significantly from historical performance data. Performance analytics benefit from hindsight and cannot account for all market factors, emotional decision-making, or evolving market conditions that affect real-time trading. Many factors — including slippage, commissions, market liquidity, and individual execution — can adversely affect actual trading results beyond what is reflected in the platform's analytics.


NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described herein, or any interest, ownership or otherwise, in any such product or service, or endorses, recommends or approves any such product or service.