In theory, not always. In practice, what is history for? Probably so it can be adequately analysed. I don't think you need a story where the spread is negative (but you wouldn't be able to trade arbitrage anyway).
So the spread would definitely not be negative on bars. Even if they allow creating custom history, I see no logical reason to introduce a negative spread for bars.
By the way, in the current situation of MQLRates, the spread for bars is written as a spread at the opening, and it (the probability is negligible) may be negative at that moment. I.e. it is quite possible that a bar with a negative spread will occur at some broker. Which, of course, is nonsense.
In general, I also think that bid is more of an ask exception, hence the scheme is not bad. And compared to what we have now from ask history, the unsigned wchar_t will simply revolutionise it.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Or here's an option:
Exceeding the standard structure by 8% (weighs 52 bytes), 65536 ticks. I doubt there is such a spread somewhereNo, the stock is small.
Well, that's for the developers with the current implementation to say then:
Well, that's for the developers with the current implementation to say then:
In theory, not always. In practice, what is history for? Probably so it can be adequately analysed. I don't think you need a story where the spread is negative (but you wouldn't be able to trade arbitrage anyway).
So the spread would definitely not be negative on bars. Even if they allow creating custom history, I see no logical reason to introduce a negative spread for bars.
By the way, in the current situation of MQLRates, the spread for bars is written as a spread at the opening, and it (the probability is negligible) may be negative at that moment. I.e. it is quite possible that a bar with a negative spread will occur at some broker. Which, of course, is nonsense.
Or here's an option:
Exceeding the standard structure by 8% (weighs 52 bytes), 65536 ticks. I doubt there is such a spread somewhere... or even maximum for the sake of more conservative/pessimistic testing.
Yeah, it's better than the opening spread.
Maximum is not worth it. (Extreme is not an indicator.) The average is better.
// Pessemism is something we can do ourselves, we know how... :)
The maximum is not worth it. (Extreme is no indicator.) Medium is better.