Alerts ever bar and not when the wave plots as it should.

 
Mccallum28:
Can anyone help me out here I can seem to fix this, it should alarm when the wave is plotted however it alarms at the open of every bar.
you will need a source code for that if you ever want it worked on ....:)