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 Kensonprib, 04-28-2021, 10:11 AM
        5 responses
        191 views
        0 likes
        Last Post Hasadafa  
        Started by GussJ, 03-04-2020, 03:11 PM
        11 responses
        3,230 views
        0 likes
        Last Post xiinteractive  
        Started by andrewtrades, Today, 04:57 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        7 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        441 views
        0 likes
        Last Post Delerium  
        Working...
        X