Jump to content

We have moved to Discord. Please click here to join us in the Trading Terminal Discord server.



These forums are read-only.

maesterfitch

DAS hotkeys help needed

Recommended Posts

maesterfitch

Hey all,

I'm a new member and new to day trading. I've been working in DAS simulator for a couple weeks now and am looking for some guidance in automatically triggering stop losses based on max loss acceptable, also bringing stop loss to break even point. Here are my questions:

1) Is there a way to have a price based on Pos? The example below is a long entry using half the BP. My max acceptable loss is $300. It is then divided by the number of shares and subtracted from the AvgCost. The issue is that Pos does not seem to be recognized in the price field. Any suggestions? See example below.

Example: ROUTE=SMRTL;Price=Ask+0.10; Share=BP*0.5; TIF=DAY+;BUY=Send;

TriggerOrder=RT:STOP STOPTYPE:MARKET StopPrice:(AvgCost-300/Pos) ACT:SELL QTY:Pos TIF:DAY+

2) Would the following work for canceling previous stop losses and setting the stop loss to breakeven? Note: The stop price is set to AvgCost plus 2 cents to account for commission. Not a concrete amount yet but I'll adjust based on fees once I am set up with a broker.

CXL ALLSYMB;Route=STOP;StopType=Market;StopPrice=AvgCost+0.02;SELL

Thanks in advance for your help!

Michael Fitch

Share this post


Link to post
Share on other sites

[[Template core/front/global/mobileNavigation is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

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.