Browse folder cAlgo

Created at 07 May 2014, 12:08
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!
breakermind's avatar

breakermind

Joined 17.07.2013

Browse folder cAlgo
07 May 2014, 12:08


Hi,

it is possible create input field with path to folder(like Parameter) with browse button?

Thanks


@breakermind
Replies

Spotware
07 May 2014, 12:18

No, it is not possible


@Spotware

breakermind
07 May 2014, 12:44

RE:

Spotware said:

No, it is not possible

next question:

it is possible create Account Statement from robot?

 


@breakermind

Spotware
07 May 2014, 12:47

RE: RE:

breakermind said:

Spotware said:

No, it is not possible

next question:

it is possible create Account Statement from robot?

 

No, it is not possible


@Spotware

breakermind
07 May 2014, 13:03

RE: RE: RE:

I seen MarketWatch

is somewhere ChartWatch (js chart[like this in cAlgo] for html pages) ?

Thanks and bye.


@breakermind

Spotware
07 May 2014, 14:18

No, there is no ChartWatch


@Spotware

breakermind
08 May 2014, 08:59

RE:

Hi,

how can i get All open positions (with random label or without)

var positions = Positions.FindAll("myLabel");

is there any possibility to use FindAll() whitout label etc.

Regards


@breakermind

Spotware
08 May 2014, 09:03

RE: RE:

breakermind said:

Hi,

how can i get All open positions (with random label or without)

var positions = Positions.FindAll("myLabel");

is there any possibility to use FindAll() whitout label etc.

Regards

If you want to get all positions you don't need to invoke FindAll method:

var positions = Positions;

 


@Spotware

breakermind
08 May 2014, 09:07

RE: RE: RE:

Nice

thanks


@breakermind

breakermind
14 May 2014, 13:04

Account

Hi

How to retrieve the account id and check if the account is real or demo?
How to retrieve the history of open position only with current month?

Regards

 


@breakermind

breakermind
28 May 2014, 01:09

RE: Account

breakermind said:

Hi

How to retrieve the account id and check if the account is real or demo?
How to retrieve the history of open position only with current month?

Regards

 

            foreach (HistoricalTrade trade in History)
            {
                if (DateTime.Now.Month == trade.EntryTime.Month)
                {
                    Print("Curr month history positions: " + trade.PositionId + " open time " + trade.EntryTime);
                }
            }
if(Account.IsLive){
Print( "Demo account" );
}

 


@breakermind