[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 556

 
I'll give it a try! Thank you!
 

'OrderSend' - comparison expression expected C:\TeleTRADE\experts\scripts\Purchaseforum.mq4 (33, 13)

I'll think about it and correct it.



And my robot's code is beautiful, isn't it?

 
Dimka-novitsek:

'OrderSend' - comparison expression expected C:\TeleTRADE\experts\scripts\Purchaseforum.mq4 (33, 13)

Let me think about it and fix it.

Corrected (source code).

 
TarasBY:

Maybe this will work:


Thank you, TarasBY.
 
Tell me, is it actually written in de-el?
Print ("Error: ", ErrorDescription (GetLastError()));
 
Never mind, it's not on de elle anymore.
 
Same thing! I don't see any activity at all, and I'm afraid it's not the code, but probably some platform settings. Also writes 2012.11.30 14:51:05 BuyForum EURUSD,H1: uninit reason 1
 
The counsellors are trading. What, so the scripts have some kind of special features?
 
Dimka-novitsek:
Tell me, is it actually written in de-el?
"It's written in de el" translate it from the kid's language.

...and I linked to the wrong library:

#include     <stdlib.mqh>                        // Библиотека расшифровки ошибок
 
Dimka-novitsek:
The Expert Advisors trade. What, so the scripts have some peculiarities?

There are no special features. It executes the code once and that's it.

What task did you want to solve with this script?