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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    148 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X