A advanced trading strategy well-suited for NSE markets. Uses systematic, rule-based logic to identify high-probability entry and exit points with defined risk on every trade.
Complexity
Advanced
Easy to implement
NSE Suitability
High
5.2 / 10 score
Timeframe
Multi-Timeframe
Short to medium term
Best For
Advanced / Quant Traders
5–15 days moves
Indicators Used
2
Price Action, Volume
Win Rate (Backtest)
33.3%
Below 50% threshold
Avg Return / Trade
+0.12%
Per trade, after costs
Max Drawdown
-1.1%
Within typical range
Trades / Year
6
Small sample — interpret with caution
About the Cointegration Strategy Strategy
The Cointegration Strategy identifies pairs of NSE-listed stocks that move together historically but temporarily diverge. The approach captures mean reversion by exploiting price disconnects between correlated securities, treating the spread between them as the primary trading signal rather than individual price movements.
This strategy is particularly suited to the NSE's liquid large-cap and mid-cap segments where sufficient trading volume and tight bid-ask spreads make simultaneous entry and exit feasible. NSE's extended market hours and the relatively stable intraday volatility patterns of major index constituents provide reliable setups for monitoring cointegrated pairs across multiple timeframes.
The setup typically involves selecting two stocks with historically proven statistical correlation, then entering positions when their spread deviates beyond established thresholds while volume confirms the divergence is genuine rather than noise. Traders simultaneously go long the underperforming security and short the outperformer, betting the spread normalizes. Position management relies on monitoring volume behavior and watching for mean reversion confirmation rather than relying on lagging indicators.
This pairs-trading approach works best during range-bound or moderately volatile market conditions where sector-wide moves don't overwhelm the pair relationship, making NSE's consolidated trading environment valuable for maintaining the strategy's edge.
Who This Strategy Is For
This Advanced strategy suits Advanced / Quant Traders comfortable with a Multi-Timeframe timeframe and holding periods around several days. It's built for the Equity segment on NSE, so it fits traders who can check positions without needing intraday execution speed. It assumes you're already comfortable interpreting multiple indicators together and managing position sizing manually — not a first strategy to trade live.
Equity Curve (Backtest)
HIGH QUALITY
Tested on: RELIANCE
· 2024-05-13 to 2026-06-30
Total Return
+0.7%
CAGR
0.4%
Sharpe Ratio
0.28
Sortino Ratio
0.42
Calmar Ratio
0.36
Win Rate
33.3%
NSE Market Fit
5OUT OF 10
Moderate Fit
This strategy is well-suited for current NSE market conditions.
Win rate quality Needs Caution
Risk-adjusted return Good
Drawdown control Excellent
Trade frequency (sample size) Needs Caution
Sharpe ratio Needs Caution
Monthly Returns Heatmap
2024
2025
2026
Jan
—
—
—
Feb
—
—
-0.7%
Mar
—
—
—
Apr
—
—
—
May
—
+1.9%
—
Jun
—
—
—
Jul
—
—
—
Aug
—
—
—
Sep
-0.5%
-0.5%
—
Oct
-0.4%
+1%
—
Nov
—
—
—
Dec
—
—
—
Positive return Negative return
Performance vs Nifty 50
Nifty 50 comparison isn't available for this backtest period yet.
Identify the market context — determine if conditions are trending or ranging, and confirm the higher timeframe direction
2
Wait for the specific entry signal defined by the strategy rules — do not enter without full confirmation
3
Execute with pre-defined stop loss and target — manage the trade according to the exit rules without discretionary override
Entry & Exit Rules
Risk Management Rules
Risk Per Trade
1.0%
of total capital
Min Capital
₹30,000
Hold Period
5–15 days
Segment
Equity, Futures
Common Mistakes to Avoid
⚠️ Momentum strategies can give back gains quickly once momentum fades. A common error is not tightening stops as profits build, which lets a winning trade round-trip back to breakeven or a loss.
Full Backtest Report
Backtested on RELIANCE ·
2024-05-13 to 2026-06-30 ·
Capital ₹100,000
Equity Curve
Live tracking coming soon
We're building forward-tested, paper-trade tracking for this strategy so you can see how it performs
on live NSE data — not just historical backtests. Check back soon.
No sample trades added yet for this strategy.
Strategy Parameters
The exact rules and default values this strategy uses — adjust them when you run a full backtest.
Parameter
Default
Min
Max
Type
Description
lookback_period
60
30
120
integer
Bars to test cointegration between pairs
zscore_entry
2.0
1.5
3.0
decimal
Z-score level to trigger entry
zscore_exit
0.5
0.0
1.0
decimal
Z-score level to exit position
stop_zscore
3.0
2.5
4.0
decimal
Z-score level to stop out
Frequently Asked Questions
Cointegration is a statistical relationship where two non-stationary price series move together over the long term, even if they diverge temporarily. Unlike simple correlation, cointegration implies a stable long-run equilibrium relationship. Pairs that are cointegrated tend to revert to their historical spread relationship, making them ideal for statistical arbitrage.
Use the Engle-Granger or Johansen test in Python (statsmodels library) on at least 1-2 years of daily price data. A p-value below 0.05 on the cointegration test confirms a statistically significant long-run relationship. Common NSE pairs tested include HDFC Bank-ICICI Bank, TCS-Infosys, and Tata Motors-Mahindra & Mahindra.
Re-test quarterly at minimum since cointegration relationships can break down due to fundamental changes (M&A, sector shifts, management changes). A pair that was cointegrated for 3 years can suddenly diverge if one company's business model changes. Always have a stop-loss based on maximum spread divergence even with statistically validated pairs.
Calculate the spread between the cointegrated pair and its z-score. Enter when z-score exceeds 2.0 (short the outperformer, long the underperformer). Exit when z-score reverts to 0.5 or below. Set a stop loss if z-score exceeds 3.5, indicating the cointegration relationship may have broken down.
Related Strategies
Looking for alternatives? 1 Minute Scalping is a similar Intermediate strategy in the same Momentum category, with Very High NSE suitability.
MomentumIQ is an educational platform for strategy research and backtesting. We do not provide investment advice, recommendations, or tips. All backtest results are hypothetical, based on historical data, and for educational purposes only. Past performance is not indicative of future results. Backtested results may not account for brokerage, slippage, taxes, or other real-world costs. Please consult a SEBI-registered investment advisor before making any investment decisions.