Hi all,
here is your Service and Resistance (Barry) indior with the additional alerts. I have added a few features too. The core logic for the alert routine is taken from .
Here's a quick explanation of what the new variables do:
ShowChartAlerts
When this is set to true, it will enable the audio with text alerts as well as the email alerts.
AlertEmailSubject
This sends out an email for this as the topic. If you want to use this feature, you have to setup your email. To login your MetaTrader terminal, then go to Tools Options Email Tab. Leave it blank if you do not want to use this feature.
BarCount
I have added a barcount limit so that it won't plot this indior into every single pub in background and eat every computer memory you have. This manner wills operate. Growing the BarCount will permit the indior to plot farther into history.
SignalAtBlueDot
This represents at which blue dot will a service alert be sent outside. Default value is set at 3, this means it will send an alarm if the 3rd blue dot is detected. If you place it, it means that it will send out an alarm once the 5th blue dot is detected. This feature is asked by the poster.
SignalAtRedDot
This represents at which red dot will a resistance alert be shipped outside. Default value is set at 3.
ShowDotsOnScreen
When this is set to true, it will send a display message into the top-left hand corner of your chart. Informing you of the current no. Of blue and red dots.
https://www.forexsoutheast.asia/atta...7164904881.mq4