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


Posted: Nov 04, 2009 @ 09:31 AM             Msg. 1 of 3
In a custom indicator, I see there is a possibility to Log a Message: Log.WriteLine("A Message"); But how do I view the log? Open the Log Window? Open an Alert Window?

Thanks,

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


Posted: Nov 05, 2009 @ 08:36 AM             Msg. 2 of 3
Real-time log messages are available in Log window (View-> Custom Indicators -> Log) and in a file that you can find here: ...\Local Settings\Application Data\OEC\OEC Trader\<Demo|Prod>\*.ci

All logs that generated on historical data during back-test calculations can be reviewed in Back-Test window (bottom pane). You need to click Trading->Back-Test in right-click menu in the chart.
SThompson30
Posts: 20
Joined: Jan 09, 2008


Posted: Nov 05, 2009 @ 09:24 AM             Msg. 3 of 3
Thanks Victor!

I already saw Serge's reply... but noticed your name next to the topic, so I checked... glad I did!

Thanks again,

-Scott