Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Start/End Time

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

    Start/End Time

    I'm using time series and time value within a Strategy Builder code. I would like to user a user input for start/end time but there is no option when I select time series/time value. It works fine, but I have to change the times within the code every time I want to change the time. How do I include the start/end time as a condition? Thanks.

    #2
    Hello Fran888,

    Thanks for your post.

    User-defined Time inputs could be created on the Inputs and Variables screen of the Strategy Builder. That variable could then be used for your Time comparisons in the Conditions and Actions screen.

    You could find a simple example script on the forum thread linked below demonstrating how this could be accomplished.

    https://ninjatrader.com/support/foru...86#post1109686

    See the help guide documentation below for more information.

    Inputs and Variables Screen: https://ninjatrader.com/support/help...ariablesScreen
    Conditions: https://ninjatrader.com/support/help...on_builder.htm
    Actions: https://ninjatrader.com/support/help...t8/actions.htm

    Let me know if I may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    89 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X