
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Next time just do a search of your problem. A lot of things have been solved by other people already and you can almost always find a solution before creating a new topic.
The following code will give alert only once per bar. (Search for "alert once" and you might find other solutions also)
And by the way you need to work on the logic of the alert, because this way it may give you both BUY and SELL alerts on the same bar :). No good!