Replies

PanagiotisCharalampous
10 Dec 2018, 15:00

Hi Eduardo,

The first screenshot you sent was different than this and confused me. When you say volume do you mean volume fees? if yes, then you need to stop providing the strategy first, change the volume fee and then start it again.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 14:47

Hi Mountain,

Thanks but I have not received anything. Where did you send them?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 14:45 ( Updated at: 21 Dec 2023, 09:21 )

Hi Eduardo,

See the name field below in red

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 14:23

Hi Eduardo,

Thanks for posting in our forum. Try typing a name first. After you type the name, the button will become enabled.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 14:20

Hi netread2004,

Message 35=X is incremental update. So it will stream to you only additions and deletions. The quote prices might have already been streamed to you by 35=W. What spread do you get with 35=W?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 11:55

Hi sean.cappone,

Thanks for posting in our forum. Please see below an example of how you can incorporate start and stop hours in your cBot

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; }

        [Parameter("Start Time", DefaultValue = "08:00")]
        public string StartTime { get; set; }

        [Parameter("Stop Time", DefaultValue = "12:00")]
        public string StopTime { get; set; }
        protected override void OnStart()
        {
            // Put your initialization logic here
        }

        protected override void OnTick()
        {
            var tradingStarts = TimeSpan.ParseExact(StartTime, "hh\\:mm", null);
            var tradingStops = TimeSpan.ParseExact(StopTime, "hh\\:mm", null);
            if (Server.Time.TimeOfDay >= tradingStarts && Server.Time.TimeOfDay < tradingStops)
            {
                //Trade
            }
        }

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

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 11:16

Hi 1222Ht,

This is not possible at the moment.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 11:00

Hi tgjobscv,

Change line 76 to the following

ExecuteMarketOrder(tradeType, Symbol, Volume, "SampleRSI".Clone, StopLoss, null);

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 10:56

Hi eirik_1993,

Advanced protection is only available after the position is created.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 10:53

Hi eirik_1993,

Can you please give me the links to these indicators so that I can have a look and answer your questions?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 10:51

Hi cantalupo,

We do not have at ETA yet but it is in our backlog for one of our next releases. Maybe sometime in 2019.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 10:48

Hi tgjobscv,

I still cannot reproduce the behavior you are describing. Can you please record a short video so that we can see the steps you are following?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 10:43

Hi Mountain,

Thank you for posting in our forum. Can you please share the code for a cBot that reproduces the error so that we can have a look?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 10:31

Hi cantalupo,

We do not have such plans at the moment.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Dec 2018, 10:29

Hi cantalupo,

There is no such option currently in cTrader. Objects are saved in workspaces for the charts they have been drawn onto but they cannot be transferred to other charts.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2018, 16:17

Hi jam584St1,

FIX API should stream the exact same prices as cTrader applications. If you end up with different spot prices then probably you are doing something wrong. Can you please provide some more information why do you think you get different prices? If you could log a series of messages that you receive and result to different spot prices than cTrader it would be helpful to determine what is the problem. Also let us know the broker you use so that we can compare prices with cTrader. If it is more convenient to send the information with email, please email us at community@spotware.com

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2018, 15:11 ( Updated at: 21 Dec 2023, 09:21 )

Strange. I ran it on Spotware Beta 3.4 and works fine. See below

However I noticed that your cBot code has an issue and does not build. So I had to fix it. Can you make sure that you do not get any compilation errors and that you are using the latest version?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2018, 14:34

Timeframes?


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2018, 14:17

Hi Derek,

Can you post a screenshot of the cBot parameters as well so that I can reproduce on backtesting?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Dec 2018, 11:41

Hi netread2004,

You should be sending a Market Data Request whenever you want to update your market data with new prices. Refresh rate is up to you even though I believe 500ms is a bit slow. You can try 100ms.

Best Regards,

Panagiotis


@PanagiotisCharalampous