Jump to content

NTrader2021

Lifetime Members
  • Content Count

    11
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by NTrader2021

  1. Thanks for giving me the head's up! The script is amazing: exactly what I've been searching for/trying to create. I've been comparing it with DAS, and all the individual stocks seem to line up (NVDA, AAPL, DAL, etc. are perfect on Friday), however, the ETFs (SPY and QQQ) are slightly off. Not sure why this is the case. Have you noticed this @Kevin Gong? For example, SPY R4 on DAS (w/ premarket data) was 414.67 and your script placed R4 at 415.34. For QQQ, R4 was 320.27 vs 320.42. Definitely closer than the standard TOS script, but I wonder why the ETFs were off, while other stocks were spot on? At any rate, I'm very grateful for this share. Now I only wish TOS would come up with some better hotkeys and Level II data!
  2. I'm trying to create a DAS hotkey to use during after hours trading, specifically Ed's earnings play. Since the price can move so quickly, I'd like to create a script to buy (or sell short) a set number of shares (eg 100) and then create profit targets at 50% position at $1 profit, 25% position at $2 profit, and 25% position at $5 profit. Can someone help me create this? Everything I've seen involves range orders, and that's not really what I want since stops don't work in after hours (from my understanding). Thanks! UPDATE: I think I was able to work it out on my own (worked in DAS linked to TD): For Buying 60 shares with profit targets at half at +$1, quarter at +$2, and final quarter at +3 CXL ALLSYMB; Route=LIMIT;Price=ASK+0.05;Share=60;TIF=DAY+;BUY=Send;TriggerOrder=RT:LIMIT PX:AvgCost2+1 ACT:SELL QTY:POS*0.5 TIF:DAY+;TriggerOrder=RT:LIMIT PX:AvgCost2+2 ACT:SELL QTY:POS*0.25 TIF:DAY+;TriggerOrder=RT:LIMIT PX:AvgCost2+3 ACT:SELL QTY:POS*0.25 TIF:DAY+ And for Shorting 60 shares with profit targets at half at-$1, quarter at -$2, and final quarter at -$3 CXL ALLSYMB; Route=LIMIT;Price=Bid-0.05;Share=60;TIF=DAY+;SELL=Send;TriggerOrder=RT:LIMIT PX:AvgCost2-1 ACT:BUY QTY:POS*0.5 TIF:DAY+;TriggerOrder=RT:LIMIT PX:AvgCost2-2 ACT:BUY QTY:POS*0.25 TIF:DAY+;TriggerOrder=RT:LIMIT PX:AvgCost2-3 ACT:BUY QTY:POS*0.25 TIF:DAY+
  3. Thanks for the response @peterB. New to DAS and am trying to learn how to create the scripts themselves. In TOS, I was able to alter bracketed OCO orders with different share values and I was hoping to re-create that.
  4. For the range order script below (eg Long with 2:1 range order), how would I alter them so that if the first profit target is hit, only 1/2 position is sold (so that I can then continue partialing). But if Stop Loss is hit, full position is sold. Also, if the first profit target is hit, could a stop loss for the remaining position be set at break even? CXL ALLSYMB;StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=20/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;Price=Ask-StopPrice*2+Ask;TriggerOrder=RT:STOP STOPTYPE:RANGE LowPrice:StopPrice HighPrice:Price ACT:SELL QTY:POS TIF:DAY+ I've tried altering the bolded red text above to read "POS*0.5" but that affects both sides of the range. I want the profit target to be set at half and the stop loss at the full position size.
  5. I've been able to find an accurate script for camarilla pivot points on TOS using normal trading hours (0930-1600). Has anyone been able to create a script that incorporates premarket and aftermarket data? So the Low and High values would occur anytime between 0400-2000. And the Closing value would be set at 2000. This would provide the data needed to accurately reflect the DAS pivot points used by Thor and others. Thanks in advance!
×
×
  • 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.