If you double click on the object, you will see that the anchor point is on the line.
Play around with the anchor settings and see if you can get it to appear as you want
coiler: But the dot is not drawing in the correct level. What am i doing wrong?:
What's wrong is you are using a text object and the position of the object is relative to the anchor point (the asterisk IIRC or the "L".)* ------ . * ------ . * ------ . | ^ | | | | | | ^ ^ | | | | | | ^ ^ | | . | | | | ^ ^| | | | | | | | | | ______ | L ------ | L ------ | L ------ |
Same anchor but they appear in different vertical positions because of the character you choose.
- Change the location of the anchor point Methods of Object Binding - MQL4 Documentation
- Change to an arrow and use one of the six exact pointing arrows Arrow codes - MQL4 Documentation
- Draw a single line, not dozens of objects.
- Adapt and use my polyline code to draw it.
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
Hi All,
i am trying to draw a dot in the Stop Loss Level, just to monitor where it is.
I am calling this function i created to draw a yellow dot:
But the dot is not drawing in the correct level. What am i doing wrong?:
Regards.