Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 11/09/2021 in Posts

  1. 1 point
    I am asked a lot how to buy and send an automatic STOP Loss order all in one hotkey. Try this: ROUTE=SMRTL;Share=BP*0.25;TIF=DAY+;Price=ASK+0.10;BUY=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost-0.30;Share=Pos;TIF=DAY+;SELL=Send; What it does? It buys at 25% of your buying power, and then automatically send a stop loss order at AvgCost -30 cent. You can change it anyway you want!
  2. 1 point
    @James00trades You can definitely do a 2:1 range order in the same "part-2" hotkey, but it would be a full exit at the stop loss and 2R. There is an alternative... But it's not great. In a 3rd hotkey (after you've entered a position), you can have it recalculate your position and place multiple range orders down at different price levels. Have a look below - one hotkey takes your full position (118 shares) and splits it between 5 range orders at 1R-5R. It's hard to see (as they are stacked on each other) but all 118 shares should stop out at the same price of 123.48. Now I said "should"; here is the real problem with the script (also the main reason it's not released). Because your stop is actually 5 separate orders, in more volatile stocks you can have some bad slippage. It also can increase your commissions a bit (mainly on smaller positions). I know Kyle has been working with DAS, I've been working with DAS.... If they simple can provide us with a few more variables, this stuff would be easy.
  3. 1 point
    Actually, I think it is better to run it in two different hotkeys: For Long positions you can use: 1) ROUTE=SMRTL;Share=BP*0.25;TIF=DAY+;Price=ASK+0.10;BUY=Send 2) ROUTE=STOP;StopType=Market;StopPrice=AvgCost-0.30;Share=Pos;TIF=DAY+;SELL=Send; In 1) you buy 25% of your buying power at market limit of 10 cents. In 2) you put a stop loss of your position at AvgCost-30 cent For Short positions you can use: 1) ROUTE=SMRTL;Share=BP*0.25;TIF=DAY+;Price=Bid-0.10;SELL=Send 2) ROUTE=STOP;StopType=Market;StopPrice=AvgCost+0.30;Share=Pos;TIF=DAY+;BUY=Send; In 1) you sell short 25% of your buying power at market limit minus 10 cents. In 2) you put a stop loss of your position at AvgCost+30 cent to cover if it hits your stop loss Test in simulator and see how it works.
×
×
  • 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.