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

How to set strategy finish time after midnight.

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

    How to set strategy finish time after midnight.

    HI guys,
    I'm trying to figure out how to set trading times for my strategy using the wizard as I have no clue about coding. I currently have it running from 11 am until midnight with no problems. But I want to extend the trading time by 1 hour to 1 a.m. the next morning and I just can't figure out how to do it. By the way I'm using range bars so the "Bars ago" line in the wizard doesn't help me.

    Thanks

    Chris

    #2
    Hi Chris, it would be possible by splitting the times you need coverage for up in parts, like in the attached example. However it would be 'cleaner' and more powerful if done outside the wizard interface with C#'s DataTime structures directly.
    Attached Files
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand,
      What great customer service you guys give , questions answered quickly, accurately and politely. Even when the answer is embarrassingly easy there's no hint of arrogance (thanks for that as well).

      Chris

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by AlgoDreamer, Today, 12:39 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by ninza33, Today, 12:31 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by nleitman, Yesterday, 11:46 AM
      17 responses
      45 views
      0 likes
      Last Post nleitman  
      Started by tradingnasdaqprueba, Today, 03:42 AM
      7 responses
      32 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by kaywai, Today, 11:59 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Erick  
      Working...
      X