Login Page - Create Account

Support Board

Date/Time: Mon, 05 Jun 2023 14:42:28 +0000

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

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