TereYeo / Publications
Forum
How to only have 1 open position at a time.
Hi I am new to coding and I am trying to code it such that I would only have 1 position at a time. If I have 1 lot in the long position, and a sell signal appears, it would sell 2 lots and would net a 1 lot in the short position. OrdersTotal only allows me to see total current orders but not if the