Ive encountered a problem for which I cannot find a solution in the manual or in previous forum posts. If I have a strategy that can only open a maximum of 2 trades per day. How would you stop the 2nd position from being opened if the 1st trade was a winner? I.e. I only want to open the 2nd trade if the 1st attempt was unsuccessful.
I have tried using the
1
POSITIONPERF(1)
function but I don’t think that works because what happens to the very 1st trade of the strategy – i.e. when there is no previous trade to reference?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.