Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 123

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
Yes, by the way, this arrangement is more intelligent in implementation. The associated function at the start is now taking up more space. It turned out like this:
There's nothing to optimise, is there?
I mean that it's much more convenient, when there is not much at all in the start. And everything is called purely by functions. And last time it turned out that the start has all sorts of nesting of main functions and overloading of additional ones...
And why pass an array by reference, if you're using a globally declared array name in a function? Maybe you should do it that way:
And you can cut it down a little bit:
And what about calling from start and displaying messages. It seems to me that they messed up something. We cannot see the pr() function, so we have nothing to suggest.
I checked the number of orders in the tester using a quick algorithm:
You can wrap the entire output in a function that will read data from the array and display the information in a human way.
Good day!
Please help and explain why the EA does not work or trades?
Because here. not all telepaths and not all and visionaries!
I see!
I mean, is there a setting or something else you need?
Why pass an array by reference if you use a globally declared array name in the function? Maybe it should be that way:
Actually, yes, it makes sense. But you pass it by reference here, too:)) I had it after last time, when parameters were not declared globally.
And about the pr function. Here it is:
I see!
I mean, is there a setting or something else you need?
I mean, I don't think there are any telepaths here, and even if there are, just try to interest them in such a feat... Guess and help...
I mean, there's hardly any telepaths around here, and even if there are, you'd better try to get them interested in such feats... Guess and help...
I am having an ongoing stoppage in the closing of required positions. The bottom line is this:
1. the closing of positions is being tracked.
2. As soon as the last position has closed on the takeaway... ...all open and pending positions should be closed at once. Everything is closed sorted by lots, i.e. large lots at once, and then smaller. This is intended only for gaining experience with orders.
The implementation is as follows:
In start() on every tick:
We are interested in closing market orders since the pending one is deleted as required. Here is what we have:
For some reason some of the orders are not being closed. I print some segments when I see them, I don't understand anything. Here is an example:
The comment shows that lastOOTHist = 01:30:00, though this is not actually correct. If we check lastOOTHist in the results window, we will see that
their closing times are different...
What is wrong here?
Actually, yes, it makes sense. You also have a link here...:)) I had this left over from last time, when the parameters were not global.
Sorry to be needed at the end of the week, but I'll ask.
Does anyone have any experience of reading a message on a mailbox from a known sender?
Sorry to be needed at the end of the week, but I'll ask.
Does anyone have any experience of reading a message on a mailbox from a known sender?