Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

creating indicator with external datas

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

    creating indicator with external datas

    Dear Support

    I'm not very used in programing. If I can use the wizard it's OK - otherwise I have a very small expirience. I calculated a Index with external datas on Excel-Sheet. I have two column's one with the date and one with the numbers. The numbers are from 0 to 100.

    I like to have in a Chart (Gold) this Index in the Panel 2 as a line, similar like a oszillator with the line 0 and the line 100.

    I safed the Excel Sheet as a txt file (COTREP.Last.txt). I created a own Symbol (COTREP) in instruments and after uploading the txt file, following message will show: "zero (0) datasets successfull imported".

    It does not have a matter in which format I converted the txt file:

    "yyyymmdd;" "open;" "high;" "low;" "close;" "volume;"
    "20150602;" "62;" "62;" "62;" "62;" "62;"

    or

    yyyymmdd;open;high;low;close;volume;
    20150602;0;0;0;62;0

    or
    20150602;62;62;62;62;62
    20150609;67;67;67;67;67
    20150616;68;68;68;68;68

    nothing is working but it shows " zero (0) datasets successfull imported ".

    How can I bring the external datas into Ninja and how can I have access to this datas? Exist a similar function or Indicator to copy it?

    Hope I could explain the problem with my small english.

    Thank you very much.
    Best
    Markus

    #2
    Hello Markus,

    Thank you for your note.

    To confirm you are attempting to create a synthetic instrument and import historical data from text file, is this correct?

    You are not attempting to create an indicator programmed in c# to read data from a file and parse the text to double values, is this correct?

    May we have a sample of the data txt file you are attempting to import?

    May we also have a screenshot of the Instrument Settings window for this instrument?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Dear Chelsea
      Yes I tried to create a synthetic Instrument, because I imagine that I can have Access to this data.

      Yes, I have no expirience in C# and I have no idea for "parse" and how it works.

      see the txt file as example - the data is per week:

      20150602;62;62;62;62;62
      20150609;67;67;67;67;67
      20150616;68;68;68;68;68
      20150623;62;62;62;62;62
      20150630;66;66;66;66;66
      20150707;71;71;71;71;71
      20150714;72;72;72;72;72
      20150721;77;77;77;77;77
      20150728;79;79;79;79;79
      20150804;77;77;77;77;77
      20150811;76;76;76;76;76
      20150818;75;75;75;75;75

      Screenshot from Instruments setting window: please see Attachement I uploaded.
      Best
      Markus
      Attached Files

      Comment


        #4
        Dear Chelsea

        I tried to upload the datas again and I see the error I made. Now the datas are uploaded and the message was showed: 152 datasets are successfull uploaded.

        I attached you the file with the external datas.

        But how can I have Access to the uploaded datas without writing C# codes?

        It is possible by creating a synthetic Instrument?

        Best
        Markus
        Attached Files

        Comment


          #5
          Hello Markus,

          If the data has been imported into NinjaTrader, you can open a chart with that symbol.

          The data imported will show in the chart (for the charts Days to load or range).
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Dear Chelsea

            Many thanks now it works very fine.
            I appreciate your Support very well.
            Best
            Markus

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Waxavi, Today, 02:10 AM
            0 responses
            3 views
            0 likes
            Last Post Waxavi
            by Waxavi
             
            Started by TradeForge, Today, 02:09 AM
            0 responses
            8 views
            0 likes
            Last Post TradeForge  
            Started by Waxavi, Today, 02:00 AM
            0 responses
            2 views
            0 likes
            Last Post Waxavi
            by Waxavi
             
            Started by elirion, Today, 01:36 AM
            0 responses
            4 views
            0 likes
            Last Post elirion
            by elirion
             
            Started by gentlebenthebear, Today, 01:30 AM
            0 responses
            4 views
            0 likes
            Last Post gentlebenthebear  
            Working...
            X