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 CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        388 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        260 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        218 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        302 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        268 views
        0 likes
        Last Post CarlTrading  
        Working...
        X