Hi,
I found nothing in this forum or code examples nor in the documentation, and tried lots of different writing.
Here my problem:
I try to calculate the data of two prices. But every time I get the same results/errors.
Here the Code:
and here the Errors:
'=' - illegal assignment used C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (77, 15)
'=' - assignment expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (76, 15)
'=' - semicolon expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (77, 15)
'=' - unexpected token C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (77, 15)
';' - assignment expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (77, 26)
'=' - illegal assignment used C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 17)
'=' - assignment expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (85, 16)
'=' - semicolon expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 17)
'=' - unexpected token C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 17)
'False' - unexpected token C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 19)
';' - assignment expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 24)
I unfortunately do not understand why. Normally this should work. Shouldn't it?
Thank you for any suggestions.
Kind Regards
Eduard Kiefel
the number of open brackets not match with the number of close brackets at line 76 and 85
Hi,
thank You. That worked.
Have a nice day.
Eduard

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I found nothing in this forum or code examples nor in the documentation, and tried lots of different writing.
Here my problem:
I try to calculate the data of two prices. But every time I get the same results/errors.
Here the Code:
and here the Errors:
'=' - illegal assignment used C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (77, 15)
'=' - assignment expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (76, 15)
'=' - semicolon expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (77, 15)
'=' - unexpected token C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (77, 15)
';' - assignment expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (77, 26)
'=' - illegal assignment used C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 17)
'=' - assignment expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (85, 16)
'=' - semicolon expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 17)
'=' - unexpected token C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 17)
'False' - unexpected token C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 19)
';' - assignment expected C:\Users\Eduard Kiefel\Desktop\Threestep.mq4 (94, 24)
I unfortunately do not understand why. Normally this should work. Shouldn't it?
Thank you for any suggestions.
Kind Regards
Eduard Kiefel