Is it possible to program a script and tie it to a hotkey, for example:
I am long ES X lots at 3000.
Price shoots up to 3006.
I want to hit a hotkey (ie: F4) and have it automatically place (X - 1) lots 2 ticks below current price.
So whenever I hit F4, I want to dump all but 1 lot of whatever my total position is and keep 1 left as a runner. I want it to be 2 ticks below current price as I prefer that than market orders.
Could someone help point me in the right direction? Thanks!

Comment