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

Session template

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

    Session template

    Is there a way to set session template through code?

    I am developing a strategy want to override session template with Default 24/7

    #2
    thenic, unfortunately that's not possible to set programmatically. You could check the used template and then issue perhaps an error message so user could change to the needed one.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Ok. That´s what I thought, but I was not sure.
      I still need help to create a messagebox so I can tell the user to manually change session template.

      Thanks for great support!

      Comment


        #4
        no template function

        do i have to own or rent NT to get template function?

        Comment


          #5
          laredo78676, what version are you presently using then? If you press Ctrl F on your chart you should be able to select / change the session template used. Please see the link below for more info about how to define them and where they are used / set througout NT : http://www.ninjatrader.com/support/h...on_manager.htm
          BertrandNinjaTrader Customer Service

          Comment


            #6
            NT 7
            the template selection,righ tclick on chart 2nd form bottom,i felt wud save,since it ssays save as,whatever I had on the chart,but it doenst ??

            Comment


              #7
              Hi Laredo,

              A chart template does not preserve any details about the instrument applied to the chart. It saves the chart properties and visual settings of the chart.
              Ryan M.NinjaTrader Customer Service

              Comment


                #8
                the session template u set the hrs of the $ instrumenta as well as any volume color etc

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by md4866, Today, 08:15 PM
                0 responses
                1 view
                0 likes
                Last Post md4866
                by md4866
                 
                Started by mjbatts91, Yesterday, 04:48 PM
                2 responses
                23 views
                0 likes
                Last Post mjbatts91  
                Started by pibrew, Today, 06:10 PM
                1 response
                17 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by actualfacts.2021, 07-25-2021, 03:11 PM
                8 responses
                1,184 views
                0 likes
                Last Post linkcou
                by linkcou
                 
                Started by reynoldsn, Today, 07:11 PM
                0 responses
                4 views
                0 likes
                Last Post reynoldsn  
                Working...
                X