OptionDesk

Scrips in Uptrend and Downtrend: How the Trend Score and R² Work

The screen ranks F&O futures by how far they moved over 1 to 30 sessions and how straight the path was. Trend score is the move times R-squared of the line.

Updated 2026-11-27 · 4 min read

On this page
  1. What does the screen show?
  2. Why does the score include R squared?
  3. A worked example: 15D on 12 Aug 2026
  4. Where it misleads
  5. How do I use it?
  6. Related screens

Scrips in Uptrend / Downtrend ranks futures by how far they moved over a lookback of 1, 3, 7, 15 or 30 sessions and how straight the path was. A symbol is in the uptrend table when the fitted line slopes up; its trend score is the move multiplied by R² of that line.

Projected, not advice. Figures below are historical readings from an archived session, used to explain the screen. They are descriptive, not a forecast, and not indicative of future results.

What does the screen show?

Scrips in Uptrend / Downtrend on 12 Aug 2026 Scrips in Uptrend / Downtrend on 12 Aug 2026, 15D lookback

Two tables, uptrend and downtrend, each with: price, change since the session's open, change over the window, the window's highest high and lowest low, distance from each, OI change and OI change %, buildup over the window, and trend score. Controls: Latest or Historical, session calendar, Near/Next/Far, a list filter and the lookback buttons. Latest has no multi-session history, so it does not apply the window and says so; use Historical for a real lookback.

Why does the score include R squared?

Ranking on the move alone puts a stock that rose ten percent and fell back nine percent at the top. That is a stock rolling over, not trending.

So the screen fits a straight line through the close before the window plus every 15-minute close inside it. The line's slope sends the symbol to one table or the other. R² says how well the line describes the path, from 0 (no pattern) to 1 (a straight line). Score = move × R², so a choppy move keeps little of it. The count of "trending" symbols at the top of the page counts only rows with R² of 0.70 or more.

Both distances are shown on every row, from the window's high and from its low, so you can see when a row in the uptrend table is already well below its peak.

A worked example: 15D on 12 Aug 2026

On 12 Aug 2026 the 15-session window ran from 23 Jul 2026 (the baseline close was 22 Jul 2026), on the 25 Aug 2026 contract. The screen listed 145 symbols in the uptrend table and 71 in the downtrend table. Counting only rows with R² of 0.70 or more, it showed 49 bullish and 8 bearish.

  • PAYTM, uptrend rank 1: price 1,615.0, up 26.17% over the window, R² 0.9172, 1.58% below its window high of 1,640.9, trend score 24.0.
  • HEROMOTOCO, rank 2: up 19.53%, R² 0.9593, 1.01% below its high, score 18.74.
  • ADANIPORTS, downtrend rank 1: price 1,662.0, down 9.23%, R² 0.7282, 0.89% above its window low, score 6.72.

A larger move on a cleaner line ranks higher. A downtrend with R² near the 0.70 mark scores lower than an uptrend with R² above 0.9 even when the percentages are of similar size.

Where it misleads

OI change over a window. PAYTM's OI change over the window was 378.43% and HEROMOTOCO's 914.11%. Percentages that large typically come from a contract that was thin at the start of the window and filled up as the earlier month ran down, which is a likely explanation here rather than something the screen proves. Read them as a contract maturing, not as a measure of conviction. Compare with Combined OI on OI Scan when you need a series-neutral view.

The price is the last print, not the official close. The screen's own definition of Price is the last traded futures price of the session (the 15:30 print), whereas screens like OI Buildup use the official close, the last-half-hour VWAP. The two can differ slightly, so a symbol may not match across screens to the paisa.

Short windows are noisy. 1D is one session's move. A 1D "trend" is a day.

The window can be shortened. A young contract shows only the sessions it has.

How do I use it?

  1. Choose Historical and a session.
  2. Pick a lookback: 1D, 3D, 7D, 15D or 30D.
  3. Check the header: sessions in the window and the period start.
  4. Read score and R² together. Check Dist from High or Low.
  5. Use the list filter to restrict to an index; ranks restart inside the list.

Next step: open Scrips in Uptrend / Downtrend, choose 12 Aug 2026 and compare 7D against 30D for PAYTM.

Common questions

How does the Scrips in Uptrend / Downtrend screen decide a symbol is trending?
It fits a least-squares line through the close before the lookback window and every 15-minute close inside it. The slope of the line decides which table the symbol goes in, and the trend score is the size of the move multiplied by the line's R squared.
What is R squared here?
R squared runs from 0 (no straight-line pattern in the closes) to 1 (a perfectly straight line). A choppy move keeps little of its score. The headline count of trending symbols uses rows with R squared of 0.70 or more.
What lookback windows are available?
1, 3, 7, 15 and 30 sessions, ending at the session shown. The move is taken from the close of the session before the window, so 1D is one session's change.
Why does a young contract show a shorter window than I picked?
A contract that has traded fewer sessions than the lookback cannot fill it, so the server shortens the window to the sessions the contract has and the screen says so. This most often affects the Far month.
What does Dist from High mean?
How far the price shown sits below the window's highest high in the uptrend table, or above its lowest low in the downtrend table. Near zero means the price is at the window's extreme.
Why are some OI changes in the hundreds of percent?
OI change on this screen runs over the whole window on one contract. A contract that was thin at the start of the window and filled as the previous month approached expiry shows a very large percentage. It describes the contract maturing, not necessarily new conviction.
Does an uptrend mean the price will keep rising?
No. The screen describes what has already happened over the window. It carries no forecast and OptionDesk gives no buy or sell calls.

Disclosures

  • Not investment advice. OptionDesk provides tools, analytics, backtesting and education for NSE F&O only. It is not a SEBI-registered Investment Adviser or Research Analyst, and does not provide investment advice, buy/sell calls, tips or trade execution. You place every order yourself, through your own broker.
  • Projected, not promised. Every projected figure — payoffs, max profit/loss, probability of profit, target-date P&L and similar estimates — is “projected, not advice.” Backtested and simulated results are hypothetical, do not represent actual trading, and are not indicative of future results.
  • Delayed market data. Market data shown on OptionDesk is delayed by approximately one minute — it is not a live feed. It is provided for analysis and education only, and must not be relied on for time-sensitive execution.
  • F&O risk. Trading in futures & options carries a high risk of loss and is not suitable for every investor. Consider your objectives and risk tolerance, and seek independent advice where appropriate.

More in Futures