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 charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      56 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      143 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      160 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      96 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      276 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X