I need an "Alert Message" in my MQL5 indicator

MQL5 지표 전문가 Forex Futures

작업 종료됨

실행 시간 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)
프로젝트
140
51%
중재
5
20% / 60%
기한 초과
20
14%
작업중
2
개발자 2
등급
(535)
프로젝트
613
34%
중재
33
39% / 45%
기한 초과
9
1%
바쁜
3
개발자 3
등급
(11)
프로젝트
17
59%
중재
2
0% / 100%
기한 초과
2
12%
무료
비슷한 주문
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

프로젝트 정보

예산
30+ USD
개발자에게
27 USD
기한
 30 일