Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

newb questions regarding entry orders

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

    newb questions regarding entry orders

    Hello,

    I am pretty new to coding. I started to learn easylanguage and I was a little supprised at its limitations with respect to entry orders. It is my understanding that to enter an order you basically have enter on the next bar or use the intrabarordergeneration code that has a host of problems. Does Ninja have the same or similar limitations?

    I am trying to code a system in which I want the entry order to be at a specific price. The order will be a limit order. For example, if the system generated a long, the entry would be a limit order above the current price. The entry price is determined from historical price data and will automically adjust according to historical price action.

    Is this possible?

    Thanks,
    WeToddDid

    #2
    Hello WeToddDid,

    Welcome to the NinjaTrader forums. The timing of orders depends on if you're submitting historically like in a backtest, or if running real time with CalculateOnBarClose = false.

    In real time, you can submit orders as soon as the condition is true and can be evaluated tick by tick when COBC = false.

    In backtest the timing is always condition evaluate true > order submitted to next bar, although you can code for intrabar granularity by adding a smaller series.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X