Replies

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

PanagiotisCharalampous
10 May 2019, 10:49

Hi Alexander,

What chart events are you looking for? You can find all available chart events here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2019, 10:13

Hi Pierre,

Any chance we can get the cBot and exact steps to reproduce? If you do not want to share the cBot code, you can send it at community@spotware.com.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2019, 10:11

Hi Alexander,

You can consider Timer which allows you to execute actions on a specific interval.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2019, 10:06 ( Updated at: 23 Jan 2024, 13:16 )

Hi camsphone111,

[Here ]it is.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 May 2019, 15:16

Hi Ton,

I am not disputing that these results seem unreasonable. However a screenshot doesn't help much, it's like searching for a needle in a haystack. If we come across it, we will check it.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 May 2019, 14:46

Hi Ton,

If you cannot share with us a cBot that reproduces such a result then it is not easy for us to explain the behavior and determine if there is a bug to fix.

Best Regards,

Panagiots


@PanagiotisCharalampous

PanagiotisCharalampous
09 May 2019, 09:25

Hi pierrecrot,

Thanks for posting in our forum. You can use the IsRising() function. See below

         if(macd.MACD.IsRising())
        {
          //Execute Order
        }

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 May 2019, 17:57

Hi martin.spoon,

Can we arrange a TeamViewer session with you as well?

Best Regards,

Panagiotis


@PanagiotisCharalampous