API Support Forum
User Profile

Viewing User Profile for: SThompson30


Jan 09, 2008 07:16 AM

May 12, 2010 12:29 PM

May 12, 2010 07:22 PM

Post Statistics
SThompson30 has contributed to 20 posts out of 4435 total posts (0.45%) in 4209 days (0.00 posts per day).

20 most recent posts:

API Support » Range Plot Style May 12, 2010 @ 12:29 PM (Total replies: 4)

Found it.




API Support » Range Plot Style May 12, 2010 @ 11:30 AM (Total replies: 4)

Hi Victor,

Did this get into V3.5 yet?


API Support » Indicators - Log A Message Nov 05, 2009 @ 09:24 AM (Total replies: 2)

Thanks Victor!

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

Thanks again,


API Support » Version of .NET with Custom Indicators Nov 05, 2009 @ 09:20 AM (Total replies: 1)

So, which version of .Net can I use with Custom Indicators? It seems I can only access features of Version 2.0, is that correct? Or is there something wrong with my configuration? (I have up to version 3.5 in my Add/Remove Software List)

Is there something I can do to access versions > .Net 2.0?



API Support » Indicators - Log A Message Nov 04, 2009 @ 09:31 AM (Total replies: 2)

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?



API Support » Indicators Oct 20, 2009 @ 03:22 PM (Total replies: 2)

Darn it! :-)

maybe I can get Autoit or something similar to work.

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

Thanks again,


API Support » Indicators Oct 20, 2009 @ 08:52 AM (Total replies: 2)


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.



API Support » Custom Indicator Question Oct 12, 2009 @ 02:42 PM (Total replies: 2)


Thanks Victor, that is great. Somehow I knew you would know what to do!

Have a great week,


API Support » Custom Indicator Question Oct 08, 2009 @ 11:52 AM (Total replies: 2)


I asked OEC Support but they suggested I ask here:

I am trying to figure out how to place a label on a chart, in a C#
indicator, such that it stays in the same place all the time.

In particular, I want to display the date in the upper left corner,
near the contract symbol name, for example. So, when the user scrolls the chart, I want to see the date in the upper left.

Any suggestions? Victor? :-)



User Interface » DOM Docking Sep 09, 2009 @ 02:39 AM (Total replies: 0)

OK, one more...

I have been using OEC for quite a long time and I have always been dealing with the DOM as a separate window. I would like to be able to dock it to a chart window. So, I could have three charts, and three DOM windows where each chart had its DOM docked to it. So, if I switch charts, I switch DOM's. Is there a way to dock the DOM to the chart??? (It sure would be nice! )



User Interface » Selection of Bars Sep 09, 2009 @ 02:33 AM (Total replies: 0)

How do I select a region of bars and make that selected region fill the chart?

In particular, I want to be able to select one day's worth of minute data, but in this case, I want the Cash Market Day, i.e., 9:30am-4:00PM, not 24 hours. And I want it to fill the chart so I can see the biggest bars but not miss any of the data from 9:30-4:00PM. It seems like the Selection should be the thing to do that, but I haven't found out how to do it! If it is not possible in the GUI, is it possible in a C# Custom Indicator somehow?

Similarly, is there a way to set the width of the Right Margin? Or is it just a fixed size?

Thanks again for any help/insight,


User Interface » Cursor Data Clipped Sep 09, 2009 @ 02:28 AM (Total replies: 0)

When I am viewing the YM, my cursor shows values like 9450.9, and the tenths value gets mostly clipped off on the righthand Y Scale, and the leading digit gets clipped off on the lefthand Y-Scale. There needs to be about 1 more character width of space (on each scale) to show the whole value I think.

Since the YM trades in WHOLE points, anyway, I'd prefer to be able to have the cursor value show in TickSize increments, so for the ES, 0.25 intervals, for example. Is there a way to force the cursor to Round to TickSize? That is to say, the cursor line may not be at a perfect tick boundary (like sticky mode), but the value printed on the scale could be set to the nearest tick. So if I was between ticks, like 900.35, it would show 900.25 until I reached 900.50 for the ES.



API Support » Where do I ask questions about the Custom Indicator API? Sep 09, 2009 @ 02:13 AM (Total replies: 2)

Thanks Victor! That worked just fine.

My next question is... what is the way to tell whether the bars are 'second' bars versus minute bars? I did a complicated thing where I looked at the Timestamps, but I am pretty sure that is not the best way. I know about BarInterval and BarType, but is there a way to see the BarUnit? I just don't know C# that well, and the API docs, well... you know... :-)

Thanks again!


API Support » Where do I ask questions about the Custom Indicator API? Sep 06, 2009 @ 11:04 PM (Total replies: 2)

I have some questions about the C# Custom Indicators. Where should I ask those?

For example, how can I set the Text Font AND SIZE when creating a Text label in the calculate method, like

Value1 = ((Double)(DrawingObjects.Text.New(((Double)(Date)), ((Double)(Time)), Open, "Hello")));

I cannot find a Font property in the API docs. :-) And EL doesn't seem to have on either. So my indicator labels are tiny and I haven't found any chart profile properties that affect them... maybe they are there... but I haven't figured it out.



New Feature Requests » Seconds-based bars Jan 09, 2008 @ 10:40 AM (Total replies: 4)

Yes, there are tick charts, but it is not the same as time based... take fed day for example... 10 secs can be a lot of ticks... and other days or after main hours... 10 secs may be zero ticks.

I would like seconds to accommodate these sorts of things.

New Feature Requests » Option for Pivot Points to not be included in autoscaling and one more set of S/R lines Jan 09, 2008 @ 07:42 AM (Total replies: 0)

a) Autoscaling with PP's makes bars too tiny sometimes. Would be nice to exclude them from autoscaling.

b) Would like to be able to add one more S/R level. Ideally it would be great to be able to specify which S/R levels appear.

c) Also nice to have mid-points. ;-)

New Feature Requests » Ability to turn off tooltip values near mouse position Jan 09, 2008 @ 07:35 AM (Total replies: 0)

Or ability to force the tip window to a specific corner of the chart... it often gets in the way at the moment.

New Feature Requests » Cursor Lines Disappear When Mouse leaves region Jan 09, 2008 @ 07:32 AM (Total replies: 0)

When I move my mouse out of a region, I would like the cursor line to disappear. Right now, with two or three indicator regions plus the main chart region, there are too many horizontal lines and they are generally left at the last vertical location before the mouse left the region. It is somewhat distracting.

New Feature Requests » Colored Volume Jan 09, 2008 @ 07:28 AM (Total replies: 0)

Red for selling volume, green for buying volume.

New Feature Requests » Seconds-based bars Jan 09, 2008 @ 07:24 AM (Total replies: 4)

I would like to be able to specify times less than one minute for charts. 10 sec bars for example.