• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 Simon Thompson, Today, 11:00 PM
        0 responses
        2 views
        0 likes
        Last Post Simon Thompson  
        Started by rontronimous, Today, 09:41 PM
        0 responses
        5 views
        0 likes
        Last Post rontronimous  
        Started by 400396, Today, 09:34 PM
        1 response
        7 views
        0 likes
        Last Post User1104  
        Started by sandman55, Today, 08:00 PM
        0 responses
        4 views
        0 likes
        Last Post sandman55  
        Started by Oracletrades, Yesterday, 02:56 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X