What it shows
Volume sold at the bid × bought at the ask, at each price.
Diagonal comparison: buy at one price against sell one row below.
The price with the most volume in that column.
Buy minus sell volume for the column, in the stats table.
Session VWAP with a one-sigma band.
Volume by price for the session, on the right edge.
Add it to your chart
- Open a chartOpen the symbol you want, for example
NIFTY_IorRELIANCE, and set the interval to 1-minute. - Open the Charts windowIn AmiBroker go to Window → Charts and open the MirraCharts folder.
- Add Mirra_Basic_OrderFlowFind
Mirra_Basic_OrderFlow. Drag it onto the chart, or right-click it and choose Insert. The chart draws its own price, levels and cards. - Activate onceThe first time, the MirraCharts Licence window opens by itself. Type your CRN and licence key and click Activate. You are not asked again, even after you renew.
- Adjust if neededRight-click the chart and choose Parameters. The settings are explained step by step below.
Settings, step by step
Right-click the chart (or the Analysis window formula) and choose Parameters. Settings are grouped the same way in every Mirra indicator. Open each group in this order:
Step 100. Exchange & Sessionsession and column length
| Setting | Choices · default | What it does |
|---|---|---|
| Session start (HHmm) | 0 – 2359 · 915 | Market open time. 915 = 9:15 AM for NSE / BSE. For MCX use 900. |
| Session end (HHmm) | 0 – 2359 · 1530 | Market close time. 1530 = 3:30 PM. For MCX use 2330, or 2355 from November to March. |
| Footprint period (minutes) | 1 – 120 · 5 | Minutes in one footprint column. 5 on a 1-minute chart gives clear cells. |
Step 201. Data & Calculationbuy / sell source and imbalance rules
| Setting | Choices · default | What it does |
|---|---|---|
| Delta source | Auto · Aux1/Aux2 (feed) · Range estimate · Tick rule · Auto | Where buy and sell volume comes from. Auto picks the best your data has: buy / sell volume from the feed (Aux1 / Aux2) if present, else an estimate from each bar. |
| Ticks per row (0 = auto) | 0 | Height of one price row in the footprint. |
| Auto rows per column | 4 – 40 · 10 | About how many rows each column gets when row size is automatic. |
| Imbalance ratio (diagonal) | 1.5 – 10 · 3.0 | Buy must be this many times the sell one row below (or the reverse) to mark an imbalance. |
| Imbalance min cell volume | 0 – 100000 · 50 | Ignore tiny cells, so imbalances mean something. |
Step 302. Displaywhat is drawn
| Setting | Choices · default | What it does |
|---|---|---|
| Cell text | Sell x Buy · Delta · Volume · None · Sell x Buy | What each cell shows. |
| Show open-close body | Yes | A thin candle body inside each column. |
| Highlight column POC · Highlight imbalances | Yes · Yes | |
| Stats table | Yes | Volume, delta and more under each column. |
| Session VWAP + 1 sigma | Yes | |
| Session volume profile (right edge) | Yes | |
| Live price tag | Yes | |
| Volume notation | Indian (K/L/Cr) · Western (K/M) · Indian | Show volume as thousand / lakh / crore, or as K / M. |
| Cell font | Consolas | A fixed-width font keeps the numbers lined up. |
| Text font | any Windows font · Segoe UI | Font for cards, tags and labels. |
| Auto-fit text to pane size | No / Yes · Yes | Text grows and shrinks with the pane, so it never crowds a small chart. |
| Text size % | 50 – 250 · 100 | Make all text bigger or smaller. 120 is good for a large monitor. |
Step 410. Marker Colorstheme
| Setting | Choices · default | What it does |
|---|---|---|
| Colour theme | Dark · Grey · Light · Custom (colours below) · Dark | Pick the theme that matches your AmiBroker background. Custom uses your own colours from the colour group. |
| Theme paints chart background | No / Yes · Yes | The theme also paints the chart background, so letters and tags stay readable. |
Click Reset all at the bottom of the Parameters window to go back to the Mirra defaults. If the groups ever look wrong, Reset all once after an update.
How to read the footprint
- Stacked buy imbalances (three or more rows) — aggressive buyers. Often support on a pullback.
- Stacked sell imbalances — aggressive sellers. Often resistance on a bounce.
- Big volume at the column high with negative delta — buyers were absorbed; watch for a turn.
- Column POC moving up column after column — value is moving higher.
- Price above VWAP + 1σ — stretched; price below VWAP − 1σ — stretched lower.
Best data for Order Flow
Real buy and sell split needs tick data with bid / ask. On a plain 1-minute database the split is an estimate from each bar. For the most accurate footprint use a tick database from Pix Connect, and keep Delta source = Auto.
Every Mirra chart and its scanner use the same calculation rules. A level on the chart is the same level in the scanner, and the same as on the Mirra indicators for NinjaTrader 8 when you compare them on the same data and the same 1-minute interval.
Tips
- Zoom in so each column is wide enough for the numbers; the text fits the column by itself.
- Set Cell text = Delta to see the fight in one number per row.
- Add the Delta Pane below the chart for divergence.
Questions
What is a footprint chart?
A chart that shows the volume traded at each price inside each bar, split into selling at the bid and buying at the ask.
What is a diagonal imbalance?
Buy volume at one price compared with sell volume one row below. When one side is 3 times (default) the other, the cell is marked.
Does it need tick data?
It works on 1-minute data with an estimated split. For true bid / ask order flow, use a tick database.
Is the VWAP the same as on Market Profile?
Yes. The whole Mirra family uses one VWAP, so Order Flow, Volume Slicer, Delta Pane and Market Profile show the same value.
Related guides
Mirra indicators are decision-support tools for education and analysis. They do not give buy or sell advice. Trading in stocks, futures and options carries risk; please trade with your own judgement and risk management. AmiBroker is a trademark of its respective owner; MirraCharts is not affiliated with AmiBroker.com.