Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get exit price on scale out trade?

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

    How to get exit price on scale out trade?

    If I enter a trade with 2 contracts and scale out 1 contract at a small profit, what is the best method to get the exit price that the first contract scaled out?

    tia

    taddypole...

    #2
    Hi Taddypole,

    Yes, this is possible but you have to structure orders as IOrders, and can then expose the exact price of the order using OnExecution() handler.



    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thank you RyanM,

      I'm using OnExecution to get an exit price.

      If I print out "OnExecution Order=", one of the parameters is:

      Fill price = XX.XX

      To get this price, do I use this method?

      ExitPrice = execution.Price;


      So, execution.Price 'equals' Fill Price?
      Just making sure I'm using this correctly.

      thanks

      taddypole...

      Comment


        #4
        Taddypole, that is correct. The execution price is fill price, because an execution implies a fill.
        AustinNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        56 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        143 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X