[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 393
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Who has a turkey like this?
Check this out:
http://www.kimiv.ru/index.php?option=com_remository&Itemid=13&func=fileinfo&id=45
Please, help.
I put a modifier of pending orders, in the EA, and it gives me an error - 1 when testing in the Journal.
I.e. - "If I pass unchanged values as function parameters, error 1 (ERR_NO_RSULT) will be generated".
I put a check before modification, but it doesn't help. What is the error? The EA is being tested, but how can I sift out orders with unchanged values?
Check this out:
http://www.kimiv.ru/index.php?option=com_remository&Itemid=13&func=fileinfo&id=45
After a long break I decided to write an EA, but here's the problem...
The price in the terminal now looks like this: 1.31126 - 5 decimal places
The variables Bid, Ask, Open[i], High[i], Low[i], Close[i] return the price as 1.3113 - 4 decimal places.
Because of this, the Expert Advisor does not work. How can I fix it?
Please, advise who knows...
and variables Bid, Ask, Open[i], High[i], Low[i], Close[i] return the price as follows: 1.3113 - 4 digits.
Because of this, the Expert Advisor does not work. How do I fix it?
Please help.
I put a modifier of pending orders, in the EA, and it gives me an error - 1 when testing in the Journal.
I.e. - "If I pass unchanged values as function parameters, error 1 (ERR_NO_RSULT) will be generated".
I put a check before modification, but it doesn't help. What is the error? The EA is being tested, but how can I sift out orders with unchanged values?
Fractional numbers must be normalised before they can be compared.
Please, advise, is it normal that only 1 order may exist at any given time, but it can close partially (in small lots) and the same graph is shown in the Strategy Tester?![](https://c.mql5.com/mql4/forum/2012/09/zngus_small.jpg)
Those equity and balance diverge, although with 1 existing order they should be equal all the time. Is it because of partial closing of lots or is there an error in my code?
Please tell me if I can master mql if I (almost) know exel perfectly, because I've seen a program where the codes contain the "moves" of exel but in mql language. Where can I find such an approach to programming?