Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 546

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
It is not defined, it is set.
sub_window
[in] Subwindow number of the chart. 0 means the main window of the graph. The specified subwindow must exist, otherwise the function returns false.
The indicator on the EURJPY chart must create an object in the main window of the USDJPY chart:
intsub_window,// window index???
WindowFind
WindowsTotal
No good. There is no indicator where you want to create an object. WindowFind searches for a window by indicator name.
The indicator on the EURJPY chart must create an object in the main window of the USDJPY chart, which should be written in :
intsub_window,// window index???
0
Thanks, I did. It's working.
How can I expand a chart to the full screen in MQL5 (or using WinAPI)?
Found CHART_IS_MAXIMIZE and CHART_IS_MINIMIZE properties in documentation. They are not described as read-only, but nevertheless changing them does not lead to anything. The properties are read correctly.
Everything works through WinAPI:
Found CHART_IS_MAXIMIZE and CHART_IS_MINIMIZE properties in documentation. They are not described as read-only, but nevertheless changing them does not lead to anything. The properties are read correctly.
But everything works through WinAPI:
Thank you very much.
Hello. Can you please tell me how to connect a market profile indicator to an EA if it doesn't have a buffer? I've already wracked my brains(!
Please attach the indicator
Hello. Can you please tell me how to connect a market profile indicator to an EA if it doesn't have a buffer? I've already wracked my brains(!
Please attach the indicator
Only repeat the calculation of levels in the Expert Advisor. After all, the profile is displayed using graphical objects.
If you don't mind my saying so. Could you please tell me exactly where in the code the calculation starts? It's hard to understand.
And if I understand correctly, this part needs to be inserted into the EA code as a custom function?