[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 339
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
Thank you very much I will look into it. And the second question, can you tell me about the 3 posts above?
There's not a lot of information.
Vinin 20.08.2012 13:28
Gek34:
Thanks a lot I will take it apart. And with the second question, can you tell me 3 posts above?
There is not much information
Code attached: When a pending limit or stop order is placed, a line for modification appears, if I move it, the order is modified as needed, but then every tick tries to modify it, although I don't need it anymore
I have not kept track of all mistakes but I don't feel like rewriting it now. Fonts are not attached (If you have not installed the name will be crooked)
Vinin 20.08.2012 13:28
Gek34:
Thanks a lot I will take it apart.And with the second question, can not prompt 3 posts above ?
There is not much information
I am attaching the code: After a pending limit or stop order is placed, a line for modification appears, if you move it, the order will be modified as needed, but after every tick it tries to modify it, even though I don't need it anymore.
I have not kept track of all errors in the code but I don't feel like rewriting it now
You have to understand the logic in order to understand it. And that, for me, takes a lot of time. Sorry
Then I will formulate the question differently: if an error during order modification is displayed not in the ( journal, the journal is clean) but in the tab (Experts) It means that
1. An error in the Expert Advisor calculations (a request to the server to modify the order was not sent)?
2. the server returned the error (as it happens every tick, the account can be blocked)?
Then I will formulate the question differently: if an error during order modification is displayed not in the ( journal, the journal is clean) but in the tab (Experts) It means that
1. An error in the Expert Advisor calculations (a request to the server to modify the order was not sent)?
2. the server returned the error (as it happens every tick, the account can be blocked)?
Error code. If 0, no request has been sent to the server.
... can MetaTrader decide if the results are important or not?
If you're on the lookout for it, do some more research under DOS. It may come in handy.
Thanks, I got it.
Very funny.
https://www.mql5.com/ru/forum/138609/page333#683047
However, can someone help me figure out how to organise the array correctly? It's not a complicated problem, but I can't figure it out on my own.
https://www.mql5.com/ru/forum/138609/page333#683047
However, can someone help me figure out how to organise the array correctly? It's not a complicated problem, but I can't figure it out on my own.
Try solving it on a piece of paper:
2) Find the length of a series of green and red values and store them in an array.
Personally, it's not clear to me what the size of the arrays should be. In other words - over what period of time do you want to see a picture of the green and red values, starting from which bar?
Try "on paper" to solve this problem:
2) Find the length of a series of green and red values and store them in an array.
Personally, I don't understand what the size of the arrays should be. In other words - over what period of time do you want to see the picture of the green and red values, starting from which bar?
What should be the size of the arrays - I don't know. Its index should accumulate over the whole interval of calculated bars, i.e. starting from bar limit.
I will try to describe the logic of the problem in words.