Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Conditions changing variable

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

    Conditions changing variable

    Hi.. I am new to the strategy wizard/programming, and have a pretty basic question.

    I want to create a strategy where certain conditions create a 'get ready' situation.

    Then, if that situation is true, along with other conditions, an entry can take place.

    My understanding of what I need to do is in 'do the following:' window is make a variable that I have already defined (in the user defined inputs) == true. However, I cannot do that, that facitility isn't there from that window.

    So, I am now using the 'Set user defined variable' and just choose variable1 (value 1).

    This would simply cause variable1 to have a value of 1 once the conditions were met...no?

    Then to active the entry, I go to Set2 tab, and have additional conditions along with variable1 == Numeric Value (1)....and finally in the 'do the following:' window I set my entry.

    How is my approach wrong here?

    Many thanks.

    #2
    ChopR, welcome to the forums - your approach is correct to work with user variables for this to create 'ready flag' states in the wizard, also review this sample please - http://www.ninjatrader-support2.com/...ad.php?t=15417

    However to set a user variable you want to select numerical value (misc category) on the right side then in the condition builder.

    Comment


      #3
      Bertrand,

      'Ready Flags' ... Thats it

      Thanks for the link, will take a look. I appreciate your help.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      647 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      368 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      571 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X