tradingview api price

Sale Price:$400.00 Original Price:$500.00
sale
Atm I update the lines randomly between some numbers. I need to know the price to make sure the lines update based on the current price. So a new line would be for example 50 dollar/euro in price higher or lower then the current price. This would make it less pointy :) In pseudo code: slot kelinci api
Quantity:
Add To Cart