RolloverVolume V2
I've updated this indicator to use a different approach. It now shows daily volume of various contracts months for an instrument. Highlights the contract with the highest volume, if another contract has higher volume then that on the chart. When this happens, then it's time to rollover.
- Make sure you choose an explicit session template for the chart. Do not choose <Use Instrument Settings>
- Make sure at least 3 valid future contract months are defined in your Instrument Manager default instrument list
- Add an optional comma separated list of future contracts for your instrument in 'Contracts List' parameter Ex: "CL 01-12, CL 02-12, CL 03-12". If blank, the next 3 future contracts will be used. These contracts must be defined in your default instruments list
- Add the current contract name to the parameter 'Current Contract'. If blank, the current chart contract will be used.
The indicator requires that your broker sends daily volume data as a separate message. I use it with Mirus and Interactive Brokers. I don't know if all brokers do this.
Warning:
This indicator uses un-supported code, namely using variables in the Add() method. This may have unpredictable results in NT behavior, like a frozen chart. I have put in code to try to prevent this, and tested successfully with various instruments. I can't guarantee this for every instrument and every configuration, so please test in your environment before using live.
Category NinjaTrader 7 Indicators
|
|
|