Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Percent Trailing Target

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

    Percent Trailing Target

    Hi,

    I am looking for a logic for Percent Trailing Target.
    Let's say my Floor Amount is $1000 and my percent trailing is 95%.
    As soon as my profit hits $1000, the percent trailing kicks in that if my current profit goes down below $950 ($1000*95%), I get out. But if my current profit is going up, it keeps on calucating my trailing stop at 95% of my current profit so I can lock my Target profit.

    Thanks.

    #2
    Hello,

    I recommend reviewing this thread as they have detailed how to do most of what you are talking about:
    Last edited by NinjaTrader_Jim; 08-23-2019, 07:36 AM.
    DenNinjaTrader Customer Service

    Comment


      #3
      Hi there, the link for the above is dead? Do you have this somewhere else?

      Comment


        #4
        Hello mr_trade,

        The link is dead, but I have updated the post with a valid link to the thread that I believe Ben was referring to.

        As this post was made in 2008, many things have changed with NinjaTrader and it may be more worthwhile to open a new thread to get accurate information for NinjaTrader 7 or NinjaTrader 8.

        We have examples for modifying the stop loss in NinjaTrader 7 and NinjaTrader 8, where you could move the stop loss to a calculated level based off of your own logic.

        SamplePriceModification NT7 - https://ninjatrader.com/support/help...of_stop_lo.htm
        SamplePriceModification NT8 - https://ninjatrader.com/support/help...of_stop_lo.htm

        We look forward to being of further assistance.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by trilliantrader, 04-10-2024, 09:33 PM
        6 responses
        25 views
        0 likes
        Last Post trilliantrader  
        Started by traderqz, Today, 12:06 AM
        5 responses
        10 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by Mongo, Today, 11:05 AM
        2 responses
        9 views
        0 likes
        Last Post Mongo
        by Mongo
         
        Started by guillembm, Today, 11:25 AM
        0 responses
        3 views
        0 likes
        Last Post guillembm  
        Started by Tim-c, Today, 10:58 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X