Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 22:54:47 +0000



Post From: Displaying the first time ONLY when a condition is met - ASCIL

[2023-06-27 16:35:23]
JohnR - User831573 - Posts: 306
i would use 2 persistent variables. One that is set when the alert fires the first time on the bar. A second one that keeps the bar/index # of the prior tick bar index.

If the bar index changes, reset the alert / persistent variable & update the bar # persistent variable.

This partial logic should work,
John