• 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

How to set Break EOD from script

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

    How to set Break EOD from script

    hi
    how can i set

    Break EOD

    from script ?


    #2
    Hello doron,

    Thanks for your post.

    I will investigate and update this thread when I have information.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      see this
      or this

      But
      This property should NOT be accessed within the OnStateChange() method before the State has reached State.DataLoaded
      probably means that NT don't want you to try to set the UI default (for the primary data series) from code.
      Whereas you can easily set the property for additional series using the signatures of AddDataSeries that include the isResetOnNewTradingDay parameter, such as
      Code:
      AddDataSeries(string instrumentName, BarsPeriod barsPeriod, string tradingHoursName, bool? isResetOnNewTradingDay)

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Benjaminf, Today, 02:21 PM
      0 responses
      5 views
      0 likes
      Last Post Benjaminf  
      Started by chrismcdermut, Today, 01:46 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by dpolyakov, Today, 01:13 PM
      3 responses
      14 views
      0 likes
      Last Post dpolyakov  
      Started by tjendra, Today, 12:15 PM
      3 responses
      9 views
      0 likes
      Last Post tjendra
      by tjendra
       
      Started by lunardiplomacy, Today, 11:46 AM
      4 responses
      17 views
      0 likes
      Last Post lunardiplomacy  
      Working...
      X