I need an "Alert Message" in my MQL5 indicator

MQL5 指标 专家 外汇 期货

工作已完成

执行时间13 天

指定

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!


反馈

1
开发者 1
等级
(83)
项目
143
52%
仲裁
8
13% / 75%
逾期
22
15%
空闲
2
开发者 2
等级
(563)
项目
651
33%
仲裁
41
41% / 46%
逾期
11
2%
繁忙
3
开发者 3
等级
(11)
项目
17
59%
仲裁
2
0% / 100%
逾期
2
12%
空闲
相似订单
Preciso de um Expert Advisor para o MetaTrader 5 que opere a abertura do mercado na B3. Monitorização: O robô deve ler o preço teórico do leilão do contrato Cheio e do Mini simultaneamente. Cálculo de Spread: Deve calcular a distorção (ex: WDO vs DOL). Execução: Se a distorção for > X pontos, deve enviar ordem a mercado no ativo defasado exatamente no milissegundo da abertura. Volume Dinâmico: Escalabilidade de lotes
We are looking for a highly qualified, skilled, and experienced MT5 developer (ideally with experience in the financial sector and financial markets) who is capable of creating and implementing a custom-built, professional integration and analysis framework. This framework should include order flow alerts, broker anomalies (including hunting indicators, etc.), the integration of external signals, an audio alert
solicito programador que tenha experiencia em outras linguagem, para criar transferencia de dados da janela de evolucao do tempo em tempo real para EXCEL . e fazer um indicador que plot linhas no grafico com base em celula do excel. exportar da aba do times e trades informacao da aba da evolucao do tempo > excel e fazer um indicador para o profit plotar linha no grafico com base em celulas do excel
Estou procurando um trader com conhecimento em MetaTrader 5 para acompanhar e monitorar operações de trading durante o pregão. O profissional será responsável por acompanhar estratégias em execução, monitorar operações abertas e auxiliar na execução de operações no mercado futuro. Responsabilidades: Monitorar operações abertas durante o pregão Acompanhar execução das ordens e replicações no sistema Auxiliar no

项目信息

预算
30+ USD
截止日期
 30 天