I'm a pine-script newbie, I use close to get the price but the value returned is only 3 decimal places
Can I make it show more decimal places?
thank you all
//@version=5
strategy("test", overlay=true)
log.info('{0}', close)
Yeah, add format and specify precision:
price = close
formattedPrice = str.format("{:.5f}", price)