Jump to content
imayusa

Range Hotkey Setup

Recommended Posts

Been looking everywhere for Range Hotkeys and could really use some help.

Range (Long):

ROUTE=STOP;StopType=Range;LowPrice=Price;HighPrice=AvgCost-Price*2+AvgCost;Share=10;TIF=DAY+;SELL=Send

^This is not working for me, it just shorts. I wonder if I'm missing something. 

Any feedback would be great. Thank you!

Share this post


Link to post
Share on other sites
8 hours ago, imayusa said:

Been looking everywhere for Range Hotkeys and could really use some help.

Range (Long):

ROUTE=STOP;StopType=Range;LowPrice=Price;HighPrice=AvgCost-Price*2+AvgCost;Share=10;TIF=DAY+;SELL=Send

^This is not working for me, it just shorts. I wonder if I'm missing something. 

Any feedback would be great. Thank you!

I will suggest you to debug your script with some values for variables AvgCost and Price. Calculate what values you are getting for LowPrice, HighPrice and check if the calculated prices are valid for your range order. You can use Share=Pos; instead of 10, if you don't plan to sell only 10 shares with the range order.

Best of luck.

Edited by zulkafil
  • Like 1

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.