ZamLRavg.Set((ZamLRquick + ZamLRmedium + ZamLRslow) / 3.0);
I want to store an average of 3 values into a DataSeries as I need to access history of this variable. I have created these in the Variable section as follows:
double ZamLRquick = 0.0;
double ZamLRmedium = 0.0;
double ZamLRslow = 0.0;
private DataSeries ZamLRavg;
I'm a Tradestation programmer so all this is new (and painfully difficult) to me.
Thank you for any help you can offer.

Comment