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.

Dylan irish

Kyle Hotkeys Glitch

Recommended Posts

Dylan irish

I have posted this in the chat a couple times and it seems that I am the only one having this issue. About 30% of the time when I enter a trade utilizing Kyles hotkey script, the stoploss order will not go through. I did an experiment and it seems that 5/5 times trading AAPL and BA I will not have my stoploss sent. On lower priced stocks it usually works however on those larger ones it will not work. It is worth noting that in the SHORT position the stoploss always gets put through however in the Long its about 50/50. Anyone have an idea of what I can do to fix this? This has cost me a lot of money. The hotkey script for the long position is below

 

StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=25/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=200;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.05 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

 

Any help would be greatly appreciated

Share this post


Link to post
Share on other sites
Bailey Nevener

I had the same issue so I split my hot buttons into two separate buttons.

I wrote my own hot buttons for this, so I’m not sure if Kyle’s are the exact same.

However, I noticed that it was really wonky if I placed an order and then a stop loss in the same button.

Share this post


Link to post
Share on other sites
Dylan irish

does your hotkey function where you just double click on the chart and your current share amount gets set as a stoploss at the location of which you clicked? If so can you post the script? That would probably solve my problem.

Share this post


Link to post
Share on other sites
Bailey Nevener

This hotkey functions by calculating your stop loss based off of:

-Your Risk per trade

-Your average cost

 

I wrote this because I got confused navigating Kyle's hotkeys.

Everyone else figured it out ok though lol!  Idk

I don't know if he wrote anything that does this, but I figured I would just refactor how the shares were originally calculated to derive the stop loss.

 

The only thing you need to edit is the number in this portion > StopPrice=50/Share;

I am pretty sure everything else is OK to stay the same.

 

Here is the LONG script:

ROUTE=STOP;Share=Pos;StopType=Limit;StopPrice=50/Share;Price=AvgCost-StopPrice-StopPrice; StopPrice=AvgCost-StopPrice;StopPrice=Round2;Price=Round2;Share=Pos;SSHARE=0;TIF=DAY+;SELL=Send

 

Here is the SHORT script:

ROUTE=STOP;Share=Pos;StopType=Limit;StopPrice=50/Share;Price=AvgCost+StopPrice+StopPrice; StopPrice=AvgCost+StopPrice;Price=Round2;StopPrice=Round2;Share=Pos;SSHARE=0;TIF=DAY+;BUY=Send

 

This is the layout of my hotbuttons:

image.png.2d8a39e74c38ede20ee74050af5f571c.png

 

=====

Also can you like my post because I'm trying to rack up reputation points for literally no reason!

=====

Edited by Bailey Nevener
  • Like 2

Share this post


Link to post
Share on other sites
Bryan W
On 12/14/2020 at 4:14 PM, Dylan irish said:

I have posted this in the chat a couple times and it seems that I am the only one having this issue. About 30% of the time when I enter a trade utilizing Kyles hotkey script, the stoploss order will not go through. I did an experiment and it seems that 5/5 times trading AAPL and BA I will not have my stoploss sent. On lower priced stocks it usually works however on those larger ones it will not work. It is worth noting that in the SHORT position the stoploss always gets put through however in the Long its about 50/50. Anyone have an idea of what I can do to fix this? This has cost me a lot of money. The hotkey script for the long position is below

 

StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=25/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=200;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.05 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

 

Any help would be greatly appreciated

Who is your broker, and do you have the most current version of DAS? 

You can use this to place a stop... You can enter the number in the price box, or just double click where you want the price stop as you do with Kyle's keys:  StopPrice=Price;Route=Stop;StopType=Market;Share=Pos;Send=Reverse;

  • Like 1

Share this post


Link to post
Share on other sites
Dylan irish

thank you both I appreciate it. I added both of those scripts for back ups. I was trying to thank you guys earlier however the forums were down. Ill test them in simulator, but that pretty much solves my problem. thanks again

Share this post


Link to post
Share on other sites
Rob C
On 12/15/2020 at 5:46 AM, Bailey Nevener said:

This hotkey functions by calculating your stop loss based off of:

-Your Risk per trade

-Your average cost

 

I wrote this because I got confused navigating Kyle's hotkeys.

Everyone else figured it out ok though lol!  Idk

I don't know if he wrote anything that does this, but I figured I would just refactor how the shares were originally calculated to derive the stop loss.

 

The only thing you need to edit is the number in this portion > StopPrice=50/Share;

I am pretty sure everything else is OK to stay the same.

 

Here is the LONG script:

ROUTE=STOP;Share=Pos;StopType=Limit;StopPrice=50/Share;Price=AvgCost-StopPrice-StopPrice; StopPrice=AvgCost-StopPrice;StopPrice=Round2;Price=Round2;Share=Pos;SSHARE=0;TIF=DAY+;SELL=Send

 

Here is the SHORT script:

ROUTE=STOP;Share=Pos;StopType=Limit;StopPrice=50/Share;Price=AvgCost+StopPrice+StopPrice; StopPrice=AvgCost+StopPrice;Price=Round2;StopPrice=Round2;Share=Pos;SSHARE=0;TIF=DAY+;BUY=Send

 

This is the layout of my hotbuttons:

image.png.2d8a39e74c38ede20ee74050af5f571c.png

 

=====

Also can you like my post because I'm trying to rack up reputation points for literally no reason!

=====

Hi Bailey,

Is there a different script for the Panic Sell and Panic Cover? I have one Panic hot key and it doesn't work for shorts.

Thanks.

Share this post


Link to post
Share on other sites
Bailey Nevener
4 hours ago, Rob C said:

Hi Bailey,

Is there a different script for the Panic Sell and Panic Cover? I have one Panic hot key and it doesn't work for shorts.

Thanks.

They aren't really "Panic" hotkeys

(Meaning it doesn't actually utilize the keyword 'Panic' in the hotkey),

but that keyword catches my eye.

 

Each hits the bid or ask respectively for immediate exit on the position.

 

Here is my Panic Cover hotkey.

ROUTE=LIMIT;Price=Ask + .02;Share=Pos;TIF=DAY;SSHARE=0 ;BUY=Send

 

Here is my Panic Sell hotkey.

ROUTE=LIMIT;Price=Bid - .02;Share=Pos;TIF=DAY;SSHARE=0 ;SELL=Send

 

Don't forget to change the routes based on the broker you are using!

  • Thanks 1

Share this post


Link to post
Share on other sites
Bryan W
17 hours ago, Dylan irish said:

thank you both I appreciate it. I added both of those scripts for back ups. I was trying to thank you guys earlier however the forums were down. Ill test them in simulator, but that pretty much solves my problem. thanks again

Hit me up in the chatroom support tab, and we can probably get your dynamic hotkeys working properly. If I can't help you get them going, Kyle is usually willing to help! 

Bryan W

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.