Is it possible to run 2 indicators in one program?? For example 1 for Main Chart and other one for Subwindow
If you want to draw buffer values on both windows, it is not possible.
You can use buffers in the sub-window and objects in the main-window.
If you want to draw buffer values on both windows, it is not possible.
You can use buffers in the sub-window and objects in the main-window.
How?
How to use buffers, how to use object functions, how to code an indicator, ...
How can I merge that in one program, like I said before I used #property indicator_chart_window this means that all indicator will put in main chart or sub-window if you use #property indicator_seperate_window
I want 1 indicator to display in main chart and 1 indicator for sub-window in one mql4 program.
There is no merge. You code for the sub-window and use objects for the main-window.
There is no merge. You code for the sub-window and use objects for the main-window.
I don't understand. Give me sample code.
Musngi: I don't understand. Give me sample code.
| Perhaps you should read the manual. ObjectCreate - Object Functions - MQL4 Reference What do you think the sub_window parameter is for? |
Musngi: I don't understand. Give me sample code. | Perhaps you should read the manual. ObjectCreate - Object Functions - MQL4 Reference What do you think the sub_window parameter is for? |
I already used that in my first indicator in main chart after I changed to #property indicator_separate_window it works but how can I put my second indicator in sub-window using buffers? Its still confusing when MQL4 is not supported well this type of combination with multi time-frame and multi-symbols. I hope the MQL4 developer create a decent User Interface for indicator.
I have an idea. How about using DLL to create User Interface for indicator? I mean using MS Windows GUI. Is that possible?
I have got lost ...
I have got lost ...
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Is it possible to run 2 indicators in one program?? For example 1 for Main Chart and other one for Subwindow.
I want this 2 indicator to share data at the same time. I don't have an idea to do this because of #property indicator_chart_window
Can you please give me sample code.