Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Variable input?

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

    Variable input?

    I tried to create a strategy with varaible in it. This is what I want to do:

    MAX[VOL[], 5][0]>100000. In this equation I would like to replace the 100000 with a varaible number. In the "User defined inputs" I put under name "variablevolume". What is supposed to go in the boxes of default, min? Then in the right panel, Under User defined inputs I choose Variablevolume. But there is nothing in the drop down box below. What is supposed to happen.

    Thanks.

    #2
    Hi ju1234,

    You will need to define your user defined input variable first by going back to the 'User Defined Inputs' screen in the Wizard, then you can reference it later in your condition.

    Please also review this link and the embedded video - http://www.ninjatrader-support.com/H...rdScreens.html

    Have a great weekend!

    Comment


      #3
      Not working

      I have created a user defined condition. In the "User dfeined Inputs" I have "variable volume, Int, 1000000, 100000, Volume" in each of those boxes. Then in the condition builder I have "Max(Vol[], 5,[0]>VariableVolume. And then i save the strategy.

      When I apply this strategy, is the system supposed to ask me to fill in the value for the variable? It does not. It just applies the strategy. How exactly is this thing supposed to work? Thanks.

      Comment


        #4
        Hi ju1234,

        Yes, once you've defined your user input variable you can enter a custom value later every time the stragegy is applied.

        Please post screenshots of your condition builder screens here, so I can take a look of your setup.

        Thanks!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X