Download MetaTrader 5

Discussion of article "MQL5 Cookbook: Monitoring Multiple Time Frames in a Single Window"

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
185318
MetaQuotes Software Corp.  

New article MQL5 Cookbook: Monitoring Multiple Time Frames in a Single Window has been published:

When choosing the direction for opening a position, a price chart with multiple time frames displayed at the same time may be quite useful. The MetaTrader 5 Client Terminal provides 21 time frames for analysis. You can take advantage of special chart objects that you can place on the existing chart and set the symbol, time frame and some other properties right there. You can add any number of such chart objects, however it would be quite inconvenient and time-consuming if done manually. On top of that, not all chart properties can be set in manual mode.

In this article, we will take a closer look at such graphical objects. For illustrative purposes, we will create an indicator with controls (buttons) that will allow us to set multiple chart objects in a subwindow at the same time. Furthermore, chart objects will accurately fit in the subwindow and will be automatically adjusted when the main chart or terminal window is resized.

In addition to buttons for adding chart objects, we will also have buttons for enabling/disabling some of the chart properties, including those that can only be modified programmatically.

MQL5 Cookbook: Monitoring Multiple Time Frames in a Single Window

Author: Anatoli Kazharski

De Blues Fx
11
De Blues Fx  
hi...can u create for mql4 indicator for multichart in main chart
James Hodges
3755
James Hodges  

Hello Anatoli,

   Thank you for such a great article! I was just wondering about the subwindow indicator.. I notice that you have it set to be on the chart window instead of separate window... is this a mistake?

 

To add comments, please log in or register