Lavoro terminato
Specifiche
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!