Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop loss

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

    Stop loss

    Hi there

    I have managed to program my entry and exit points on my backtested strategy but I am keen to factor in a stop loss. I have assumed that when I enter a posn it buys/sells 1mln posn. For my stop loss I would like to assume a 1% SL, therefore 10,000. The thing is i have looked at the Stop loss options on the gui strategy builder but i can't seem to get it to work when I run a back test. Can someone help me better understand how I can set my SL on my strategy...many thanks

    Steve

    #2
    Hello,

    Thanks for your forum post.

    Just to clarify you want to do a stop loss on 1% your equity or 1% move in the market your trading?

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Sorry I should have made it clearer, I'd like to make the stop loss 1% loss on the equity invested...and make it variable so I can optimise it...thanks

      Steve

      Comment


        #4
        Hello,

        In this case you would not be able to do this with the Strategy Wizard and would take some more in depth programming in NinjaScript to be able to do this.

        Let me know if you would like for me to send you the information to do so if you are a programmer.

        I look forward to assisting you further.
        BrettNinjaTrader Product Management

        Comment


          #5
          Hi Brett

          I am not a programmer but perhaps you can send this to me and maybe I can decipher what you send to me...if not will you be able to help me program it??

          Thanks
          Steve

          Comment


            #6
            Hello,

            You can contact one of our NinjaScript consultants to assist you with coding this or you can use our NinjaScript guide and forums to code this indicator yourself if you are a programmer. I am unable to assist with programming this personally however our NinjaScript consultants would be able to assist.

            NinjaScript Consultants:

            NinjaScript Help Guide:

            NinjaTrader Support Forum:
            BrettNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            85 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            47 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            67 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X