I am new to this whole NinjaTrader and C# thing, and I'm trying to wrap my head around how to start, so please bear with me. I wish to create a daily log file of realized and unrealized gains every 30 seconds throughout the trading day.
After digging around here and in as many help areas as I could find, I understand that I should likely use the StreamWriter function along with the CustomEvents and Timer functions. I'm just having trouble putting it all together.
Has anyone done something similar? Do I write this script as an Indicator?
I do have the SampleStreamWriter.cs and SampleCustomEvents.cs files and have been studying those, but if you have any additional pointers for me, I'd be extremely grateful.
Thanks much!
Comment