| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Time Lock Indicator https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4563 |
Page 1 of 1 |
| Author: | xray2 [ Wed Jan 06, 2016 10:43 am ] |
| Post subject: | Time Lock Indicator |
I am looking for a bit of advice on providing some code for a time lock on an indicator i have/am creating. I'm not much of a programmer but with a bit of copy and paste I seem to manage to do basic stuff. I am looking for some code to restrict the indicator to a particular date. I have found some code which works on "old" mq4 but not on new mq4. This is the code I have: Code: Select all Thanks in advance |
|
| Author: | renexxxx [ Wed Jan 06, 2016 11:26 am ] |
| Post subject: | Time Lock Indicator |
Your are very close with your code, except that the date constant is expressed as: D'2016.02.01' (for the first of February, 2016). I would do something like this: Code: Select all Hope this helps. |
|
| Author: | xray2 [ Thu Jan 07, 2016 8:43 am ] |
| Post subject: | Time Lock Indicator |
Thanks Rene for sharing you knowledge. Hopefully I can follow your instructions. |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|