Search found 2 matches

Go to advanced search

by HLF
Tue Apr 27, 2021 10:50 pm
Forum: Pine Script Q&A
Topic: Cumulative Total Count of Tick Movements in a Bar?
Replies: 3
Views: 1360
 
Jump to post

Re: Cumulative Total Count of Tick Movements in a Bar?

Wow thanks for the prompt response and sample code, that's very helpful! The problem I ran into with varip was that the tally of ticks resets when the indicator is added/removed. What I'm trying to accomplish is something that would keep a total count for the day, and a historical account. For examp...
by HLF
Tue Apr 27, 2021 1:27 am
Forum: Pine Script Q&A
Topic: Cumulative Total Count of Tick Movements in a Bar?
Replies: 3
Views: 1360
 
Jump to post

Cumulative Total Count of Tick Movements in a Bar?

Hi everyone, I'm a bit stuck and looking for some help. I'm working on a script where I'm trying to count every tick movement, whether up or down, and show the cumulative total movement in a bar as a count. I'm stuck because so far all I can figure out how to do is calculate the range, but I want to...

Go to advanced search