Skip to content

Instantly share code, notes, and snippets.

@marketcalls
Created December 24, 2014 12:04
Show Gist options
  • Select an option

  • Save marketcalls/42cf802d1fdceca3b375 to your computer and use it in GitHub Desktop.

Select an option

Save marketcalls/42cf802d1fdceca3b375 to your computer and use it in GitHub Desktop.
Nifty Rollover Statistics
_SECTION_BEGIN("Rollover Statistics");
curr = OpenInt;
prev = Foreign( "NIFTY14DECFUT", "I" );
next = Foreign( "NIFTY15FEBFUT", "I" );
rollover = curr*100/ (prev + curr + next);
Plot(rollover,"Rollover",colorRed);
_SECTION_END();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment