Replies

FalcoPereGrinus
28 Jan 2021, 13:52

RE:

PanagiotisCharalampous said:

Hi FalcoPereGrinus,

Try 

Print("FSMA={0},SSMA={1}", FastSMA.Result.LastValue, SlowSMA.Result.LastValue);

instead.

Best Regards,

Panagiotis 

Join us on Telegram

Hi Panagiotis;

Thank you very much. I apologize for my carelessness.


@FalcoPereGrinus

FalcoPereGrinus
28 Jan 2021, 11:49 ( Updated at: 21 Dec 2023, 09:22 )

 

Hello there I want to add ma50 and ma200 values ​​to my strategy in the daily period, but both give the same value of ma50. Where am I making a mistake? Thanks for your help.

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class NewcBot : Robot
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        [Parameter("Slow Periods", Group = "Simple Moving Average", DefaultValue = 200)]
        public int SlowPeriods { get; set; }

        [Parameter("Fast Periods", Group = "Simple Moving Average", DefaultValue = 50)]
        public int FastPeriods { get; set; }

        private MovingAverage FastSMA;
        private MovingAverage SlowSMA;
        private Bars D1;

        protected override void OnStart()
        {
            D1 = MarketData.GetBars(TimeFrame.Daily);
            FastSMA = Indicators.SimpleMovingAverage(D1.ClosePrices, FastPeriods);
            SlowSMA = Indicators.SimpleMovingAverage(D1.ClosePrices, SlowPeriods);
        }

        protected override void OnTick()
        {
            Print("FSMA={0},SSMA={0}", FastSMA.Result.LastValue, SlowSMA.Result.LastValue);
        }

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

 

 


@FalcoPereGrinus

FalcoPereGrinus
29 Oct 2020, 11:35

RE: RE:

mstf.dgn199940 said:

PanagiotisCharalampous said:

Hi mstf.dgn199940,

To investigate this further, our QA team needs to inspect your computer. If you are available for a TeamViewer session, please contact me at community@spotware.com or on Telegram to arrange this. 

Best Regards,

Panagiotis 

Join us on Telegram

Hİ;

Thank you very much for your interest. I am contacting immediately.

Hi;

Thanks to the support team, the problem was found. There was an error related to the Turkish language. There was no error when I translated the computer to English. It was said that the error related to the Turkish language will also be fixed. Thank you very much cTrader.


@FalcoPereGrinus

FalcoPereGrinus
29 Oct 2020, 10:39

RE:

PanagiotisCharalampous said:

Hi mstf.dgn199940,

To investigate this further, our QA team needs to inspect your computer. If you are available for a TeamViewer session, please contact me at community@spotware.com or on Telegram to arrange this. 

Best Regards,

Panagiotis 

Join us on Telegram

Hİ;

Thank you very much for your interest. I am contacting immediately.


@FalcoPereGrinus

FalcoPereGrinus
27 Oct 2020, 18:54

RE:

PanagiotisCharalampous said:

Hi mstf.dgn199940,

You did not answer question 1. We need this information.

Best Regards,

Panagiotis 

Join us on Telegram

Hi,

C:\Users\Mustafa\Documents\cTrader

C:\Users\Mustafa\Documents\cAlgo

 

Thanks for be interested.

 


@FalcoPereGrinus

FalcoPereGrinus
27 Oct 2020, 10:48 ( Updated at: 21 Dec 2023, 09:22 )

RE:

PanagiotisCharalampous said:

Hi mstf.dgn199940,

1) Can you please provide us with the exact address if your Documents folder e.g. C:\Users\<user_name>\Documents\

2) Can you tell us if a C:\Users\<his_user_name>\Documents\cAlgo folder exists and if there are any contents there? Please provide a screenshot if possible.

Best Regards,

Panagiotis 

Join us on Telegram

Hİ,

The files you specified are available. Thank you for your interest.


@FalcoPereGrinus

FalcoPereGrinus
26 Oct 2020, 16:59

RE:

PanagiotisCharalampous said:

Hi mstf.dgn199940,

Please provide us with the following information as well

1) Confirm that the issue persists after restarting cTrader.

2) Which broker's cTrader you are using

3) Where do you download cTrader from?

Best Regards,

Panagiotis 

Join us on Telegram

Hello;

1) The problem still persists.
2) I use FxPro
3) Installed from both ctrader and FxPro.

Thanks for be interested.


@FalcoPereGrinus

FalcoPereGrinus
26 Oct 2020, 15:58 ( Updated at: 21 Dec 2023, 09:22 )

RE:

mstf.dgn199940 said:

Hello, i am getting the calgo.api.dll not found error. How can i solve it. Thank you very much.

 I did a clean install on a different computer from the site, but got the same error there. I am wondering if the download file has been updated recently? Has anyone just installed it?


@FalcoPereGrinus