Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Rotating a variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    #2
    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.


    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Umnbheiose, Today, 10:23 PM
    0 responses
    1 view
    0 likes
    Last Post Umnbheiose  
    Started by jatpop, Today, 10:22 PM
    0 responses
    3 views
    0 likes
    Last Post jatpop
    by jatpop
     
    Started by StockJock, Today, 08:52 PM
    0 responses
    5 views
    0 likes
    Last Post StockJock  
    Started by rmicalet, Today, 07:10 PM
    0 responses
    5 views
    0 likes
    Last Post rmicalet  
    Started by cincai, Today, 07:02 PM
    0 responses
    3 views
    0 likes
    Last Post cincai
    by cincai
     
    Working...
    X