pjjsfv
-
Content Count
16 -
Joined
-
Last visited
Posts posted by pjjsfv
-
-
12 hours ago, kimfarr83 said:Hello All,
Hope all of you are well.
I've got a hopefully easy fix question for those who might have it already. I would like to have a close and flip position hotkey please.
Scenario:
Step 1: Lets say I am short and want to cover my position and therefore I use the following hotkey from Kyle:
CXL ALLSYMB;Route=SMRTM;Share=Pos;Price=Ask+0.05;TIF=DAY+;BUY=Send;
Step 2: Now I would like to enter a long position with fixed risk, therefore I double click my stop loss price on the chart and use the following Kyle's hotkey:
StopPrice=Price-0.01;DefShare=BP*0.97;Price=Ask-Price+0.01;SShare=75/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=0;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.05 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;
Question: Is it possible to have the above 2 steps in one single hotkey please?
Basically, I just need to get the amount of shares held in the current short, and add that number to the result of the long entry hotkey (step 2), before it is actually executed. That way the short is covered and a fixed risk long is opened.
Appreciate all the help.
Thanks in advance and good day,
Kim
Hi Kim,
if you're looking to flip your short position to a long position (i wouldn't recommend it) but here is the code for it:
Flip SHORT to LONG position
CXL ALLSYMB;ROUTE=SMRTL;Share=Pos*2;Price=Ask+.05;TIF=DAY+;BUY=Send
Flip LONG to SHORT position
CXL ALLSYMB;ROUTE=SMRTL;Share=Pos*2;Price=Bid-.05;TIF=DAY+;SELL=Send
I hope this helps.
Peter
-
I also requested it from them...it would be a useful feature
-
Figured it out!!! Thank you
-
Thank you Abiel,
I am using Kyle's hotkeys but am trying to figure out the code for the on double click , basically where does it store the double click variable...
Share=Pos;ROUTE=STOP;StopType=MARKET;StopPrice=DOUBLE CLICKED PRICE;TIF=DAY+;SELL=SEND
basically , I'm looking for the code that would go into the bold font's place...
Thank you
Peter
-
Hello BBT!
I've been trying to figure out the code for a hotkey for double clicking in the chart and inserting a stop loss with the total position size held. Is this even possible?
Thank you in advance,
Peter
-
Hi Peter,
You are absolutely right... Thank you for your response.
Peter
-
This hotkey is amazing to say the least.. Hats off to Kyle and everyone else who contributed to this game changing script.
I would like to know if it would be possible for the script to take the VWAP or any moving average variable and and automatically calculate shares based on BP and amount risk and insert stop loss say at 1% under vwap or said moving average all with one click of a hotkey. I know you can do this by double clicking into the chart, I was just hoping to save a step...
Again, thank you for all you guys do for the trading/DAS community. Truly amazing.
Peter
-
I am setting up the hotkeys in conjunction with streamdeck. I am trying to test everything in Replay mode but the stop loss indicator or sell orders are not showing up...
I have changed the script from SMRTL to LIMIT but still no luck.
Is there anything else I should look out for to make it function as if it were a live trading session?
Thank you
Peter
-
Thabk you. I k ow about the window pop outs...i was wondering about a whole Tab pop out...basically setting up a whole layout in a new tab and poping out the whole new tab....
-
Is there a way to have a whole tab in DAS Trader pro to "pop out"?
If there isn't , I think that would be a pretty handy feature for them to add for multi monitor setups.
Thank you in advance
Peter J.
-
Thank you very much.. I just signed up for it...
-
I am trying to access the replay function On DAS trader pro. My broker is IB.
It doesn't seem to be working for me... does anyone have an idea why it wouldnt?
-
wow!!!! it worked perfectly> Thank you.
- 1
-
Thank you for the quick reply Justin... I'm going to try it right now
-
Hi BBT, I am new to the forum and I am so impressed by the knowledge that is shared . Thank you
My question is how could I take this script :Share=Pos;ROUTE=STOP;StopType=Market;StopPrice=AvgCost-0.10;TIF=DAY+;SELL=SEND
instead of a set amount of 0.10 , to have that minus an X% of AvgCost. For example have it minus 5% of AvgCost.
Thank you in advance
stop loss hotkey for long and short in one
in DAS Trader Pro Tips and Tricks
Posted
hello,
I am using the following script to place a stop on a long position that I am already in by double clicking the chart and then pressing the hotkey.
Share=Pos;ROUTE=STOP;StopType=market;StopPrice=Price;TIF=DAY+;SELL=SEND
My question is, would it be possible for the script to check if your open position is a long or a short and then according to your position insert the "SELL" or "BUY"
Thank you
Peter