Removing The Gap Between Sessions - futures io
futures io futures trading



Removing The Gap Between Sessions


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one tst1 with 5 posts (1 thanks)
    2. looks_two cory with 2 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 Brownie with 1 posts (0 thanks)
    1. trending_up 2,898 views
    2. thumb_up 1 thanks given
    3. group 5 followers
    1. forum 10 posts
    2. attach_file 5 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Removing The Gap Between Sessions

(login for full post details)
  #1 (permalink)
Magadan Russia
 
 
Posts: 79 since Nov 2010

Hi all,

There is a little problem NinjaTrader`s crew couldn`t solve as of yet.When you imply sessions template,ocasionally there is a gap in price which maybe not suitable for many trading systems.I have a little code that,partially,solves this problem,but keeps the data a bit 'messy'.So i wonder,is there any way to accomplish that problem within Ninja sessions template,not using the code?

Thanks to anyone in advance!

Attached Thumbnails
Click image for larger version

Name:	GAP.jpg
Views:	135
Size:	173.4 KB
ID:	80777  
Attached Files
Register to download File Type: zip NoGapChart .zip (3.8 KB, 38 views)
Reply With Quote

Journal Challenge February 2021 results (so far):
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(170 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(116 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(31 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #3 (permalink)
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
 
vvhg's Avatar
 
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,816 received



tst1 View Post
Hi all,

There is a little problem NinjaTrader`s crew couldn`t solve as of yet.When you imply sessions template,ocasionally there is a gap in price which maybe not suitable for many trading systems.I have a little code that,partially,solves this problem,but keeps the data a bit 'messy'.So i wonder,is there any way to accomplish that problem within Ninja sessions template,not using the code?

Thanks to anyone in advance!

So basically you want to do something similar than back adjusted continuous contract, only that you want to eliminate the overnight gap?

I highly doubt that there is an indicator-free way of doing that.


vvhg

Hic Rhodos, hic salta.
Reply With Quote
 
(login for full post details)
  #4 (permalink)
Magadan Russia
 
 
Posts: 79 since Nov 2010


vvhg View Post
So basically you want to do something similar than back adjusted continuous contract, only that you want to eliminate the overnight gap?

I highly doubt that there is an indicator-free way of doing that.


vvhg


Yes,basically,what i want is to eliminate the gapping between sessions.The code i have is somewhat good,but there are to problems.

1.The chart is messy due to doubling of the data.
2.The second problem is that i`d want to tie the indicators to the degapping data and not to the real data.Using indicators with real time data with gaps wouldnt be correct.

Attached Thumbnails
Click image for larger version

Name:	GAP1.jpg
Views:	70
Size:	191.5 KB
ID:	80779  
Reply With Quote
 
(login for full post details)
  #5 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,029 since Jun 2009
Thanks: 845 given, 7,893 received


tst1 View Post
Hi all,

There is a little problem NinjaTrader`s crew couldn`t solve as of yet.When you imply sessions template,ocasionally there is a gap in price which maybe not suitable for many trading systems.I have a little code that,partially,solves this problem,but keeps the data a bit 'messy'.So i wonder,is there any way to accomplish that problem within Ninja sessions template,not using the code?

Thanks to anyone in advance!

for a cleaner look, set Show no gap chart only = true.

Reply With Quote
 
(login for full post details)
  #6 (permalink)
Magadan Russia
 
 
Posts: 79 since Nov 2010


cory View Post
for a cleaner look, set Show no gap chart only = true.


Thanks Cory,i did try this option,but for whatever reason it doesnt show no gap only.Any suggestions?

Reply With Quote
 
(login for full post details)
  #7 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,029 since Jun 2009
Thanks: 845 given, 7,893 received


tst1 View Post
Thanks Cory,i did try this option,but for whatever reason it doesnt show no gap only.Any suggestions?

.........................................................

Attached Thumbnails
Click image for larger version

Name:	ng.png
Views:	116
Size:	181.3 KB
ID:	80785  
Reply With Quote
 
(login for full post details)
  #8 (permalink)
Magadan Russia
 
 
Posts: 79 since Nov 2010


cory View Post
.........................................................

Thank you,i found the problem.There was an indicator that conflicted with the NoGap chart code.

Reply With Quote
 
(login for full post details)
  #9 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,855 since Mar 2010
Thanks: 4,238 given, 26,728 received


tst1 View Post
Hi all,

There is a little problem NinjaTrader`s crew couldn`t solve as of yet.When you imply sessions template,ocasionally there is a gap in price which maybe not suitable for many trading systems.I have a little code that,partially,solves this problem,but keeps the data a bit 'messy'.So i wonder,is there any way to accomplish that problem within Ninja sessions template,not using the code?

Thanks to anyone in advance!

@tst1: If you do not mind my commentary, the session that you selected is completely irregular. You probably never traded any crude oil futures ...

CL is traded at New York, the regular session starts at 9:00 AM EST and ends at 2:30 PM EST, see CME contract specifications. The most important price of the day is the official settlement price which is determined at 2:30 PM EST. Your session starts at 3:00 AM EST and ends at 12:00 PM EST. So you do neither catch the settlement at 2:30 PM nor the close at 5:15 PM.

This is MADNESS.

Now to make things worse, you try to eliminate a gap that does not exist, with the only exception of your own chart. So you first create the artificial gap and then try to eliminate it. The result is a chart with false sessions and false price data. Eliminating the gap also falsifies the prior day's price data including high and low. Swings for measuring retracements are artificially distorted. It is about the worst crude oil chart that I have ever seen.

I suggest reading some literature on trading crude oil first, you could for example start with the Logical Trader by Mark Fisher. I also would like to recommend the thread by @mfbreakout, which can be found here.



A simple crude oil chart is attached.



Reply With Quote
 
(login for full post details)
  #10 (permalink)
Magadan Russia
 
 
Posts: 79 since Nov 2010



Fat Tails View Post
@tst1: If you do not mind my commentary, the session that you selected is completely irregular. You probably never traded any crude oil futures ...

CL is traded at New York, the regular session starts at 9:00 AM EST and ends at 2:30 PM EST, see CME contract specifications. The most important price of the day is the official settlement price which is determined at 2:30 PM EST. Your session starts at 3:00 AM EST and ends at 12:00 PM EST. So you do neither catch the settlement at 2:30 PM nor the close at 5:15 PM.

This is MADNESS.

Now to make things worse, you try to eliminate a gap that does not exist, with the only exception of your own chart. So you first create the artificial gap and then try to eliminate it. The result is a chart with false sessions and false price data. Eliminating the gap also falsifies the prior day's price data including high and low. Swings for measuring retracements are artificially distorted. It is about the worst crude oil chart that I have ever seen.

I suggest reading some literature on trading crude oil first, you could for example start with the Logical Trader by Mark Fisher. I also would like to recommend the thread by @mfbreakout, which can be found here.



A simple crude oil chart is attached.



Thanks for your contribution!

Reply With Quote
 
(login for full post details)
  #11 (permalink)
Denver+CO/USA
 
Experience: Intermediate
Platform: Ninjatrader
Trading: Futures
 
Posts: 2 since Jan 2015
Thanks: 0 given, 0 received

Hi,

Was having similar problem with futures charts loading HUGE gaps in data. Had just done some clean-up and removed prior rollover-date instruments. Re-added them and the gaps were gone!

I.E. Add in previous month or 3-mo. prior instruments.

Then, go to Tools / Options / Data / check-mark: "Get data from server..." then exit (saving settings).

Next do the following (from NT support):
"First, I suggest clearing your data cache so that NinjaTrader will load fresh data the next time you connect.

To clear the cache, please close NinjaTrader and navigate to the following directory:

* My Documents > NinjaTrader 7 > Db

Delete the contents of the cache, tick, minute and day folders. Now, when you restart NinjaTrader and connect to your data feed, NinjaTrader will load new data.

Let us know if we can be of further assistance."

Their email link is: Help, Support & Training Videos | NinjaTrader

Worked for me.

Hope that helps, Pröst.

Ps: To refresh indicators and existing charts, "uncheck-mark" data above, F5 to reload, then "re-checkmark" before exiting.

Some mornings opening NinjaTrader:


Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Removing The Gap Between Sessions


Last Updated on January 8, 2016


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1500 prizes from Topstep!

February
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts