• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 Newtrader101, Today, 12:59 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by Bmatarese, Today, 11:08 AM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by aligator, Today, 11:16 AM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by Bionian, Today, 11:08 AM
    2 responses
    8 views
    0 likes
    Last Post Bionian
    by Bionian
     
    Started by lakersfan, Yesterday, 07:53 PM
    4 responses
    45 views
    0 likes
    Last Post lakersfan  
    Working...
    X