NexusFi: Find Your Edge


Home Menu

 





Not Plotting Correctly on New Contact


Discussion in NinjaTrader

Updated
    1. trending_up 1,037 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 1 attachments




 
Search this Thread

Not Plotting Correctly on New Contact

  #1 (permalink)
 
sudhirc's Avatar
 sudhirc 
detroit,mi
sc
 
Experience: Intermediate
Platform: NT
Broker: NT
Trading: ES
Frequency: Every few months
Duration: Hours
Posts: 417 since Sep 2011
Thanks Given: 1,709
Thanks Received: 471

Hi,

I'm having issues plotting the Dec contract for both NQ and ES. The last bar on the charts seems to extent more than it should, please refer to the pics and let me know how to fix it.

Thank you so much in advance,
Sudhir

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
What broker to use for trading palladium futures
Commodities
Cheap historycal L1 data for stocks
Stocks and ETFs
Quantum physics & Trading dynamics
The Elite Circle
 
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

NinjaTrader is preset to show mergebackadjusted contracts. This can be changed under Tools -> Options -> Data -> Merge Policy. However, I recommend not to change the settings.

A merge-backadjusted chart shows

-> the old front month contract until the close prior to rollover day
-> the new front month contract starting from the first minute of the session on rollover day
-> where the old front month contract and all prior contracts are vertically adjusted in order to remove the rollover gap

Rollover day was on September 10. This means that you can display the new contract starting with the trading day of September 10 (nota: the trading day start on September 9, 5:00 PM Central). All data prior to September 10 will be ajusted with the rollover offset calculated from the difference between the closes (settlement prices) of the old and new front month contracts on September 9.

You tried to display the new front month contract on September 9. As September 9 is prior to rollover date, the old front month will be displayed. Also on September 9, the offset is still unknown, as it is calculated from the closes of that very day. Therefore the prices shown on your chart are not yet adjusted. This means that all historical data shown on your chart is the original data from the old front month contract. The real-time data, however, is taken from the new front month contract. The last bar on your chart is built from a single historical tick of the old front month and incoming real-time ticks of the new front month. Therefore it is spread out, as it covers the entire gap.


Solution to your problem:

You should not try to display a merge-backadjusted chart for the new contract, before the offset needed for back-adjustment is known. A merge-backadjusted chart for the new contract only makes sense on rollover day or later. I would call this a user error. Also you will have noticed that your chart displayed correctly on rollover day, which was September 10.

Reply With Quote
Thanked by:




Last Updated on September 12, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts