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 mintos, 04-02-2024, 08:22 PM
        5 responses
        30 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Felix Reichert, 04-26-2024, 02:12 PM
        10 responses
        69 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by PaulMohn, 04-24-2024, 03:49 AM
        4 responses
        36 views
        0 likes
        Last Post PaulMohn  
        Started by lightsun47, Today, 11:37 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Started by vitaly_p, Yesterday, 05:09 PM
        4 responses
        36 views
        0 likes
        Last Post vitaly_p  
        Working...
        X