Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 Indicators | GraphOnGraph | MetaTrader Tool

RobotFX curates the best open-source MetaTrader code to inspire your trading automation.


Author:

Fduch

The indicator is intended for displaying the charts of two currency pairs in a single window.

Smooth out market noise with the Heiken Ashi Expert Advisor for MT4 and MT5. Reliable trend-following automation. Details here.

Input parameters:

symbol - the name of the currency pair that is to be added to the main chart of the other currency pair.

timeFrame - the TF of the currency piar that is to be added to the main chart of the other currency pair.

price - the price used for drawing the chart of the currency pair that is to be added. It can take the following values: Open, Close, Median

Picture:

Image for GraphOnGraph

What I didn't succeed but wanted to add:

I don't know how to draw a chart of the added currency pair using the bars and candlesticks. Drawing it with a line is simple:

    SetIndexStyle(0,DRAW_LINE);

But how can I implement its drawing with the bars or candlesticks?

Build better strategies with RobotFX professional tools – check them out.

8519

Best MetaTrader Indicators + Profitable Expert Advisors