![]() |
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
|
|||||||
| Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Mar 2008
Posts: 10
Thanks: 0
Thanked 0 times in 0 posts
|
I have found other threads that ask a similar question but not in relation to using Strategy Analyzer.
Basically, I am testing a strategy that wants to have long and short orders open at the same time (on the same instrument). But when I open (say) a short, the previously opened long is automatically closed. Is it possible to switch off this auto-closing? I realize that I can test this by using 2 instruments, but if I do this, is it possible to display charts for both instruments within the Analyzer so that I can see the longs on the 1 chart and the shorts on the other? Many thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
Having an open position both long and short at the same time is not supported. In NinjaScript, having working orders that is both long and short is also not supported. If you want aggregated results, you cann export the trades tab to Excel and run statistics from there. Just right click>export to excel.
Ben
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| long 1 shown short 0 | ATI user | Strategy Development | 2 | 10-09-2008 09:17 AM |
| Long & Short Stop Order | PHOLAN | Automated Trading | 3 | 09-23-2008 08:18 AM |
| Always start with a long or short | Nu2NT | Automated Trading | 4 | 05-12-2008 12:05 PM |
| Check if last position was long or short!? | whitegun | Automated Trading | 1 | 02-07-2008 03:30 PM |
| Long & short combined in 1 strategy | dtf139 | Automated Trading | 5 | 01-08-2008 08:23 PM |