Replies

PanagiotisCharalampous
10 May 2018, 11:56

Hi PapaGohan,

Unfortunately t70 will not be a part of this release.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2018, 11:11

Hi,

A workaround is to use another collection for the purpose of reading from the cBot. Use Results with double.NaN for display and another collection with your values for the cBot.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2018, 10:33

Hi beneditobvn,

For some reason tag 59 seems to be missing from your message. See below a correct message

8=FIX.4.4|9=14935=D|49=icmarkets.3311962|56=cServer|57=TRADE|50=3311962|34=2|52=20180510-07:25:56|11=10|55=1|54=2|60=20180510-07:25:56|38=1000|40=3|99=1.18451|59=3|10=167

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2018, 09:52

Hi joetrading39,

Your analysis is saved in your workspace and it is available on other devices as well.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2018, 09:23

Hi Roberto,

This feature has not been planned yet therefore we cannot provide an estimation.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2018, 09:18

Dear Trader,

In the places where you don't want to place any value, just use double.NaN.

Let me know if this helps you.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 May 2018, 12:54

Hi ceakuk,

Could please give some more information on what you are trying to do? What you mention is possible but probably not a correct way to do it. With more details maybe we can advise how to correctly implement your indicator.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 May 2018, 12:23

Hi robbie767,

Indeed, this is true. This feature is missing in cMirror. We will add it in one of the upcoming releases.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 May 2018, 17:58

Hi irmscher9,

We checked your issue and it seems that the one backtest was executed using a live account and the other using a demo account. Live accounts connect to different servers than Demo accounts and as a consequence a different tick data repository. Therefore some discrepancies in tick data might occur. Maybe you can get in touch with the broker to check and fix the issue.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 May 2018, 14:43

Hi Patrick,

In order to fix this issue, go to C:\Users\username\Documents\cAlgo\API and delete the contents of this folder.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 May 2018, 10:04

Dear Szymon,

Thanks for posting in our forum. In order to launch a form from a cBot and avoid freezing, you should do in a new thread. See an example below

using System;
using System.Linq;
using System.Threading;
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.FullAccess)]
    public class NewcBot : Robot
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }
        private Thread _thread;
        private Form _f1;
        protected override void OnStart()
        {
            _f1 = new Form();
            _thread = new Thread(() => _f1.ShowDialog());
            _thread.SetApartmentState(ApartmentState.STA);
            _thread.Start();
        }

        protected override void OnTick()
        {
            // Put your core logic here
        }

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

Regarding the bug you mentioned, could you please send us some more information please e.g. screenshot, so that we can investigate further?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 May 2018, 09:25

Hi grzegorczyk.info,

Host address should still be working even if cTrader client uses a different one. There are many proxies available for each broker concurrently and cTrader chooses the best to connect based on location and connectivity. However, this should not affect your FIX connection. If this is not true, let me know to check this further.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 May 2018, 09:23

Hi irmscher9,

There is nothing you can do. You either trust the signal you are mirroring or.not. When you exit a strategy, you realize any P&L and cash out. It works in the same way as it would work if you invested your money in e.g. an investment fund. When you decide to exit, you cannot just take your stocks, bonds etc and walk away. You realize the value of your investment at the specific time and receive the equivalent amount.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 May 2018, 09:09

Hi MaRCHeW,

Our office hours are 09:00 - 18:00 EEST. Contact me at community@spotware.com.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 May 2018, 17:44

Hi grzegorczyk.info,

At the moment, I do not have the exact details of the implementation, therefore I will need to consult the product team how it is working exaclty and if we can disclose the method. Why do you need such a detailed information?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 May 2018, 17:34

Hi irmscher9,

Soon cMirror will be replaced by cTrader Copy. In cTrader Copy, mirroring will take place using dedicated subaccounts where any other form of trading except copying will not be allowed. Therefore such a feature will become irrelevant.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 May 2018, 17:22

Hi Simon,

This feature is in our backlog, however we do not have a release date or release version yet.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 May 2018, 17:14

Hi grzegorczyk.info,

These are proxy servers and the host names change based on which proxy server provides the fastest connection at the moment. You cannot prevent this, it is an automatic feature of cTrader. Do you access the same account always from the same location or do you change locations often?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 May 2018, 17:08

Hi Marek,

I am sorry but I cannot understand what the problem is then. Could you please send two screenshots, one for cTrader Windows and one for cTrader Web so that I can see the difference you are talking about? 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 May 2018, 16:27

Hi carlosdrcunha,

See below how you can do the same thing in a cBot

using System;
using System.Linq;
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 NewcBot : Robot
    {

        DirectionalMovementSystem _dms;
        SimpleMovingAverage _sma;
        protected override void OnStart()
        {
            _dms = Indicators.DirectionalMovementSystem(14);
            _sma = Indicators.SimpleMovingAverage(_dms.ADX, 14);
        }

        protected override void OnTick()
        {

        }

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

Best Regards,

Panagiotis


@PanagiotisCharalampous