forexaccount:
Could someone please help me with a function to calculate a code for 30 days and after 30 days send an alert saying "30 days is counted" TIA
Look at PM.
Could someone please help me with a function to calculate a code for 30 days and after 30 days send an alert saying "30 days is counted" TIA
datetime alert.when; init() { alert.when = TimeCurrent() + 30 * 86400; } start() { if (TimeCurrent() >= alert.when) { Alert(...); alert.when = TimeCurrent() + 30 * 86400; }
Thank you very much for your simple, intelligent and very useful code.

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
I need a counter to count 30 days and at the end of 30 days send an alert saying "30 days is counted".
Please if you know the solution let me know. TIA