I had this line of code in an indicator previous to build 600 but for some reason I get an error on the newer builds of MT4 and was wondering if someone could help me resolve this... the error i'm getting is:
static datetime Time.open;
"." semicolon expected
Is there a newer way of writing this and if you could show me how that would be truly amazing. Thank you to all!
Just remove the dot and you are good to go. Only MT5 can use the dot like that.
First check for a variable name that does not exist
Using Ctrl +f search for time_open, if it doesn't exist, use Ctrl + h and replace all instances of time.open with time_open
Obviously if time_open does already exist, use a different name for the variable.
To add comments, please log in or register