bluethetien
-
Content Count
5 -
Joined
-
Last visited
Posts posted by bluethetien
-
-
1 hour ago, zulkafil said:Hello,
- Without a stop order how are you risking only $20? You are risking the total amount of an open position.
-
The initial script you provided "StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=1000/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=MSPOL;Price=Ask+0.05;TIF=DAY+;BUY=Send;DefShare=200"
- See the bold items in your script, 1000 means risking $1000 if you place an stop order when you open a long position
- ROUTE=MSPOL , I didn't get it. It should be ROUTE=LIMIT (SMRTL for IB) if you are placing a limit order.
Finally I will say that, someone should have basic knowledge of script when he/she uses any script.
Always try your new scripts in sim first for safety.
Best of luck..
I'm referring to the youtube video.
So in Das I have "Double-click to trade" enable.
For example, if the stock's current price is trading at $10 and i want to long the stock with a risk of $1000 per trade. Let's just say my "mental" stop loss level is at $9, then I will just double click $9 on the chart and press the hot key(script)
It should auto calculate and give me 1000 shares since the distance between $10 to $9 is $1 which is 1000 shares
as for MSPOL, It is a route that I use a lot which is "MEMX Post only"
This script is for Das trader pro as the Youtube video stated. I don't use IB.
I use the same kind of script for short and it's perfectly fine for over 6 months
I just need this script to calculate the shares for me normally I have "BUY=Send" as "BUY=" so it doesn't send the order out. -
1 hour ago, zulkafil said:Hello Bluethetien,
As you said the script for long w/out stop, it doesn't make sense. The script will open a long position but logically it is not accurate for opening only a long position or with a stop lose order. I will suggest you to read this post from the very beginning, so you will understand how any script works.
Best of luck.
Long with $20 risk per trade WITHOUT Stop Order:
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;
---
Short with $20 risk per trade WITHOUT Stop Order:
StopPrice=Price+0;DefShare=BP*0.925;Price=Price-Bid+0.00;SShare=20/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price=Bid-0.05;TIF=DAY+;SELL=Send;DefShare=200;
---
I got the script from this Youtube video. The short side of the script has been working for me but not the long side -
Hi, the short hotkey has been working for me on the short side but the long hot key script hasn't been working at all
I kept getting "ERROR: Can't get valid price!" message
This is what I have for Long w/out Stop
StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=1000/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=MSPOL;Price=Ask+0.05;TIF=DAY+;BUY=Send;DefShare=200;
DAS - Dynamically Calculate Shares on %Risk or $Risk - Hot Key + Configuration, Updated 9/10/19, v2.1
in DAS Trader Pro Tips and Tricks
Posted
It actually works now.
Thanks for the help though!