odayum
Members+-
Content Count
7 -
Joined
-
Last visited
Community Reputation
0 NeutralRecent Profile Visitors
834 profile views
-
Hey all, I'm trying to figure out how to script a hotkey in DAS for adding to or creating a new position that will buy or short a set number of shares and then set a stop loss for fixed amount calculated based on the overall position and average cost per share. For example I want to buy 100 shares and I want to set my stop to fixed amount say $100 dollars. The math for this seems pretty basic just (average cost- (risk amount/position)) but I can't seem to make that work in a hotkey script. I would also want the script to update the stop if I add to the position so for example for a $10 stock: the first time I hit the button it buys 100 shares at current ask then sets a stop to sell 100 shares at $9, then I hit it again (assuming the ask is still $10) it buys another 100 shares (now I have 200 shares) and sets the new stop loss (cancelling the old) to sell 200 shares at $9.50. and then will do that each time I mash the button so were I to hit it 10 times for a 1000 shares my new stop loss would be to sell 1000 shares at $9.90. Any help would be greatly appreciated!!
-
Yes, not doing live trading, just trying to see if I want to go with DAS or not. So far, it certainly is fast but I'm feeling some pain with regards to the program usability
-
Ok, sigh, I take it back. I thought it worked, it buys shares and shows an active order but then when price hits the high or the low nothing happens. I give up for now on DAS. It just seems to be much too user unfriendly. Figuring out basic functions is not where I want to be spending my time. thanks again for the script though, hopefully at some point in the future I will be able to make it work.
-
Edit: I changed style type to Stop order and now it works...much gratitude to you Sir!! Hi Justin, Thank you for the script. It doesn't seem to work for me though... on a $6 stock I clicked 10 cents below and used the script. It bought 90 shares but did nothing else. Could this be because right now I am just on the 14 day demo? Other scripts I've found and attempted to use also have failed.
-
Thanks Alastair
-
Why does it seem so hard to create a bracket order in DAS? Can I seriously not just enter a limit order with a profit target and a set stop loss or trailing stop all in one go? I'm sorry if this has been covered before but I'm frustrated right now and not having much luck with the info I'm finding. Thanks in advance for any help.