However, I would like to insert 2 additional condition that look at the 5 minutes and 15 minutes data to make sure that the 8 and 21 EMA have crossed in those 2 timeframe. So basically my strategy will not execute unless the 8 and 21 period EMA on both the 5 and 15 minutes chart have crossed. How do I go about doing this? I am not a coder so I hope there is a simple solution here through strategy builder.
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
How to create conditions on multiple timeframe?
Collapse
X
-
How to create conditions on multiple timeframe?
Hello, I have created a stochastic crossover strategy that I am applying to the 1 minutes chart (trading on the 1 minutes chart). All is good on that part.
However, I would like to insert 2 additional condition that look at the 5 minutes and 15 minutes data to make sure that the 8 and 21 EMA have crossed in those 2 timeframe. So basically my strategy will not execute unless the 8 and 21 period EMA on both the 5 and 15 minutes chart have crossed. How do I go about doing this? I am not a coder so I hope there is a simple solution here through strategy builder.Tags: None
-
Hi samdas,
You can add additional data series in Strategy Builder under "Additional Data". If that's the same instrument, check the box "Use Primary Instrument", then determine the type as you like 5M, 15M). Then refer to this in the code. To add an indicator referring to such additional data series, make sure to pick the right "Input Series". Instead of "Default Input", pick the respective other (under Data Series). Give it a try and have fun.
NT-Roland
-
Hello samdas,
Thanks for your post and welcome to the NinjaTrader forums!
Forum member NT-Roland has provided good guidance.
To supplement that, here is a short video that may help: https://paul-ninjatrader.tinytake.co...MF8xMTY0NTQyMw
In case you have not accessed the other reference materials, here are links:
Free live webinar every other Thursday at 4:00 PM EST, through this link to all webinars: https://ninjatrader.com/PlatformTraining
Previous recording of the Strategy Builder 301 webinar: https://youtu.be/HCyt90GAs9k?list=PL...auWXkWe0Nf&t=2
Help guide for the strategy builder: https://ninjatrader.com/support/help...gy_builder.htmPaul H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by yertle, Yesterday, 08:38 AM
|
7 responses
28 views
0 likes
|
Last Post
by yertle
Today, 12:15 AM
|
||
Started by bmartz, 03-12-2024, 06:12 AM
|
2 responses
21 views
0 likes
|
Last Post
by bmartz
Today, 12:11 AM
|
||
Started by funk10101, Today, 12:02 AM
|
0 responses
4 views
0 likes
|
Last Post
by funk10101
Today, 12:02 AM
|
||
Started by gravdigaz6, Yesterday, 11:40 PM
|
1 response
9 views
0 likes
|
Last Post Yesterday, 11:49 PM | ||
Started by MarianApalaghiei, Yesterday, 10:49 PM
|
3 responses
11 views
0 likes
|
Last Post Yesterday, 11:33 PM |
Comment