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 bsbisme, Yesterday, 02:08 PM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by prdecast, Today, 06:07 AM
        0 responses
        3 views
        0 likes
        Last Post prdecast  
        Started by i019945nj, 12-14-2023, 06:41 AM
        3 responses
        60 views
        0 likes
        Last Post i019945nj  
        Started by TraderBCL, Today, 04:38 AM
        2 responses
        18 views
        0 likes
        Last Post TraderBCL  
        Started by martin70, 03-24-2023, 04:58 AM
        14 responses
        106 views
        0 likes
        Last Post martin70  
        Working...
        X