Download MetaTrader 5

Sharing lines between graphs

To add comments, please log in or register
Christian
91
Christian  

Hello,

 

I can't manage to see a HLine drawn on a graph (m1) on other graphs (m5). When I set the properties of the line correctly, it doesn't do anything. The line is only shown on its graph, not on others.

What am I doing wrong ?

Christian

Alain Verleyen
Moderator
32373
Alain Verleyen  
c2h:

Hello,

 

I can't manage to see a HLine drawn on a graph (m1) on other graphs (m5). When I set the properties of the line correctly, it doesn't do anything. The line is only shown on its graph, not on others.

What am I doing wrong ?

Christian

 

You don't give enough information to help you. Can you explain with more details what you are doing ?
Christian
91
Christian  

Yes.

I put an horizontal line on graph (let's say M5). I would like to see this line on M1. So I right-click on the line to set the properties : visualisation/all time frames (it's in french on my computer).

But this line doesn't appear in other graphs (M1, M15).

I think there's something I don't understand somewhere.

Christian 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Object Types
Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Object Types
  • www.mql5.com
Standard Constants, Enumerations and Structures / Objects Constants / Object Types - Documentation on MQL5
Ahmed Soliman
16496
Ahmed Soliman  

This setting enable to show/hide the object when you switch the SAME CHART period.

For example place a Trendline on H1 chart.  

Disable Minutes in Visualization (Image below).

Object timeframe

If you are in H1 for instance you will see the line while in M1/M5 etc the line will be hidden.

khai hoan nguyen
242
khai hoan nguyen  
You can take a picture about chart have lines between graphs. I want to see it.
Christian
91
Christian  

Here's the picture. The line is drawn in M5, color magenta.

In properties : visualisation, all timeframes checked.

The line doesn'r appear in graph M1, above.

 

 

Alain Verleyen
Moderator
32373
Alain Verleyen  

You can't share object between several charts. When you change "Visualisation" properties, this has to do with the same chart. Ex: You place an object on a M1 chart, after that you switch period to H1 of the SAME chart.


phi nuts
2181
phi nuts  

Christian, if you open ten charts, one chart is M1 and nine other is M5 charts. and you set the visualization like the way you post here, then MT will never draw object to other M5 charts. That because MT5 will never know which M5 chart you refer to, therefore visualization is only works for the chart where the object is attached, in this case is only on M1 chart.

If you want to draw on other chart, then you have to create mql5 program to raw object on other chart like your previous topic Putting a line (object) from a graph on another graph

Christian
91
Christian  

Thanks a lot.

Best regards

Christian 

Alexander Piechotta
7039
Alexander Piechotta  

look free Trendline Clone  https://www.mql5.com/85j 

Trading Utility Trendline Clone
Trading Utility Trendline Clone
  • 2013.04.16
  • Alexander Piechotta
  • www.mql5.com
This Expert Advisor creates a clone of every new trend line on all open charts. Supports Trend Line, Vertical Line, Horizontal Line, Rectangle and Arrowed Line. At the start, you have the choice whether to clone existing chart objects...
phi nuts
2181
phi nuts  
FinGeR:

look free Trendline Clone  https://www.mql5.com/85j 

Ooo look, one review from the user ;D

I think Christian is capable of writing that as an indicator ;)

To add comments, please log in or register