• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy analyzer session templates not consistent?

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

    strategy analyzer session templates not consistent?

    in my strategy analyzer runs monday daily price bars are properly preceded by a Friday bar in the analyzer chart display of bars [ie] the session template appears to be my desired 24 x 5 template.
    however when I send previous day info to the debug output window from my strategy code, Monday's previous day shows up as sunday. is there maybe a way to tell the strategy that I am on a Monday thru Friday, 24 x 5, session?

    #2
    Hello joemiller,

    Using a "Day" period type inside of the Strategy Analyzer you would not be able to specify a Session Template because Daily Bars will be reported directly from your Data Provider.

    The Date Time stamps of the bars will be displayed in the backtest based on the Session Template setting of your Instrument in the Instrument Manager, so if it is displaying "Sunday" then you may want to change this. To do this you may go to the Tools -> Instrument Manager window, search for your Instrument, select the Instrument, then press the Edit button, and then change the "Session Template" using the drop down window to something like "US Equities RTH".

    Let us know if that displays like you want.
    JCNinjaTrader Customer Service

    Comment


      #3
      I should have mentioned that the instrument is the EURUSD forex currency pair, so do I not have to keep the forex template?

      Comment


        #4
        joe,

        The "Forex" session template is configured as Sunday 5:00PM to Friday 5:00PM.

        You may consider using the "Default 24/5" session template which is Monday 12:00AM to Saturday 12:00AM, or you may customize your own session template which uses the dates/times you are seeking.
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Globus000, Today, 04:36 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by GibbsB613, 08-21-2018, 08:37 PM
        3 responses
        211 views
        0 likes
        Last Post elliot5
        by elliot5
         
        Started by mcosta72, Yesterday, 06:38 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by quinton77, Today, 04:36 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by mr_trader, Yesterday, 03:52 PM
        3 responses
        20 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X