Replies

hibikidan333
27 Jul 2017, 07:18

I was able to workaround this by providing a custom GetFitness method  

 

if (args.MaxEquityDrawdown > InitialInvestment ) { return 0 }


@hibikidan333

hibikidan333
07 Feb 2016, 06:02

RE:

cre8iveq said:

Hi. I've always been a hardcore MT4 / MT5 fan, and never looked at anything else until just yesterday. Took some time to look into this CTrader thing, and WOW... where have you been all my life :)

Anyway, with Metatrader, something I used to do is programmatically work out a short list of pairs that currently suit my trading criteria, then close all charts, and open just the charts for the pairs that meet my criteria. It was just a nice little time saver.

Is this possible with cAlgo? If so, how do I do it?

Thanks in advance.

I think you can trade live by adding an instance to your bot and then press the play button.


@hibikidan333

hibikidan333
06 Feb 2016, 15:00

RE:

lucian said:

I run (EURUSD) :

 

protected override void OnTick()
        {
            if ((Math.Round(Symbol.Spread * 10000, 1)) < 0)
                Print(Math.Round(Symbol.Spread * 10000, 1));
        }

 

and for 06/19/2015-06/20/2015 the result is negative spread. It's normal ?

I am beginning to believe that it is. However, it seems that this has not happened recently.


@hibikidan333