Jim Dean![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() | Nice job, John! Partial exits are not very difficult in TP's unless they are mixed with scaling-in. If you scale in, that means you can end up with differing Sizes ... and each possible size needs its own dedicated Partial-Exit "path out". It gets even more complicated if the exits can occur in-between the scaling-in "adds". I've built TP's to handle totally dynamic mixes, but even when optimized, they can run into hundreds of Steps. So, I recommend that for simplicity, you choose either to use only scaling in, or only scaling out ... and if you decide to try both, REQUIRE that once the scaling out starts, no further scaling in is allowed. Final note: since OT is not very friendly if the broker Size and OT's calc'd Size are different (it disconnects the TP), do NOT use any order types, in or out, that could result in Partial Fills, or Delayed fills. MoO or Market orders are the safest route. [Edited by Jim Dean on 9/23/2021 8:53 AM] |