![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Dec 2008
Posts: 62
Thanks: 0
Thanked 0 times in 0 posts
|
I am trying to setup conditions on a simple moving average crossover system for a particular instrument with a profit target of 24%.
The first condition is enter a long trade when the 15 sma crosses above the 84 sma. Close trade at EOD = False (i.e., hold overnight). The second condition is exit the trade (enter short) when either the 15 sma crosses below the 84 sma or the unrealized profit reaches 24%, whichever comes first. I have tried to construct these conditions using the condition builder with a profit target of 24%, but the result appear to ignore the profit target since the trades are always exited on a cross under condition rather than profit. The back test goes back to July last year. And I've attached screenshots of the condition builder and a zip of the trades tab of the back test for your review. Can you tell me where I went wrong? Thanks. Tooearly
Last edited by tooearly; 02-05-2009 at 01:27 AM.
Reason: ungrammatical, spelling!
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
|
Hi tooearly, please try entering 0.24 for a profit target of 24 % -http://www.ninjatrader-support.com/H...fitTarget.html
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Profit target in a strategy | ju1234 | Strategy Development | 9 | 12-15-2008 07:22 AM |
| Profit target | Charlie | ATM Strategies (Discretionary Trading) | 4 | 11-19-2008 10:32 AM |
| Profit Target? | Ninja B | Automated Trading | 4 | 08-04-2008 12:09 PM |
| Profit target | maninjapan | Strategy Development | 11 | 05-19-2008 07:41 AM |
| profit target - no stop | Futures_Shark | Suggestions And Feedback | 1 | 08-14-2007 10:51 PM |