Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 180

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
Hi. Can you tell me how to make the total number of orders on a pair. Currently counting separately buy and sell.
Bookmark it.
Thank you very much!!!
I have another question. My Expert Advisor is closing trades and waiting for the next candle to open a new order, although I have all the conditions to open an order immediately after it closes. I am working on a one-minute chart. Please advise how to fix it and make it work immediately instead of waiting for a new candle.
Look in the code for control of opening a new bar - it's probably there.
searched all over. i'm really new at this.
I've been looking all over. I'm really new at this.
Good afternoon. Question about arrays. I'm a beginner in programming - so my question is: In my robot the processing of positions goes through an array of structures and there is a need to reduce the entire array from the beginning, i.e. there is an array of 100 structures, the first 80 are already processed and I need to leave in the original array only the last 20 at the very beginning of the array. The flag that the position is still open is stored as a structure element.
Good afternoon. Question about arrays. I'm a beginner in programming - so my question is: In my robot the processing of positions goes through an array of structures and there is a need to reduce the entire array from the beginning, i.e. there is an array of 100 structures, the first 80 are already processed and I need to leave in the original array only the last 20 at the very beginning of the array. The flag that the position is still open is stored as a structure element.
Isn't it better to remove the structure object as soon as it is no longer needed?
They go in order in the array, and their order is important.