[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 39
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
Can you please help me? How to close 5 pending orders with the same magic.
Thank you in advance!
If the order was opened to sell then price=Ask, if to buy then price=Bid.
Wrong, you should
Wrong, you have to
Guys - tell me, in the tester, and then when trading on the trading account, including manually, it turns out that it is possible NOT to NORMALIZE the volume of the open position, while it will be opened by the required volume. For example, if I open an order with 0.1210 lots, the terminal will open with 0.12, i.e. the "extra" fractional part is discarded by default.
Please advise whether this is another "upgrade" of the terminal or it was originally possible.
I have used this method of volume normalization before but I have missed this point in one of my ops and orders keep opening and the Expert Advisors tab gives me before opening the position the preliminary volume to be opened, particularly, 0.121 lots - I am testing this on a demo account.
Function of lot's normalization:
Calling it from EA start:
Who is aware of it - comment, plz...
P.S. Checked again - apparently there is a situation that when you try to open a volume of 0.1466 - opens 0.14, ie, rejects everything to the right of the 2nd sign after the decimal point.
If you do the normalisation, it looks like it will open 0.15 lot - i.e. with rounding.
I'll have to check it out...
P.P.S. All the same: Who knows - comment, please...
Fucking ignore.
If it helps:The EA stopped turning on after I added the filter function from this article to it
If it helps, talk to one of the workers here.
If it helps, talk to one of the workers here.
Alex, take a look at my question if you have time... Thank you.
I can tell you one thing - I already contacted the service (on another occasion) and they told me: "rely on defaults is harmful, use your own filters and treatments if you want to be sure". So it's up to you...
Alex, have a look at my question if you have time... Thanks.
The FAQ says it right. You can't rely on "defaults". Because I remember that 131 error (wrong lot) often came up, if you don't do a normalization before sending an order.
Maybe now the MMOs have done their own default lot checking on the servers when sending an order for execution.
So you should always do your own price and lot normalization before sending.
This is for you the rules of good coding and the pledge of less hassle with potential problems in the future.