First - I would like to thank the community and helpers her in advance for the guidance.
Problem - I have a flat file which has Date, Indicator in it. Only 2 columns. I am able to read those values in ninjascript using the StreamReader. Values come in fine, as I can see them printed on the output window.
What I am struggling with is how to do the following
1. Read this entire file at the begining so all values of the indicator are read in say a DataSeries.
2. Plot the indicator in Panel 2
3. As new data is brought in (The chart primary data is a daily frequency), the code reads the then value of the indicator from the flat file.
I would much appreciate the help here with some code example to accomplish these tasks. I have already gone through the StreamReader code example in this forum.
Thank you
Comment