Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Applying a variable to bar lookback in strategy builder
Collapse
X
-
Applying a variable to bar lookback in strategy builder
In the strategy builder, there does not seem to be a way to apply a user assigned variable for bar lookback. for example, the open, (x) bars ago. Seems I have to pick a number when building? Am I missing something, or is that the case. I wanted to optimize these settings, but can't without a user assigned value.Tags: None
-
Hello BullyWigTrader,
Thank you for your post.
That's correct, in the Strategy Builder it would not be possible to set a user input for the Bars Ago value. You would need to unlock your code and manually add logic to use a user input for the Bars Ago value. Note that code that has been unlocked cannot be further edited in the Strategy Builder.
Please let us know if we may be of further assistance to you.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
135 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment