I’m having trouble working out how to get the next order after a loss to take a different lot size.
Then(assign variable) = 1
(assign variable) = 0
The above code works all day long. The problem is in the next piece (I think).
IF(closed p/l 0,0) <0
Then (assign variable) = 2
&& (buy rules) = true
THEN(enter buy w/larger lot)
This seems to never take the larger trade after a loss. Is there something I’m missing?
Thanks for any help with this issue.
if it doesn’t work it looks like the second two rules are never triggered.
It depends also on how exactly it is done, if you’ll post the strategy here I can look at it.
You should be aware that rules are evaluated in order they are created, so your first rule always sets the variable to 1, and your second rule then always make a trade.
You must be logged in to reply to this topic.