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

PanagiotisCharalampous
26 Jun 2018, 12:28

Hi cwik_m,

Thanks for posting in our forum. What is the error you receive? Can you please post a screenshot?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Jun 2018, 12:08

Hi sryap,

I noticed tag 50 and tag 553 are the same. Is it correct?

Yes, this is correct. I don't see any other issue in your message. Please make sure that you are using the correct password. Note that you need to use your trading account password for FIX API login.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Jun 2018, 09:34

Hi MixMan,

We aware of this issue and we are working on fixing it. However if you could share more information with us it would be helpful. If you can please provide us the following

1. The number of open positions/pending orders per chart.

2. A short video demonstrating the issue.

This will help to confirm that we are referring to the same issue.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Jun 2018, 09:06

Hi sryap,

Thanks for posting in our forum. Tag 50 should be your account number.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jun 2018, 17:35

Hi Simon,

The indicator's Calculate method is called for each historic bar starting from the beginning of the series up to the current bar and then on each incoming tick. See here. cBots have different methods for bars and ticks, OnTick and OnBar. Essentially cBots should be used for trading and not for calculating indicators.

Best Regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jun 2018, 10:13

Hello all,

If someone can send us a short video demonstrating this problem, it will be helpful for the product team to determine the exact reason of the issue.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jun 2018, 10:10 ( Updated at: 29 Aug 2022, 08:35 )

Hi Simon,

In order to help you, we will need more information. Please provide us with the following

  1. The custom indicator
  2. The exact steps you use to check the indicators (Broker, Symbol, Backtesting paramaters etc)
  3. Any screenshots that can help us understand the problem.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Jun 2018, 15:26

Hi Rob,

Thanks for letting us know about this issue. It seems to be a bug. Could you please send some troubleshooting information to the team? You can do so by pressing Ctrl+Alt+Shift+T, paste the link to this discussion on the text box and press submit. In the meanwhile, restarting cTrader should fix the problem.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Jun 2018, 09:40

Hi xavier.b.brown,

Thanks for posting in our forum. These percentages indicate the daily change in the price of the symbol.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Jun 2018, 09:37

Hi thongbaogiaodich,

If your broker offers a forced cTID environment then you cannot do this anymore. All trading accounts need to be linked to a cTID.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Jun 2018, 09:32

Hi thongbaogiaodich,

Account unlinking has been depreciated. If you don't need your account any more you can either link it to another cTID or ask your broker to delete it.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Jun 2018, 09:29

Dear Trader,

Thanks for posting in our forum. Signing in using trading accounts will be gradually depreciated for most of the brokers using cTrader. Since, many of our features depend on our cloud infrastructure and cTID, it is a necessary measure to ensure that all traders have access to all the features. If your accounts are not linked with your cTID yet, please contact your broker to link them for you.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Jun 2018, 12:09 ( Updated at: 19 Mar 2025, 08:57 )

Hi Jared,

Please send it at support@ctrader.com.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Jun 2018, 11:30

Hi sean.n.long,

Thanks for posting in our forum. Note that trailing stop loss is now offered by cAlgo.API, therefore you do not need to program it yourself anymore. Order functions now feature a trailing stop loss parameter. See below

https://ctdn.com/api/reference/robot/executemarketorder

https://ctdn.com/api/reference/robot/placelimitorder

https://ctdn.com/api/reference/robot/placestoporder

https://ctdn.com/api/reference/robot/placestoplimitorder

Let me know if this helps.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Jun 2018, 09:36

Hi Jared,

Thanks for pointing this out. We are having a look at it. Any change you could share the cBot with us?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Jun 2018, 11:36

Hi vivo19,

Thanks for letting us know about this. We managed to reproduce it and we will fix it in an upcoming update.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Jun 2018, 09:06

Hi Waxy,

If you can send me the cBot, I will check what is going on.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Jun 2018, 14:23

Hi zedodia,

Implementing such functionality is not in our immediate plans. However, we intend to investigate the possiblitity of offering such features in one of the future versions.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Jun 2018, 14:15

RE:

zedodia said:

Thank you for the clarification. Is there any benefit or pro vs con of running in automate vs trade? Or is it just two options for the same outcome?

Hi zedodia,

There are no significant pros or cons. Whatever is more convenient for you.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Jun 2018, 10:05

Hi sebo1999,

See below an example on how to print the trading sessions of a symbol

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
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        protected override void OnStart()
        {
            foreach (var session in Symbol.MarketHours.Sessions)
            {
                Print("Session Starts: " + session.StartDay + " " + session.StartTime.ToString());
                Print("Session Ends: " + session.EndDay + " " + session.EndTime.ToString());
            }
        }

        protected override void OnTick()
        {
           
        }

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

Best Regards,

Panagiotis


@PanagiotisCharalampous