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 zstheorist, Today, 07:52 PM
      0 responses
      3 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      149 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      5 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      33 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      5 views
      0 likes
      Last Post tkaboris  
      Working...
      X