Download MetaTrader 5

'(" - function definition unexpected

To add comments, please log in or register
ninja13
17
ninja13  

I had download an universalMACrossEA which created by firedave recently. After I had replaced the original buy & sell condition with my own buy & sell condition, there shown an error which is '(" - function definition unexpected.

I had try several method for many day to solve this problem but unfortunately still unable to "kill" the error.

Please help me to solve this issue. Thanks!

<CODE REMOVED>

Simon Gniadkowski
Moderator
18023
Simon Gniadkowski  
ninja13:

I had download an universalMACrossEA which created by firedave recently. After I had replaced the original buy & sell condition with my own buy & sell condition, there shown an error which is '(" - function definition unexpected.

I had try several method for many day to solve this problem but unfortunately still unable to "kill" the error.

Please help me to solve this issue. Thanks!

<CODE REMOVED>

I removed your code . . . .


Please edit your post above and re-insert your code using the SRC button . . . please use the SRC button to post code: How to use the SRC button.

To edit your post . . .

Simon Gniadkowski
Moderator
18023
Simon Gniadkowski  
ninja13:

I had download an universalMACrossEA which created by firedave recently. After I had replaced the original buy & sell condition with my own buy & sell condition, there shown an error which is '(" - function definition unexpected.

I had try several method for many day to solve this problem but unfortunately still unable to "kill" the error.

Please help me to solve this issue. Thanks!

<CODE REMOVED>

You probably have missing brace(s) in your start() function so the compiler thinks you have defined this functions inside start()
Ubzen
5394
Ubzen  
ninja13:

I had download an universalMACrossEA which created by firedave recently. After I had replaced the original buy & sell condition with my own buy & sell condition, there shown an error which is '(" - function definition unexpected.

I had try several method for many day to solve this problem but unfortunately still unable to "kill" the error.

Please help me to solve this issue. Thanks!

<CODE REMOVED>

You have missing Braces{} within your start function. Your new functions use variables without defining them. And some of your non-void functions do-not return a value.
To add comments, please log in or register