Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Breakout Strategy

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

    Breakout Strategy

    Hello,

    Sorry but i am a newbie and am having issues trying to figure out how to do a simple breakout stratgy to back test. I am wanting to take the first 30 min bar range and do a buy at the top of the break and a sell at the bottom of the break. Could anyone point me in the right direction on how to acchomplish this. Thanks in advance for your help

    PGK

    #2
    Welcome to our forums - please take a look at this reference sample here for this task - http://www.ninjatrader.com/support/f...ead.php?t=3223

    Comment


      #3
      Thanks Bertand,

      I have tried that but it seems that i cannot edit the strategy in the wizard. When i try and edit it it only gives me the script code which i do not know how to edit. Are there any instructions on how i can do this by using the wizard? I think that would help me. My real issue is inputting the variables in the wizard etc. Your help is greatly appreciated.

      Comment


        #4
        Correct, this sample would involve the 'raw' NinjaScript custom code.

        In the wizard you can start by setting up a time condition to save the needed bar high and low to a variable so you can later (in another condition set) place trades based on this being crossed by price.



        Comment


          #5
          Thanks Bertand,

          What would i put as my input values under the "user defined inputs" in the wizard. ?

          Comment


            #6
            You would for example create inputs here that you could change / set on the fly later as you work with the strategy, for example you don't want to use a static, hard stop of 8 ticks all the time - thus create a user defined input for the stop value in ticks and then link this input to your stop value later in the wizard, thus offering the option to change it quickly later when you start your strategy for trading - you would also need those inputs to for example optimize the values with our optimizer in the Strategy Analyzer section of NinjaTrader.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            578 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            334 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            553 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            551 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X