PanagiotisCharalampous's avatar
PanagiotisCharalampous
30 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
25 Feb 2019, 17:38

Hi Nick,

cTrader cannot connect to an exchange. It only connects to the liquidity offered by your broker.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 17:24

Hi Nick,

Thanks for posting in our forum. cTrader is a CFD trading platform therefore it does not have direct access to crypto exchanges. However there are several cTrader brokers that offer cryptocurrency CFDs via cTrader.

Regardng point 2 it is not clear to me what do you mean with external alerts. Can you please elaborate?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 16:27

Hi darcome,

Sorry I missed the indicators. No you cannot get indicator data from Open API or any other source.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 16:18

Hi darcome,

You can use Open API.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 12:29 ( Updated at: 19 Mar 2025, 08:57 )

Hi Patrick,

Can you please send us your settings file at support@ctrader.com? You can find it at C:\Users\UsernameAppData\Roaming\Broker cTrader.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 11:02

Hi jpwtrading,

See an example below

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 CustomcBot : Robot
    {
        [Parameter(DefaultValue = 1, MinValue = 1)]
        public int MaxPositions { get; set; }

        protected override void OnStart()
        {

        }

        protected override void OnTick()
        {
            if (Positions.Count < MaxPositions)
            {
                // Do somehting
            }
        }

        protected override void OnStop()
        {

        }
    }
}

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 10:30

Hi jpwtrading,

These errors are caused by

        public override void Calculate(int index);
        }

But even if you fix that more errors appear. It seems you have copied and pasted things for other cBots/Indicators and it is not clear what are you trying to do. Maybe yous hould consider rewriting the strategy from start.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 10:25

Hi jasdel24,

Thanks for posting in our forum. Stop limit orders and market range have not been included yet in FIX API.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 10:22

Hi Ziyad,

Thanks for posting in our forum. See below an example of setting the alpha for a rectangle.

            var rectangle = Chart.DrawRectangle("Rectangle", Server.Time.AddHours(-20), Symbol.Bid - 0.01, Server.Time, Symbol.Bid, Color.FromArgb(128, 255, 0, 0));
            rectangle.IsFilled = true;

At the moment, you cannot draw the chart on the background.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 10:08

Hi Patrick,

I tried this but I do not see any difference with v3.0. It is not opening as a modal window. It is just on top of the rest.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 10:03

Hi aricesar,

You can check this discussion.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 09:50

Hi leohermoso,

Swaps are not available at the moment in cTrader Automate API.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 09:37

Hi Patrick,

I cannot reproduce this one either. Watchlists open as well as all the rest of the detached windows.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Feb 2019, 09:33

Hi Patrick,

I triend this but I cannot reproduce it. Charts change with up and down arrows. Is there a chance that your cTrader lost focus and does not respond to the buttons any more? Can you record a short video demonstrating the behavior with the mouse?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Feb 2019, 17:33

Hi Eliezer,

My understanding is that you want a trade to open when the 14 period MA is rising for the last 3 bars. Is that correct?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Feb 2019, 16:05

Hi terryww2,

As I said above, we will be updating our proxies over the weekend. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Feb 2019, 14:05

Hi Alex,

Just round the values to the symbol digits and the problem should disappear.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Feb 2019, 10:48 ( Updated at: 19 Mar 2025, 08:57 )

Hi Pierre,

Can you record a short video demonstrating this behavior so that I can forward it to the product team? You can send it at support@ctrader.com

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Feb 2019, 10:45

Hi lec0456.

This is not available via the API but I think you can easily code this.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Feb 2019, 10:39

Hi Conno123,

We do not have access to the indicator's source code so if you verify that the issue is caused by the indicator, please contact Paul directly. I will send him the link to this discussion as well.

Best Regards,

Panagiotis


@PanagiotisCharalampous