Hey All, @Justinthanks for posting this!
I'm having trouble understanding what's going on though, I'm probably misunderstanding what it's supposed to do but after setting the stop position with part 1 and then creating the market order with step 2 I was expecting the market entry to be at the price selected at part 1 and the entry to be at the price selected at part 2 but that doesn't seem to be happening.
The number of shares is being calculated correctly but the stop price seems to be the price selected in part 2 and the entry price seems to be 5c above that. So essentially part 1 is only used for the share calculation and not for the actual stop loss.
Double click the chart at 250
Press "Part 1" hotkey
Double click the chart at 251
Press "Part 2" hotkey
After step 4 a market order will be created at 251.05 with a stop loss at 251. That seems to match what I'm seeing in the script so I assume it is international?
Is that right or maybe I'm using this wrong?