A short while ago I installed NinjaTrader 7, and have been reading the various Help menus and practicing with the pre-installed indicators, as well as writing my own for testing. The wizard can be used to start a new indicator from scratch, where the parameters, data and type of graphical output can be specified. However, I do not know how to add new data or parameters to an existing indicator, and would be most grateful for some help.
On opening a chart and specifying indicators, a window is opened with a list of indicators on the left and the parameters, data, graphics etc. displayed on the right. The value in an input parameter can be changed, but how do I add a new parameter or item of data?
In looking at the code at the beginning of an indicator are various standard .NET “using System” statements, followed by “using NinjaTrader.Cbi”, “using NinjaTrader.Data” and “using NinjaTrader.Gui.Chart”, which are obviously specific to NinjaTrader, and the last one obviously refers to graphics, so the code associated with parameters and indicators must be referred by the other two “using” statements, but I am unable to locate the source code.
In going to \Program Files\NinjaTrader 7\ are the folders bin, db, doc and sounds, together with a Word document with the license agreement. By elimination it looks as if the code I’m looking for must be in \db\NinjaTrader SQL server. I only have .NET express installed and no SQL currently installed.
The upshot is that I would be most grateful to know how to change the numbers of parameters or data types in an existing indicator, either by using some kind of wizard or by locating and modifying the source code that is set up by the wizard before the specific indicator is called, and would be most grateful for some help on this.
Christopher
Csharp
Comment