Hi, I am trying to get the 5 daily ATR value on an intraday price chart without drawing the actual line. I am guessing there is a preMain method for this....
my current script is
function preMain() {
setPriceStudy(true);
setStudyTitle("ATRDay");
}
function main() {
x = atr(5,inv("D"));
return x;
}
I tried setting the line color to white to match the background but that also changes the text color to white...
my current script is
function preMain() {
setPriceStudy(true);
setStudyTitle("ATRDay");
}
function main() {
x = atr(5,inv("D"));
return x;
}
I tried setting the line color to white to match the background but that also changes the text color to white...
Comment