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 love2code2trade, 04-17-2024, 01:45 PM
        4 responses
        36 views
        0 likes
        Last Post love2code2trade  
        Started by alifarahani, Today, 09:40 AM
        2 responses
        13 views
        0 likes
        Last Post alifarahani  
        Started by junkone, Today, 11:37 AM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by pickmyonlineclass, Today, 12:23 PM
        0 responses
        1 view
        0 likes
        Last Post pickmyonlineclass  
        Started by frankthearm, Yesterday, 09:08 AM
        12 responses
        44 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Working...
        X