In WL6.9 I have many DataSeries I use in my strategy decisions. A simple example is :
After many hours of searching the discussions and the various other ways of finding "How to Examples", I have not succeeded. I have tried the code below:
Nothing I try in the " ????? " works and the clues on the screen or not helping.
Please help.
CODE:
DataSeries y = new DataSeries(Bars, "y") double x = 1; for (int n = 0; n< Bars.Count; n++) { y[n] = x++; }
After many hours of searching the discussions and the various other ways of finding "How to Examples", I have not succeeded. I have tried the code below:
CODE:
TimeSeries y = new TimeSeries(bars ," ????? " ) double x = 1; for (int n = 0; n< bars.Count; n++) { y[n] = x++; }
Nothing I try in the " ????? " works and the clues on the screen or not helping.
Please help.
Rename
The documentation might help, especially the constructor section
https://www.wealth-lab.com/Support/ApiReference/TimeSeries
You should create it like this:
myTimeSeries = new TimeSeries(bars.DateTimes);
https://www.wealth-lab.com/Support/ApiReference/TimeSeries
You should create it like this:
myTimeSeries = new TimeSeries(bars.DateTimes);
Your Response
Post
Edit Post
Login is required