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 bortz, 11-06-2023, 08:04 AM
      47 responses
      1,610 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      9 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      19 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      6 views
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      16 views
      0 likes
      Last Post Javierw.ok  
      Working...
      X