QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Futures · technicalPositionalNIFTYlow complexity

ADX DI crossover

This positional NIFTY futures strategy uses the Directional Movement Index on daily candles. When +DI crosses above −DI while ADX is at least 25, it buys; the reverse cross sells. The stop sits at the signal day's low (or high for a short) and the trade stays on until that stop is hit, with a trailing stop once the trade is one risk unit in profit. It is meant to catch strong trends confirmed by two measures at once.
Buys or sells NIFTY futures on a daily +DI/−DI crossover when ADX is at least 25, with a stop at the signal candle that later trails the prior day.
Market viewEither direction (follows the move)
TradesNIFTY near-month futures, 1 lot, held overnight
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsIntermediate
Trades a month0.2
Typical hold0 min
Profitable months0 of 12
Longest losing run2 trades
Made money inToo few trades to judge (2 in the year)
Lost money inToo few trades to judge (2 in the year)
Default settings
Symbol
ADX period
ADX min
Trail
Roll time
Lots
Backtest this strategy →Change any setting, pick your own period and run it in the Quantsapp web app. Backtesting is part of the Max plan. Pro+ members can use it now as a free trial.
1

How it trades

What it trades
Universe
NIFTY Positional · 1 Oct 25 → 30 Sep 26
Enters
Next session's first tick after the signal close
Legs
BUY FUT · Near month, daily +DI cross above −DI with ADX ≥ 25 · Current month, rolled at expiry · 1 lotSELL FUT · Near month, daily −DI cross above +DI with ADX ≥ 25 · Current month, rolled at expiry · 1 lot
Exits
stop signal candle's low (long) or high (short)trail after +1R, previous day's low or highroll closed 15:15 on futures expiry, reopened next month
Re-entry
Next qualifying cross once flat
Bars
daily bars of the rolled near-month future; built-in Wilder ADX / +DI / -DI (ADX_PERIOD).
Entry
a close where +DI crosses above -DI and ADX >= ADX_MIN -> buy LOTS at the next session's first tick; -DI crossing above +DI with ADX >= ADX_MIN -> sell. One trade at a time.
Stop
long - the signal candle's low; short - its high. The trade stays valid until the stop, even if the DIs cross back. TRAIL on: once a daily close is 1R (entry minus initial stop) in the trade's favour, the stop moves each session to the previous day's low (high for a short), never loosening. At market once crossed.
Roll
on the futures expiry day the position is closed at ROLL_TIME ("monthly roll") and re-opened on the new near month at the next session's first tick; the stop is moved by the roll jump.
End
closed at the last tick of the test window.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 2 trades · before costs
Net P&L−₹4,927
Win rate0%
Max drawdown−₹4,927
Avg per trade−₹2,464
Profit factor0
Worst trade−₹3,900
3

Where it made and lost money

Two trades are far too few to say where this strategy makes or loses money. In this test the entry after a nervous evening, with India VIX above 14.5, lost ₹3,900 on a trend day, and the entry after a normal-VIX evening lost ₹1,027 on a choppy day. Both were stopped out on the day they opened, at the signal candle's level, before the trailing stop could come into play. The main lesson from the evidence is how rarely a daily DI cross coincides with ADX at 25 or more on NIFTY.

India VIX the evening before
VIX 11.5-14.5 (normal)−₹1,0271 trades0% won
VIX above 14.5 (nervous)−₹3,9001 trades0% won
Kind of session on the entry day
Trend day (closed near the high or low)−₹3,9001 trades0% won
Choppy day (wide range, closed mid-range)−₹1,0271 trades0% won
Day of the week
Wednesday−₹1,0271 trades0% won
Friday−₹3,9001 trades0% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Build daily candles of the near-month NIFTY future and compute ADX, +DI and −DI over 14 days.
  2. After a close where +DI crosses above −DI and ADX is 25 or higher, buy one lot at the next session's first tick; a −DI cross above +DI under the same ADX condition sells one lot.
  3. Signals printed on the first session after a futures expiry are ignored, because the unadjusted indicators include the roll jump.
  4. The initial stop is the signal candle's low for a long or its high for a short; a later DI cross back does not close the trade.
  5. Once a daily close is at least one risk unit (entry minus initial stop) in favour, the stop moves each day to the previous day's low (high for a short) and never loosens.
  6. On futures expiry day the position is closed at 15:15 and reopened in the next month, with the stop shifted by the roll gap.

Why traders use it

The DI lines say which side has been pushing harder, and ADX says whether there is a trend worth trading at all. Requiring both — a fresh DI cross and ADX of 25 or more — filters out crosses in drifting markets, which are the usual source of whipsaws in DI systems. A stop at the signal candle is easy to see on a chart, and the trail lets a confirmed trend run for weeks without a fixed target.

Works best whenIn principle, a new trend that begins with a strong daily candle while ADX is already high, so price never revisits the signal day's extreme and the trailing stop can follow it; the two trades in this test give no evidence either way.
Struggles whenBoth trades in this test were stopped out on their first day, one on a trend day and one on a choppy day, so the sample cannot single out a condition; the clearest weakness is how seldom the rules trigger at all.

The year in plain words

With default settings on NIFTY futures from 1 Oct 2025 to 30 Sep 2026, the strict combination of a daily DI cross and ADX at or above 25 occurred only twice. Both trades, in February and April 2026, were stopped out at the signal-candle level, for a total loss of ₹4,927 before costs and ₹6,209 after ₹20 per order and bid-ask slippage. Two trades are far too few to judge the method; the year mainly shows how rarely these conditions line up on daily NIFTY candles.

What the settings do

ADX periodThe number of days used for ADX and the DI lines. Shorter periods react faster and cross more often; longer ones are smoother and signal less.ADX minThe minimum ADX on the signal day, typically between 20 and 30. Lowering it allows more trades in weaker trends; raising it makes signals rarer still.TrailWhen on, the stop starts trailing the previous day's low or high once the trade is one risk unit ahead. When off, only the signal-candle stop can close the trade.Roll timeWhen a position is closed on futures expiry day before reopening in the next month's contract.

Risks

  • Signals are very rare on daily NIFTY candles, so long idle periods and a small sample are normal.
  • Trades are held overnight and across weeks, exposing them to gaps beyond the stop.
  • The stop is the signal candle's extreme, which can be distant after a wide-range day.
  • Both trades in this test lost, and there is not enough history here to show any edge.

Who it suits

Positional traders who want very few, trend-confirmed futures trades, can hold a NIFTY lot through overnight gaps with margin, and are prepared to wait months between signals.

5

Questions traders ask

What is the ADX DI crossover strategy?

It trades crosses of the +DI and −DI lines from the Directional Movement Index, but only when ADX shows a strong trend, here 25 or more. A +DI cross above −DI buys and the opposite sells. This version uses daily NIFTY futures candles and a stop at the signal candle.

Is the ADX DI crossover profitable on NIFTY?

In this backtest from 1 Oct 2025 to 30 Sep 2026 it took only two trades, both stopped out, losing ₹4,927 before costs and ₹6,209 after ₹20 per order and bid-ask slippage. That is too small a sample to judge, and past results do not guarantee future ones.

Why so few trades?

A DI cross usually happens when the trend is changing, which is exactly when ADX tends to be low. Requiring ADX of 25 or more on the same daily candle rules out most crosses. Lowering “ADX min” or using shorter candles produces more signals.

Does a DI cross back close the trade?

No. Once in, only the stop closes the trade: first the signal candle's low or high, then the trailing previous-day level after the trade gains one risk unit. A reverse DI cross alone is ignored.

6

Before you rely on it

WATCH OUTdaily DI crosses with ADX >= 25 are rare - a 2-week window may not trade. Gross of costs.
WHERE THE RULES WERE UNCLEAR · OUR CHOICESOne source gives no target or exit besides the stop. Per the spec a trail is added: after +1R the stop follows the prior bar's low. Daily bars (the spec allows daily or 60-minute); NIFTY is the default (the source covers NIFTY / BANKNIFTY). Entries fill at the next session's first tick, not the signal close. The rolled future jumps at each monthly roll. Stops are kept on a roll-adjusted daily scale (from the first session after each expiry the jump - its open minus the expiry day's close - is taken out) and turned back into the price of the contract held. The built-in ADX / DI are unadjusted, so a DI cross printed on the first session after an expiry is ignored.
Also known asDMI crossoverADX DI cross
Backtests run on historical NSE data with fills at the last traded price. "Before costs" excludes brokerage, taxes and slippage. Quantsapp is not recommending any strategy; it is just a backtesting utility. Past results are not a promise of future returns.

Log in or sign up

Enter your mobile number. New to Quantsapp? The same OTP creates your free account.

+91

By continuing you agree to the Terms of Use and Privacy Policy.