Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Any way to enter trade on touch?

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

    Any way to enter trade on touch?

    is there a way to have ninja enter or exit a trader mid bar? like when a bar touches a moving average or at a set price or marker? all i can do so far is have it trigger on the next bar?

    #2
    Is that not medianbar?

    Comment


      #3
      i will look into that i was just thinking that meant the middle but would still be on the next bar,

      Comment


        #4
        hmm thanks Emma1 but it seems that just calculates the middle of the bar according to another thread i searched up.

        Comment


          #5
          Hello CoffeeOutlaw,

          Thanks for your post and welcome to the NinjaTrader forums!

          To have an order placed intrabar you would need to be using the strategy setting of Calculate.OnPriceChange or Calculate.OnEachTick. The default setting is Calculate.OnBarClose which waits until the end of the bar to execute your strategy code and any order submitted could not be filled until the next bar. Please note that historical orders would be processed as if the setting were Calculate.OnBarClose.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          89 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          135 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          68 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          119 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          69 views
          0 likes
          Last Post PaulMohn  
          Working...
          X