How cAlgo is counting open positions?

Created at 08 Jun 2015, 06:21
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!
Baiazid's avatar

Baiazid

Joined 27.11.2014

How cAlgo is counting open positions?
08 Jun 2015, 06:21


Hi guys,

 

I have one Robot that has this function Positions.Count and utilise it prevent to open a new trade if an existing one is still on the market (active).

This Robot has 3 instances (EURUSD, AUDUSD and USDJPY).

Where the Positions.Count is getting its data from? 

  1. Account level
  2. Robot level
  3. Instance level

 

Thank you

 


@Baiazid
Replies

Spotware
09 Jun 2015, 15:20

Dear Trader,

The Positions.Count counts positions of the current account.

 


@Spotware

Baiazid
10 Jun 2015, 04:12

RE:

Thank you very much.

I have to modify my position counter to look for Label then

 

Spotware said:

Dear Trader,

The Positions.Count counts positions of the current account.

 

 


@Baiazid