Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time in seconds in strategy wizard?

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

    Time in seconds in strategy wizard?

    Hey guys,
    I'm not a programmer, so I use strategy wizard and the condition builder to make my EA's and what not.
    I'm trying to have my EA open a position about 3 seconds prior to the close of a specified bar, however, I can only go out to the minutes place. How can I specify the time in seconds for my conditions to be met?
    Thanks in advance!

    - PipJaeger

    #2
    Hello PipJaeger,

    Welcome to the NinjaTrader forums. The strategy wizard only offers input to the minute, but you could edit code and change it to specify seconds. This won't help you though as the time you're checking for is the bar time stamp.

    To check actual time you would have to work in code and use C# property DateTime.Now .This reads from your computer clock and would be valuable in real time only.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    77 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    27 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    62 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X