I have a strategy using multiple timeframe on a custom indicator. I have the custom indicator run on the primary data series. And I also add another data series (same instrument, different timeframe) in State.Configure. Then run the custom indicator on the secondary data series:
myFirstCustomData = CustomIndicator(params1, params2); mySecondCustomData = CustomIndicator(Inputs[1], params1, params2);
[Browsable(false)]
[XmlIgnore]
public double GetBotZone
{ //call OnBarUpdate before returning
get { Update(); return BotZone; }
}
I then removed the secondary data series where I define
mySecondCustomData = CustomIndicator(Inputs[1], params1, params2);

Comment