A100: This was a simplified example as much as possible. The point was precisely to overload the operator. This leaves us with an explicit transformation.
Thank you for simplifying the example. Such simplifications are very convenient for parsing errors
Al_key: Yes, there was an error in the file download, not in the buffers. Now it seems to have moved on.
One more question:
Do you have an example of how to run a custom indicator on small charts (the ones that have objects and can be thrown on top of the main chart)? I use in MT4 currency indexes and it would be very cool to see them in a small mobile window of MT5, instead of wasting half of the screen.
The signal copies the deal, but the volume is always 0.01 and the seller's is different. What should I do? I want the volume to be the same as the seller's.
By the way, what did you mean by trying to organise the left shift by 35 (which is the number the literal '5' converts to)?
This was a simplified example as much as possible. The point was precisely to overload the operator. This leaves us with an explicit transformation.
Another inconsistencyWhile a similar construction in C++ returns result: 2, which is logical, because the object is exactly B, not A
How's that going for you?
I can't reproduce your situation for a simple reason: I don't have a :
Yes, there was an error in the file download, not in the buffers. Now it seems to have moved on.
One more question:
Do you have an example of how to run a custom indicator on small charts (the ones that have objects and can be thrown on top of the main chart)? I use in MT4 currency indexes and it would be very cool to see them in a small mobile window of MT5, instead of wasting half of the screen.
This is from the MQL5 Reference:
Any single character enclosed in single quotes or hexadecimal ASCII character code as '\x10' is a character constant and is of type ushort.
The question then arises why the compiler cannot distinguish ushort from int - without explicit specifying?Everything compiles, works and does not require specifying explicit conversions.
Accordingly, either the description doesn't match the compiler, or the compiler doesn't work according to the description. I would like a match.
what can it be:
critical runtime error 1079902208 in OnTick function (unknown error)
testing 2 hour time frame
Checking for available tools is worthwhile.