Topics
15 Sep 2017, 11:56
 2640
 2
08 Jul 2017, 17:05
 0
 4950
 4
09 Apr 2013, 23:46
 3742
 4
11 Feb 2013, 08:50
 3265
 2
28 Nov 2012, 20:57
 3777
 6
23 Nov 2012, 12:23
 3286
 4
09 Nov 2012, 14:50
 3147
 6
08 Nov 2012, 13:19
 3208
 2
06 Nov 2012, 14:56
 6275
 19
25 Oct 2012, 20:17
 12533
 29
Replies

Uche
19 Feb 2013, 15:51


Hello admin,

I get an error message when I use the code below.Why?

var count_pos = Account.Positions.Count(position => position.Label == "1256");
var count_pen = Account.PendingOrders.Count(order => order.Label == "1256");



@Uche

Uche
14 Feb 2013, 16:37

Also, is there a way to count the number of active positions/orders with same label?

 

 


@Uche

Uche
14 Feb 2013, 16:20

There is an error message that says "namespace could not be found" for the StopOrderRequest.

How can this be solved?


@Uche

Uche
05 Dec 2012, 10:00

you can add this code:

protected override void OnPositionClosed(Position closedPosition)

        {            

            position = null;

        


@Uche

Uche
01 Dec 2012, 12:44

Anyone thinking of investing in your Robot will find the Profit factor,Sortino and Sharpe unappealing.Like was said,you should work on your drawdown, and the Profit factor.

Your test results should look more like the one below from calgo.co.uk.


@Uche

Uche
30 Nov 2012, 16:45

Sorry it's calgo.co.uk.


@Uche

Uche
30 Nov 2012, 11:39

They don't come cheap but you can get them for free at calgofx.co.uk.

Cheers


@Uche

Uche
29 Nov 2012, 22:43

Thanks

Okey-dokey lets code.


@Uche

Uche
28 Nov 2012, 15:05

Where can I download the previous version of cAlgo, cant get the backtest to work on current version.

Thanks


@Uche

Uche
26 Nov 2012, 18:25

I meant while backtesting.I dont use Indicators.Getindicator<>().


@Uche

Uche
26 Nov 2012, 16:48

I am using API indicators,why does it affect my Robots? Also, I noticed that reference Robots like the RSI and Martingale are not affected.


@Uche

Uche
23 Nov 2012, 13:10

double _ml = Math.Round(calculation);

Error: The name 'Math' does not exist in the current context.


@Uche

Uche
23 Nov 2012, 11:23

I think it only affects Robots working with Pending Orders.


@Uche

Uche
21 Nov 2012, 16:33

backtest stopped

Hello admin

I noticed that the backtest has stopped showing trades since the update yesterday.

Robot woeks fine,but the backtest stopped.

 

Regards


@Uche

Uche
20 Nov 2012, 10:46

Its sorted now.Thanks for helping create a great Robot.

 

 


@Uche

Uche
15 Nov 2012, 18:37

Hello

How do I reference the account number am logged on with.

In MT4 I use AccountNumber()

 


@Uche

Uche
14 Nov 2012, 14:02

crash on manual order

Hello Admin

I noticed the Robot crashes on creating a pending order manually.

What can be done since I cannot use a magic number or ID.

Thanks


@Uche

Uche
08 Nov 2012, 00:11

"Unable to load assembly"

I sometimes get this message under code report:"Unable to load assembly".What does it mean?


@Uche

Uche
07 Nov 2012, 17:03

RE:
admin said:

Hello,

Can you tell us for which symbols it is happening as well as the error message(s) you are receiving so that we can speed up the investigation?

 

 

Its an OnTick crash.....object not set on instance...
If a position opens on EURUSD,USDJPY and four other pairs running same ROBOT crashes while EURUSD is unaffected.

@Uche

Uche
07 Nov 2012, 15:58

So far

Hello Admin

Your code does not allow for multiple Symbol trading.Same robot on other Symbols crash when a position is opened.

Please investigate.


@Uche