Hi,
I have a problem with function "sma"
exapmle:
function main(Length,Lengthn){
if(Length==null) Length = 4;
if(Lengthn==null) Lengthn = 14;
var PVI = efsInternal("calcPVI");
var NVI = efsInternal("calcNVI");
var PVINVI = PVI + NVI;
var MaPVINVI1 = sma(Length,PVINVI);
var MaPVINVI2 = sma(Lengthn,MaPVINVI1);
return (MaPVINVI1,MaPVINVI2);
}
_____________________
Error:
"...line 22: Parameter Number 2 of Function sma is invalid "
var MaPVINVI2 = sma(Lengthn,MaPVINVI1); !!!
Why? How Can resolve it?
I have a problem with function "sma"
exapmle:
function main(Length,Lengthn){
if(Length==null) Length = 4;
if(Lengthn==null) Lengthn = 14;
var PVI = efsInternal("calcPVI");
var NVI = efsInternal("calcNVI");
var PVINVI = PVI + NVI;
var MaPVINVI1 = sma(Length,PVINVI);
var MaPVINVI2 = sma(Lengthn,MaPVINVI1);
return (MaPVINVI1,MaPVINVI2);
}
_____________________
Error:
"...line 22: Parameter Number 2 of Function sma is invalid "
var MaPVINVI2 = sma(Lengthn,MaPVINVI1); !!!
Why? How Can resolve it?
Comment