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 fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,404 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    95 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    8 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    159 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Yesterday, 09:29 PM
    0 responses
    8 views
    0 likes
    Last Post Belfortbucks  
    Working...
    X