NIFTY JNSAR Trend Following with Close-Based Direction Signals
Summary
The document describes a trend-following system intended for intraday trading of the NIFTY index. It calculates a JNSAR reference line from five days of exponential averages of highs, lows, and closes. The accompanying explanation says to take a position in the direction indicated by the close relative to that line, enter on the next day's open, and exit when an opposite signal appears. The source code instead submits long or short entries whenever the close is above or below the line, without an explicit next-open rule or separate exit condition.
No detailed performance figures are supplied; the text only characterizes historical backtest results as favorable. The published backtest settings specify BTC/USDT futures over a short period, despite the stated NIFTY focus, so they do not substantiate the strategy's suitability for NIFTY. The document flags whipsaws in sideways markets, lagging or false signals, and potentially large drawdowns. It gives no specific stop-loss rule, while presenting stop management and position sizing as possible improvements.
Key ideas
- The JNSAR line is built from five days of exponential averages of high, low, and close prices.
- The stated signal direction is long above the line and short below it.
- The prose specifies next-day-open entry and reversal-signal exit, while the shown code does not fully implement those details.
- The strategy is presented for NIFTY, but the published backtest settings use BTC/USDT futures.
- Sideways markets can cause whipsaws, and the document identifies drawdown control as an unresolved concern.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.