trade anonimus:
Maybe you are asking for something like this
datetime expiry = D'19.04.2018'; int OnInit() { if( TimeCurrent() > expiry ) { Alert("Trial Period is over..."); return(INIT_FAILED); } //--- indicator buffers mapping //--- return(INIT_SUCCEEDED); }

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, could you help me? I need to insert a deadline within an indicator, the expiration has the function of no longer functioning the indicator beyond that date / time. I was suggested to insert the lines, like the ones below, then to compile and send only the .ex4 file. I do not have technical skills, could you give me a hand? thank you datetime Expiry =D 2018.04.20 11:00 '; int alert = 0; double Up []; double Down [];