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 -

    BertrandNinjaTrader Customer Service

    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
        BertrandNinjaTrader Customer Service

        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 inanazsocial, Today, 01:15 AM
            0 responses
            2 views
            0 likes
            Last Post inanazsocial  
            Started by trilliantrader, 04-18-2024, 08:16 AM
            5 responses
            22 views
            0 likes
            Last Post trilliantrader  
            Started by Davidtowleii, Today, 12:15 AM
            0 responses
            3 views
            0 likes
            Last Post Davidtowleii  
            Started by guillembm, Yesterday, 11:25 AM
            2 responses
            10 views
            0 likes
            Last Post guillembm  
            Started by junkone, 04-21-2024, 07:17 AM
            9 responses
            71 views
            0 likes
            Last Post jeronymite  
            Working...
            X