I created an indicator to show me the previous daily bars ATR but it stops at .000 I am looking at currencies so i would like it to go at least .00000 here is my code can someone help me to fix this problem thanks :
function main() {
var nValue_0 = atr(5, 0); // Current Bar Index
var nValue_1 = atr(5, -1); // Prior Bar Index
return nValue_1;
function main() {
var nValue_0 = atr(5, 0); // Current Bar Index
var nValue_1 = atr(5, -1); // Prior Bar Index
return nValue_1;
Comment