Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Opens and intrabar execution

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

    Opens and intrabar execution

    One of the things I was hoping with the new NT8 CEP was the ability to not just enter intrabar in simulation, but to also generate orders based off the next bar's open. Then enter intrabar.

    In TradeStation and MultiCharts this is easily achieved with (to paraphrase):
    "EnterLong at Open of Tomorrow + TrueRange Stop..."

    The closest thing I can come up with in NT is the following, which of course doesn't work. Would be nice if it did!
    double LongEntry = Open[-1]+ATR(1)[0];
    EnterLongStopLimit(numContracts, LongEntry, LongEntry,"LE");

    Any thoughts?

    I'm just trying to get around the massive issue of having to use minute data versus daily data with is a lot more plentiful and accurate.

    #2
    Hello,

    Thank you for the question.

    If your strategy is running as CalculateOnBarClose = false or with a secondary series, for intra bar orders you could use the following items to assist in creating logic that happens on each new bar or on each new session.





    On a daily bar, if you wanted to enter an IntraBar order you could use IsFirstTickOfBar to determine the new bar, when a new bar generates and is the first tick you could submit an order using the Current bars Open.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    666 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    377 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    110 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X