Jump to content

Justin

Lifetime Members
  • Content Count

    477
  • Joined

  • Last visited

  • Days Won

    36

Justin last won the day on April 18

Justin had the most liked content!

Community Reputation

262 Excellent

Recent Profile Visitors

6,471 profile views
  1. I would like to use this script but don't want it to calculate the number (amount) of shares for me. I want to be able insert for example 100 shares (long/ short) and for the stop to be put out once my entry order gets filled. 

    Tried removing the stop price in the montage, but that didn't work. 

    Any idea what needs to be done to get it to work? 

     

  2. Hi, Justin, my name is Tony, a new member of BBT

    I'm looking for a hotkey script for Short Limit/market Order with Stop Loss. This script will send a limit/marketorder to short 100 shares. When the limit/market order is filled, it will trigger a Stop Market Order with the stop price at 30 cents above entry. 

    I have tried this, but It has some error. Can you fix it to me, or can you recommend another, please? Thanks in advance. 

    <ROUTE=SMRTL;Price=Bis-0.05; Share=100;TIF=DAY+; SELL=Send;TriggerOrder=RT:STOP STOPTYPE:MARKET STOPPRICE:AvgCost2+.30 ACT:BUY QTY:POS TIF:DAY+>

     

     

     

  3. Hmmm I don't think that's a thing then; but I'm going to reach out to the engineer I know at DAS - last I heard they were still working on it. And yes, I'm aware about defshare and the rest as you can see I used them in the hotkey I created in this thread.
  4. I was unaware that DAS added temporary variables. Is "tempprice" a specific command or can you name it whatever you want? Also, just curious when they added this...
  5. This hotkey doesn't work in replay mode. You'll need to test it out in SIM when the market is open.
  6. @Paul aka Aurbano - My man! Just making the world a little bit better one piece of code at a time Look at this original formatting of the tickers and how they get cut off: And now look at Paul's version:
  7. It's possible. What you're asking for is a range order. StopPrice=Price-0;DefShare=BP*0.97;Price=Ask-Price+0.01;SShare=10/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=400;Price=Ask-StopPrice*2+Ask;TriggerOrder=RT:STOP STOPTYPE:RANGE LowPrice:StopPrice HighPrice:Price ACT:SELL QTY:POS TIF:DAY+ This will allow you to double click where you want your stop, enter a trade worth $10 (SShare=10/Price;) at the current price (it'll auto calculate the shares). And place a profit target at 2R (Price=Ask-StopPrice*2+Ask;)
  8. It helps that I actually dream about DAS and trading some nights
  9. No, not for stop orders @peterB. @justinstrommer9 It's either a syntax error from when you copied it into DAS or you're not executing the script properly. If you could outline a real example and step by step of exactly what you're doing that would be helpful. Like down to the detail. "I double click on the chart at x price, then hit the first hotkey. Then I double click on the chart at y price and hit the second hotkey."
  10. But wait! There's more! @Alastair @peterB I actually do have a hotkey that will place down R levels. It's a bit of a hack but it works! And being such a visual person, these are a godsend for helping me get to my R goals. The way it works is if you are in a position with a stop loss set, it utilizes your SIM account to place the target levels at 1R, 2R, etc. Look below - the green arrow is obviously my entry, and the blue arrow is my stop loss in my live account. And then when I hit the hotkey it will place two orders at 1R and 2R (orange arrow) with 1 share using my SIM account. Basically it does the math calculation for 1R and 2R, swaps the montage to my SIM account, places the orders, then puts the montage right back to my live account. The 1 share orders never get filled (I'm actually not sure why...), so as the price gets to the 1R and 2R markers you can take a partial or full exit, and it will be executed in your live account. After the trade is done just cancel the orders. Long StopPrice=AvgCost-StopPrice;Price=AvgCost+StopPrice;Share=1;TIF=DAY+;Route=Stop;StopType=Limit;Account=TRIBTXXXX;Sell=Send;Account=UXXXXXXX;StopPrice=StopPrice*2;Price=AvgCost+StopPrice;Share=1;TIF=DAY+;Route=Stop;StopType=Limit;Account=TRIBTXXXX;Sell=Send;Account=UXXXXXXX Short StopPrice=StopPrice-AvgCost;Price=AvgCost-StopPrice;Share=1;TIF=DAY+;Route=Stop;StopType=Limit;Account=TRIBTXXXX;Buy=Send;Account=UXXXXXXX;StopPrice=StopPrice*2;Price=AvgCost-StopPrice;Share=1;TIF=DAY+;Route=Stop;StopType=Limit;Account=TRIBTXXXX;Buy=Send;Account=UXXXXXXX
  11. Yeah, the current solution is to use the Fib. These are my settings it - you click and drag from your entry point to your stop level. Looks like this
  12. Like, you just want to set an order in the future to go long for a fixed $, but the stop is a fixed amount... like 20c?
×
×
  • 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.