I am importing a txt file for a strategy I want to prove over the next few months, so as the txt file is created daily for import I have adapted streamreader to read the txt file
How do I get the data from the print command into a format that will go into an indicator, lets say an SMA
else if (splitCounter == 6) { currentVolume = double.Parse(s); Print("Current Day OHLC: " + date + " " + currentOpen + " " + currentHigh + " " + currentLow + " " + currentClose + " " + currentVolume); }
but I need to get there into a SMA, can I create a dataseries from there and then add in the SMA? is that the easiest way?
Or use an SMA template and add in the streamreader code?
Whats best?
Thanks
Tinkerz
Comment