Download MetaTrader 5
To add comments, please log in or register
Find out how social trading can improve your profits
Massimo
478
Massimo 2016.05.23 10:09 
Hello everyone. I have a problem with the code, and I need your help.

I wrote this code:

{
         Buffer1[i] = Low[i]- 1 * myPoint; 
        if(i == 0 && Time[0] != time_alert) { myAlert("indicator", "Buy"); time_alert = Time[0]; } 
        }


The part that I have highlighted, brings up the Popup. I wish I could turn on and off from outside the appearance of the pop-up.
Thank you all, Massimo.

Keith Watford
Moderator
7875
Keith Watford 2016.05.23 10:50  

Put an input

input bool PopUp=false;

and in your code

    if(PopUp && i == 0 && Time[0] != time_alert) 

.

Massimo
478
Massimo 2016.05.23 19:42  
Hello GumRai, thanks for your reply !!!
/
To add comments, please log in or register