![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
... Nowadays, you can draw anything you want with a bitmap in one window... it's a bit cumbersome, but you can do anything you want.
As a workaround (this option looks ugly to me) to applyobj_chart, but you can't apply template to it and add indicators.
If it were possible to add indicators toobj_chart, I think it would be an acceptable half-measure.
As a workaround (this option looks ugly to me) to applyobj_chart, but you can't apply template to it and add indicators.
If it were possible to add indicators toobj_chart, I think it would be an acceptable half-measure.
It is possible to add indicators toobj_chart using MQL5 tools, but it is also inconvenient.
As a workaround (this option looks ugly to me) to applyobj_chart, but you can't apply template to it and add indicators.
If only it would be possible to add indicators toobj_chart, then, I think, it would be an acceptable half-measure.
Yes, you can, usingOBJPROP_CHART_ID. I was wrong - I meant adding charts toobj_chart in separator window.
The obj_chart, I've got it: the template can be applied and the indicator added, the separator window of theobj_chart object can be set. Thus, the chart object at this stage of MQL5 can practically be a substitute for a usual chart window.
Why practically?
If only the chart separator window could be placed not only horizontally, but also vertically! Then a vertical separator window could become a full-fledged substitute for a regular chart window. And the vertical separator window can be controlled: it can be resized. Thus, you can implement control of windows by means of MQL5 without WinAPI.
With obj_chart, I figured it out: you can apply a template and add an indicator and a separator window to theobj_chart object. Thus, the chart object at this stage of MQL5 can practically be a substitute for a usual chart window.
Why practically?
If only the chart separator window could be placed not only horizontally, but vertically as well! Then a vertical separator window could become a full-fledged substitute for a standard chart window. And the vertical separator window can be controlled: it can be resized. Thus, you can implement control of windows by means of MQL5 without WinAPI.
Other chart type objects can be placed in the chart object window. Given existing chart events(CHARTEVENT_MOUSE_MOVE), object management can be implemented. This is not elementary, but quite feasible.
ChartNavigate() in chart objects already works? I once sent an application to Service Desk with this request, but have not received a reply yet.
Worked and is working. A simple example:
Worked and is working. A simple example:
Thank you. It turns out my mistake was that I didn't turn off autoscroll in the graphic object. )
Great. Horizontal scrolling in the graphic object can then be implemented on its own.
Thank you. It turns out my mistake was that I didn't turn off autoscroll in the object graphic. )
Great. Horizontal scrolling in the graphic object can then be implemented on its own.