I got the SampleReadWrite Indicator from Ninjatrader and I'm trying to change the code so the filename matches the instrument that the indicator is applied to:
Here's the part of the code:
#region Variables
private int date = 0;
private double currentOpen = 0;
private double currentHigh = 0;
private double currentLow = 0;
private double currentClose = 0;
private bool currentOpenSaved = false;
private bool currentLowSaved = false;
// This sets the path in which the text file will be created.
private string path = Cbi.Core.UserDataDir.ToString() + "SampleFileReadWrite-MyTestFile.txt";
#endregion
Anybody have any ideas? Koganam?
CSR's - Please don't respond with "we have third party indicator creators who will gladly take your money." I get it but I need my money right now!
live logic and long prosper

Comment