Jump to content
Kevin D

Stop or Limit order Hot Key

Recommended Posts

I'm looking for a hot key where I can set the price I'd like to get out.

For example, on a long trade, how would I script a Hot Key to place a an order at a particular price. Perhaps click the chart at a level, hit a hotkey and the order is created.

I would use this instead of hitting my regular partial hotkeys. Perhaps use to be listed on the ask side to gain spread. 



Share this post

Link to post
Share on other sites

I got you Gator.

Fortunately I do what you are asking all the time.


Here's my hotbutton layout for reference, but what you are asking only needs pieces of it.



There are 3 Steps to do what you require:

1) I enter the trade with a double click at my desired stop price, and then I click either of these hotbuttons.



2) If I want to take a partial at a specific price I first specify what % I want to take off of my current position with these.



3) I then double click where I want to take said partial on the chart and click either of these.





Here's the hotbutton scripts associated with each step:


[L] Ask:  StopPrice=Price-0.01;DefShare=BP*0.97;Price=Ask-Price+0.01;SShare=50/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price= Ask+0.05;TIF=DAY+;BUY=Send;


[SS] Bid: StopPrice=Price+0.01;DefShare=BP*0.97;Price=Price-Bid+0.01;SShare=50/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price= Bid-0.05;TIF=DAY+;SELL=Send;



[Pos] 10%:  Share=Pos * 0.10;




[P] Set Price (Green):  ROUTE=LIMIT; TIF=DAY+; SSHARE=0 ;SELL=Send;


[P] Set Price (Red):  ROUTE=LIMIT; TIF=DAY+; SSHARE=0 ; BUY=Send;



See you in chat fella.

  • Like 2

Share this post

Link to post
Share on other sites


What a grab! Working to implement this tonight.

I'm using this to sell last of a position.

Here's the flow chart;

1. Double Click for Stop Price

2. Hot Key sets up Stop Order and Limit Price

3. Hot Key for Remainder of Position

Thanks again.  See you on in chat.




  • Like 1

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.