PDA

View Full Version : Indicator Calling Indicator


dkrumholz
03-26-2010, 05:17 PM
Can one indicator instantiate another the same way a strategy can instantiate an indicator?

I want to create an indicator that summarizes the condition of other indicators. Can I add an indicator to my summary indicator using Add(indicatorname())?

I'm getting a CS1502 error. Is that because I can't do what I am attempting or is it likely that I just have an error in my arguments?

NinjaTrader_Austin
03-27-2010, 03:58 PM
Can I add an indicator to my summary indicator using Add(indicatorname())?
This isn't possible because the indicator base class doesn't "know" how to "Add()" indicators to the indicator. Could you please post the code you're using so I can see if anything else looks out of place?