Bullworth:
Did not need help, problem already solved.
Hi,
Im trying to implement alerts into my script but im not aware of howto. It should alert when two MA's crosses.
Most of the script is already working, its drawing the arrows at the right spot, but i also want to implement alerts when it crosses.
Right now my script is stressed out when i try to implement the alert because it iterates trough all of the bars and im getting bashed by soundalerts.
Can you guys give me some help implementing an alerts that only alerts on newly formed crosses not the existing crosses ...
This is my code so far:
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
Hi,
Im trying to implement alerts into my script but im not aware of howto. It should alert when two MA's crosses.
Most of the script is already working, its drawing the arrows at the right spot, but i also want to implement alerts when it crosses.
Right now my script is stressed out when i try to implement the alert because it iterates trough all of the bars and im getting bashed by soundalerts.
Can you guys give me some help implementing an alerts that only alerts on newly formed crosses not the existing crosses ...
This is my code so far: