Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Entry Placement (basic understanding)

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

    Order Entry Placement (basic understanding)

    I am missing a basic concept regarding automating order entry, from within the OnBarUpdate Method. I've attached a basic order entry strategy below, that I expected to enter the market Long, at each "real time" bar whose high exceded the previous bars low.
    The print message is displayed but no order(s) were placed. I am missing a basic concept, any help is appreciated.


    protected override void OnBarUpdate()
    { if ( High[0]>Low[1])
    {
    Print("Should enter long");
    Print(Time[0].ToString());
    EnterLong();
    }

    }

    #2
    Please review the following section of our Help Guide with reference to Entries per direction and Entry handling.

    RayNinjaTrader Customer Service

    Comment


      #3
      Ray,
      That was the section I needed to read. Helped me answer my follow-up question as well.
      thanks,
      Phineas

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      77 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      27 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      62 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X