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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X