custom indicator input value problem

Back to topics list To post a new topic, please log in or register
avatar
1
nb_mql4 2015.10.03 22:38
 
Hi
Have custom indicator on chart and if i want to change the input email alert from false to true it goes back to false

Please assist
avatar
13004
WHRoeder 2015.10.04 02:47 #
 
  1. Your post makes no sense. If mechanical translation you must use simple language.
  2. Don't look at a level, look at a change of level
    static bool isSignal=false;
    bool wasSignal = isSignal;
    isSignal = ...;
    if(isSignal && !wasSignal) NewSignal();

Back to topics list  

To add comments, please log in or register