What exactly was then your issue with CFDs? If your script opens 3 trades, you have 3 trades and can evaluate them all. It does not matter if they produce only a single total position on your account.
It depends on the broker if you can have individual contracts of the same asset, not on the trade software or asset type.