your indicator ("NRTR_ATR_STOP") has two buffers buf 0 for up and buf 1 for down,
in the EA there is nothing about buf 1, everything written in the code refers only to buf 0
perhaps, possibly, maybe, likely your problem, (didn't checked)
I understand this,
how you explain it,
but I can fix it in the file...