Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
why 60 second vs 1 minute strategy performance difference
Collapse
X
-
why 60 second vs 1 minute strategy performance difference
I run a strategy in two charts with all the variables same except one chart I use 60 second time frame and the other chart I use 1 minute time frame. The two strategy performance results are different and even the # of orders run different. Why is this happened? Thank you guys -
Hello alala8090,
Thank you for writing in.
This likley has to do with certain times of the day there is no trading at that second, thus bars are being grouped together differently.
What I suggest to understand this is go to the first trade both strategies made, dig into why the strategy took a trade and the other didn't, look for differences in the bars, compare high lows, look for missing bars, compare how many bars are on the chart before both. Look for errors in the log tab.
Second charts are built off tick data and minute data is built off minute data, how ticks are grouped into bars during periods of low activity likley has to do with what you're seeing.
You could also add prints to the strategy to compare the inputs causing the order trigger,
I’ve provided a link to a youtube video which covers an example of using prints to understand behavior:
Dive into manipulating C# code from within an unlocked NinjaScript strategy using the NinjaScript Editor.NinjaTrader 7 is an award winning end to end online ...
I’ve provided a link covering debugging which you may find helpful.
Debugging: http://ninjatrader.com/support/forum...ead.php?t=3418
Please let us know if you need further assistance.
Alan P.NinjaTrader Customer Service
- Likes 1
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Barry Milan, Yesterday, 10:35 PM
|
5 responses
16 views
0 likes
|
Last Post Today, 05:37 PM | ||
Started by DanielSanMartin, Yesterday, 02:37 PM
|
2 responses
13 views
0 likes
|
Last Post Today, 05:26 PM | ||
Started by DJ888, 04-16-2024, 06:09 PM
|
4 responses
13 views
0 likes
|
Last Post
by DJ888
Today, 04:28 PM
|
||
Started by terofs, Today, 04:18 PM
|
0 responses
12 views
0 likes
|
Last Post
by terofs
Today, 04:18 PM
|
||
Started by nandhumca, Today, 03:41 PM
|
0 responses
8 views
0 likes
|
Last Post
by nandhumca
Today, 03:41 PM
|
Comment