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 Wizard Question NT 7
Collapse
X
-
Strategy Wizard Question NT 7
Not sure how an additional condition is written in the Wizard. My initial (Set 1) condition works fine. I added a second condition in Set 2, however, the strategy isn't including the second condition. When including additional conditions, I presume the section below is left blank because the initial condition (Set 1) has the Buy/Sell trigger. Is there a video or example somewhere showing how to properly add additional conditions? Thanks.
Tags: None
-
Hi JerryA, thanks for your post.
I do know know of a video that shows multiple conditions specifically, but the sets represent groups of conditions so your code will look like this with 2 sets:
if(<condition set 2>)
{
]
if(<condition set 2>)
{
}
This can be seen if you click "View Code" from the builder. The sets will run contiguously, one after the other.
Kind regards.Chris L.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Kaledus, Today, 01:29 PM
|
5 responses
12 views
0 likes
|
Last Post Today, 02:56 PM | ||
Started by Waxavi, Today, 02:00 AM
|
1 response
8 views
0 likes
|
Last Post Today, 02:53 PM | ||
Started by alifarahani, Today, 09:40 AM
|
5 responses
23 views
0 likes
|
Last Post Today, 02:53 PM | ||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
3 responses
16 views
0 likes
|
Last Post Today, 02:41 PM | ||
Started by PhillT, Today, 02:16 PM
|
2 responses
7 views
0 likes
|
Last Post
by PhillT
Today, 02:33 PM
|
Comment