I need an "Alert Message" in my MQL5 indicator

MQL5 Indicateurs Experts Forex Futures

Spécifications

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!


Dossiers :

TXT
D_BUG.txt
5.0 Kb

Répondu

1
Développeur 1
Évaluation
(73)
Projets
121
52%
Arbitrage
4
25% / 75%
En retard
19
16%
Travail
2
Développeur 2
Évaluation
(454)
Projets
513
33%
Arbitrage
25
40% / 48%
En retard
7
1%
Chargé
Commandes similaires
Tenho um código de um EA que preciso melhorar o critério de entrada. Hoje o código funciona com o critério de alinhamento de 9 médias em tendência, e agora quero incluir que o expert leia o alinhamento das médias mais o preço testar uma região de suporte/resistência do indicador Don Forex existente para MT5
Hello. I open this work with the intention of changing the indicator that is present in my EA code. This is an EMA 200 code, called STR-EMA. I will send a FINAL-EMA file for the exchange to take place. Furthermore, I would like a simple modification to FINAL-EMA, which is the possibility of changing the period in X candles (it is currently set to pattern 200) Please note that the functionality of the EA should not be
Automação para Forex 30 - 200 USD
Boa tarde Quero automatizar uma estratégia para uso em MT4. Consiste no rompimento de um candle de referencia, entrando com take profit e stop loss. Se o resultado for loss ele deve entrar em sentido contrário dobrando a posição. Faz a inversão tantas vezes for necessário até atingir o take profit. Deve ter possibilidade de fazer isso em até 3 candles de referencia em horários distintos
Hello, I am looking for a EA with open code, so I can approve multiple accounts on MT4 and MT5. I has to be some nice EA that has a clear logical and pratical operational. Thanks in advance
Preciso de um EA para MT4 que automatize qualquer indicador, baseado nos Buffer do indicador. Que tenha a opção "Verifica Sinal" para entrada do mesmo (Se é no mesmo candle ou no próximo). Que tenha Nº Mágico. Que possua um modo de trade "Normal" ou "Grid". Que solicite Inverter a posição ou não. Que peça a Qtd do Lote. Que possua os modos de Take e Stop como "Não Usar", "Financeiro" ou "Pontos" e as Qtd. Que possua
//+------------------------------------------------------------------+ //| SimpleEA.mq5| //| Copyright 2023, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "2023, MetaQuotes Software Corp." #property link " https://www.mql5.com " #property version "1.00" #property strict input int FastMAPeriod = 12; // Período da média
recebo mensagens de sinais de telegrama, gostaria de ter um robô projetado para ler essas mensagens para entradas de negociação e abrir e fechar negociações com base nos sinais Ea deve ser capaz de escanear meu aplicativo de mensagens de telegrama Ler sinais enviados Abra negociações no mt4 e gerencie-as para fechar Leia sinais a cada minuto (entrada alterável pelo usuário) Também preciso que o programador me ensine

Informations sur le projet

Budget
30+ USD
Délais
à 30 jour(s)

Client

Commandes passées1
Nombre d'arbitrages0