Jump to content

We have moved to Discord. Please click here to join us in the Trading Terminal Discord server.



These forums are read-only.

Bkatt16

Hotkey for partial with new stop at break even??

Recommended Posts

Bkatt16

Does anyone have a hotkey script for setting your stop at break even after taking a partial? 

Tonya

Share this post


Link to post
Share on other sites
Glenn Budde

This will cancel all orders and move your stop to BE....

CXL ALLSYMB;Route=Stop;Price=AvgCost;StopType=MARKET;STOPPRICE=AvgCost;StopPrice=Round2;Share=Pos;TIF=DAY+;Send=Reverse;

 

  • Thanks 1

Share this post


Link to post
Share on other sites
Bkatt16

Thanks, that's what I need.  👍

Share this post


Link to post
Share on other sites
Gordon Freaman

@Glenn Budde "it will cancel all orders..." -  does that mean it will cancel orders even on other active trades? For instance, it I want to move stop loss to b/e on AMD, but at the same time I am in trade on FB and TSLA, this hotkey will cancel all orders on all 3 stocks?

  • Like 1

Share this post


Link to post
Share on other sites
Brendon
On 11/12/2019 at 9:16 AM, Vladimir P said:

@Glenn Budde "it will cancel all orders..." -  does that mean it will cancel orders even on other active trades? For instance, it I want to move stop loss to b/e on AMD, but at the same time I am in trade on FB and TSLA, this hotkey will cancel all orders on all 3 stocks?

Nope, CXL ALLSYMB is just for that symbol, CXL ALL, is all open orders for all symbols. You're a beast to manage multiple trades though 😉 

  • Like 1

Share this post


Link to post
Share on other sites
Justin
On 11/10/2019 at 11:45 AM, Glenn Budde said:

CXL ALLSYMB;Route=Stop;Price=AvgCost;StopType=MARKET;STOPPRICE=AvgCost;StopPrice=Round2;Share=Pos;TIF=DAY+;Send=Reverse;

I'm guessing Send=Reverse does the opposite of if you are long or short?

Because I've been using two hotkeys, one for Long (SELL=Send) and one for Short (BUY=Send)

So Send=Reverse will consolidate my two hotkeys into one?

  • Like 1

Share this post


Link to post
Share on other sites
Jaime Macias
On 11/10/2019 at 11:45 AM, Glenn Budde said:

This will cancel all orders and move your stop to BE....

CXL ALLSYMB;Route=Stop;Price=AvgCost;StopType=MARKET;STOPPRICE=AvgCost;StopPrice=Round2;Share=Pos;TIF=DAY+;Send=Reverse;

 

nice

  • Like 2

Share this post


Link to post
Share on other sites
Glenn Budde
On 11/13/2019 at 8:10 PM, Justin said:

I'm guessing Send=Reverse does the opposite of if you are long or short?

Because I've been using two hotkeys, one for Long (SELL=Send) and one for Short (BUY=Send)

So Send=Reverse will consolidate my two hotkeys into one?

Not sure about this.... I am not a script writer only a user...... Got this from someone else...

On 11/12/2019 at 12:16 PM, Vladimir P said:

@Glenn Budde "it will cancel all orders..." -  does that mean it will cancel orders even on other active trades? For instance, it I want to move stop loss to b/e on AMD, but at the same time I am in trade on FB and TSLA, this hotkey will cancel all orders on all 3 stocks?

What Brendon said..... 

Share this post


Link to post
Share on other sites
Jramosent

So to confirm this hotkey will move stop to break even after a partial. Does it trail the last partial if I partialed out 3 or 4 times?

Share this post


Link to post
Share on other sites
Glenn Budde
10 hours ago, Jramosent said:

So to confirm this hotkey will move stop to break even after a partial. Does it trail the last partial if I partialed out 3 or 4 times?

Yes it will move to BE each time you hit the key..... If you partial again then you will need to hit the key each time to bring your share size down to you current position. 

Share this post


Link to post
Share on other sites
Drapoli

Does this breakeven hotkey cancel all other hotkey commands on a particular stock traded? What I would like to do is to (for example):

1) Buy 1,000 shares of stock xxx

2) Set stop range for 2:1 (R:R) using this hotkey (*2:1 for LONG Position: ROUTE=STOP;StopType=Range;LowPrice=Price;HighPrice=AvgCost-Price*2+AvgCost;Share=Pos;TIF=DAY+;SELL=Load)

**If price goes up**

3) Set stop loss at breakeven (using the hotkey discussed in this post) without cancelling the upper stop range placed during step 2

4) All of this while partialing using 25%, 50%, etc. sell hotkeys to guarantee some profit

This would result in a really fast execution while keeping in place stop loss commands for good risk management.

Thanks in advance for your help.

Share this post


Link to post
Share on other sites
Brendon

I don't think it's healthy risk management to have R:R automated like that, you can have an auto stop out level, but auto partialing, are we traders or computers? I think we all can manage partialing out at the proper levels no? It could be handy if you're not monitoring the trade though.

Share this post


Link to post
Share on other sites
Glenn Budde
On 11/17/2019 at 3:29 PM, Drapoli said:

Does this breakeven hotkey cancel all other hotkey commands on a particular stock traded? What I would like to do is to (for example):

1) Buy 1,000 shares of stock xxx

2) Set stop range for 2:1 (R:R) using this hotkey (*2:1 for LONG Position: ROUTE=STOP;StopType=Range;LowPrice=Price;HighPrice=AvgCost-Price*2+AvgCost;Share=Pos;TIF=DAY+;SELL=Load)

**If price goes up**

3) Set stop loss at breakeven (using the hotkey discussed in this post) without cancelling the upper stop range placed during step 2

4) All of this while partialing using 25%, 50%, etc. sell hotkeys to guarantee some profit

This would result in a really fast execution while keeping in place stop loss commands for good risk management.

Thanks in advance for your help.

Yes it will cancel all orders for that ticker....

This only moves your stop to BE..... I got this from Thor and I like being able to set it without having to go through the montage.... 

This does not have anything to do with partials.... I use it after I have taken a partial and I want to move my stop to BE...

  • Like 1

Share this post


Link to post
Share on other sites
swap
6 hours ago, Glenn Budde said:

Yes it will cancel all orders for that ticker....

This only moves your stop to BE..... I got this from Thor and I like being able to set it without having to go through the montage.... 

This does not have anything to do with partials.... I use it after I have taken a partial and I want to move my stop to BE...

hey boss it will possible to post your hot keys for long and as well as to cover 25% of share size.. I am using it ( thor b/e hot keys but I cant take profits on my targeted  area. than I have exit my position .

Share this post


Link to post
Share on other sites
Glenn Budde
14 hours ago, swap said:

hey boss it will possible to post your hot keys for long and as well as to cover 25% of share size.. I am using it ( thor b/e hot keys but I cant take profits on my targeted  area. than I have exit my position .

Here they are, Also sent in a PM to you....

Remember each time you partial to hit the BE again as this will reset to your current share size or else if it goes against you it will reverse your position by the amount that it is over...

Here are my scripts for Partials and Sell or Cover All.... Hope this helps....

Sell 10%

ROUTE=SMRTL;Share=Pos*0.10;Price=Bid-.05;TIF=DAY+;SELL=Send

Sell 25%

ROUTE=SMRTL;Share=Pos*0.25;Price=Bid-.05;TIF=DAY+;SELL=Send

Sell 50%

ROUTE=SMRTL;Share=Pos*0.5;Price=Bid-.05;TIF=DAY+;SELL=Send

Sell Position

ROUTE=SMRTL;Share=Pos;Price=Bid-.05;TIF=DAY+;SELL=Send

Cover 10%

ROUTE=SMRTL;Share=Pos*0.10;Price=Ask+0.05;TIF=DAY+;BUY=Send

Cover 25%

ROUTE=SMRTL;Share=Pos*0.25;Price=Ask+0.05;TIF=DAY+;BUY=Send

Cover 50%

ROUTE=SMRTL;Share=Pos*0.5;Price=Ask+0.05;TIF=DAY+;BUY=Send

Cover All

ROUTE=SMRTL;Share=Pos;Price=Ask+0.05;TIF=DAY+;BUY=Send

 

Again, I do not write these scripts but have got these from others....

Share this post


Link to post
Share on other sites

[[Template core/front/global/mobileNavigation is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

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.