Jump to content

soheilmalek

Lifetime Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by soheilmalek

  1. Hi, When I am in a winning trade and reached all my targets and too far from my break even price - which not happens often - I want to make last partial and leave the rest trailing, so I can freely focus on other stuff. Problem with fixed Trigger Price on trailing price is the Trigger Price for $100 share is not suitable for $20 share. Either it might be lower than my Break Even or very close to Last price and stop out very quickly. The following Hotkey will partial 20% and set Trailing Stop at Break Even price + $0.02 for slippage. Tested it in IB Simulator for both Short and Long. If I hit the hotkey before the trade gets into winning condition, it will execute the partial but DAS will give an error message since the Trigger Price will be negative. For Long: CXL ALLSYMB;ROUTE=LIMIT;Price=Bid-0.02;Share=Pos*0.2;TIF=DAY+;SELL=Send;Price=Ask-AvgCost-0.02;TriggerOrder=RT:STOP STOPTYPE:TRAILING StopPrice:Price TrailPrice=Round2 ACT:SELL QTY:POS TIF:DAY+ For Short: CXL ALLSYMB;ROUTE=LIMIT;Price=Ask+0.02;Share=Pos*0.2;TIF=DAY+;BUY=Send;Price=AvgCost-Bid-0.02; TriggerOrder=RT:STOP STOPTYPE:TRAILING StopPrice:Price TrailPrice=Round2 ACT:BUY QTY:POS TIF:DAY+ Please let me know your thoughts about this Hotkey and partial method. Thanks
×
×
  • 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.