Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

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.

 
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 Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Amibroker Execution Module – Hedged Index Futures for Directional…

In the last tutorial, we learn the importance of Hedging Futures Position with OTM Options for Reduced Margin. This tutorial focus on how to...
Rajandran R
14 min read

Multi Legged Options Execution – Amibroker Module – Button…

This tutorial provides you a basic framework for sending multi-legged options module and how to exit the multi-legged option module using a simple button...
Rajandran R
8 min read

Sending Option Orders and Exiting Option Orders in Algomojo…

This tutorial helps you to understand the options trading module and the requirements to set up and send and exit option orders from Amibroker...
Rajandran R
5 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