Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Statistical Data

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

    Statistical Data

    Hi,

    I am able to generate data from my indicator code which is sufficient for me to form a sample for statistical purposes.

    The problem I have is how can I store this data as it is being generated so that I can export it to Excel for further manipulation. Some of the data I would like to store include the Timestamp, and the range of a series of bars.

    Any suggestions?

    Regards

    Kay Wai

    #2
    Kay, you could for example use System.IO and write the data to a text file that Excel could import then - http://www.ninjatrader.com/support/f...ead.php?t=3477

    Comment


      #3
      Hi Bertrand,

      The code seems rather completed for my level of understanding especially when you can save the data from the output window and open it in excel. The problem I have is that it is showing up in Excel like:-

      12/31/2010 16:51
      BSsetuprange is0.0038
      1/1/2011 1:15
      BSsetuprange is0.0028
      1/1/2011 2:21
      BSsetuprange is0.0056
      1/1/2011 3:27
      BSsetuprange is0.0028
      when what I would like is this:-
      12/30/2010 10:30 BSsetuprange is0.0012
      12/30/2010 15:54 BSsetuprange is0.0017
      12/30/2010 20:00 BSsetuprange is0.0017
      12/31/2010 0:00 BSsetuprange is0.0041
      Other than cutting and pasting the cells individually, could you tell me how I achieve the latter result?

      Regards

      Kay Wai
      Last edited by kaywai; 07-13-2011, 11:10 PM.

      Comment


        #4
        Right, it would depend on your preferences and needs, you can certainly also manually copy it over if you don't wish to get into coding at that level - the exported data would need to be reformatted in Excel according to your needs.

        For a direct link to Excel, you can check into this thread from a fellow user here :

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        581 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        336 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X