API Support Forum
OEC API > API Support > Changing the series type from a custom indicator
Author Topic: Changing the series type from a custom indicator
(2 messages, Page 1 of 1)
Moderators: VPfau
JGronemus87
Posts: 14
Joined: Nov 28, 2007


Posted: Mar 25, 2010 @ 11:58 AM             Msg. 1 of 2
Hello,

Is there a way to change the type of chart from a customindicator derived class?

For example, 5 MIN ES is displaying as a candlestick. Is there a way to change that to a HL type programmatically?

Regards,
John

John
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Mar 30, 2010 @ 07:23 AM             Msg. 2 of 2
Hello,

to switch bars to HL, please use the next code (C#):

MasterSeries.ChartType = SeriesChartType.HL;