Help with void Alert....is it possible?

 

I have the code below to create a list, and colors for the Stoch value above or below a level,

How can a get an Alert from this Stoch value?

All help greatly appreciated 😊

void DrawStochColumn(string symbolName,int x,int y,string text,int fontSize=8,string fontName="Calibri")
  {
   double stoch=iStochastic(symbolName,StochTimeframe,StochK,StochD,StochSlow,StochMethod,StochPrice,MODE_MAIN,0);
   DrawLabel("stoch_"+symbolName,x,y,DoubleToStr(stoch,1),fontSize,fontName,GetStochColor(stoch));
  }

color GetStochColor(double value)
  {
   if(value>=StochUpperLevel)
      return clrOrange;
   if(value<=StochLowerLevel)
      return clrLime;
   return clrWhite;
  }
 
Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I have moved your topic to the MQL4 and Metatrader 4 section.
Reason: