Hi, I'm trying to round up the price level for a given plot in the addchartbubble value but I'm getting an error. If I remove the RoundUP(DH) from the addchartbubble code it works but it will show the price line plot as xxxx.xxxx. Example for TSLA it shows 172.3279 as the price level for the plot. But I want that to show as 172 or even 172.32.... but not all the way to .3279..
Here is the code:
plot DH = DayHigh;
addchartBubble(barnumber()==highestall(barnumber()),DH,"DH$ " + DH, RoundUp(DH), color.white);
Here is the code:
plot DH = DayHigh;
addchartBubble(barnumber()==highestall(barnumber()),DH,"DH$ " + DH, RoundUp(DH), color.white);