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.

What is QuantZilla?

Quantzilla is 75+ hours of code mentoring program designed for noncoders who want to learn the coding program right from designing indicators, scanners, trading...
Rajandran R
58 sec read

Things to Consider While Building a Bracket Order Execution…

Building a Bracket Order Strategy is the most demanded request we got from most of the algomojo traders. This article explains the list of...
Rajandran R
12 min read

PlaceOrder – Multi Broker Exectuion Code Snippets for Amibroker

This tutorial explains how to build a button trading right from scratch and with a click of a button how you can send orders...
Rajandran R
7 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.

Leave a Reply

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