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 fx.practic, 10-15-2013, 12:53 AM
            5 responses
            5,404 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by Shai Samuel, 07-02-2022, 02:46 PM
            4 responses
            95 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by DJ888, Yesterday, 10:57 PM
            0 responses
            8 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by MacDad, 02-25-2024, 11:48 PM
            7 responses
            159 views
            0 likes
            Last Post loganjarosz123  
            Started by Belfortbucks, Yesterday, 09:29 PM
            0 responses
            8 views
            0 likes
            Last Post Belfortbucks  
            Working...
            X