Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Rotating a variable
Collapse
X
-
Rotating a variable
The strategy is done in the Strategy Builder. If there are several variables in the strategy, and one of the sets makes the variable false instead of true, but then one of the subsequent sets makes this variable true again - it seems this does not work. Thus, if I once turned over a variable from truth to false, then I can’t “turn” it back into truth in the same cycle? Need to re-enable a strategy? It seems to work only once. Rotating a variable in and out is not possible, right?Tags: None
-
Hello Aporshnev,
Thanks for your post.
The strategy will run either once per bar or once per tick or once per price change depending on what your Calculate setting is. It is possible that a variable (not a user a input, these are read only) can be set true in one set and false in another set and it final value/state would depend on the last set that sets the bool variable.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
111 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
59 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
38 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
42 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
78 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment