Jump to content
pjjsfv

Hotkey to double click and set Stop loss

Recommended Posts

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

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

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
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
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
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

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

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.