Cheers.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Getting ATR value, converting to ticks, using it within a strategy
Collapse
X
-
Hello Trader17,
Thank you for your reply.
That is in reference to the prior example in this thread, which is different from the example Brandon supplied you with. The issue is that the stop can't be set in State.Configure or that will happen, so that version was revised and the revision posted in a different thread here:
Good afternoon, I would like through the strategy builder to be able to use the trailing stop, I don't know how to use it so that my stop decreases when I have advanced a certain number of ticks? Thanks
Please let us know if we may be of further assistance to you.
Comment
-
I was looking at your example in this thread itself above and saw this in the code.
IsInstantiatedOnEachOptimizationIteration = true;
ATRMultiplier = 2;
ATRStopLoss = 1;
Why do you have ATRStopLoss =1 as an input is what confused me? I only saw ATRMultiplier under Properties.
Thanks.
Comment
-
Hello Trader17,
Thank you for your reply.
I wouldn't advise referring to the original version, the second version I posted again in the thread linked above is the corrected version.
In the corrected version, ATRStopLoss is updated once processing starts to the ATR * Multiplier value that gets calculated.
Please let us know if we may be of further assistance to you.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
41 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|
Comment