NexusFi: Find Your Edge


Home Menu

 





Not Plotting Correctly on New Contact


Discussion in NinjaTrader

Updated
    1. trending_up 1,032 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?
Deepmoney LLM
Elite Quantitative GenAI/LLM
Futures True Range Report
The Elite Circle
Online prop firm The Funded Trader (TFT) going under?
Traders Hideout
Build trailing stop for micro index(s)
Psychology and Money Management
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
56 thanks
Funded Trader platforms
44 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #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,102

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