[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disable alert once hit?



PureBytes Links

Trading Reference Links

When writing an indicator, I want to enable an alert to sound when price
crosses a certain level.  (I need to "Update on every tick".)  When
using real time data, price will sometimes cross back and forth several
times, sounding the alert multiple times.

If Flag and CheckAlert and ( Condition1 or Condition2) then begin
	Alert = TRUE ;
	Flag = False ;
End;

In the "Indicator Properties" there is a little box marked "Disable
alert once hit".  What does this do? (if anything)

I have tried everything I can think of to get the alert to only sound
once per bar.  Even trying to count "Upticks+Downticks" so the condition
is false after the condition is true on that bar. (using tick bar
charts)  Nothing makes the alert shut-up.

This has got to be a widespread irritation and I know this has been
asked before, but please; could someone let me in on the secret?

Thanks!
Bob Perry
San Jose, CA