I have two types of orders, A and B.
A will Exit A or B and Enter A.
B can only Exit A and Open B.
I've tried working with VariableX (set to value 0 or 1 when entering A or B) combined with If VariableX == 1 or 0, in order to identify an open A or open B position but this does not work.
Any suggestions?
Many thanks,
Michael


Comment