Date/Time: Fri, 22 Sep 2023 16:15:17 +0000
Post From: Find number of bars since a condition is true.
|User183724 - Posts: 177|
i don't know of a pre built function to do this but it would be pretty simple to write your own function. you would need to store the index of the bar of the first crossover in a presistent (probably) variable and subtract that variable from index number of the bar of the second crossover to calculate the number of bars in between... if i am understanding what your're wanting...
Date Time Of Last Edit: 2023-01-30 20:40:08