I need an "Alert Message" in my MQL5 indicator

仕事が完了した

実行時間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
評価
(634)
プロジェクト
741
34%
仲裁
49
53% / 39%
期限切れ
14
2%
仕事中
3
開発者 3
評価
(11)
プロジェクト
17
59%
仲裁
2
0% / 100%
期限切れ
2
12%
暇
類似した注文
Quero criar uma automação com minha identidade visual e que seja algo minimamente rentável…. Pq quero criar conteúdo e entregar o robo para meus alunos, Precisa ser algo principalmente com o ativo Xauusd, Quero ver Projetos e ideias tbm… porem minha ideia é ter algo automático mesmo pros futuros alunos
I need an indicator with strategys that wil help me with my LOW RRR trades (0.06:1, 0.1:1, 0.2:1) that i make every single day AND I DONT WANT to hear that Low RRR is risky. lesgo: 1- I will be utilizing this indicator every single day, and i will make up to 2 trades of this low rrr a day. I need a person that really knows what strategy fit most on the low rrr indicator. 2- I will open up to 10 diferent charts of

プロジェクト情報

予算
30+ USD
締め切り
最高 30 日