Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Help changing from MT4 to NT7 (Functions and testing)
Hello everybody!
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
Could anybody help me (easy questions!).
Thank you in advance!
Can you help answer these questions from other members on NexusFi?
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:
Anyone have any hints for optimizing C# code? Currently using Visual Studio for C#. Want to run some indicators through the process to see if there are any excessive computational issues.
Ninjatrader can bog down when it starts and in Market Replay mode because of hard disk overload. Moving the historical and replay data files into RAM makes it work much better.
I have been able to make a large performance gain in NT 7 by storing the NT database files on a RAM drive and I thought that I would share what I have done.
The time taken by NT to change the time frame of a chart from 3 to 5 minutes was 46 seconds and …
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.