Seems that CreateObject doesn't support for creating a segment of horizontal line given two coordinates. Is that possible for MT4? It's really meaningful in some cases to draw a line in segment.
- Arrowed Line - Lines - Analytical Objects - Price Charts, Technical and Fundamental Analysis
- Trendline - Lines - Objects - Charts - MetaTrader 5 for Android
- Trendline - Lines - Objects - Chart - MetaTrader 5 for iPhone
Oh, well, I can draw a rectangle (with the same price value) to simulate a segment of line.
Trend line without ray property
That's great! Slava, thank you very much! Then I can draw segments of line with trend line also.

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