Anyone know how i can set a Stochastic to work off of a price source of OHLC/4?
Thanks.
Thanks.
var vSMA = nSum/LengthD;
if(MAType=="Exponential"){
if(aValue[LengthD-1] != null) vEMA = EMA(LengthD, aValue);
return new Array (sum,vEMA);
}else{
return new Array (sum,vSMA);
}
}
Comment