![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Nov 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
|
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.
Austin
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |