Var./prev.unit is displayed below high-low on a cursor details interface
just Curious
You can achieve this with VARIATION instruction. It returns the percentage variation between the close of the last bar and close of the current bar.
Hi Nicolas
Can you please help with the code ,i dont know how to use Variation instruction
Variation(Close) returns variation in percentage between the Close and Close[1] (one bar ago).
I cant translate your statement into code , i’m new to coding, practical code would help
variable = variation(close)
return variable