Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

How to Compute Nifty Rollover Statistics – Amibroker AFL code

1 min read

Rollover Statistics is a sentimental indicator in Futures and Option Market. Generally rollover figure shows how much of open positions are carry forward from current month to next month. And reading nifty rollover figures are meaningful only when the contract nears expiry season.

Why to do a Rollover in Future or Option contract?

People do rollover for variety of reasons
i)Expect the trend to continue in the near future.
ii)Not willing to book losses and expecting the trend to reverse from the current situation.
iii) Investors who take hedge positions by buying a stock in the spot market and selling it in the futures market.

[wp_ad_camp_5]

 
Nifty Rollover Formula:

For Example say we can to calculate Nifty future Jan 2015 rollover statistics. Then the formula is

Nifty Rollover

Note : The code works only with Authentic data vendors like Globaldatafeeds and Neotradeanalytics as they provide Open Interest Values for All the contracts.

Rollover Statistics – Amibroker AFL code
https://gist.github.com/42cf802d1fdceca3b375

High Rollover – High Rollover with high cost of carry indicates willingness to shift to next month contract even if the next month contract is trading at a big premium compared to the spot nifty and the sentiment is viewed as positive. whereas High rollover with high negative cost of carry indicates the sentiment is negative and people are carry forwarding their shorts and there is a willingness in the market to carry foward even if the next month future contract is trading at a big discount compared to spot nifty.

Sample Nifty Rollover Figures for Jan 2015 Contract – Hourly Chart
Nifty Jan Rollover Futures Hourly

Low Rollover – Low Rollover generally means sluggish market and lack of confidence about the direction among the traders and investors.

Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

[Live Coding Webinar] Build Your First Trading Bridge for…

In this course, you will be learning to build your own trading bridge using Python. This 60-minute session is perfect for traders, Python enthusiasts,...
Rajandran R
1 min read

[Webinar] Understanding and Mitigating Curve Fitting in System Trading

"Understanding and Mitigating Curve Fitting in System Trading"! This dynamic session aims to equip novice to intermediate traders, quantitative analysts, and financial engineers with...
Rajandran R
1 min read

P-Signal Strategy Long Only Strategy – Amibroker AFL Code

This tutorial provides an overview of the P-Signal reversal strategy, a quantitative trading strategy that utilizes statistical parameters and error functions to generate probabilistic...
Rajandran R
2 min read

4 Replies to “How to Compute Nifty Rollover Statistics – Amibroker AFL…”

    1. There are no such segregation’s as of now. Probably it is based on the historical figures available. For Example if the last 6 months in nifty shows rollover figures above 75 and this month it is close to 61% then it termed as lower rollover. Low rollover is termed based on the past historical data available.

  1. Hello Sir,

    This is regard software of amibroker, need some information about that.
    how to contact

    thank you

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More