Thanks for your reply.
There is no link to answer your question. The example SampleSteamWriter indicator is an educational example of how to write data to a file in Ninjascript which is based on C# proramming language.
In this line: sw.WriteLine(ToDay(Time[0]) + " " + Open[0] + " " + High[0] + " " + Low[0] + " " + Close[0]); you would add (or replace) what output you would like to see in the file.
For example to add a print of the current value of an EMA(14) would be something like:
sw.WriteLine(ToDay(Time[0]) + " " + Open[0] + " " + High[0] + " " + Low[0] + " " + Close[0]+" "+EMA(14)[0]);
Comment