Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Wizard How to turn a switch on off

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

    Strategy Wizard How to turn a switch on off

    In the Strategy wizard I need to set a Switch True or False or (On Off) on a bar. Then on subsequent Bars check the condition of the Switch status for a market order.
    I have read the Help files but cannot find the way to do this.
    Thanks,,Jim

    #2
    Hello jsatt11,

    Thanks for your post.

    You can use the "Variable0 through Variable9" for this purpose by setting it to a 1 or 0 and checking for same. These 10 variables are found under the selection User variables in the Condition side and in the Action side under "Misc" then "Set user defined variable".

    Please let me know if I can be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    34 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Yesterday, 02:41 AM
    0 responses
    15 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    25 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Working...
    X