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
No announcement yet.
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.htm
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
54 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
72 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment