Enable and disable the Pop-up

Back to topics list To post a new topic, please log in or register
avatar
63
omissamf 2016.05.23 12: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.

avatar
Moderator
3404
GumRai 2016.05.23 12:50 #
 

Put an input

input bool PopUp=false;

and in your code

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

.

avatar
63
omissamf 2016.05.23 21:42 #
 
Hello GumRai, thanks for your reply !!!
Back to topics list  

To add comments, please log in or register