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
Strategy condition question
Collapse
X
-
Strategy condition question
Hi, was hoping someone could help with a quick query I have. I have a short only strategy that I have, it's very simple and I'm happy with it. I used strategy builder for it. It executes short positions on the daily chart. I wanted to test something new out...for the strategy to only execute short positions on the daily if the weekly ALSO confirms. I could do this manually on two seperate charts and execute manually but would like to do it this way (for backtest purposes too). Is there an easy way around this? Thanks in advance to anyone who can help.Tags: None
-
Hello adams016,
Thanks for your post.
You would need to add a "Week" series to your script to check that value. Once you add the series you can set it as the Input series for any price/indicator comparison.
Here are some samples of common conditions you may want to create in the Strategy Builder: https://ninjatrader.com/support/help...on_builder.htm
Please let me know if you have any questions.Josh G.NinjaTrader Customer Service
-
adams016,
You would be able to add a "Week" series in the Strategy Builder from the "Additional Data" screen
As far as unlocking the script, that would depend on your logic. If you are simply comparing indicator or price values of the additional data series I would expect to be able to accomplish this from within the Strategy Builder.
Josh G.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by haas88, 03-21-2024, 02:22 AM
|
18 responses
207 views
0 likes
|
Last Post
by haas88
Today, 02:37 AM
|
||
Started by Board game geek, Today, 02:20 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 02:20 AM | ||
Started by knighty6508, Today, 01:20 AM
|
2 responses
13 views
0 likes
|
Last Post
by knighty6508
Today, 02:13 AM
|
||
Started by franatas, Today, 01:53 AM
|
0 responses
2 views
0 likes
|
Last Post
by franatas
Today, 01:53 AM
|
||
Started by knighty6508, Today, 01:17 AM
|
0 responses
9 views
0 likes
|
Last Post
by knighty6508
Today, 01:17 AM
|
Comment