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 CarlTrading, Yesterday, 11:51 AM
      0 responses
      18 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, Yesterday, 11:48 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-25-2026, 09:53 PM
      0 responses
      29 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 03-25-2026, 09:51 PM
      0 responses
      16 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 03-23-2026, 11:13 AM
      0 responses
      22 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X