Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calling the entry point

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

    Calling the entry point

    Hello - is there a simple way to call the trade entry point (price) and use that point in writing future trade rules? Example, I want to say:

    Trade Entry point - less current price >= ATR(20)[0]

    Thank you

    #2
    titleistbb22, you could refer to the Avg Entry Price of the trade -

    Comment


      #3
      Sorry - should have been more specific, this stop would be used for my 2nd entry. I want to use that specific entry instead of the avg entry. thanks

      Comment


        #4
        Thanks for clarifying - then you would need to access that specific execution price via the IExecution object - http://www.ninjatrader-support.com/H...Execution.html

        Comment


          #5
          Thank you - can you please clarify how to incorporate the IExecution method further? Im struggling with the help guide. Thank you. Also, can you use IExecution to identify a specific trade's unrealized P&L if I have two or more positions in a specific direction? thank you

          Comment


            #6
            titleistbb22, please see the reference sample titled "Using OnOrderUpdate() and OnExecution() to submit protective orders".
            AustinNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            64 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            35 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            58 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            61 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            49 views
            0 likes
            Last Post CarlTrading  
            Working...
            X