Login Page - Create Account

Support Board

Date/Time: Tue, 27 Feb 2024 01:36:40 +0000

Post From: Find number of bars since a condition is true.

[2023-01-30 20:37:54]
User183724 - Posts: 183
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