거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
스크립트

Displaying Several CChartObject Objects in a Single Window - MetaTrader 5용 스크립트

조회수:
7841
평가:
(29)
게시됨:
2012.12.04 13:16
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Description:

Sometimes it is necessary to monitor several charts simultaneously to find correlations between changes in the rates of various currency pairs. This script allows traders to do that displaying several subcharts in a single chart window.

The script has been developed to create charts for the Championship's Minutes at the Automated Trading Championship 2012.

Therefore, it includes:

  • Drawing graphical objects in a single window (using CChartObjectSubChart standard class).
  • Changing graphical objects display settings (background color, scale, grid, scrolling, etc.).
  • Graphical object display area shift (using ChartNavigate method, as well as CHART_FIXED_MAX and CHART_FIXED_MIN properties).
  • Drawing a rectangle on a graphical object (OBJ_RECTANGLE object).
  • Drawing horizontal lines of the average open prices of short and long positions (using OBJ_HLINE).
  • Downloading data for the lines from the file (the text file with the data should be placed in terminal_data_folder\MQL5\Files).

CSubChartExtended class derived from CChartObjectSubChart has been developed for drawing subcharts. It is derived from CChartObject class - the basic class for working with graphical objects.

After examining and slightly changing the code, you will be able to enable displaying several currency pair charts in a single window in the way that is convenient to you.

Image:

Drawing several charts in a single window

Drawing several charts in a single window

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1345

iEnvelopes_HTF iEnvelopes_HTF

Envelopes drawn in ZigZag form. They can be drawn fixing Time Frame and then calculate input parameters

Exp_X2MA Exp_X2MA

The Expert Advisor Exp_X2MA is drawn on the basis of X2MA universal Moving Average change.

MultiJFatlSignal MultiJFatlSignal

The MultiJFatlSignal indicator shows the information about active trends using the JFatl four indicators value from different Time Frame

Pivot Lines TimeZone Pivot Lines TimeZone

The Pivot levels indicator, the Pivot sublevels and the Camarilla levels drawing the indicator buffers and the horizontal lines