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

Set user input variable between zero and 1

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

    Set user input variable between zero and 1

    Is it possible to set a user input as a decimal value between zero and 1 in NT8 strategy builder wizard? I set a minimum value of zero for an input, however I'm unable to enter a value between zero and 1.
    Last edited by 2inthebush; 02-08-2021, 01:21 PM.

    #2
    Hello 2inthebush,

    Thanks for your post.

    It sounds like the data type you select is an "Int" meaning integer or whole numbers.

    You want to create the user input as a "double" type which will allow you to enter in decimal values.

    Please note that in order to change this, you first have to remove the existing input from any conditions you have used it in.

    In case you have not seen these Strategy Builder materials:
    Free live webinar every other Thursday at 4:00 PM EST, through this link to all webinars: https://ninjatrader.com/PlatformTraining
    Previous recording of the Strategy Builder 301 webinar: https://youtu.be/HCyt90GAs9k?list=PL...auWXkWe0Nf&t=2
    Help guide for the strategy builder: https://ninjatrader.com/support/help...gy_builder.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      OK great, thanks Paul

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Max238, Today, 01:28 AM
      2 responses
      26 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by Shansen, 08-30-2019, 10:18 PM
      25 responses
      949 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by JonesJoker, 04-22-2024, 12:23 PM
      8 responses
      41 views
      0 likes
      Last Post JonesJoker  
      Started by timko, Today, 06:45 AM
      0 responses
      3 views
      0 likes
      Last Post timko
      by timko
       
      Started by Waxavi, 04-19-2024, 02:10 AM
      2 responses
      39 views
      0 likes
      Last Post poeds
      by poeds
       
      Working...
      X