- Piotr Kruk: when dot its created on chart it goes few pionts lower thet it should be.
It puts the baseline of the Wingding font on the price stated; not the center of the visible part of the character. You can really see the difference when using the chevron (fractal indicator).
To precisely place the character on the chart you need different offset per character per top/bottom/centered. See the alignable class in the attached file.
-
To be efficient, you shouldn't be using arrows in the indicator but instead, arrow buffers.
-
It puts the baseline of the Wingding font on the price stated; not the center of the visible part of the character. You can really see the difference when using the chevron (fractal indicator).
To precisely place the character on the chart you need different offset per character per top/bottom/centered. See the alignable class in the attached file.
-
To be efficient, you shouldn't be using arrows in the indicator but instead, arrow buffers.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
hi, at first id like to say that im kinda newb to mql4/programming but ill try to describe my problem as precise as i can.
i made some simple example to show whats bugging me. Lets say that id like to draw some dots at previous high price.
When i run this i get proper values in log window but on chart it goes absolute bonkers. It looks like every time when dot its created on chart it goes few pionts lower thet it should be. It refers to all of my drawings. Am i doing something wrong, is it something wrong with my terminal cofniguration or something?
currently im on a stage where its easier to me rethink my code when i see stuff that im working with on a chart and it drives me crazy.