How to identify if stock day low price format is like 111 or 111.10 or 222 or 222.20 or 333.30 etc (for any digit numbers) in tradingview pinescript .
Welcome to the BEST forum for traders
Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".
How to identify if stock day low price format is like 111 or 111.10 or 222 or 222.20 or 333.30 etc (for any digit numbers) in tradingview pinescript .
Hi there
By default, it will always be with decimals except for indices
Here is an utility script to count decimals: https://www.tradingview.com/script/HUUmMKiS-How-To-Count-Decimals/
Thanks Dave for reply.
I want to check Stock Low price of the day is like NNN or NNN.N0 format.