What's New in cTrader Automate API 3.5

07 Mar 2019, 14:03What's New in cTrader Automate API 3.5#11
Panagiotis Charalampousposts: 2721since: 13 Jan 2017

Waxy said:

Thanks for your hard work Spotware,

I have questions,

Why this feature works with custom enums being parametrizable, but not built-in enums like HorizontalAlignment, and others? I hope is available soon also.
Note: Currently I can build a custom enum and then cast to a built-in enum, that's what I can do for now.

Also, will you wait for 3.6 before launching 3.5 as the official version?

Thank you

 

Hi Xavier,

Works fine for me

using System;
using System.Linq;
using System.Windows.Forms;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class CustomcBot : Robot
    {
        [Parameter()]
        public cAlgo.API.HorizontalAlignment Alignment { get; set; }

        protected override void OnStart()
        {

        }

        protected override void OnTick()
        {

        }
        protected override void OnStop()
        {
            // Put your deinitialization logic here
        }
    }
}

Best Regards,

Panagiotis


Head of Community Management at cTrader
07 Mar 2019, 16:20RE: IsOverlay not work as previous version did.#12
Panagiotis Charalampousposts: 2721since: 13 Jan 2017

uvwxyz said:

Hi,

Previously one could use in the Indicators opened chart's tool : f / Custom and overlay a custom indicator B ( built with declaration: "IsOverlay = true;) over another custom indicator A (which is already displayed in a panel), by selecting (in the  f / Custom dialouge box)  B as the 'Indicator' and selecting an output series of indicator A as the input series (source) for indicator B.

Now doing so draws the Indicator B on the main chart which is useless, and also takes away a lot of power of cTrader custom indicators. Previously it drew on the panel of Indicator A.

Can you please, make this previously available funtionality available again.

Cheers.

Hi abs,

This is a bug and we will fix it.

Best Regards,

Panagiotis


Head of Community Management at cTrader
08 Mar 2019, 06:50RE: RE: IsOverlay not work as previous version did.#13
abc posts: 13since: 06 Feb 2017

Panagiotis Charalampous said:

uvwxyz said:

Hi,

Previously one could use in the Indicators opened chart's tool : f / Custom and overlay a custom indicator B ( built with declaration: "IsOverlay = true;) over another custom indicator A (which is already displayed in a panel), by selecting (in the  f / Custom dialouge box)  B as the 'Indicator' and selecting an output series of indicator A as the input series (source) for indicator B.

Now doing so draws the Indicator B on the main chart which is useless, and also takes away a lot of power of cTrader custom indicators. Previously it drew on the panel of Indicator A.

Can you please, make this previously available funtionality available again.

Cheers.

Hi abs,

This is a bug and we will fix it.

Best Regards,

Panagiotis

Hi Panagiotis,

Thanks greatly for such a quick and a well-appreciated reply.

Cheers.

08 Mar 2019, 14:32Panel of bots#14
bienve.pfposts: 33since: 19 Sep 2018

Very good improvements in version 3.5. Grouping parameters in groups and enums is something that was much missed.
I have to say that I have been programming for 2 years with cTrader / calgo and the new presentation of the configuration panel of the bots takes a bad path. You can not change the size (in this way the big titles are lost). On the other hand, clicking every time we change a parameter is a bit tedious especially when we are doing backtesting.

Greetings.

08 Mar 2019, 14:34#15
bienve.pfposts: 33since: 19 Sep 2018

It would be very good if it were in a floating window.

One way or another should be optional. I do not know why the previous presentation is eliminated

09 Mar 2019, 15:12Backtesting Options with custom timeframes#16
eivaremirposts: 3since: 08 Mar 2019

I've just written a bot which reads renko graphics, and I want to backtest it but this function isn't available, do you have plans to incorporate it in the future?

10 Mar 2019, 18:40#17
gakazasposts: 7since: 08 Sep 2018

Hello, Thanks for the update.
"Load Parameters" for a cbot doesn't work when dealing with custom enums, as even if the parameter is saved in the .cbotset file, when loading from it an error message appears and the first option is always selected. 

10 Mar 2019, 18:46#18
gakazasposts: 7since: 08 Sep 2018

part of my cbot:
 

    public enum SignalIndicator
    {
        Option1,
        Option2,
        Option3
    }

    [Robot(TimeZone = TimeZones.CentralEuropeStandardTime, AccessRights = AccessRights.FileSystem)]
    public class myCbot : Robot
    {
        [Parameter("Signal Indicator")]
        public SignalIndicator SigIndi { get; set; }

part of cbotset file:
 

[ChartParameters]
Symbol = EURUSD
Timeframe = D1

[cBotParameters]
password = 0
SigIndi = 1

 

12 Mar 2019, 12:08RE: Backtesting Options with custom timeframes#19
Panagiotis Charalampousposts: 2721since: 13 Jan 2017

eivaremir said:

I've just written a bot which reads renko graphics, and I want to backtest it but this function isn't available, do you have plans to incorporate it in the future?

Hi eivaremir,

Yes this is in our plans. It will be added in one of the upcoming updates.

Best Regards,

Panagiotis


Head of Community Management at cTrader
12 Mar 2019, 12:11RE:#20
Panagiotis Charalampousposts: 2721since: 13 Jan 2017

gakazas said:

Hello, Thanks for the update.
"Load Parameters" for a cbot doesn't work when dealing with custom enums, as even if the parameter is saved in the .cbotset file, when loading from it an error message appears and the first option is always selected. 

Hi gakazas,

Thans for letting us know about this. We will investigate it.

Best Regards,

Panagiotis


Head of Community Management at cTrader