when I do a trade with multiple contracts I do the entries with eg 4 x 1 contract for having different targets and to get out at the profittarget with the same name (that is related to the entry.)
But I´d like to do instead an entry with 1 x 4 contracts and to scale out from this 4-contract-position every time a target is reached.
I couldn´t code this. How can I do? Thanks for help.
Best regards
Tony

You know how many you entered into the position. You know how many you exited. So the difference is the difference. If you started with 3 contracts, then after profit is taken on 1 contract, you are left with 3 - 1 = 2 contracts.
Comment