Help changing from MT4 to NT7 (Functions and testing)
I'm looking for a change, because I'm a MT4 programmer but I would like learn more NT7 to develop. I need more documentation of NT7 about.
I'm wondering if it could be possible get a good manual (like the MT4) to get API functions (like current time, timeframe, etc.).
I would like also, to know how I can test a strategy in real time (like MT4, where you can see your algorithm with real data from the broker.
Is it possible? I'm really nervous becuase I have a lot of futures strategies in my mind and I need to develop it! hehe
Favorite Futures: Gameplay KlownbineŽ Trading of Globex
Posts: 1,276 since Jul 2009
Thanks: 1,227 given,
Starting ninjascript programming
There is no manual other than the Ninjatrader help. Ninjascript is a subset of Visual C# so almost everything carries over. All indicators and strategies are Classes within the Ninjatrader.Indicator and Ninjatrader.Strategy namespaces. You just need to understand the function of Ninjascript's custom events such as Iniitialize, OnStartUp, OnBarUpdate, OnMarketDepth, and OnMarketData to get started.
I learned by hacking existing indicators and copying like crazy. A lot of Ninjascript uses very bad programming practices that need to be un-learned, for which I recommend this thread:
It would be nice if there was a "fan" list and descriptions of "discovered" overload-able functions that works through C# on NT chart windows. But I guess not having that information readily available helps the vendor indicator business where they keep their coding proprietary. The shared indicators and code on futures.io (formerly BMT) downloads seems to be the best info there is available for now.
Thank you a lot! I'm checking this links right now!
Do you know how I can see the strategy actions with real data? I mean, like MT4: you see the market in real time (like manual trading) but you use the strategy to trading and you can see how entry into market, print some information on display, etc.