Download MetaTrader 5

notification from (mt4 Pc) to (android mt4 )

To add comments, please log in or register
Manage agents in your profile. It is easy!
paradisein
33
paradisein 2016.04.15 13:23 

Hi Profesionals,

my indicator (binaryarrow.ex4) does not have notification button to configure.

and i do not have the mq4 file to add code.

i configure mt4 PC to send notification to my (mt4 android), but does not work.


r there any solution to solve this problem ?


Best regards

Paradisein

Stanislav Korotky
17884
Stanislav Korotky 2016.04.15 13:47  
I'm afraid you need a source code of an indicator or expert to invoke notification API from there.
Marco vd Heijden
Moderator
4686
Marco vd Heijden 2016.04.15 13:57  
you can write additional piece of code that scans the object list and sends alert from there whenever the other indicator adds arrow okey paradisein
Stanislav Korotky
17884
Stanislav Korotky 2016.04.15 14:43  
Marco vd Heijden:
you can write additional piece of code that scans the object list and sends alert from there whenever the other indicator adds arrow okey paradisein
This is only possible if the signal is denoted by an object, but decently developed indicator does normally show signals via indicator buffers (including those displayed as arrows), because this way is recommended for passing signals from indicators to experts.
paradisein
33
paradisein 2016.04.15 14:52  

Thx marko,

Could you please send such code, and please explain details  how to let it working

Regards

Paradisein

Marco vd Heijden
Moderator
4686
Marco vd Heijden 2016.04.15 15:32  
//+------------------------------------------------------------------+
//|                                             BinaryArrowAlert.mq4 |
//|                        Copyright 2016, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2016, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict

int arrow=2;
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---

   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//---

  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
//--- listen for sell arrow
   if(iCustom(Symbol(),PERIOD_CURRENT,"BinaryArrow",1,0)!=EMPTY_VALUE)
     {
      if(arrow!=0)
        {
         SendNotification("SELL SIGNAL!"+Symbol());arrow=0;
        }
     }
//--- listen for buy arrow   
   if(iCustom(Symbol(),PERIOD_CURRENT,"BinaryArrow",0,0)!=EMPTY_VALUE)
     {
      if(arrow!=1)
        {
         SendNotification("BUY SIGNAL!"+Symbol());arrow=1;
        }
     }
  }
//+------------------------------------------------------------------+


paradisein
33
paradisein 2016.04.16 20:20  
Marco vd Heijden:


Thank you marco a lot,

i will try it , it is week end no alarms ......


do u know a good binary options indicator / strategy or even signal services ? ............i am still struggling............


Best Regards, have a nice, peaceful weekend.

Marco vd Heijden
Moderator
4686
Marco vd Heijden 2016.04.16 20:35  
paradisein:

Thank you marco a lot,

i will try it , it is week end no alarms ......


do u know a good binary options indicator / strategy or even signal services ? ............i am still struggling............


Best Regards, have a nice, peaceful weekend.

Well no unfortunately i do not use signals or binary options..

paradisein
33
paradisein 2016.04.16 22:38  

Hi Marco,

i installed the Expert but i got  sad face symbol :(


is this means it is not working or not correct installed ?

regards

Paradisein

Marco vd Heijden
Moderator
4686
Marco vd Heijden 2016.04.16 23:00  


sad face it means that auto trade is disabled but the expert it does not trade so all is good.

paradisein
33
paradisein 2016.04.16 23:29  

Hi Marco,

dll in expert must be checked ?

thx

12
To add comments, please log in or register