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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        67 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X