API Support Forum
OEC API > API Support > Indicators
Author Topic: Indicators
(3 messages, Page 1 of 1)
Moderators: VPfau
SThompson30
Posts: 20
Joined: Jan 09, 2008


Posted: Oct 20, 2009 @ 08:52 AM             Msg. 1 of 3
Hello,

I want to be able to change the symbol of my chart, from a custom indicator for example, and I want to have a DOM window synchronize with the new symbol. How can I do that?

For example, let's say I have a chart of the ES and a DOM of the ES open, and I am interested in switching to the YM because of something my indicator indicates, like divergence or whatever. I want to change the symbol in the chart AND the DOM to the YM.

Thanks,

-Scott
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Oct 20, 2009 @ 03:04 PM             Msg. 2 of 3
Unfortunately, there is no way for custom indicator to change contract of chart and synchronize it with DOM.
SThompson30
Posts: 20
Joined: Jan 09, 2008


Posted: Oct 20, 2009 @ 03:22 PM             Msg. 3 of 3
Darn it! :-)

maybe I can get Autoit or something similar to work.
http://www.autoitscript.com/autoit3/

Also, it does not appear possible to access the Margin requirements for contracts, is that true?

Thanks again,

-Scott