Jump to content

Buy shares with stop hotkey

Recommended Posts

Hi all

I'm looking to create a simple hotkey that works as follows;

I double click on the chart which defines my stop, I think hit my hotkey and buy as many shares as I can such that I lose no more than a total of $200 should my stop be reached. As the trade is sent a stop loss is triggered too at the place I clicked on the chart.

Any help would be much appreciated

Kind regards


Share this post

Link to post
Share on other sites

This is what I have so far

ROUTE=SMRTL;StopPrice=Price;Price=Ask+0.03;Share=200.0/(Price-StopPrice);TIF=DAY+;BUY=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET STOPPRICE:StopPrice ACT:SELL QTY:POS TIF:DAY+

Which seems to work apart from 


Any suggestions?

I was also wondering if it was possible to not execute the trade if the average risk per share was greater than (for example) $0.40?

Share this post

Link to post
Share on other sites
On 3/2/2022 at 11:18 AM, Tommy said:

you can find the info you want in this topic.


Thank you 🙂

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.