[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 188 1...181182183184185186187188189190191192193194195...537 New comment BBC 2011.03.04 22:07 #1871 doon: Please help with isCloseLastPosByStop function (). I insert into MetaEditor function isCloseLastPosByStop () (but only what is written on https://www.mql5.com/ru/forum/107476/page21). After an unsuccessful compilation I get errors: '(' - function definition unexpected 't' - variable not defined 't' - variable not defined '}' - unbalanced parentheses It's this function, as I've commented out all, the rest of the code. This error is not this function. Check carefully what is preceding it. This is indicated by the very first error that I have marked in red. Somewhere before the function there is an extra curly bracket or a semicolon missing. Useful features from KimIV Features of the mql5 [WARNING CLOSED!] Any newbie [Deleted] 2011.03.04 22:13 #1872 Zhunko: This is disrespectful to those you are asking. Learn how to post code correctly -> SRC I didn't mean to offend anyone, but what is code -> SRC BBC 2011.03.04 22:16 #1873 globad: I didn't mean to offend anyone, but what is the code -> SRC Look below, above the text entry field. There is an SRC button there. This is for entering code [Deleted] 2011.03.04 22:18 #1874 DhP: Look below, above the text entry field. There's an SRC buttonI see, I'll be aware of that. [Deleted] 2011.03.04 22:22 #1875 DhP: This error is not this function. Check carefully what precedes it. This is indicated by the very first error, which I have highlighted in red. Somewhere before the function there is an extra curly bracket or missing semicolon. That's the point: there is nothing. BBC 2011.03.04 22:22 #1876 globad: I see, I will know. If clear, delete your previous post with the code and write it again using SRC. Your code will be easier to read. BBC 2011.03.04 22:23 #1877 doon: That's just it, there's nothing. There are no miracles. Look for an error. You can replace this function with another one, which is known to be correct, but the result will be the same. [Deleted] 2011.03.04 22:27 #1878 DhP: If clear, delete the previous post with the code and write it again using SRC. Your code will be easier to read. :) I wanted to, but for some reason there are no edit/delete and reply buttons on the post...? BBC 2011.03.04 22:29 #1879 Above your post is edit/delete [Deleted] 2011.03.04 22:29 #1880 Have you used this function? Can you show me the code or how you would do it, because I think I'm getting stupid in the easiest place 1...181182183184185186187188189190191192193194195...537 New comment
Please help with isCloseLastPosByStop function ().
I insert into MetaEditor function isCloseLastPosByStop () (but only what is written on https://www.mql5.com/ru/forum/107476/page21).
After an unsuccessful compilation I get errors:
'(' - function definition unexpected
't' - variable not defined
't' - variable not defined
'}' - unbalanced parentheses
It's this function, as I've commented out all, the rest of the code.
This error is not this function.
Check carefully what is preceding it.
This is indicated by the very first error that I have marked in red.
Somewhere before the function there is an extra curly bracket or a semicolon missing.
This is disrespectful to those you are asking. Learn how to post code correctly -> SRC
I didn't mean to offend anyone, but what is the code -> SRC
Look below, above the text entry field. There's an SRC button
I see, I'll be aware of that.
This error is not this function.
Check carefully what precedes it.
This is indicated by the very first error, which I have highlighted in red.
Somewhere before the function there is an extra curly bracket or missing semicolon.
That's the point: there is nothing.
I see, I will know.
If clear, delete your previous post with the code and write it again using SRC.
Your code will be easier to read.
That's just it, there's nothing.
There are no miracles.
Look for an error.
You can replace this function with another one, which is known to be correct, but the result will be the same.
If clear, delete the previous post with the code and write it again using SRC.
Your code will be easier to read.
Have you used this function? Can you show me the code or how you would do it, because I think I'm getting stupid in the easiest place