Open long if there is no short

Created at 27 Nov 2016, 14:41
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
IR

iRobot

Joined 17.02.2013

Open long if there is no short
27 Nov 2016, 14:41


What is the code to opent the long position if only there is no short position?

Thanks


@iRobot
Replies

... Deleted by UFO ...

iRobot
28 Nov 2016, 06:32

There is no "Length" in Positions.


@iRobot