Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to place a mar****rder for 1st tick of day?

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

    How to place a mar****rder for 1st tick of day?

    Hi, as NinjaScript is event based on prices, how can an order be placed for the opening of tomorrow?

    or can we only do this after the fact? As we need for tomorrow to become today with the first tick to trade, then it will place the order.

    Thanks. W2

    #2
    WSquared, it is not possible to place orders in the future. You will have to monitor for the first tick and then submit the order.
    Code:
    if (FirstTickOfBar && Bars.FirstBarOfSession)
    {
        // submit your order
    }
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    21 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    45 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    21 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by AttiM, 02-14-2024, 05:20 PM
    10 responses
    181 views
    0 likes
    Last Post jeronymite  
    Working...
    X