how can I Generate Alerts for Specific Arrows Indicator in MT4

 

Hello community members! I am currently working on developing a bot for MT4 that can provide me with alerts whenever the BB_Alert Arrows indicator triggers a signal on a candlestick.

I would greatly appreciate any help

This is the code

//+------------------------------------------------------------------+
//| Expert Advisor initialization function                           |
//+------------------------------------------------------------------+
string customIndicator = "C:/Users/ASuS/Downloads/BB_Alert Arrows.ex4";
void OnTick()
{
   // Determine if BB_alert Arrows indicator shows an arrow on the current candle
   if (iCustom(NULL, 0, customIndicator, 0, 0) != EMPTY_VALUE)
   {
      // Trigger an alert or perform any desired action
      Alert("BB_alert Arrows indicator shows an arrow on the current candle!");
   }
}