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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        50 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        16 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X