PureBytes Links
Trading Reference Links
|
Have you tried simply setting a boolean variable when the condition first
becomes true and then not triggering the alert, even though the market
condition is true, if the boolean variable is set?
Carroll Slemaker
> Hi everyone!
>
> I am trying to write an indicator which checks each tick whether the price
> is crossing over a certain level and gives an instant alert (i.e. does not
> wait till the end of the bar until alerting me). Normally, the problem
with
> this is that TS2000i will fire the alert on each tick for which the
> condition is true until the the bar finishes. This is obviously very
> annoying.
|