
Jones
*Subscriber*-
Content Count
7 -
Joined
-
Last visited
Everything posted by Jones
-
I'm in!
-
DAS - Calculate Shares based on account risk %
Jones replied to fjmocke's topic in DAS Trader Pro Tips and Tricks
DC, Thanks man, I think I get it now, so correct me if I'm wrong. For example: Going long Stop Loss Price: 50 (when you double click, montage will show 49.99) When you press your hotkey with this script: Price=Ask-Price + 0.01;Share=125 / Price;ROUTE=SMRTL;Price=Ask+0.10;TIF=DAY+;BUY=Send (ROUTE=SMRTL;Price=Ask+0.10;TIF=DAY+;BUY=Send) This is your normal marketable limit order going long getting in at a price no more than 0.10 cents from the asking price. So assuming you get in at exactly 50.20, your order will be sent with a calculated share size like so. Script: Price=Ask-Price + 0.01;Share=125 / Price;ROUTE=SMRTL;Price=Ask+0.10;TIF=DAY+;BUY=Send Result: 0.20=50.20-(49.99+0.01);625=125 / 0.20;ROUTE=SMRTL;Price=Ask+0.10;TIF=DAY+;BUY=Send So I guess the (+ 0.01) is just to fix the price that's on your montage when you double click on your chart? -
DAS - Calculate Shares based on account risk %
Jones replied to fjmocke's topic in DAS Trader Pro Tips and Tricks
I figured out how to use this script and it works great. Now, I just have a question. I have zero knowledge when it comes to scripting or coding so I was just wondering what the highlighted part does. Thank you! -
Hello! It's a YAY for me. Thanks, Dima for organizing this meetup. See you all this Friday.