Is there a way to give a type to an instance of an external NT indicator without specifying the actual indicator? More specifically, I know I can do
private SMA mySma; if (State == State.Historical) { mySma = SMA(20); }
private [B][COLOR=Red]Indicator[/COLOR][/B] myAvg; if (State == State.Historical) { myAvg = [COLOR=Red][B]IndicatorChosenByUser[/B][/COLOR](20); }
Comment