Page 1 of 1

Script to find amount of Ticks between Open and Close of a bar

Posted: Thu Apr 28, 2022 5:14 pm
by DannyDotes
I'm working on a script and I want to plot columns on an indicator that tells how many ticks are between the open and close of a bar. Not the entire bar though. I can't find this anywhere.

Re: Script to find amount of Ticks between Open and Close of a bar

Posted: Sat Jun 25, 2022 10:45 pm
by OneHanded
Do you mean something like plot (high-low)?

This would give you the difference between high and low, but seems to obvious an answer to your question.