The target and stops seem to cancel the way a strategy entry does if not executed in the current bar. This does not occur in NT7.
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
Unirenko Targetand stops CANCELon new bar
Collapse
X
-
Unirenko Targetand stops CANCELon new bar
NT8.0.17.1 64-bit Unirenko strategy enters fine. On new bar the targets and stops cancel. Tried reloading NT8 clean and it is still happening. Any help would be appreciated since without the targets and stops I am not able to reliably trade the strategy - created with Strategy Builder - so no customizing T/S.
The target and stops seem to cancel the way a strategy entry does if not executed in the current bar. This does not occur in NT7.Last edited by JMont1; 02-11-2019, 11:48 PM.Tags: None
-
Hello JMont1,
Thanks for your post.
Please post your code and example code that demonstrates the issue.
If you would prefer not to post your code publicly, please write into PlatformSupport[at]NinjaTrader[dot]Com, attach your code file to your e-mail. Mark the e-mail subject line atten:Paul and include a link to this thread for reference in the body of the e-mailPaul H.NinjaTrader Customer Service
-
FYI all -- message from support on this issue:
Just to update you, after further review we were able to recreate the issue with a simplified test script. We will investigate further and will update you with our findings. Thanks in advance for your patience while we dig into this further.
Comment
-
NinjaTrader_PaulH Since no fix yet I tried to use Strategy Builder's Bool to turn on and off a forced exit at the target. Strategy compiles fine.
But when implementing the strategy it does not give the option to change the bool from my default of false to true. This means I cannot turn on this step in the strategy making it none existent.
PLEASE see if this is another bug. Thank you.
Comment
-
Hello JMont1,
Thanks for your post.
As of this morning, development has confirmed that the canceling of the trailing stop and profit has been fixed and will be available in the next release of NinjaTrader8. I do not know specifically when that will occur.
For the issue you are reporting today, Please post a screenshot of where the variable/input is created and where it is that you are trying to change its status.Paul H.NinjaTrader Customer Service
Comment
-
Hello JMont1,
Thanks for your reply.
In your example, in the variables table, ATMok and ATMok2 are what would be called "internal variables" or "private" variables that are used within the strategy itself and are not "exposed". These variables can have their state changed while the strategy is running in the "action" section of a set and would be found in the Misc folder.
If you want to use a bool to change something when you apply the strategy, for example, you want the strategy instance to do or not do something, then you would want to create a bool as an input variable that then would be available in the user interface to set as you wish. Like other inputs, it would be read-only and would not change states from what you set it as when you apply the strategy.
From your description, I suspect you want to create the bool as an input.
Paul H.NinjaTrader Customer Service
- Likes 1
Comment
-
Originally posted by NinjaTrader_PaulH View PostHello JMont1,
Thanks for your post.
As of this morning, development has confirmed that the canceling of the trailing stop and profit has been fixed and will be available in the next release of NinjaTrader8. I do not know specifically when that will occur.
For the issue you are reporting today, Please post a screenshot of where the variable/input is created and where it is that you are trying to change its status.
Comment
-
Hello JMont1,
The bug fix identified as [NTEIGHT-13574] "Strategy on Renko Series will cancel SetProfitTarget & SetTrailingStop orders on 1st trailing stop modification" was planned for the 8.0.18.0 release however we found an additional conflict this caused and this was pulled from the 8.0.18.0 release. It is currently slated for the next release of NinjaTrader unless further related issues are found between now and then. As before I cannot advise when the next release will occur. Thanks in advance for your continued patience on this topic.
Paul H.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_PaulH View PostHello JMont1,
The bug fix identified as [NTEIGHT-13574] "Strategy on Renko Series will cancel SetProfitTarget & SetTrailingStop orders on 1st trailing stop modification" was planned for the 8.0.18.0 release however we found an additional conflict this caused and this was pulled from the 8.0.18.0 release. It is currently slated for the next release of NinjaTrader unless further related issues are found between now and then. As before I cannot advise when the next release will occur. Thanks in advance for your continued patience on this topic.
Thank you for your support.
Comment
-
Originally posted by NinjaTrader_PaulH View PostHello JMont1,
Thanks for your reply.
If you are not already, you can use the fixed stoploss without issue until the fix has been implemented.
Comment
-
Standard Stop did not work out so well. I thought they would be created as moveable stops so I could adjust without killing the strategy. Unfortunately, they are absolutely FIXED as your name for them indicates. So there is not way to use them as manual MOVING stops and TARGETS.
Thanks for the thought tho.
Comment
-
Hello JMont1,
Thanks for your reply.
Correct, in the strategy builder the SetStopLoss is not dynamically adjustable.
If you want to stay within the strategy builder environment, an alternative would be to code your own trailing stop. My Colleague Chelsea has created an example of a breakeven type as well as a trailing stop type in this thread: https://ninjatrader.com/support/foru...rategy-builder
Paul H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bortz, 11-06-2023, 08:04 AM
|
47 responses
1,606 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
8 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
4 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
13 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
Comment