PDA

View Full Version : Multiple Charts in Single window



abdulaziz
07-02-2015, 05:12 AM
Sir,
I would like to plot charts of 2 symbols in single chart window for example SYMBOL 'A' AND SYMBOL 'B' .
is it possible?

Hassan-HS
07-12-2015, 11:49 AM
Hello Abdilaziz,

You can open two separated charts or more on the same docking widdow using this method


Public Sub main()
If ChartOpen("EUR/USD",PERIOD_M1) Then' The message box will return the chart ID if successful

Else
AlertMessage ErrorDescription(GetLastError()) 'Returns a description of the error
End IF


If ChartOpen("GOLD",PERIOD_M1) Then' The message box will return the chart ID if successful

Else
AlertMessage ErrorDescription(GetLastError()) 'Returns a description of the error
End IF

End Sub