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 strategist007, Today, 07:51 PM
      0 responses
      2 views
      0 likes
      Last Post strategist007  
      Started by StockTrader88, 03-06-2021, 08:58 AM
      44 responses
      3,967 views
      3 likes
      Last Post jhudas88  
      Started by rbeckmann05, Today, 06:48 PM
      0 responses
      4 views
      0 likes
      Last Post rbeckmann05  
      Started by rhyminkevin, Today, 04:58 PM
      4 responses
      55 views
      0 likes
      Last Post dp8282
      by dp8282
       
      Started by iceman2018, Today, 05:07 PM
      0 responses
      6 views
      0 likes
      Last Post iceman2018  
      Working...
      X