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.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Barry Milan, Today, 10:35 PM
    2 responses
    8 views
    0 likes
    Last Post Barry Milan  
    Started by WeyldFalcon, 12-10-2020, 06:48 PM
    14 responses
    1,428 views
    0 likes
    Last Post Handclap0241  
    Started by DJ888, Yesterday, 06:09 PM
    2 responses
    9 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    41 views
    0 likes
    Last Post jeronymite  
    Started by bill2023, Today, 08:51 AM
    2 responses
    16 views
    0 likes
    Last Post bill2023  
    Working...
    X