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
How can I find out the set testing interval from OnTester()?
The end date of the test can be found immediately in OnTester.
The start date must be stored in OnInit.
Use the TimeCurrent function
Faced a strange situation
Today, when connecting to the server, the connection from the biline USB modem stopped working.
From other channels (relay and terrestrial DSL) work successfully
and in both cases telnet to this address + port passes (session opens)
trace dies on some IP pair (sticks) in both cases too
ping in general says
this is from biline
it's from another channel but the terminal can see the connection
I phoned the Beeline and asked them to turn the modem off and then turn it back on in about 10 minutes - did not help
But the server MetaQuotes demo sees and connects to it.
Something I've run out of imagination, what to do next?Please explain, where is my mistake?Why the attached code draws an image (OBJ_BITMAP_LABEL) only in COLOR_FORMAT_XRGB_NOALPHA mode? Together withCOLOR_FORMAT_ARGB_NORMALIZE it does not show anything.
Can you please explain where my mistake is?Why the attached code draws an image (OBJ_BITMAP_LABEL) only in COLOR_FORMAT_XRGB_NOALPHA mode? Together withCOLOR_FORMAT_ARGB_NORMALIZE it does not show anything.
do you really have a 32 bit picture?
In general, there are small gaps in knowledge. 32-bit colour is represented as 0x00BBGGRR, where first "00" is alpha-channel.
Example, we take colour clrRed, we want to make it translucent, we add value 127 (7F) to the first two bits. Obviously this is done by bitwise operations. Unfortunately, I'm not familiar with the subject. I'll try studying it for now. Maybe someone has a simple conversion code ready?
Strange. Running 0xFF000000 + clrBlue gives a red colour.
Blue is 0x00FF0000. I add0xFFFF000000. The result is0xFFFFFF0000. But why does it output red instead of blue?!