I have created an indicator called jelABG that produces a single plotted result. The plot is correct and this indicator is working as intended. the jelABG indicator is a complex calculation involving 3 different types of moving averages at which each extracted datapoint is involved in an equation and stored in a final Series<double> variable (Values[0]), then plotted.
I am creating a second indicator, called jelSpread for which I wish to pass the high and low along with a period value into the first indicator (jelABG) or obtain a value to perform calculations on in my second indicator.
To accomplish this, in my second indicator (jelSpread) I created to variables as follows:
private ISeries<double> dsLow;
dsLow = new Series<double>(this, MaximumBarsLookBack.Infinite);
dsLow = jelABG(Low, _barPeriod);
Don't get me wrong, this works, I just think I might be using too much system resources taking this approach. It will be fine if it was only one chart, but my setup as 12 charts on 2 monitors open at a time - not including the tabs...
Thanks,
Comment