var is just an alias for double.
See
include/trading.h:typedef double var;
vars is an pointer to an array of var. The way to make it not an array is to dereference it, like MAslope[0]. I guess you could use *MAslope if you prefer. It's the same thing as MAslope[0].