I'm trying to use the condition builder to have the size of each trade have a particular number of contracts traded, in the same strategy. For example, the first trade is a loser, then I'm flat for a while until the next trade triggers, I want that next trade to have a different contract size than the previous trade, sometimes lower, sometimes higher.
Here would be the logic:
If the realized PL of one trade ago is less than the realized PL from 2 trades ago
Do the following
enter the next trade with (more/less) contracts.
I'm very new coding but I understand the syntax a bit, just keep it simple if you can

Thanks!

Comment