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 CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        282 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        173 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        172 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        262 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        214 views
        0 likes
        Last Post CarlTrading  
        Working...
        X