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 fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,404 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      95 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      8 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      160 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Yesterday, 09:29 PM
      0 responses
      9 views
      0 likes
      Last Post Belfortbucks  
      Working...
      X