I have an issue with an indicator. Whenever a special condition arises, a message should be sent out, however not within historical data.
I have set the following check:
if (State != State.Historical)
Messages will be sent out anyway, no matter what state the data bar has.
What's the correct way to prevent this?
Comment