NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 07-11-2009, 03:49 AM   #1
OrderFlow
Junior Member
 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default 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.
OrderFlow is offline  
Reply With Quote
Old 07-11-2009, 02:03 PM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

It sounds like you will need to debug it:
http://www.ninjatrader-support2.com/...ead.php?t=3418

If you get stumped, post some code with a question or two, and we will try to assist you.
NinjaTrader_Ben is offline  
Reply With Quote
Old 08-03-2009, 04:30 AM   #3
Stewart Hall
Junior Member
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default

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
Stewart Hall is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Range indicator mod99 Indicator Development 15 09-03-2011 02:06 PM
Opening range breakout bradypreston General Programming 7 02-28-2010 05:13 AM
Open Range Breakout with Strategy Wizard SNIP07 Strategy Development 1 07-07-2009 05:22 AM
Josh's Breakout Strategy Help pclark Strategy Development 10 12-03-2008 10:52 AM
Breakout strategy spajk ATM Strategies (Discretionary Trading) 7 05-01-2005 06:37 AM


All times are GMT -6. The time now is 04:58 AM.