Configurar alarma Push

¿Tiene dudas sobre el trading con divisas? No se preocupe, FXWizard tiene todas las respuestas.

Configurar alarma Push

Notapor eliot33 » 11 Dic 2017, 18:25

Hola a todos,
Me gustaria que me ayudasen a configurar este indicador de Bollinger bands que adjunto para que me enviase notificaciones Push a mi movil a traves de mi MT4, ahora me las envia pero solo me pone Line Touched el par de divisa yel tiempo cuando se da,no me especifica si es Down o Up, de todas formas yo le añadi abajo del todo a continuacion de PalySound("Alert2");
ESTO = SendNotification("Alerta de mi indicador Bollinger");
------------------------------------------------------------------------------------------
void DoAlert(string UD)
{
if (!NewBar() || !Use_Sound)
return;
if(Alert_ON==true)Alert("Alert ! Line Touched "+Symbol()+" M"+Period()+" @ "+DoubleToStr(Bid,Digits)+"");
PlaySound ("Alert2");
-------------------------------------------------------------------------------------------------
Espero que me ayuden, gracias
Adjuntos
BolliToucher (4).rar
(1.82 KiB) 327 veces
eliot33
 
Mensajes: 19
Registrado: 11 Dic 2017, 18:07
Karma: 0

Re: Configurar alarma Push

Notapor FXWizard » 15 Dic 2017, 11:59

Hola eliot33, prueba a cambiar ese código por el siguiente (con Alert reproduces el sonido y con SendNotification mandas la notificación push):

Código: Seleccionar todo
void DoAlert(string UD)
{
if (!NewBar() || !Use_Sound)
return;
if (Alert_ON==true)
Alert("Alert ! Line Touched "+ UD + " " + Symbol()+" M"+Period()+" @ "+DoubleToStr(Bid,Digits)+"");
PlaySound ("Alert2");
SendNotification("Alert ! Line Touched "+ UD + " " + Symbol()+" M"+Period()+" @ "+DoubleToStr(Bid,Digits)+"");
}


Saludos,
FXWizard
Avatar de Usuario
FXWizard
 
Mensajes: 8493
Registrado: 12 Feb 2008, 15:17
Karma: 35

Re: Configurar alarma Push

Notapor eliot33 » 18 Dic 2017, 15:57

Gracias, todo bien muy amable
eliot33
 
Mensajes: 19
Registrado: 11 Dic 2017, 18:07
Karma: 0


Volver a Pregunte a FXWizard

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados

cron