Hello,
What I am looking for is an Aroon Study that uses a Simple MA as the input
Just like a Study on Study
Thanks
EK
What I am looking for is an Aroon Study that uses a Simple MA as the input
Just like a Study on Study
Thanks
EK
function preMain() {
setCursorLabelName("ArnUp",0);
setCursorLabelName("ArnDn",1);
setDefaultBarFgColor(Color.green,0);
setDefaultBarFgColor(Color.red,1);
}
function main(MALength,nInputPeriod) {
if (MALength == null){
MALength = 3;
}
if(nInputPeriod == null){
nInputPeriod = 14;
}
var ArnUp = call("AroonUPMA.efs",MALength,nInputPeriod);
var ArnDn = call("AroonDownMA.efs",MALength,nInputPeriod);
return new Array(ArnUp,ArnDn);
}
function preMain() {
setCursorLabelName("ArnOsc",0);
setDefaultBarFgColor(Color.red,0);
}
function main(MALength,nInputLength){
if (MALength == null){
MALength = 3;
}
if (nInputLength == null){
nInputLength = 14;
}
var ArnUP = call("AroonUPMA.efs",MALength,nInputLength);
var ArnDn = call("AroonDownMA.efs",MALength,nInputLength);
return (ArnUP-ArnDn);
}
Comment