I have tried it in SIM, the double click to trade is checked in config, mybroker is IBK, my version was 5.6.4.13 but after reading your post I updated to 15 and am now current.
I have tried it during market hours in sim (shown above) and confirm that I have adequate buying power.
I feel like that I have the correct script but that I am doing something mechanically wrong.
To review, I double click on my stop price then I push the Buy $40 button. The program calculates the number of shares and buys the stock at the market but the stop price doesn't engage so if I lose $40 or more, the program does not sell the stock. It's probably something very simple but I don't know what it is. Maybe updating my DAS program will make it work so I'll try that on Monday but if there's some step I'm missing please advise. I admit to being dumber than a rock when it comes to the finer points of this stuff so don't be shy about asking me about simple things like is my computer turned on-I did check and it is .
Thanks very much for taking the time to help me.
Bargeguy
(Van Janssen)