Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, 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. Building Algo Platforms, 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 Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, 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. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Line Trading – OpenAlgo Automation Module for Amibroker Users

The line Trading Automation tool is designed for Manual traders who want to perform level-based trade execution faster and also bring some advanced trade...
Rajandran R
55 sec read

Mini Certification Course on Algorithmic Trading

Welcome to the Mini Certification on Algorithmic Trading using Amibroker and OpenAlgo! This comprehensive 4-part series is designed to equip you with the knowledge...
Rajandran R
1 min read

Pivot Reversal Strategy – Tradingview Pinescript to Amibroker AFL…

Pivot Reversal Strategy is a popular in-built strategy in Tradingview Platform. Here I had attempted to convert the pinescript v5 to Amibroker AFL Code....
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