lborges
Pine Script Rookie
Pine Script Rookie
Posts: 1
Joined: November 14th, 2021

Price Range Tool using pine script? (input.price and input.time)

I would like to know how can I find the percentage difference between two chart points or two candles (HL/2) using pine script?

I know it may be possible using V5 input.time and input.price and I would like to use it in another code I'm trying to create.

Basically I would like to create something like the Price Range tool using pine script and save the percentage value to use in my indicator.

Please help guys!

Return to “Pine Script Q&A”