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 Builder Newbie Issues
Collapse
X
-
Strategy Builder Newbie Issues
Just started with Strategy Builder, and all my entries only exits when an entry in the opposite direction is given. I've added Stops and Targets and they are ignored. What am I doing wrong?Tags: None
-
Hello Coreycharles100,
From the description it would be impossible to say what's wrong. Are you sure that your targets are priced so that they could fill before the next opposite signal? For builder questions you generally need to include much more specific detail about what you have done such as images of the sets and values being used for targets etc. If you have a reversal strategy and the opposite condition becomes true before the target fills you would just see alternating entries and reversals
JesseNinjaTrader Customer Service
-
Below is a screenshot of the entry condition for Sells and the Stop/Target Input. And a screen shot showing the entries connecting together. Not sure what else to check to stop the system from only exiting when the opposite signal is generated.
Comment
-
Hello Coreycharles100,
In the image for the stops and targets page you have used the signal name "10" for the targets but you did not use that name for the entry order, the targets are looking for an entry named "10". You can either remove the signal name from the targets or make sure that the entry is named the same as what the targets are looking for.
Another problem is that you have used 0 for the value meaning that there is not any offset, you need to also enter a value for each of the targets so they are spaced away from the current price.JesseNinjaTrader Customer Service
Comment
-
Comment
-
Hello Coreycharles100,
You would need to use a variable for that type of use case. A bool variable can be used. As part of the entry condition check if the variable is false and as part of the entry action set the bool to true. That would prevent any future signals. Later when you wanted the entry to work again you could set the bool back to false so the entry condition works again.JesseNinjaTrader Customer Service
Comment
-
Comment
-
Hello Coreycharles100,
In the set where you reset the variable you are just checking if the price is above the other price which can remain true for long periods of time. You would generally need something which happens infrequently like a crossover condition so that it just resets once when that happens instead of the whole time the price is above the other price.
JesseNinjaTrader Customer Service
Comment
-
Thank you, I was able to fix that issue. Next issue: How do I make the exit for a Long entry be based on an Indicator value (Say when RSI is Less than 20) in addition to a Profit Target of Stop Loss. Thanks.
Comment
-
Hello Coreycharles100,
You can find details on comparing indicator values here: https://ninjatrader.com/support/help...lueComparisons
If you have follow up questions please start a new thread for those questions as they are unrelated to the original post.JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ageeholdings, Today, 07:43 AM
|
0 responses
6 views
0 likes
|
Last Post
by ageeholdings
Today, 07:43 AM
|
||
Started by pibrew, Today, 06:37 AM
|
0 responses
4 views
0 likes
|
Last Post
by pibrew
Today, 06:37 AM
|
||
Started by rbeckmann05, Yesterday, 06:48 PM
|
1 response
14 views
0 likes
|
Last Post
by bltdavid
Today, 05:43 AM
|
||
Started by llanqui, Today, 03:53 AM
|
0 responses
6 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
12 views
0 likes
|
Last Post Today, 12:38 AM |
Comment