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 CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
59 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
34 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
198 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
363 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
282 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
Comment