Cita Iniciado por Manueltrix Ver mensaje
mmm yo no soy programador así que no podria ayudarte. Pero buscando un poco por google (poniendo solo ADXcrosses sound) he encontrado esta linea de codigo para que lo compiles tu mismo y lo pruebes, a lo mejor ya con esto funciona con sonido:




//+------------------------------------------------------------------+//| ADX Crossing.mq4 //| Amir//+------------------------------------------------------------------+#property copyright "Author - Amir"#property indicator_chart_window#property indicator_buffers 2#property indicator_color1 Lime#property indicator_color2 Red//---- input parametersextern int ADXbars=14;extern int CountBars=350;extern bool UseSound = True;extern bool TypeChart = True;extern string NameFileSound = "alert.wav";//---- buffersdouble val1[];double val2[];double b4plusdi,nowplusdi,b4minusdi,nowminusdi;//+------------------------------------------------------------------+//| Custom indicator initialization function |//+------------------------------------------------------------------+int init() { string short_name;//---- indicator line IndicatorBuffers(2); SetIndexStyle(0,DRAW_ARROW); SetIndexArrow(0,108); SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,108); SetIndexBuffer(0,val1); SetIndexBuffer(1,val2);//---- return(0); }//+------------------------------------------------------------------+//| AltrTrend_Signal_v2_2 |//+------------------------------------------------------------------+int start() { if (CountBars>=Bars) CountBars=Bars; SetIndexDrawBegin(0,Bars-CountBars); SetIndexDrawBegin(1,Bars-CountBars); int i,shift,counted_bars=IndicatorCounted(); //---- check for possible errors if(counted_bars<0) return(-1); //---- initial zero if(counted_bars<1) { for(i=1;i<=CountBars;i++) val1[CountBars-i]=0.0; for(i=1;i<=CountBars;i++) val2[CountBars-i]=0.0; } for (shift = CountBars; shift>=0; shift--) { b4plusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_PLUS DI,shift-1); nowplusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_PLU SDI,shift); b4minusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MIN USDI,shift-1); nowminusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MI NUSDI,shift); if (b4plusdi>b4minusdi && nowplusdi<nowminusdi){ val1[shift]=Low[shift]-5*Point; if (UseSound==1) PlaySound(NameFileSound); if (TypeChart==1) Comment ("Buy signal at Ask=",Ask,", Bid=",Bid,", Date=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime() )," Symbol=",Symbol()," Period=",Period()); }if (b4plusdi<b4minusdi && nowplusdi>nowminusdi) { val2[shift]=High[shift]+5*Point; if (UseSound==1) PlaySound(NameFileSound); if (TypeChart==1) Comment ("Sell signal at Ask=",Ask,", Bid=",Bid,", Date=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime() )," Symbol=",Symbol()," Period=",Period()); }} return(0); }//+------------------------------------------------------------------+

Aquí pongo el archivo ordenado, pero tiene 8 errores de variables no definidas, alguien que tenga mas idea si le puede echar un vistazo
Foro de Forex Trading United