• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 TonyParisi, Today, 07:38 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by tgn55, 09-24-2019, 06:34 AM
    11 responses
    44 views
    0 likes
    Last Post koganam
    by koganam
     
    Started by jasphere, Today, 07:37 AM
    3 responses
    18 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by w0lverine, Today, 07:06 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by aslane, Today, 07:17 AM
    3 responses
    8 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X