Creating a Chart

 

Hi


I am working on an indicator where I will get the prices of a symbol on certain conditions, I would like to view the prices in a line chart in real time. Is it possible to do in MT4?

Any sample or outline would be highly appreciated.


Thanks.

Richo.


 
richo:

Hi


I am working on an indicator where I will get the prices of a symbol on certain conditions, I would like to view the prices in a line chart in real time. Is it possible to do in MT4?

Any sample or outline would be highly appreciated.

Can't you simply set your chart to a Line Chart ( Alt + 3 ) ? or do you mean something else ?
 

No I mean, I am getting alert from my indicator on certain conditions and the prices during the alerts would be like:

1.35336; 1.35232; 1.35247; 1.35242; 1.35211; 1.35197; 1.35192; 1.35195; 1.3519; 1.35194; 1.3519; 1.35196; 1.3519; 1.35192; 1.35187; 1.35194; 1.35195; 1.35194; 1.35186; 1.35191; 1.35221; 1.35212; 1.35221; 1.3522;

I wanted to view the above prices in a line chart, in real time.

Now I am moving the prices to excel and drawing a chart offline.

Thanks.

 
richo:


No I mean, I am getting alert from my indicator on certain conditions and the prices during the alerts would be like:

1.35336; 1.35232; 1.35247; 1.35242; 1.35211; 1.35197; 1.35192; 1.35195; 1.3519; 1.35194; 1.3519; 1.35196; 1.3519; 1.35192; 1.35187; 1.35194; 1.35195; 1.35194; 1.35186; 1.35191; 1.35221; 1.35212; 1.35221; 1.3522;

I wanted to view the above prices in a line chart, in real time.

Now I am moving the prices to excel and drawing a chart offline.

OK, I see.

Just use an Indicator buffer set to Line, put these values into the buffer and you have a line based on those values . . .
 
RaptorUK:
OK, I see.

Just use an Indicator buffer set to Line, put these values into the buffer and you have a line based on those values . . .


Hi Raptor,

You have been very helpful. Even though I am a copy paste programer, I shall use the help and try to do what you have just said.

Thanks

Richo.


Reason: