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

Please help with Opening Range Breakout Strategy

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

    Please help with Opening Range Breakout Strategy

    I have been working for the past three days on figuring how I can completely automate this strategy to execute every single day after the high and low of the first 5 minutes of trading the ES futures and cannot figure it out. Basically here is my system I want to automate:
    • Buy/Sell at market as soon as the price trades a tick above/below the first 5 minute bar high/low.
    • Execute this trade every single day after the first 5 minutes.
    • Target 1 is at +4 ticks
    • Target 2 is at +8 ticks
    • Time stop = 10 minutes after entry.
    • Stop loss to break even after first target is hit.
    • Stop trading after 1 execution of strategy per day.

    I tried using your sample breakout strategy and I am only getting around 30 trades executed in strategy analyzer in a 6 month sample. I tried coding it in strategy wizard and the best I can get is for the trade to execute 2 minutes after the 9:35amEST bar close. I am not a programmer and am just beginning to learn C#. Also with strategy wizard and all else I've tried I cannot get it to even execute every day, let alone correctly automate the trade management side of it. I just want A completely automated ORB daily execution and trade management strategy to complement and offset some risk of my discretionary trading.

    I will continue to work on improving my NinjaScript skills, but can anyone possibly help me with getting this setup and running? All help would be greatly appreciated.

    #2
    Hello,

    It sounds like you will need to debug it:


    If you get stumped, post some code with a question or two, and we will try to assist you.
    DenNinjaTrader Customer Service

    Comment


      #3
      Hi Orderflow,

      I was trying to develop a similar strategy but am really struggling.

      Would it be possible for you to send me your strategy as a starting point?

      Thanks a million in advance as i have hit a brick wall.

      Stewart

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by TraderJA, Today, 12:06 AM
      0 responses
      3 views
      0 likes
      Last Post TraderJA  
      Started by SnailHorn, Yesterday, 10:49 PM
      0 responses
      7 views
      0 likes
      Last Post SnailHorn  
      Started by naanku, Yesterday, 07:25 PM
      0 responses
      8 views
      0 likes
      Last Post naanku
      by naanku
       
      Started by milfocs, Yesterday, 07:23 PM
      0 responses
      6 views
      0 likes
      Last Post milfocs
      by milfocs
       
      Started by PaulMohn, Yesterday, 06:59 PM
      0 responses
      8 views
      0 likes
      Last Post PaulMohn  
      Working...
      X