[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 109
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
You can keep the dollar for yourself :D
Please advise how to make an EA perform all the action exactly the opposite? I would be eternally grateful for your advice and $ 1 for your wallet, thanks in advance.
I'm not sure if it's better to trade with this kind of mocar))
Hi !!! Guys can't seem to solve the problem ...
The idea is this
here is my code block
.........
but orders get in the way
my goal is to make my EA work only with those orders on charts, which it attached to...
Please help me for a second week ..........
Let's look at the selection of the required order in the function which returns the profit of the last open order in pips:
When the function is called, the required symbol (sy), the required order type (op) and the magic number (mn) are passed to it. If zero is passed as the sy parameter, the current chart symbol is selected:
then we check whether any order has been selected and, if so, we check the passed symbol; if it is not equal to the one passed to the function, we proceed to the next iteration of the terminal's order enumeration cycle. If it is the symbol we need, then we check if its type matches that passed to the function and, if it does, we check the magic number passed to the function. Then we proceed with the necessary order: check if it is the latest open order and calculate its profit.
To understand the principle of order selection, we should understand this block of code of the function:
It's simple...
Good morning !
The GBP/USD trade in online mode on demo did not open - error 131. Please advise what error 131 means - "Incorrect volume", "Error in volume granulation. You need to stop all trading attempts and change program logic" ? A search for similar already on the site did not find it. What is this error ? Is the volume ticks in a one minute candlestick or what ? And how to correct this error ?
Good morning !
The on-line trade on the demo did not open - error 131. Please advise what error 131 means - "Incorrect volume", "error in volume granulation. It is necessary to stop all trading attempts and change program logic" ? Search for similar already not working on site. What is this error ? Is the volume ticks in a one minute candlestick or something ? And how to correct this error ?
We are talking about the volume of the lot. for example, the minimum lot is 0.1, but the trade opens with 0.01 lot.
We are talking about the lot size. e.g. the minimum lot is 0.1 and the trade is opened with 0.01 lot.
Please tell me what error 131 - "Incorrect volume" means...
...No similar search on the website already found...
http://www.google.ru/search?as_sitesearch=mql4.com&as_q=%22%EE%F8%E8%E1%EA%E0+131%22
More than thirty meaningful answers.
Sayod , I think so.
do you know how to check in a tester?
Let's look at the selection of the required order in the function which returns the profit of the last open order in pips:
When the function is called, the required symbol (sy), the required order type (op) and the magic number (mn) are passed to it. If zero is passed as the sy parameter, the current chart symbol is selected:
then we check whether any order has been selected and, if so, we check the passed symbol; if it is not equal to the one passed to the function, we proceed to the next iteration of the terminal's order enumeration cycle. If it is the symbol we need, then we check if its type matches that passed to the function and, if it does, we check the magic number passed to the function. Then we proceed with the necessary order: check if it is the latest open order and calculate its profit.
To understand the principle of order selection, we should understand this block of code of the function:
It is simple...