DrJonoG 1 Posted March 2, 2022 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 Jonathon Share this post Link to post Share on other sites
DrJonoG 1 Posted March 2, 2022 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 Share=200.0/(Price-StopPrice) 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
Tommy 55 Posted March 2, 2022 you can find the info you want in this topic. Share this post Link to post Share on other sites
DrJonoG 1 Posted March 3, 2022 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