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 Belfortbucks, Today, 09:29 PM
    0 responses
    6 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Working...
    X