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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    115 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    225 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    411 views
    0 likes
    Last Post CaptainJack  
    Working...
    X