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

PanagiotisCharalampous
28 May 2020, 16:01

Hi Yuval,

It will appear after you add a cBot on the chart.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 16:00

Hi ctid1972541,

When you get this message it means that the cBot comes without source code.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 15:55

Hi douglascvas,

The deals are from a year ago. How do you know what the swap rate was at that time?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 15:41

Hi Glen,

Can we arrange a TeamViewer session so that somebody from our team can inspect this issue on your computer?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 15:38

Hi Yuval,

You cannot change a symbol when you run a cBot. For indicators, when the chart symbol is changed then the indicator is reinitialized again therefore the Initialize() method will run again.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 15:20

Hi Yuval,

Print works in the Trade tab as well. Check your cBot Log.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 11:03

Hi bodhisvaha.forex,

You will receive a new token and refresh token.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 10:59

Hi firemyst,

Why don't you use Symbol.Digits?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 09:33

Hi firemyst,

Usually such functionality is achieved using equations in the form of number % step * step for the lower number and number % step * (step + 1). 

For example, let's assume you have 24555 and you want the closest 100 step

Lower step is 24555 % 100 * 100 = 24500

Upper step is 24555 % 100 * 101 = 24600

Hence the closest is 24600.

I hope this helps.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 08:15

Hi bodhisvaha.forex,

You cannot get a token that does not expire. You need to refresh your tokens before they expire using the refresh token. You can read more about the authentication process here.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
28 May 2020, 08:08

Hi Harshenboldd,

Can you share your csv file so that we can reproduce the issue?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
27 May 2020, 15:39

Hi Cem, 

Can you please send us some troubleshooting information regarding this? To do so, press Ctrl+Alt+Shift+T inside cTrader, paste the link to this discussion in the text box and press submit.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
27 May 2020, 14:41

Hi CuteLittleMay,

Our investigation has shown that the strategy was deleted by you on the 24/05. It seems that there was a display issue on the client side of the application which we are still looking at. In any case it seems you have created a new strategy using that account already.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
27 May 2020, 12:28

Hi Andreas,

We have investigated this issue and we understand the problem you are facing. However GetBars() works as designed. When you get bars from other timeframes, you get all the finalized bars and finalized values. You should be aware of this fact when you use these values. We do not plan to change the way it works at the moment. Hence if this functionality does not fit the needs of your indicator then you will need to redesign your indicator and code it in a different way.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
27 May 2020, 09:31

Hi Vamsi,

See below an example

using System;
using cAlgo.API;

namespace cAlgo.Indicators
{
    [Indicator(IsOverlay = true)]
    public class DailyHighLow : Indicator
    {
        public override void Calculate(int index)
        {
            if (IsLastBar)
            {
                double high = MarketSeries.High.Maximum(10);
                double low = MarketSeries.Low.Minimum(10);

                ChartObjects.DrawLine("high ", Bars.OpenTimes[index - 10], high, Bars.OpenTimes[index], high, Colors.Pink);
                ChartObjects.DrawLine("low ", Bars.OpenTimes[index - 10], low, Bars.OpenTimes[index], low, Colors.Pink);
            }
        }
    }
}

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
27 May 2020, 08:46

Hi Vamsi,

It is not clear what you are asking for. What lines do you want to plot? Could you post an example? What did you modify, what does it do and what should it be doing instead? What should this snippet do?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
27 May 2020, 08:42

Hi there, 

It is not managed by us but seems to be up and running.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
27 May 2020, 08:40

Hi lucrum,

Try adding this condition before assigning the values to the indicator

            if (Bars.OpenTimes[index] == selectedSeries.OpenTimes[selectedIndex])
            {
                MA12D[index] = fastMA.Result[selectedIndex];
                MA30D[index] = slowMA.Result[selectedIndex];
            }

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
27 May 2020, 08:33

Hi twoheartzin1soul,

I am not sure where you got there prints from but both types are DateTime types so comparison should not be a problem.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
27 May 2020, 08:30

Hi Matt,

Is it possible to get this message in English and paste it as text? It is hard to read what it says. Also can you try a clean installation and let us know if it resolves the problem?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous