Thread: How to code?
View Single Post
  #1613 (permalink)  
Old 02-24-2009, 11:57 PM
undertitan undertitan is offline
Junior Member
 
Join Date: Dec 2008
Posts: 8
undertitan is on a distinguished road
Too many alerts

I wrote an indicator, and have an alert option, and when the Alert() is turned off, it prints a Comment() in the experts log.

I only want to know if the condition exists(give an alert) on the actual Close of the bar, which would be Close[i+1] I thought...

However, when I run the indicator with the Alert() on, it gives me multiple alerts on the current bar while the condition is happening, and generates too many alerts.

My log file for only a couple of hours was over 35mb!

How do I fix this problem?

Please see the attached indicator, which identifies a trend continuation pattern. ( described on a trader's website: 9/30 Setup )

Thanks,

Dan
Attached Images
File Type: gif ftm.gif (16.4 KB, 67 views)
Attached Files
File Type: mq4 9-30-v1.mq4 (4.1 KB, 18 views)
Reply With Quote