PDA

View Full Version : Add method questions


gamemaster
02-08-2010, 08:38 AM
I'm trying to use the Add method to build a multi time frame indicator, but it is not working. In going over the help file for Add I see it makes repeated referrence to building a strategy and never (?) mentions building an indicator.

Q1) Does this mean that it (Add) cannot be used to build an indicator?

===
There are some mentions of multiple time frame indicators in the forum. I tried to down load one but the file attached to the forum article was a .cs rather than a NinjaScript Archive File (.zip?), and the import function seems to recognize only the latter.

Q2) Is there a way to take that .cs file I downloaded from the forum and add it to the list of Ninja indicators (so I can read and modify the source) without using the Import function?

===
The more I read your help files the more I get the impression that strategies are more useful than indicators, that they have "Powers and Abilities far beyond those of mere indicators".

Q3) Should I just stop wasting my time on indicators and start developing strategies instead?

Another way of looking at this last point - strategies appear to be able to do things that indicators cannot.

Q4) Is there anything an indicator can do that a strategy cannot?

===
(FYI, I've been programing for decades, but I am new to Ninja script.)

gamemaster
02-08-2010, 08:46 AM
(version 6.5.1000.14)

NinjaTrader_Bertrand
02-08-2010, 09:23 AM
gamemaster, yes please work with MultiSeries in strategies only in 6.5 - the exact same concept will be supported for indicators, too in NT 7 -

http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html

CS files need to be copied into the MyDocuments\NinjaTrader 6.5\bin\Custom\Indicator folder, the compile all.

Though some CS raw source ones are floating around, we encourage using the zip import / export feature for easy of use.

Yes, an indicator can Plot for example directly, for a strategy the Strategy Plot workaround needs to be employed if this is needed -

http://www.ninjatrader-support2.com/vb/showthread.php?t=6651

gamemaster
02-08-2010, 09:28 AM
Thank you sir.