Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 322
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
This is hardly the case ...
With a smaller lot it might work - partial execution.
Good afternoon.
I can't find the "advisors" folder in 7 vin.
I haven't traded for a couple of years, maybe something has changed since then!)
Can you please tell me how to load an EA in 4 Metatrader? Thank you
Hello, I have a question. The objective is to locate the price among the open orders. The trading is done on one currency pair. I think I will create an array of all orders and their open prices (Mas[OrdersTotal][OrderOpenPrice]). But how do I understand how open prices will be positioned in this array? From lower to higher or vice versa? Or by date of creation? Please advise!
Hello, I have a question. The objective is to locate the price among the open orders. The trading is done on one currency pair. I think I will create an array of all orders and their open prices (Mas[OrdersTotal][OrderOpenPrice]). But how do I understand how open prices will be positioned in this array? From lower to higher or vice versa? Or by date of creation? Please advise!
Write an array, and sort it by required parameter ArraySort(...)
Write an array, and have it sorted by the required ArraySort(...) parameter.
Write an array, and sort it by the required parameter ArraySort(...)
And what does"Sort numeric arrays by the first dimension" mean?
Thank you))
Good afternoon.
I can't find the "advisors" folder in 7 vin.
I haven't traded for a couple of years, maybe something has changed since then!)
Can you please advise how to load an EA in 4 Metatrader? Thank you
Apparently what you are showing is the installation folder. If you don't use the /portable switch, you will find the data directory under File, open data directory.
If you use the /portable switch, the data directory will be in the installation directory.
Only you need to install it to a drive other than the system drive. Or at least in the root of the drive instead of the Program Files folder
Hi, again a question about arrays) I have created an array of all open orders and their prices
int OT=OrdersTotal; //number of open orders in the terminal
double Price =OrderOpenPrice(); // Price of the selected order.
ArraySort (Mas,WHOLE_ARRAY,0,MODE_DESCEND); // now the open prices are in descending order
My question is, how can I find out between which orders a price is located, or is it (the price) located outside the array? Please give me a hint!))
ArrayBsearch