if is not possible with using trend line than maybe object label in kombi with "ObjectSetText" CharttoStr() function, than you can use as font "Wingdings" with it figures an example:
string objektname4 = "Test"; if(ObjectFind(objektname4) >= 0) ObjectDelete(objektname4); if(!ObjectCreate(objektname4, OBJ_LABEL, WindowOnDropped(), 0, 0)) Print("error: cant create ",objektname4," on Window ",WindowOnDropped(),"! code #",GetLastError()); if(!ObjectSet(objektname4, OBJPROP_XDISTANCE, x)) Print("error: cant set xdistance ",objektname4," on Window ",WindowOnDropped(),"! code #",GetLastError()); if(!ObjectSet(objektname4, OBJPROP_YDISTANCE, y)) Print("error: cant set ydistance ",objektname4," on Window ",WindowOnDropped(),"! code #",GetLastError()); if(!ObjectSet(objektname4, OBJPROP_WIDTH, 1)) Print("error: cant set width ",objektname4," on Window ",WindowOnDropped(),"! code #",GetLastError()); if(!ObjectSetText(objektname4, CharToStr(110), 10, "Wingdings", col)) Print("error: cant set Text ",objektname4," on Window ",WindowOnDropped(),"! code #",GetLastError());
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
Here is the link to the picture.
https://c.mql5.com/mql4/forum/2007/04/gps_prob2_2.gif
It is from "Did you see such a picture" thread started by Rosh, and this image posted by Collection.
I'm using "-" and "|" character to draw this line (using label), any better idea?