Jump to content

Recommended Posts

Hey guys,

I use fixed risk hot buttons and have a question. Say I am building into a $10 position and I want to use two separate $5 risk entries to get in. Say the first entry gets me 10 shares so the stop order would be 10 shares. For the second entry I use the same $5 risk hot button but the stop is 20 shares (the whole position). How can I make it so that the first entry stop is 10 shares and the 2nd entries stop is 10 shares as well, almost like they are 2 completely different positions? Here is my long and short script for long and short. 

 

Long

StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=5/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+;

Short

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

Share this post


Link to post
Share on other sites
1 hour ago, tylerschoettle10 said:

Hey guys,

I use fixed risk hot buttons and have a question. Say I am building into a $10 position and I want to use two separate $5 risk entries to get in. Say the first entry gets me 10 shares so the stop order would be 10 shares. For the second entry I use the same $5 risk hot button but the stop is 20 shares (the whole position). How can I make it so that the first entry stop is 10 shares and the 2nd entries stop is 10 shares as well, almost like they are 2 completely different positions? Here is my long and short script for long and short. 

I never thought of this situation that each trade to consider individual trade even though it's same stock. I just updated and tried in SIM, It's working for me..

Long

StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=5/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:Share TIF:DAY+

Short

StopPrice=Price+0;DefShare=BP*0.925;Price=Price-Bid+0.00;SShare=5/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=MARKET;Price=Bid-0.01;TIF=DAY;SELL=Send;DefShare=50;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.05 ACT:BUY STOPPRICE:StopPrice QTY:Share TIF:DAY+

 

For safety always try in SIM first.

Best of luck....

  • Like 1

Share this post


Link to post
Share on other sites
9 minutes ago, zulkafil said:

I never thought of this situation that each trade to consider individual trade even though it's same stock. I just updated and tried in SIM, It's working for me..

Long

StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=5/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:Share TIF:DAY+

Short

StopPrice=Price+0;DefShare=BP*0.925;Price=Price-Bid+0.00;SShare=5/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=MARKET;Price=Bid-0.01;TIF=DAY;SELL=Send;DefShare=50;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.05 ACT:BUY STOPPRICE:StopPrice QTY:Share TIF:DAY+

 

For safety always try in SIM first.

Best of luck....

It works! Thank you!

 

Share this post


Link to post
Share on other sites
5 minutes ago, tylerschoettle10 said:

It works! Thank you!

Glad to hear it! You are welcome!!

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.