Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 743

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
It's a fetish.)
There, that should work.
Or am I putting it in the wrong place?
Theoretically yes, but in practice you can't let it go outside the tester. there are no error checks.
return what you deleted, I didn't add it for nothing )
Here, pure code for the marker. Runs after the Bid price even if it's the same, even if it's scrolling in the chart, even if it's after switching charts. Runs behind the crosshair and remembers the offset set in this way, continuing to navigate to the Bid afterwards.
PS even i have already changed hp recently as everything is starting to fail, some sites require browser update and it can't be updated on hp anymore,
limiting RAM to 3.7gb is annoying too
xp has no support for testing owls on all CPU cores
I actually have four markers so far: bid, spread, cursor position and max, min candles under the cursor :-)
I initially wanted to do the same with flags, but there is a simpler solution (this is a piece of old code, new one is not ready yet)
Those mark appears when I click on wheel, moves as long as spram==0 and is removed by LC.
Now I want to learn how to calculate the size of objects, tried to do it on the marker
I get zero values for both x and y. What is it related to?
=forxp there is no support for testing owls on all CPU cores
I'm manual, so the hardware requirements are minimal, the Maxton browser is faster than FF, Chrome and others, allowing me to open sites ignoring unreadable certificates.
As soon as I'll have more free time and make some trading money, I'll move to XP :-)
I get zero values for both x and y. What does this have to do with?
Maybe the marker is not on the graph yet, at the time of requesting its size.
You can drop the creation of all labels in OnInit(), you will not have to think whether they are present or not, and then you can only move them and change the text in them, disappearance can be done simply by setting coordinates outside the screen.
Maybe the marker is just not on the chart yet, at the time of requesting its size.
You can drop the creation of all labels into OnInit(), you won't have to think whether they are there or not, and then you can only move them and change the text in them, disappearance can be done simply by setting coordinates outside the screen.
I display dimensions at the end of the function that Taras wrote after moving the marker
How to display the image created inside the program on the chart?
I was able to save it to a file and output it later using OBJ_BITMAP_LABEL.
Is it possible to output the image without using a file? Can named channels help here?
How to display the image created inside the program on the chart?
I was able to save it to a file and output it later using OBJ_BITMAP_LABEL.
Is it possible to output the image without using a file? Can named channels help here?
I get zero values for both x and y. What does this have to do with?
Help says that you can only measure:
OBJPROP_YSIZE
Height of an object on the Y axis in pixels. It is specified for objects OBJ_LABEL (read only), OBJ_BUTTON, OBJ_CHART, OBJ_BITMAP, OBJ_BITMAP_LABEL, OBJ_EDIT, OBJ_RECTANGLE_LABEL.
int
The array has already been created and filled with data inside the running program, it only needs to be somehow transferred toOBJ_BITMAP_LABEL
We managed to do it through a file, but it takes extra time and wastes the resource of the hard disk.
the help says that you can only measure
OBJPROP_YSIZE
Height of an object in Y axis in pixels. Specified for OBJ_LABEL (read only), OBJ_BUTTON, OBJ_CHART, OBJ_BITMAP, OBJ_BITMAP_LABEL, OBJ_EDIT, OBJ_RECTANGLE_LABEL.
int
What did it do?(ObjectGetInteger)