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

Trading Hours in setdefaults.

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

    Trading Hours in setdefaults.

    When editing a strategy in the strategies tab there is a drop down list of trading session templates to choose the appropriate session from. In set defaults within the strategy can I set that session or trading hours with hard code, as I can with "days to load" for example.

    Regards and thanks.

    #2
    Hello elliot5,

    You can get trading hours however you can't set it from State.SetDefaults, it has no effect on that property due to the dataseries being a manual configured component.

    Please let me know if I can be of further help.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thank you for your imput - it will have to be set in the GUI and not defaults. Many thanks for your help.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Taddypole, Today, 02:25 PM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by Graci117, Yesterday, 11:40 PM
      3 responses
      18 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by cmtjoancolmenero, Today, 02:31 PM
      2 responses
      6 views
      0 likes
      Last Post cmtjoancolmenero  
      Started by tradebot, Today, 01:25 PM
      2 responses
      8 views
      0 likes
      Last Post tradebot  
      Started by merc410, Today, 03:41 AM
      4 responses
      28 views
      0 likes
      Last Post merc410
      by merc410
       
      Working...
      X