Order Block Tool
Mark bullish and bearish order blocks on the chart with auto-extending zones, midpoint lines, OB size display, risk readouts, text templates, and Pushover push alerts.
On this page
01 — Appearance
Visual styling for bullish and bearish order block zones — fill, border, outline, and structural lines.
| Property | Default | Description |
|---|---|---|
| Bullish Fill | Theme default | Fill color for bullish order blocks. |
| Bearish Fill | Theme default | Fill color for bearish order blocks. |
| Fill Opacity | 15 | Opacity of the zone fill (0–100). |
| Bullish Border | Theme default | Border color for bullish zones. |
| Bearish Border | Theme default | Border color for bearish zones. |
| Border Opacity | 50 | Border opacity (0–100). |
| Border Width | 1 | Border thickness in pixels (1–10). |
| Show Midpoint Line | false | On/Off. Draw a horizontal line at 50% of the zone height. |
| Show Quadrant Lines | false | On/Off. Draw lines at 25% and 75% of the zone height. |
| Line Color | Theme default | Color for midpoint and quadrant lines. |
OB Type
- Bullish
- Bearish
02 — Label
Free-text zone label with font, color, background, and placement options.
| Property | Default | Description |
|---|---|---|
| Zone Text | "" | Primary label text. Supports template placeholders. |
| Position | BottomRightOutside | Where to position the label. See placement options below. |
| Font Family | JetBrains Mono | Font family name, e.g. JetBrains Mono, Arial. |
| Font Size | 12 | Font size (8–72). |
| Color | Theme default | Text color. |
| Bold | false | On/Off. Show the text in bold. |
| Background | false | Draw background behind text. |
| Background Color | Theme default | Background fill color. |
| Background Opacity | 70 | Background opacity (0–100). |
02a — Text Templates
10 template slots with dynamic placeholders that are automatically replaced when displayed.
| Placeholder | Description |
|---|---|
{direction} | Bullish or Bearish |
{top} | Top price of the order block |
{bottom} | Bottom price of the order block |
{mid} | Midpoint price |
{ticks} | OB size in ticks |
{points} | OB size in points |
{pct} | OB size as percentage |
{currency} | OB size in dollar value |
{interval} | Chart interval |
{date} | Date drawn |
{time} | Time drawn |
03 — Prices
Display top and bottom prices of the order block on the chart.
| Property | Default | Description |
|---|---|---|
| Show Prices | true | Toggle prices on or off. |
| Text Format | TicksFromCurrent | Price format: FullPrice, LastTwoDigits, LastThreeDigits, LastFourDigits, or TicksFromCurrent. |
| Position | BottomRightOutside | Where to show the price text. See placement options below. |
| Font Size | 11 | Price font size (8–24). |
| Color | Theme default | Price text color. |
| Background | false | Show background behind prices. |
| Background Color | Theme default | Price background color. |
| Background Opacity | 70 | Price background opacity (0–100). |
04 — OB Size
Display the height of the order block in ticks, points, percentage, or currency.
| Property | Default | Description |
|---|---|---|
| Show OB Size | false | Toggle OB size text on or off. |
| Text Format | Ticks | Points, Ticks, Percentage, or Currency. |
| Position | MiddleCenter | Where to display the size text. See placement options below. |
| Font Size | 11 | OB size font size (8–24). |
| Color | Theme default | OB size text color. |
| Background | false | Show background behind OB size text. |
| Background Color | Theme default | OB size background color. |
| Background Opacity | 70 | OB size background opacity (0–100). |
07 — Risk
Show the monetary or tick risk of the order block zone.
| Property | Default | Description |
|---|---|---|
| Show Risk | true | On/Off. Show or hide the risk readout. |
| Text Format | Currency | Currency, Points, Ticks, or Percentage. |
| Position | BottomRightOutside | Where to display the risk text. See placement options below. |
| Font Size | 11 | Risk font size (8–24). |
| Color | Theme default | Risk text color. |
| Background | false | On/Off. Draw a filled background behind the text. |
| Background Color | Theme default | Risk background color. |
| Background Opacity | 70 | Risk background opacity (0–100). |
07a — Text Priority
When multiple text elements overlap, their display priority determines the stacking order. Lower numbers are drawn first (behind), higher numbers are drawn on top.
| Property | Range | Default |
|---|---|---|
| Label Priority | 1–10 | 5 |
| Prices Priority | 1–10 | 5 |
| OB Size Priority | 1–10 | 5 |
| Risk Priority | 1–10 | 5 |
09 — Behavior
Controls zone extension and text visibility.
| Property | Default | Description |
|---|---|---|
| Auto Extend | false | Continuously extend the zone to the latest bar. |
| Extend to Session End | true | Snap the right edge to the trading session end. |
| Extend to Clicked Session End | true | Stretch to the session end on initial placement. |
| Extend Right | false | Extend midpoint/quadrant lines indefinitely right. |
| Show Text Only When Selected | false | Hide all text until the drawing is selected. |
| Anchor Size | 6 | Anchor handle size (3–15). |
| Anchor Outline Color | Black | Anchor border color. |
| Anchor Fill Color | Transparent | Anchor interior color. |
Extension Behavior
- ExtendIndefinitely
- NoExtension
10 — Alerts
Trigger NinjaTrader alerts and Pushover push notifications when price enters the order block.
| Property | Default | Description |
|---|---|---|
| Enable Alert | false | Enable price monitoring for this zone. |
| Alert Sound | Alert1 | Built-in NinjaTrader alert sound to play. |
| Alert Title | "" | Alert window title. |
| Alert Message | "" | Alert body text. |
| Use Pushover | false | Send push notifications via Pushover. |
| Pushover User Key | "" | Your Pushover user key. |
| Pushover API Token | "" | Your Pushover API token. |
| Pushover Sound | pushover | Notification sound on your device. See sound options below. |
| Custom Sound Name | "" | Name of a custom sound uploaded to your Pushover account. |