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 XanderT, Today, 03:47 AM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by roblogic, Today, 05:19 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by Lbclotto, Yesterday, 10:18 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by rc5781, Today, 08:22 AM
        0 responses
        2 views
        0 likes
        Last Post rc5781
        by rc5781
         
        Started by jm_test19, Yesterday, 10:20 PM
        2 responses
        14 views
        0 likes
        Last Post jm_test19  
        Working...
        X