On 24 June 2011, the Nifty end-of-day chart flipped to a buy signal on the SDA2 trend trading system, a channel breakout method built from standard deviation and a 2-period ATR. This post records that signal, the 5546 weekly level that mattered, and, looking back from 2026, how the trade actually played out.

Nifty turned to buy signal on last friday on the EOD charts as per SDA2 trend trading system. Which indicates that the medium term nifty is likely in the buy mode and chances of continuation of the trend if is sustains above 5546 on weekly basis.
What Is the SDA2 Trend Trading System?
SDA2 stands for Standard Deviation and ATR(2). It was introduced on marketcalls in October 2010 as a variation of the AFBI channel system. The channel is built from a smoothed price value and widened by its standard deviation and a short ATR:
Derived=MA(((H+L)/2)+(O-C),3);
Upper=(Derived+StDev(Derived,7))+ATR(2)/1.5;
Lower=(Derived-StDev(Derived,7))-ATR(2)/1;
- A candle that closes above the upper channel turns the system to buy (green).
- A candle that closes below the lower channel turns it to sell (red).
- The lower channel is the stop for a buy, and the upper channel is the stop for a sell.
The full AmiBroker code is in SDA2 Trend Trading System AFL code. An improved SDA2 version 2.0, optimised for long-only trading and gap openings, followed in March 2012.
Reading the June 2011 Nifty SDA2 Signal
The buy signal came on Friday, 24 June 2011, when Nifty closed at 5471 after a sharp up-day. The condition for the medium-term trend to continue was a weekly hold above 5546. Here is how the following weeks unfolded, using Nifty 50 weekly closes from Yahoo Finance:
| Week ending | Nifty weekly close | What it meant |
|---|---|---|
| 24 Jun 2011 | 5471 | SDA2 buy signal on the daily chart |
| 1 Jul 2011 | 5627 | Weekly close above 5546, trend confirmed |
| 8 Jul 2011 | 5661 | High of the move at about 5740 during the week |
| 15 Jul 2011 | 5581 | Still above 5546 |
| 22 Jul 2011 | 5634 | Still above 5546 |
| 29 Jul 2011 | 5482 | Weekly close below 5546, buy case failed |
| 26 Aug 2011 | 4748 | Decline extended to the August low near 4720 |
The signal gave about 270 points on the upside, and the 5546 weekly filter did its job: once Nifty closed below it at the end of July, the reason to stay long was gone. The market then fell through August 2011, and Nifty ended 2011 at about 4624.
Lessons for Trading Trend Signals
- Use a confirmation level. A daily signal plus a weekly closing level is a simple way to avoid acting on every flicker of the system.
- Know your exit before you enter. In SDA2 the opposite channel is the stop; trailing it locks in part of a move like June–July 2011.
- Expect whipsaws in ranges. Channel breakout systems give back profits in sideways markets, which is what a trend follower pays for catching the big moves.
- Backtest before you trust it. See SDA2 version 2 backtesting results for Nifty futures.
Frequently Asked Questions
What does SDA2 mean in trading?
SDA2 is a trend-following channel system from marketcalls that uses Standard Deviation and a 2-period Average True Range (ATR) to build upper and lower bands. A close above the upper band is a buy and a close below the lower band is a sell.
Is the SDA2 system suitable for intraday trading?
It was designed and published for end-of-day charts on Nifty. It can be applied to other timeframes in AmiBroker, but the parameters should be backtested for the timeframe and instrument you trade.
What happened to Nifty after June 2011?
Nifty rallied to about 5740 in early July 2011, slipped below 5546 on a weekly closing basis at the end of July and then fell to around 4720 in August 2011.
Learn by watching: free videos every week
Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.


hi ,
sir how would it be to change ichi para to (3,12,20) or (3,11,20) , would it give better results ? tx in adv.