What it shows
Buy volume minus sell volume for each bar.
Both sides shown, so you see the size of each.
Delta added up through the session.
Price makes a new swing but delta does not, or the reverse.
Volume above 2.5× the 50-bar average.
Delta, session delta and volume in one line.
Add it under 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_DeltaPaneFind
Mirra_Basic_DeltaPane. Double-click it, or right-click and choose Insert, to add it in a new pane under your price chart. - 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 & Sessionmode and session
| Setting | Choices · default | What it does |
|---|---|---|
| Mode | Delta · Buy - Sell volume · Cumulative delta · Delta | What the pane plots. |
| Session start (HHmm) | 0 – 2359 · 915 | Market open time. 915 = 9:15 AM for NSE / BSE. For MCX use 900. |
Step 201. Data & Calculationsource and divergence 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. |
| Imbalance: |delta| ≥ % of volume | 10 – 95 · 40 | One-sided bars are marked. |
| Big volume: x average(50) | 1.5 – 10 · 2.5 | |
| Divergence lookback (bars) | 5 – 100 · 20 | For the simple divergence marks. |
| Swing divergence: swing size (bars each side, 0 = auto) | 0 – 20 · 0 | How a swing high or low is found. 0 lets Mirra choose. |
| Swing divergence: max bars between swings | 10 – 300 · 60 | Swings further apart are not compared. |
Step 302. Displaymarks, lines and text
| Setting | Choices · default | What it does |
|---|---|---|
| Divergence / big-volume marks | Yes | |
| Swing divergence lines and labels | Yes | |
| Swing divergence: include hidden type | Yes | |
| Stats line | Yes | |
| Volume notation | Indian (K/L/Cr) · Western (K/M) · Indian | Show volume as thousand / lakh / crore, or as K / M. |
| 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 409. Alertsalerts
| Setting | Choices · default | What it does |
|---|---|---|
| Alert on a new swing divergence | No |
Step 510. 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 it
- Regular bearish divergence — price makes a higher high, delta a lower high: buyers are tiring.
- Regular bullish divergence — price makes a lower low, delta a higher low: sellers are tiring.
- Hidden divergence — points to the trend continuing after a pullback.
- Big volume with small delta — both sides fought hard; watch for absorption.
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.
Questions
What is hidden divergence?
In an uptrend, price makes a higher low but delta makes a lower low. It often means the trend continues.
Which mode should I use?
Delta for bar-by-bar pressure, Cumulative delta for the trend of pressure through the day.
Does it need tick data?
It works on 1-minute data with an estimated split. Tick data with bid / ask gives the truest delta.
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.