Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Display multiple CChartObject objects in a single window - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

Displaying Several CChartObject Objects in a Single Window - script for MetaTrader 5

Sometimes it is necessary to monitor multiple charts simultaneously to discover correlations between exchange rate changes on various currency pairs. This script allows traders to display multiple subcharts in a single chart window.

This script was developed to create charts for tournament minute records. Automated Trading Championship 2012 .

Therefore it includes:

The CSubChart extension class derived from CChartObjectSubChart has been developed for drawing subcharts. It is derived from the CChart object class - the base class for working with graphic objects.

After checking and slightly changing the code, you will be able to display multiple currency pair charts in a single window in a way that is convenient for you.

Displaying Several CChartObject Objects in a Single Window - script for MetaTrader 5

Draw multiple charts in one window


Attachment download

📎 linesdata.txt (0.28 KB)

📎 multicharts.mq5 (17.48 KB)

Source: MQL5 #1345

Verification code Refresh