Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to create a User Variable using a user input in Strategy Wizard

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

    How to create a User Variable using a user input in Strategy Wizard

    Hi all,

    I am trying to create a user variable using a user input previously defined.

    I have created an input called ATRPeriod1
    Now I would like to use a user variable: Variable0=ATRPeriod1+3

    Is it possible to do this using Strategy Wizard?

    Regards,
    Carlos

    #2
    Hello CarlosTTW,

    Thanks for your post and welcome to the forums!

    Regrettably that cannot be accomplished in strategy wizard.

    What you could to is to create as much of your strategy as possible in the strategy wizard and then select the option to "unlock" the code. You could then directly edit the code to add the +3 and compile the strategy.

    Please note that once your strategy is unlocked, you can no longer work directly in the strategy wizard.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by RookieTrader, Today, 07:41 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by kujista, Today, 05:44 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by elderan, Yesterday, 08:03 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by samish18, Yesterday, 08:57 AM
    8 responses
    25 views
    0 likes
    Last Post samish18  
    Started by DJ888, 04-16-2024, 06:09 PM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X