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

Hard stop loss

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

    Hard stop loss

    Hi,

    As many beginning traders emotions are a big obstacle.
    My biggest issue is that I move my stop loss in my disadvantage. I always work with a 180 USD stop but when emotions kick in that risk can easily double or triple.

    I was wondering if there is a way to code a hard stop, meaning you can't move the stop below your max loss level. I know its not inside NT, but can something like this be developed?
    Apart from developing this, I think it would be a great tool to help all beginning traders.

    Hope someone can help.

    Gianni

    #2
    Hello Gianni,

    Thanks for your post.

    No, NinjaTrader does not have a method for programming an unmoveable stop loss.

    It would be up to you to not manually move the stop loss once it is placed by the NinjaScript strategy. NinjaScript strategies are intended to run without manual intervention.

    Note that if you use Set methods in a strategy, such as SetStopLoss, the order can be manually moved. However, it will revert back to its originally submitted price level at the close of the bar if the price is not reached.

    See this help guide page for information about SetStopLoss and sample code: https://ninjatrader.com/support/help...etstoploss.htm

    Let me know if I may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    9 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    14 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    13 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,983 views
    3 likes
    Last Post jhudas88  
    Working...
    X