RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        



Show chart Programatically Expand / Collapse
Message
Posted 9/2/2010 21:05:30 Post #12171
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being
I use the Speech API to tell me that my trading conditions are close to being met. I then have to stop what ever I am doing go to the trading PC and find the appropriate symbol in the Live Data grid and double click it.

I would like to do the last step programmatically so I just have to glace to the trading PC monitor to see what it is about to trade.

Is there perhaps a brute-force way of doing this like pushing a double click event into the Live Data grid or something?


Posted 9/3/2010 10:39:19 Post #12175
 

Lead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead Developer
Discretionary was designed to be completely manual. You have a couple of options, first, you could create a trading system that has its own user interface that would allow some semi-automation. This is probably a fairly significant undertaking (see the GUI based trading system under the trading systems section of the website). Getting the threading right is a bit of a pain, however, it gives you ultimate flexibility. The option you present of automating the GUI is possible but can be problematic from a maintenance perspective. If we change the GUI, we break your code. Of course, dealing with mouse coordinates is a pain too.

smersh (9/2/2010)
I use the Speech API to tell me that my trading conditions are close to being met. I then have to stop what ever I am doing go to the trading PC and find the appropriate symbol in the Live Data grid and double click it.

I would like to do the last step programmatically so I just have to glace to the trading PC monitor to see what it is about to trade.

Is there perhaps a brute-force way of doing this like pushing a double click event into the Live Data grid or something?


Posted 9/3/2010 19:11:23 Post #12180
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being
Sorry if I wasn't clear but I do not wish to do discretionary trading. My trading is fully automated.

All I need is a hook to tell the GUI to bring a chart to the foreground programmatically like this:

if(MA.Current > BuyThreshold - SomeSmallNumber)
. DisplayChart(Symbol)


DisplayChart(Symbol sym)
would just do whatever double-clicking the Symbol in the Live Data grid currently does.

That's all.

Thanks
Posted 9/7/2010 10:49:16 Post #12192
 

Lead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead Developer
You were clear, my response should still be relevant.
Posted 9/7/2010 13:03:44 Post #12198
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
Basically, we don't have a simple way to do what you want. You could display your own window with your own charts, or try to simulate the action of double-clicking on an item in the live symbol list, but neither of these is particularly easy.

Daniel
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: billb, young, dplaisted

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 7:09pm

2005-2007 © RightEdge Systems