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
Yeah guys....
already grading is up for grabs :))))
If you have nothing good to say, don't say anything or at least talk about it ..... If you knew something, you'd show me... Or is it too bad? Or don't know anything ....?
there is nothing to argue about.
You'd actually be better off combing your order sending functions for the correctness of the order being sent to the server.
I do not want the error to be reported before the server, but before...)And how can you guarantee that you won't get the same situation the next time you tick, yes nothing.
And the worst case may come, you will calculate the average wrong and open an order wrong and the next tick will not matter.
It is not the number of orders that matters, but the trading environment, the presence of real stops, the presence of other EAs in the account.
Theoretically the state of more than one order could change
A sound idea, I didn't think of two, got hung up on one.
So back to square one, so how to solve collisions with this function.
Sound idea, I didn't think of two, got stuck on one.
So back to square one, so how to solve collisions with this function.
If anything, recalculate again. if the number of entry and exit orders are not equal.
Theoretically more than one order could change
So what? Even if everyone changes, we still won't analyse the same trades.
If we are talking about a trade up the list that has changed, then it may change after we have gone through the search - before we put the total profit.
If anything, recalculate again if the number of entry and exit orders is not equal.
If the number of orders at entry and exit is not equal, then recalculate it again.
This will also not help us if a pending order is opened, the amount of orders will be saved but the parameters will not. On the other hand, this would hardly disturb us, if we hadn't included a newly opened pending order into the amount, that's OK. (I really do not see a situation, in which this can cause an error). This situation may only occur under a special set of circumstances, one of which is a lot of ticks, i.e. the next iteration will be very soon and the error will be corrected. In case the order rebound happens between ticks, this is not a problem for us.
We often see other programmers' codes where the enumeration is done dozens of times per iteration separately to calculate a heap of parameters and this is a problem.
So what? Even if everyone changes, we still won't analyse the same trades.
If we are talking about a trade up the list that has changed, then it may change after we have gone through the search - before we put the total profit.