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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    55 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    132 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X