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 wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    27 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 04-23-2024, 09:53 PM
    2 responses
    49 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    193 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,235 views
    0 likes
    Last Post xiinteractive  
    Working...
    X