I need an "Alert Message" in my MQL5 indicator

MQL5 Indicadores Experts Forex Futuros

Trabalho concluído

Tempo de execução 13 dias

Termos de Referência

Hi there!

I need an "Alert Message", pop up screen "Alert Message", every time my indicator paints. I used the EAbuilder.com website and the indicator itself is ok, that is, compilation is 100% and no errors. However the "Alert" part of the code is not working properly. Please, have a look at the File in (.txt) format I am sending you with the EAbuilder.com code to better understand the issue. You can even create an EAbuilder.com account to see all the details. Please, have a look at the original EAbuilder.com MQL5 code in (.txt) format and fix the problem for me. Either way, I am adding a description of the problem below:


First, "Void myAlert(Argument)" in MQL5 code seems to be not working.

Second, this part down here is not doing anything to the code.

Just after I try to fix it, the Alert message Pops up for every tick data in an infinity loop.


Further:

When I use Time[1], "Alert Message" is set to "Next bar open".

When I use Time[0], "Alert Message" is set to "instant, once per bar".


However the infinity loop persists when I try simple solutions. 

Please, have a look at the code with the problem:

"if(Conditions)

{

 BUFFER1[i] = Low[1];

 if( i == 0 && Time[0] != time_alert)

    {

    myAlert( "indicator', "Buy Sell etc...");

    time_alert = Time[0];

    }

}

Do not take the above MQL5 code as reference point. I may have typed something out of place. Instead, have a look at the original code in (.TXT) I am adding.

In summary, I want an "Alert Message", a Pop Up message, in my computer screen every time my indicator paints: only once per bar and only when the indicator paints.

In other words, when the "Conditions" inside "if(Conditions)" are met, NO METTER the conditions. For example: string Text = AlertText + " BUY: " + Symbol() + " - " + EnumToString( (ENUM_TIMEFRAMES) Period()) + " - UP. ";


Just let me choose the value of Time[0] for instant and Time[1] next bar open, respectively.

Thanks!


Respondido

1
Desenvolvedor 1
Classificação
(83)
Projetos
140
51%
Arbitragem
5
20% / 60%
Expirado
20
14%
Trabalhando
2
Desenvolvedor 2
Classificação
(535)
Projetos
613
34%
Arbitragem
33
39% / 45%
Expirado
9
1%
Ocupado
3
Desenvolvedor 3
Classificação
(11)
Projetos
17
59%
Arbitragem
2
0% / 100%
Expirado
2
12%
Livre
Pedidos semelhantes
Desejo uma boleta estilo Profitchart, onde posso colocar ordens OCO no gráfico via teclado (SHIFT para compras e CTRL ou ALT para vendas). Ela deve ser compatível com ativos do tipo "custom symbols". Entrar em contato para mais detalhes: victor.olv88@gmail.com

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD
Prazo
para 30 dias