NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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 09-06-2009, 07:40 AM   #1
green
Junior Member
 
Join Date: Nov 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default momentum strategy

i am trying to create a strategy based on the following;

1) a daily trading session start time and length (in hours). No trades to be initiated outside of that session, all open trades to be closed at the end of that session.

2) Stoploss to be based on user input dollar amount, default value of $150.value can be changed by user.

3) Breakeven stoploss to occur when open equity reaches $100 (amount to be a user input, default value of $100)

4) Strategy to accommodate up to 5 contracts, with user ability to set different profit target (expressed in dollars) for each contract.

5) If profit target amount is not supplied for any of the 5 contracts, then a trailing stop of the SMA(18) will be in play. Period of the SMA is to be supplied by user parameter, 18 being the default.

6) entry point would be 3 consecutive candles at least 50% candle closing or reaching above each other all above the sma.

i am having trouble with entry and with exit for targets of second target on.
can you please let me know if i can do this with the strategy wizard?
thank you
green
green is offline  
Reply With Quote
Old 09-06-2009, 12:54 PM   #2
NinjaTrader_Austin
NinjaTrader Customer Service
 
NinjaTrader_Austin's Avatar
 
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
Default

green, you might be able to do all this in the strategy wizard. There are a couple of ideas that I don't think are possible with the strategy wizard though:
1) trail stop of SMA(18)
2) trail stop if and only if no profit target is supplied

If you would like a professionally coded solution, you could always contact one of our 3rd party consultants.
NinjaTrader_Austin 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
MOMENTUM Pinball Woktrade Indicator Development 3 01-10-2010 11:12 AM
Momentum bars? suedeuno General Programming 6 04-20-2009 02:10 AM
Momentum Help Page Anagoge Suggestions And Feedback 6 12-22-2008 10:11 AM
Volume and Momentum RJBen Indicator Development 1 10-13-2008 02:48 PM
Momentum Indicator Quicktrader10 NinjaScript File Sharing Discussion 1 08-20-2007 02:11 AM


All times are GMT -6. The time now is 08:42 PM.