Under EFS Knowledgebase / function ref / built in / Moving Average #2064)
there is an example: "To Retrieve a Single Value"
Surely that returns a series, as the documentation above shows that the first argument is the series length?
Given that, as far as I can see, to return a single value you have to actually specify a series as you can't type:
What am I missing here?
there is an example: "To Retrieve a Single Value"
PHP Code:
function main() {
myVar = sma( 10 );
Given that, as far as I can see, to return a single value you have to actually specify a series as you can't type:
PHP Code:
myVar = sma( 10,, 0 );
Comment