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

PanagiotisCharalampous
17 May 2019, 14:36

Hi jarvischo,

Thanks for posting in our fourm. Can you try a hard refresh (Ctrl+F5)  and let me know if it resolves the issue? This is usually related with cookies and should be fixed if you clean them.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
17 May 2019, 14:29

RE: Release Date

ctid1234940 said:

I love the upgrade and there is a feature in Automate I would really like to use.

Spotware said [ON March 7]:

cTrader Desktop 3.5 will be released to brokers in the nearest future. Meanwhile, you can try the new features on Beta version.

 

Could you please approximate the term "nearest future". Are there complications?
Is it within days, weeks, months? Is Spotware responsible for the version change or the brokers?
So is there another delay (weeks?) with the broker implementing it?

Hi ctid1234940,

We still do not have an ETA for the release. We are polishing out some minor bugs. When we feel is ready for production we will roll it out to brokers.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 May 2019, 12:39

Hi Patrick,

I am not sure what suggestions do you need. The warnings are clear. You shoud use  Chart.DrawStaticText() instead.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2019, 09:22

Hi ryan.a.blake,

TRAILING() method is not called anywhere in the cBot.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2019, 09:14

Hi nelson.pmf.sc,

You can try something like this

        protected override void OnBar()
        {
            if (Server.Time.DayOfWeek == DayOfWeek.Saturday)
                return;

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 May 2019, 16:05

Hi alex_mihal,

See below

            var sma = Indicators.SimpleMovingAverage(MarketSeries.Close, 10);
            if (Symbol.Bid > sma.Result.LastValue)
            {
                //Do something
            }

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 May 2019, 09:19

Hi ryan.a.blake,

Can you please explain to us what do you mean when you say it is not working. What does it do and what did you expect it to do instead?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 May 2019, 09:17

Hi nelson.pmf.sc,

See below how to declare a stochastic oscillator

var _stochastic = Indicators.StochasticOscillator(9,3,9, MovingAverageType.Simple);

The parameter you need to check is

_stochastic.PercentK

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 May 2019, 10:10

Hi pierrecrot,

Can you provide the full cBot code, cBot parameters and backtesting dates so that we can reproduce this and provide an explanation?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 May 2019, 10:08

Hi rasool.nasr@gmail.com,

I cannot reproduce such a behavior. Backetsing data seem to be cached properly. Any chance you can send us more information i.e. a short video demonstrating the steps you follow and the behavior?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 May 2019, 10:04

Hi FireMyst,

Differences are expected in different brokers since they use different price feeds.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 May 2019, 10:01

Hi laprakon,

For deposit and withdrawal issues you should contact your broker.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 May 2019, 09:59

Hi hugo_carpegianny,

Thank you for posting in our forum. Can you please expalin to us what do you mean with bookmark?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
13 May 2019, 09:58

Hi erisoftdevelop,

You can find the answers to all of your questions here. Let me know if you need any clarifications.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2019, 17:33

Hi Sasha,

There is no such event available in the API, You need to make the checks yourself in the OnTick method.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2019, 15:32

Hi Sasha,

OnBar is executed only whenever a new bar is created. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2019, 11:59

Hi Sasha,

Can you please provide more information e.g. the cBot code? What do you mean it doesn't work? Is the event not triggered? Did you try the sample I sent? Does it print the message in the log on MouseUp?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2019, 11:41

Hi Alexander,

Yes it works when occurs when the left mouse button is released inside the chart area.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2019, 11:18

Hi Alexander,

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

        protected override void OnStart()
        {
            Chart.MouseUp += OnChartMouseUp;
        }

        void OnChartMouseUp(ChartMouseEventArgs obj)
        {
            Print("Mouse up event triggered");
        }

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

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

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2019, 11:16

Hi DontAlgoMe,

You can find all required information here.

Best Regards,

Panagiotis


@PanagiotisCharalampous