hi guys, im wondering if you could tell me why this sample code doesnt work:
var stochastic = new StochStudy(14, 3, 3);
var stocharray;
stocharray = stochastic.getValue(StochStudy.FAST, 0, -5);
stocharray.sort(); <- this is the error: "stocharray has no properties"
what im trying to do is take the last 5 fast values, put em in an array and sort that array so i easily can get the highest / lowest "stochastic fast" values cause i need em in an calculation. i hope "stochastic fast" means the fast line not stochastic indicator fast version...
would be glad if you guys could help me out!
var stochastic = new StochStudy(14, 3, 3);
var stocharray;
stocharray = stochastic.getValue(StochStudy.FAST, 0, -5);
stocharray.sort(); <- this is the error: "stocharray has no properties"
what im trying to do is take the last 5 fast values, put em in an array and sort that array so i easily can get the highest / lowest "stochastic fast" values cause i need em in an calculation. i hope "stochastic fast" means the fast line not stochastic indicator fast version...
would be glad if you guys could help me out!
Comment