Originally Posted by Enivid
Because it's still bool. Make it int or long:
Good.... with "int" seems to work.
But he appeared another problem.
Example: sounds the alarm on EURUSD 5 Minutes, I go to see, then I moving on 10 minutes (always EURUSD) and the alarm still plays. Why?
I have replaced:
TriggerOnlyThisBar != Bars(Symbol(),PERIOD_CURRENT)))
but the problem remains