Paxman:
Can anyone help me to create a function to test for first day of the month?
I have code below but i can not seem to get it to compile.
-
Of course, it won't compile — you can't use dots (and new/delete/class/etc.) in variable names since build 600 and Higher - 2014.02.03
-
You used TimeDay( TimeCurrent() ). You could have also just used:
bool IsfirstOfMonth(){ return Day() == 1; }
William Roeder:
-
Of course, it won't compile — you can't use dots (and new/delete/class/etc.) in variable names since build 600 and Higher - 2014.02.03
-
You used TimeDay( TimeCurrent() ). You could have also just used:
Ah yes sorry it was an old forum post i found this on and did not think to check.
Thank You.
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
Can anyone help me to create a function to test for first day of the month?
I have code below but i can not seem to get it to compile.
Thanks
Neil