I have several series and bar arrays I am manipulating. I will have a function that will do the same thing to these different series, so I'd like to put it in a function.
I'm just looking for the syntax for passing various series to a generic function/method. How do I modify the function input?
private double MyAddFunction( double myVal1, int myVal2... BarSeries?, Series<T> )
{
return myVal1 + myVal2;
}
_openPerM2 =new Series<double>(BarsArray[1], MaximumBarsLookBack.Infinite);
Times[1][0] //time of current bar in the secondary series
Thanks,
FP

Comment