• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 borjanews, Yesterday, 06:13 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_ChrisSch  
        Started by Austiner87, Yesterday, 04:58 PM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_ChrisSch  
        Started by Gerik, Today, 12:53 AM
        0 responses
        4 views
        0 likes
        Last Post Gerik
        by Gerik
         
        Started by teafortwo, Yesterday, 04:26 AM
        4 responses
        12 views
        0 likes
        Last Post bltdavid  
        Started by Austiner87, Yesterday, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post Austiner87  
        Working...
        X