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.

How to Install Amibroker and Ninjatrader on MacBook Air

This is a routine question we get from Mac users and in this tutorial, we will be learning how to install Windows 11 inside...
Rajandran R
49 sec read

What is Algomojo – Smart Order Execution Module for…

Smart Order Module brings a 100% end-to-end automated trading solution for Amibroker users to automate their trading ideas with a simple plug-and-play module. Traders...
Rajandran R
26 min read

Virtual Trade Simulator Module Version 1.0 – Amibroker AFL…

Thought of launching a simple and user-friendly Virtual Trade Simulator to study/test your inner intuition before practicing in the live markets. Virtual Trade Simulator...
Rajandran R
3 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