Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Average position price

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

    Average position price

    Trying to use "average position price" in the condition builder to exit a long trade at %.5 profit or %.5 loss. Have selected percent as the offset type but no matter what number I use as the offset, .005, .05, .5 etc the trades are exited almost immediately and not even close to %.5. What am I doing wrong?

    #2
    Figured out whats wrong but not sure how to fix it. the condition builder is multiplying the average position price by (1 + 0.005) which works for exiting at .5 percent profit. How do I get it to multiply by .995 which would be a .5 percent loss stop?

    Comment


      #3
      Can you try

      -0.5
      RayNinjaTrader Customer Service

      Comment


        #4
        The negative sign was the key. -.005 worked.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by RookieTrader, Today, 09:37 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by alifarahani, Today, 09:40 AM
        0 responses
        5 views
        0 likes
        Last Post alifarahani  
        Started by Gerik, Today, 09:40 AM
        0 responses
        4 views
        0 likes
        Last Post Gerik
        by Gerik
         
        Started by KennyK, 05-29-2017, 02:02 AM
        3 responses
        1,283 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by AttiM, 02-14-2024, 05:20 PM
        11 responses
        185 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X