Hi everyone,
I'm stuck on this one. It has to do with how the hotkey calculates shares to update stop position share size. I'm trying to create two hotkey scripts:
If long, add to an open position (e.g. +50%) and move stop to breakeven. If short, partial from an open position (e.g. -50%) and move stop to breakeven. Basically a buy % of position hotkey that works for both directions with a new breakeven stop.
If long, reduce an open position (e.g. -50%) and move stop to breakeven. If short, add to an open position (e.g. +50%) and move stop to breakeven. Basically a sell % of position hotkey that works for both directions with a new breakeven stop.
I'm hung up on the stop in the hotkey script. I think it has to do with the stop direction and share size (selling during a short position adds shares short as opposed to reduces position share size).
Anyone have such a script? I've pored over Kyle's scripts but they are so complex, I'm a bit lost.