![]() |
|
|||||||
| Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Mar 2011
Posts: 53
Thanks: 7
Thanked 0 times in 0 posts
|
Hi,
Attached is a screen snap short within 1 second of slippage in ES 2-7-2009 in a Strategy Analyzer chart report. Does anyone has any idea what would actually happen in live trading when the same happen? |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Sep 2008
Posts: 543
Thanks: 80
Thanked 187 times in 131 posts
|
It's kind of hard to tell what is being shown in that chart.
|
|
|
|
|
|
#3 |
|
Member
Join Date: Mar 2011
Posts: 53
Thanks: 7
Thanked 0 times in 0 posts
|
Let me explain, the strategy triggers many buy and sell orders within the blue levels within 32 ticks in 1 second.
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
|
It would depend largely upon the order type being used...for you the next step would be running this script in Market Replay or realtime simulation to get a feel for it's non backtesting behavior.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Mar 2011
Posts: 53
Thanks: 7
Thanked 0 times in 0 posts
|
The order type is limit order, I assume the replay would be the same as it just get the same data. For live simulation, I cannot sit in front of the computer and wait a year before this will happen again.
Any insight into what actually happened during that second and will a live strategy react just like the image... is being asked here. I would appreciate any one share opinion on his/her experience in auto trade strategy in live trade. I have experience this a number of time in live trading but have no idea what would happen when run in strategy live. Is it just corrupted data? But I have seen similar slippage data happen in real life when trading. If this is true data, then until this issue being minimize or protected, a big drawdown is waiting to fire any time. |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
|
No, the replay would not use the same data, it's a fundamentally different concept than back-testing, so this would be your best approach to deeper understand your strategy reaction to this set of data.
Looks to me like a news event unfolding?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#7 | |
|
Senior Member
Join Date: Feb 2012
Posts: 181
Thanks: 44
Thanked 13 times in 11 posts
|
Quote:
I think one of your problems is that you're using tick charts with a small number of ticks (maybe you're suing say 5 tick bars, rather than the usual 200 or 300 tick bars).. Secondly, and this is the problem I had, I was working with rising/falling conditions that were valid over many bars. (I guess your conditions are valid over many small tick bars.) I found that the solution to this was to introduce "if ... else if" conditions. Basically, in the if condition, you state the negative of your main conditions applied to the previous bar. In the else if, you state the (positive) conditions for the current bar. In this way, for orders valid over a number of bars, the only order entered is one for the very first bay for which the conditions are valid. Another approach is to use 'boolean flags', but this makes the logic of the strategy much more complex. I hope this makes sense, but it certainly works for me and completely solved the problem. But I'd also look at greatly increasing the 'tick size'. |
|
|
|
|
|
The following 2 users say thank you to arbuthnot for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Slippage and commission applied to Percent Profitable in Strategy Analyzer results? | adamus | Version 7 Beta General Questions & Bug Reports | 3 | 08-09-2010 09:08 AM |
| Slippage in backtesting / optimization Strategy Analyzer | adamus | Version 7 Beta General Questions & Bug Reports | 19 | 06-04-2010 04:53 PM |
| Slippage | dowhk | Strategy Analyzer | 3 | 02-19-2010 04:08 AM |
| Strategy Management & Slippage | P51 | ATM Strategies (Discretionary Trading) | 1 | 12-06-2006 03:03 AM |
| Strategy Management & Slippage | P51 | ATM Strategies (Discretionary Trading) | 0 | 12-06-2006 02:57 AM |