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.

danielvae

Hotkey issue

Recommended Posts

danielvae

Hello

I use the sell/cover % and move stop loss to BE. However, when i use it to cover a % of a short it removes the stop loss completely. Really appreciate any help, this is driving me nuts lol71642023_Screenshothotkey.thumb.png.1835c64150bafd8830a2416b31eb5cf9.png

Share this post


Link to post
Share on other sites
peterB

you probably wrongly assumed that Pos-share on longs equivalent should be Pos+share for shorts, but it is not like that. Change the Pos+share to Pos-share and it should work.

you are probably getting error Invalid shares because you are trying to set a stop order for number of shares you do not have or do not have the BP for.

for working hotkeys always go here

Edited by peterB

Share this post


Link to post
Share on other sites
danielvae
11 hours ago, peterB said:

you probably wrongly assumed that Pos-share on longs equivalent should be Pos+share for shorts, but it is not like that. Change the Pos+share to Pos-share and it should work.

you are probably getting error Invalid shares because you are trying to set a stop order for number of shares you do not have or do not have the BP for.

for working hotkeys always go here

I got the script directly from this link https://bearbulltraders.com/wp-content/uploads/2021/12/DAS-Video-Series-Hotkey-Scripts.pdf
I dont even remember where i found this link and have no idea if this file is still being used but there it says Pos+share, somebody should maybe check that out lol.
Thanks for the help 🙂

Share this post


Link to post
Share on other sites
peterB

it might have been that the post is so old that at that time it worked like that then it was changed in das over the time. or maybe you have enabled the new syntax in your das while the syntax you use is old syntax which does not work

Share this post


Link to post
Share on other sites
derrickvm11

Just starting with the Das simulator. Want build a specific hot key script unless there is one already out there that I have not seen. 

if the share is $20. I want to buy 100/1000/etc. limit order. that will sell automatically if the share drops to $19.80 or reaches $21..

Share this post


Link to post
Share on other sites
peterB

that is available here as the OCO order. the example there is 1/3 risk/reward so you  need to adapt it to 1/5

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.