Can't thank you enough Mark and Asterix! Works great for me here.
Quote from Full Tilt:
Not being technical, i really don't have the chops to feel my way thru these work arounds (if the 'for dummies' version comes out, be sure to PM me! lol).
i would estimate that in 2 days of being forced to endure this forced 'upgrade' it has cost me well over $1,000 and, more likely, 2-3x that. if you count me going on tilt after missing executions, it's a 5 digit number. the markets i trade cannot be traded with mkt orders, and my limits miss with the 4 or so second delay. chasing is another 4 seconds and on and on.
so... recommendations for an alternative. seems zero line and bracket trader haven't been updated for nearly a year (still even in business?) and think i read somewhere that button trader in subject to the same process now. so... since i am stuck with ib, what front end would people recommend?
thx
Quote from mark1:
Before leaving here's the video with instructions for installation of the java app.
http://www.screencast.com/t/Ze47nNoH
nope ..that's not my voice ..you bunch of pervs![]()
Quote from Asterix:
Hi Mark,
Cool vid. So hopefully no one has trouble with ibcontroller installation and running after your tutorial.
In the future you can find newer versions of ibcontroller here. In the next release the one click feature will be added I was told.
http://sourceforge.net/projects/ibcontroller/
Good trading!
Asterix.
Quote from Dawnrazor:
I have written my own auto-confirmation tool largely based on mark1's code (thanks for that, it saved me an awful lot of time), and I encountered a problem that may be related to what I've read here. The Transmit button of the Order Confirmation window gets clicked all right, but after that there is an additional click at the relative coordinates of the BookTrader window that spawned the Order Confirmation.
This extra click can be detected by adding a GUI Button at that position which triggers a MsgBox, and it is definitely what has been happening to me.
SetWinDelay may affect this, but since the problem only showed up after some changes I made yesterday, and I'm not working on it during trading, I haven't been able to confirm it.
...
SetWinDelay, 0
...
Loop
{
WinWait, Order Confirmation
WinWaitActive, Order Confirmation
CoordMode, Mouse, Screen
MouseGetPos, xpos, ypos
CoordMode, Mouse, Relative
Click 284,103
CoordMode, Mouse, Screen
MouseMove, xpos, ypos
Sleep, 100
}
Return
Quote from Dawnrazor:
Hmmm, I definitely only have one Click command in my Loop (I think I used your V.3 as, ahem, inspiration), and I still get the second click.
Based on my observation that "SetWinDelay, 100" (though I haven't been able to pinpoint how low it can go without causing trouble) seems to get rid of the second click, I assume (disclaimer: I've only started using AHK last weekend, so my knowledge of how it does what it does is a bit sketchy, to say the least) that the Order Window gets activated, the Click is sent - so far, so good. But MAYBE then it stays on the screen for a few more milliseconds, and the Loop gets executed once more, only by the time the Click is sent, the Order Confirmation window is gone and Click goes to the previously activated window, which is the BookTrader.
I've just added a "Sleep, 100" at the end of the Loop, tried it with the Demo, and it seems to be working. This is how my Loop looks now:
Code:... SetWinDelay, 0 ... Loop { WinWait, Order Confirmation WinWaitActive, Order Confirmation CoordMode, Mouse, Screen MouseGetPos, xpos, ypos CoordMode, Mouse, Relative Click 284,103 CoordMode, Mouse, Screen MouseMove, xpos, ypos Sleep, 100 } Return
Upon further testing, even "Sleep, 10" seems to be enough.
Also, as far as finding the correct button position is concerned, one might try using PixelGetColor on likely locations.

WinWaitClose, Order Confirmation ; Script waits for Order conf. window to close down before executing next line