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
Optimizing Multi-time frame
Collapse
X
-
Hello futuros,
Thanks for you post.
Can you provide some specific information such as:
1) What was the full error message?
2) Does the strategy back test without errors/isssue?
3) Does the strategy work when applied to live or market replay data?
4) What version of NinjaTrader8 are you using? (look under help>about)Paul H.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_PaulH View PostHello futuros,
Thanks for you post.
Can you provide some specific information such as:
1) What was the full error message?
2) Does the strategy back test without errors/isssue?
3) Does the strategy work when applied to live or market replay data?
4) What version of NinjaTrader8 are you using? (look under help>about)
2) yes
3) yes
4) 8.0.17.2
Comment
-
Hello futuros,
Thanks for your reply.
Correct, when adding any data series to your strategy then high order fill is no longer available, this is expected behavior. As the message states you would need to add "the more granular resolution you would like to simulate order fills with."
In addition to adding the more granular series, you would need to code your strategy to not run when that added data series calls OnbarUpdate(), so if the more granular series is the 2nd added dataseries you would add in OnBarUpdate() if (BarsInProgress == 2) return;
Also you would have to code your entry/exits to be placed on that last added data series in order to get the expected fills based on the added data series.
============
The current version of NinjaTrader8 is 8.0.21.1, when convenient for you please feel free to update as follows:- First, copy your license key from NinjaTrader under Help> License Key then exit NinjaTrader
- Click on the link: http://ninjatrader.com/PlatformDirect
- Enter your license key and press Submit
- Select 'NinjaTrader 8'
- Select 'Download'
- Critical: Before running the installer, ensure NinjaTrader is closed.
Paul H.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_PaulH View PostHello futuros,
Thanks for your reply.
Correct, when adding any data series to your strategy then high order fill is no longer available, this is expected behavior. As the message states you would need to add "the more granular resolution you would like to simulate order fills with."
In addition to adding the more granular series, you would need to code your strategy to not run when that added data series calls OnbarUpdate(), so if the more granular series is the 2nd added dataseries you would add in OnBarUpdate() if (BarsInProgress == 2) return;
Also you would have to code your entry/exits to be placed on that last added data series in order to get the expected fills based on the added data series.
============
The current version of NinjaTrader8 is 8.0.21.1, when convenient for you please feel free to update as follows:- First, copy your license key from NinjaTrader under Help> License Key then exit NinjaTrader
- Click on the link: http://ninjatrader.com/PlatformDirect
- Enter your license key and press Submit
- Select 'NinjaTrader 8'
- Select 'Download'
- Critical: Before running the installer, ensure NinjaTrader is closed.
what is "more granular resolution"?
Comment
-
Hello futuros,
Thanks for your reply.
When you select the High Fill option In the strategy analyzer you are specifying a more granular resolution, whatever you want to use is what you would need to add. For example if using High Fill with 1 tick (on non MTF strategies) then for your MTF strategy you would need to add a 1 tick series.
Paul H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
57 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
35 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
19 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment