Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automatic load start and end chart date data

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

    Automatic load start and end chart date data

    Hello friends

    Could i load start date and end date data automatically in a strategy chart?

    And other thing. COuld i change the session break line with code?

    Thank you !

    #2
    Hi ninjo,

    Thank you for your post.

    Unfortunately, it is not possible to set the Start and End dates of a chart (or any other Data Series window settings) through a script.

    Also, the session template, which is saved as part of the instrument settings in the Instrument Manager which is part of the database, can also not be changed with code.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      I want to access "End Date" and "Day To Load" in Initialize() of script.

      How can i do that ?
      Devdas
      NinjaTrader Ecosystem Vendor - Devdas

      Comment


        #4
        Hello devdas,

        Unfortunately, it is not possible to set the 'End date' or 'Days to load' of a chart through a script.

        Instead use a chart template to save / set this information.
        http://ninjatrader.com/support/helpG..._templates.htm
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        54 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        29 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        40 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        56 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        47 views
        0 likes
        Last Post CarlTrading  
        Working...
        X