Charting (include share bars), data collection, data replay, simulation trading are all free with Ninjatrader and there is no advertisement. You only pay if you want to trade live through NT.
You can program all you want in C# and even collect data to MySQL if you wish. The next version...