How to calculate de number of long and short positions

Created at 24 Apr 2023, 22:49
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!
AL

alfonsojjg

Joined 24.04.2023

How to calculate de number of long and short positions
24 Apr 2023, 22:49


Hi,

I want to calculate the number of positios opened in both directions, longs and shorts, anyone khows how to code it?

Thanks.


@alfonsojjg
Replies

firemyst
25 Apr 2023, 09:22

RE:

alfonsojjg said:

Hi,

I want to calculate the number of positios opened in both directions, longs and shorts, anyone khows how to code it?

Thanks.

 

 


@firemyst