Hi, I have this problem I can not solve: I created the indicator, which should replicate the ATR, he rounded the last decimal, while the eSignal not. How can I fix? I need decimals.
![Click image for larger version
Name: Average True Range.png
Views: 1
Size: 55.6 KB
ID: 247025](filedata/fetch?id=247025&d=1714680399)
Code:
function preMain() { setPriceStudy(false); setStudyTitle("Average True Range 2"); setCursorLabelName("Average True Range 2", 0) setDefaultBarFgColor(Color.blue,0); } function main() { var xATR = atr(15) ; var STPL = xATR; debugPrintln(xATR); return ( STPL ); }
Comment