Sneaky AOBLE – Apex Order Block & Liquidity Engine
Sneaky AOBLE
Order Block & Liquidity Engine ยท NinjaTrader 8 port of the TradingView indicator.
One indicator concept. Two platforms.
Sneaky AOBLE
The NinjaTrader port: order blocks, liquidity, market structure and a visual five-target planner.
Free download ยท NinjaScript import package
Apex Order Block & Liquidity Engine [AOBLE]
View the original TradingView indicator, its presentation and the platform-specific script information.
The NinjaTrader version is a port. Platform data and implementation differences can produce different chart results.
Several chart concepts. One connected framework.
Sneaky AOBLE brings together the elements of a price-structure workflow: confirmed swings, structure breaks, order blocks, breaker blocks, liquidity levels, fair value gaps and premium/discount areas. Its dashboard summarizes the current structural bias and nearby reference zones.
The indicator can also build a BUY or SELL setup after a qualifying liquidity rejection or order-block touch and a confirmation event. It draws a planned entry, stop loss and five targets, then tracks the plan using subsequent bars.
Map the structure
Separate swing and internal structure, mark changes of direction and locate price inside a dealing range.
Follow the zones
Track order blocks, liquidity pools, gaps and the way price revisits or invalidates them.
Make the levels visible
Translate a qualifying setup into a visual entry, stop and target ladder with a clear pending or active state.
What powers it? Chart OHLC, ATR and optional relative-volume filters. It does not read resting orders, identify institutional positions or calculate bid/ask delta and volume-at-price profiles.
How the chart logic works
1. Confirm pivots, then read structure breaks
The indicator maintains separate swing and internal structures. With the default swing pivot length of 5, a candidate high or low needs five later bars before it can be confirmed. Internal structure uses a shorter default length of 3.
A close above a confirmed structure high establishes bullish structure; a close below a confirmed low establishes bearish structure. Breaks that continue the existing direction are labelled BOS. A break against the previous direction is labelled CHoCH, or MSS when the displacement test and any enabled MSS volume filter qualify.
For this structure test, displacement uses the largest directional candle body among the latest three bars, compared with an ATR multiple. ATR measures volatility; it is not a fixed number of ticks.
2. Build order blocks from the opposite candle
When an eligible structure break has sufficient displacement, AOBLE searches backward for the most recent opposite-colour candle. A bullish block originates from a bearish candle; a bearish block originates from a bullish candle. The search is limited by the configured lookback and the distance to the relevant pivot.
Choose the full candle range, body only, or a hybrid that includes a selected percentage of the wicks. An optional cluster combines consecutive opposite-colour candles. The indicator suppresses duplicate origins and substantially overlapping blocks in the same direction.
3. Track mitigation and breaker conversion
After creation, a block can be entered, fully mitigated or invalidated. A first entry can become a setup trigger. A move through the far boundary fully mitigates the block; settings decide whether it stays faded or is removed.
Invalidation uses either the candle close or wick, plus the configured ATR breakout-strength buffer. An invalidated bullish order block can become a bearish breaker, and vice versa. Breaker retests can be highlighted, while expired or invalidated breakers are removed.
4. Group nearby pivots into liquidity levels
Confirmed highs and lows are grouped when they fall within the selected ATR or tick tolerance. The default local pool requires two qualifying pivot touches, separated by at least five bars. These are inferred price reference levels, rather than an order-book measurement.
A high beyond buy-side liquidity or a low beyond sell-side liquidity consumes that level. A close back at or inside the level marks a rejected sweep. A close beyond it is labelled TAKEN. The setup engine uses the rejected sweep as its directional trigger.
5. Identify three-bar fair value gaps
A bullish FVG forms when the current low is above the high two bars earlier. A bearish FVG forms when the current high is below the low two bars earlier. The gap must meet the chosen ATR or tick-size threshold.
As later bars enter a gap, the displayed unfilled area shrinks. A fully filled gap is faded and stopped, or removed. An optional midpoint marks the centre of the remaining gap.
6. Add premium/discount and higher-timeframe context
Premium and discount divide the selected swing or internal range at its 50% midpoint. Optional higher-timeframe overlays add order blocks and pivot-based liquidity from up to five configured Minute, Day or Week series. Higher-timeframe mode is off by default.
The higher-timeframe blocks use their own confirmed structure-break logic and full-range origin candles. Their liquidity references are individual confirmed pivots, so they do not use the same two-touch grouping rule as local pools.
What creates a BUY or SELL setup?
BUY setup
- A recent sell-side sweep rejects back above its level, or price first enters a bullish order block.
- A bullish MSS/CHoCH event occurs, or the current bullish candle meets the displacement threshold when that confirmation mode is enabled.
- Any enabled FVG, premium/discount and relative-volume conditions pass.
- The trigger is unused, the cooldown has passed and the previous plan is no longer pending or active.
SELL setup
- A recent buy-side sweep rejects back below its level, or price first enters a bearish order block.
- A bearish MSS/CHoCH event occurs, or the current bearish candle meets the displacement threshold when permitted.
- Any enabled context and volume conditions pass.
- The trigger, cooldown and active-plan checks allow a new setup.
The default trigger window is 20 bars and the cooldown is 10 bars. You can require sweeps only, order-block touches only, or either. The FVG requirement checks whether a same-direction gap was created within the trigger window; it does not require the setup candle to sit inside that gap.
The setup confirmation mode named MSSOnly accepts the indicator’s reversal-structure event, which includes CHoCH-labelled reversals. It does not restrict confirmations solely to labels that literally say MSS.
Entry, stop and five targets
Entry choices include the confirmation close, an available order-block retest, the midpoint of an available FVG, or a user price. Retest and user-price entries are constrained to a pullback relative to the confirmation close. If the requested zone is unavailable, the plan falls back to the close.
The stop can use a suitable swing, an order-block boundary or ATR distance. Structure-based stops include an ATR buffer; unsuitable or excessively distant boundaries fall back to an ATR stop. A minimum risk distance of 0.3 ATR also applies.
Targets can use risk multiples or available opposing structure and liquidity. The default ladder is 1R, 2R, 3R, 4R and 5R. In structure/liquidity mode, missing targets are completed with risk-based levels.
A simple planning example
For an illustrative BUY entry at 100 and stop at 98, the risk distance is 2 price units. With the default risk-multiple ladder, targets are 102, 104, 106, 108 and 110. These are chart references, not submitted orders or a position-sizing calculation.
Bar-based tracking: a pending plan can fill, cancel or expire. If an active bar touches both a stop and a target, the indicator processes the stop first. It does not reconstruct the actual intrabar sequence or model execution, commissions and slippage.
Dynamic pending-plan updates are optional and off by default. When enabled, entry, stop and targets may be recalculated while the plan is waiting to fill.
Key defaults and controls
These are the defaults in the current NinjaTrader source. Saved templates can override them.
| Control | Default | What it changes |
|---|---|---|
| ATR length | 14 | Volatility reference for displacement, tolerances and stops. |
| Swing / internal pivot length | 5 / 3 | Structure sensitivity and pivot confirmation delay. |
| Order-block source / origin search | Swing / 10 bars | Eligible structure source and opposite-candle search. |
| Order-block boundaries / displacement | FullRange / 1 ATR | Zone geometry and minimum directional impulse. |
| Breaker invalidation / strength | CandleClose / 0.1 ATR | Boundary break required to invalidate a block. |
| Local liquidity | 5-bar pivots; 2 touches; 0.15 ATR tolerance | How nearby swing levels form a visible pool. |
| Minimum FVG | 0.2 ATR | Smallest qualifying three-bar gap. |
| Setup trigger / confirmation | Sweep or OB touch / MSS or displacement | The event sequence required for a plan. |
| Entry / stop / targets | Confirmation close / beyond swing / risk-reward | The initial planning method. |
| FVG and premium/discount setup filters | Off | Optional additional setup conditions. |
| Relative volume | 20-bar average; 1.5ร threshold | Optional filters for order blocks, MSS and setups; all three filters start off. |
| Higher-timeframe mode / alerts | Off / off | Additional series and real-time event notifications. |
Relative volume is the current bar’s volume divided by the average over the configured length, including the current bar. The optional filters use the highest relative-volume reading from the latest three bars. When volume data is unavailable, those filters are bypassed.
Getting started in NinjaTrader 8
- Download the NinjaTrader package and import it through Tools โ Import โ NinjaScript Add-On.
- Open your chart, then select SneakyZekey โ Sneaky AOBLE in the Indicators window.
- Load enough history for ATR and confirmed pivots. Begin with the default settings so each displayed element is easy to identify.
- Choose the zones and labels you want to see. If enabling higher-timeframe mode, select the required slots and allow the additional histories to load.
- Enable alerts separately if needed, and check pending-plan behaviour before using the displayed levels in your workflow.
The calculation is designed for closed bars. The NinjaTrader version does not provide an intrabar developing preview. Use the default On bar close calculation setting.
An optional CSV setup recorder is enabled by default in the current source. It writes locally to Documents/NinjaTrader 8/SneakyExport. The file is recreated when the indicator loads; disable recording if you do not need it. This is a local event record, not a brokerage trade log.
FAQ
Is Sneaky AOBLE free?
Yes. Enter your email in the download box at the top of the page and you get the NinjaTrader 8 import package.
Does it place trades for me?
No. It’s an indicator, not a strategy. It draws the planned entry, stop and five targets and keeps track of them on the chart, but it never sends orders to your account.
Why do some labels show up a few bars late?
A swing high or low is only confirmed after the set number of later bars (5 for swing structure, 3 for internal by default), and everything is calculated on bar close. So structure labels appear once that confirmation is in.
Is it the same as the TradingView version?
It’s a NinjaTrader port of the TradingView indicator linked above. Different data feeds and platform details can make some zones or levels look slightly different between the two.
Where does the CSV file go, and can I turn it off?
It’s saved locally in Documents/NinjaTrader 8/SneakyExport. If you don’t need it, switch the recorder off in the indicator settings.
Where can I ask questions or share my chart?
Post in the PropTraderz forum or join our Discord. Add the instrument, timeframe and a screenshot so others can compare.



