Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

General Question about indicators on Min(x) charts over a number of days

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    General Question about indicators on Min(x) charts over a number of days

    Hi NT Guys,

    Just got a very general question about indicators of pretty much any sort, when plotted on, for example, 5 min charts over a series of days.

    Lets take the ES 06-08 contract over the past two weeks as an example. 5 min bars plotted over those two weeks. I have defined the session start and end times to 14:00 and 21:15 respectively GMT (London UK time). Much like looking at stock prices (which are obviously closed overnight) I'm only interested in the main trading session.

    Now, much like plotting similar data for stocks, I get, obviously, some decent overnight moves between session breaks. These large 'overnight' moves obviously have a marked effect on any indicators that I'm plotting on the 'continuous data'... that is 2 weeks worth of 5 min data. If I'm plotting an SMA(14) and the ES 06-08 contract has rallied 40 ticks overnight then clearly my SMA will be skewed at the start of the day.

    I guess what I'm asking is, how do day traders who are plotting many days worth of data (and backtesting) deal with this issue. As far I can see there is only one way to deal with this...

    1. I put code into every indicator I use on data like this to make it only plot the inidactor using data from the current session. i.e. the indicator will effectively have a 'session break' itself.

    Am I missing something...?? If not, what would be a real bonus is if NT could add a flag that if set to true, only data from the current session was used to calculate an indicator.

    #2
    The approach you are taking right now is the only approach I can think of at this time.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks Ray.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Segwin, 05-07-2018, 02:15 PM
      14 responses
      1,788 views
      0 likes
      Last Post aligator  
      Started by Jimmyk, 01-26-2018, 05:19 AM
      6 responses
      837 views
      0 likes
      Last Post emuns
      by emuns
       
      Started by jxs_xrj, 01-12-2020, 09:49 AM
      6 responses
      3,293 views
      1 like
      Last Post jgualdronc  
      Started by Touch-Ups, Today, 10:36 AM
      0 responses
      12 views
      0 likes
      Last Post Touch-Ups  
      Started by geddyisodin, 04-25-2024, 05:20 AM
      11 responses
      62 views
      0 likes
      Last Post halgo_boulder  
      Working...
      X