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.

pjjsfv

Hotkey to double click and set Stop loss

Recommended Posts

pjjsfv

Hello BBT

I've been trying to figure out the code for a hotkey for double clicking in the chart and inserting a stop loss with the total position size held. Is this even possible?

Thank you in advance,

Peter

Share this post


Link to post
Share on other sites
pjjsfv

Thank you Abiel,

I am using Kyle's hotkeys but am trying to figure out the code for the on double click , basically where does it store the double click variable...
 

Share=Pos;ROUTE=STOP;StopType=MARKET;StopPrice=DOUBLE CLICKED PRICE;TIF=DAY+;SELL=SEND

basically , I'm looking for the code that would go into the bold font's place...

Thank you

Peter

Share this post


Link to post
Share on other sites
Carlos Herrera

Hi guys!

I did testing by  using the scripts of William's video, (equalizing risk hotkeys), and only the order of buying or selling is filled, however the Stop Loss does  order does not ...any advice?

Thanks

Carlos

Edited by Carlos Herrera

Share this post


Link to post
Share on other sites
Ishyster
On 9/28/2020 at 2:03 PM, pjjsfv said:

Thank you Abiel,

I am using Kyle's hotkeys but am trying to figure out the code for the on double click , basically where does it store the double click variable...
 

Share=Pos;ROUTE=STOP;StopType=MARKET;StopPrice=DOUBLE CLICKED PRICE;TIF=DAY+;SELL=SEND

basically , I'm looking for the code that would go into the bold font's place...

Thank you

Peter

What was the answer?

  • Like 1

Share this post


Link to post
Share on other sites
A36
On 9/28/2020 at 1:03 PM, pjjsfv said:

Thank you Abiel,

I am using Kyle's hotkeys but am trying to figure out the code for the on double click , basically where does it store the double click variable...
 

Share=Pos;ROUTE=STOP;StopType=MARKET;StopPrice=DOUBLE CLICKED PRICE;TIF=DAY+;SELL=SEND

basically , I'm looking for the code that would go into the bold font's place...

Thank you

Peter

Could you respond with what variable to put in the area you highlighted "DOUBLE CLICKED PRICE" -- I am having a hard time figuring out what does there, even looking at the equalized risk examples.

Share this post


Link to post
Share on other sites
Abiel
On 7/27/2021 at 2:20 PM, A36 said:

Could you respond with what variable to put in the area you highlighted "DOUBLE CLICKED PRICE" -- I am having a hard time figuring out what does there, even looking at the equalized risk examples.

If you look at the beginning of the script you will see 

StopPrice=Price

This is the price value that it is stored in the montage field for price when you double click on the chart for your stop loss price. 

Share this post


Link to post
Share on other sites
LFS

I found this thread, and I see that Carlos' question has not been answered:

"I did testing by  using the scripts of William's video, (equalizing risk hotkeys), and only the order of buying or selling is filled, however the Stop Loss does  order does not ...any advice? "

I also faced the same problem and I created a new forum post:

 

Any help would be appreciated.

Thank you.

 

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.