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

Value outside of valid range

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

    Value outside of valid range

    Hi,

    I am uploading via streamreader the following daily numbers, and I am getting a
    Value outside of valid range error,

    When I output the data I dont see any reason why, I also divide by 1000 to make sure I get a smaller number

    Why would this error?

    Thanks

    Tinkerz

    20080916;82669184.0;82669184.0;82669184.0;82669184 .0;0
    20080917;84369184.0;84369184.0;84369184.0;84369184 .0;0
    20080918;84019184.0;84019184.0;84019184.0;84019184 .0;0
    20080919;77269184.0;77269184.0;77269184.0;77269184 .0;0
    20080922;82569184.0;82569184.0;82569184.0;82569184 .0;0


    Current Day OHLC: 20080916 8266.9184 8266.9184 8266.9184 8266.9184 0 True 936

    #2
    Hello tinkerz,
    To assist you further can you please send a toy NinjaScript code* replicating the behavior to support[AT]ninjatrader[DOT]com

    Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

    I look forward to assisting you further.

    *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Originally posted by tinkerz View Post
      Hi,

      I am uploading via streamreader the following daily numbers, and I am getting a
      Value outside of valid range error,

      When I output the data I dont see any reason why, I also divide by 1000 to make sure I get a smaller number

      Why would this error?

      Thanks

      Tinkerz

      20080916;82669184.0;82669184.0;82669184.0;82669184 .0;0
      20080917;84369184.0;84369184.0;84369184.0;84369184 .0;0
      20080918;84019184.0;84019184.0;84019184.0;84019184 .0;0
      20080919;77269184.0;77269184.0;77269184.0;77269184 .0;0
      20080922;82569184.0;82569184.0;82569184.0;82569184 .0;0


      Current Day OHLC: 20080916 8266.9184 8266.9184 8266.9184 8266.9184 0 True 936
      It would seem to me that you have to divide by 10,000, not 1,000.

      Comment


        #4
        tinker,

        The code you sent in loaded fine for me. The line you mentioned is dividing by 10,000 as Koganam suggested
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Belfortbucks, Today, 09:29 PM
        0 responses
        3 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        150 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Working...
        X