Replies

PanagiotisCharalampous
27 Sep 2019, 16:33

Hi Geoff,

Thanks for posting in our forum. What you describe sounds very weird. 

  1. Are 100% sure there was no instance of the cBot running on any open instance of cTrader on any machine e.g. a forgotten running instance on a cTrader chart? 
  2. Can you reproduce this issue or did this happen just once?
  3. Is there any chance somebody has access to your cTrader credentials?
  4. Did you contact your broker about this? The broker can tell you from which IP and which channel did the order originate so that you can identify from which computer the order came. 
  5. Do you remember the exact steps you followed after stopping the cBot?

Best Regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
27 Sep 2019, 16:17

Hi alex_mihail,

Do you have an OHLC indicator for cTrader? If yes, does it have an output series for the results? If yes, then you can feed the results to a Hull MA.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Sep 2019, 15:30

Hi alex_mihail,

Can you explain what do you mean when you say "get both of them working together"?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Sep 2019, 15:07

Hi Peter, 

Unfortunately we do not have access to enough information to check this. Please check if the strategy provider has any other fees like management and volume fees. Also make sure that you are comparing the profit for the correct period. If you still cannot explain the withdrawal amount, please contact your broker for an explanation.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Sep 2019, 08:42

Hi Fx,

Thanks for posting in our forum. Please use the Suggestions section to post your suggestions.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Sep 2019, 16:04

Hi Ben,

Send it at community@spotware.com. We will need to check and let you know.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Sep 2019, 15:48 ( Updated at: 27 Sep 2019, 08:34 )

Hi zahidadil9700,

Thanks for posting in our forum. Please use the correct topics to post such issues. This is the Suggestions section and it is only for suggestions. I will delete this post in a while. Regarding the issue you reported, it is a known issue with FxPro cTrader and will be fixed.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Sep 2019, 15:46

Hi Ben,

The most probable reason for your issues is that you have too many objects in your workspaces and this causes the lag as well as the overriding issue. To check that we will need to inspect your settings file. To send us your settings file please follow the steps below

  1. Load workspace A
  2. Close cTrader
  3. Go to C:\Users\User\AppData\Roaming\Broker cTrader\Settings and send us the settings file. You can send it at community@spotware.com
  4. Repeat the process for the other workspaces you have.

After you send us the settings files we will have a look and let you know what is the issue. In the meanwhile, please try to clean up your workspaces from unnecessary objects and let us know if this improves the situation

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Sep 2019, 15:08

Hi VOLVEFX. 

Can you confirm that you are using the version of ICMarkets cTrader and not the legacy one? From the screenshot it seems you are using the legacy application.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Sep 2019, 14:42

Hi VOLVEFX. 

Notifications can now be managed from the ID Site.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Sep 2019, 08:28

Hi FireMyst,

A repainting indicator is an indicator which updates past values. Almost all indicators update current values, even a simple moving average.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Sep 2019, 08:24

Hi VOLVEFX,

Thanks for posting in our forum. Can you please explain to us what is the problem? What prevents you from activating push notifications in ICMarkets cTrader?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Sep 2019, 08:22

Hi NyanHtet,

Thanks for posting in our forum. See the modified code below

using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;

namespace cAlgo
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class SampleBreakoutcBot : Robot
    {
        [Parameter("Source")]
        public DataSeries Source { get; set; }

        [Parameter("Band Height (pips)", DefaultValue = 40.0, MinValue = 0)]
        public double BandHeightPips { get; set; }

        [Parameter("Stop Loss (pips)", DefaultValue = 20, MinValue = 1)]
        public int StopLossInPips { get; set; }

        [Parameter("Take Profit (pips)", DefaultValue = 40, MinValue = 1)]
        public int TakeProfitInPips { get; set; }

        [Parameter("Quantity (Lots)", DefaultValue = 1, MinValue = 0.01, Step = 0.01)]
        public double Quantity { get; set; }

        [Parameter("Bollinger Bands Deviations", DefaultValue = 2)]
        public double Deviations { get; set; }

        [Parameter("Bollinger Bands Periods", DefaultValue = 20)]
        public int Periods { get; set; }

        [Parameter("Bollinger Bands MA Type")]
        public MovingAverageType MAType { get; set; }

        [Parameter("Consolidation Periods", DefaultValue = 2)]
        public int ConsolidationPeriods { get; set; }

        BollingerBands bollingerBands;
        string label = "Sample Breakout cBot";
        int consolidation;
        private Position position;
        protected override void OnStart()
        {
            bollingerBands = Indicators.BollingerBands(Source, Periods, Deviations, MAType);
            Positions.Opened += OnPositionsOpened;
            Positions.Closed += OnPositionsClosed;
        }

        void OnPositionsClosed(PositionClosedEventArgs obj)
        {
            position = null;
        }

        void OnPositionsOpened(PositionOpenedEventArgs obj)
        {
            position = obj.Position;
        }

        protected override void OnBar()
        {
            if (position != null)
                return;
            var top = bollingerBands.Top.Last(1);
            var bottom = bollingerBands.Bottom.Last(1);

            if (top - bottom <= BandHeightPips * Symbol.PipSize)
            {
                consolidation = consolidation + 1;
            }
            else
            {
                consolidation = 0;
            }

            if (consolidation >= ConsolidationPeriods)
            {
                var volumeInUnits = Symbol.QuantityToVolume(Quantity);
                if (Symbol.Ask > top)
                {
                    ExecuteMarketOrder(TradeType.Buy, Symbol, volumeInUnits, label, StopLossInPips, TakeProfitInPips);

                    consolidation = 0;
                }
                else if (Symbol.Bid < bottom)
                {
                    ExecuteMarketOrder(TradeType.Sell, Symbol, volumeInUnits, label, StopLossInPips, TakeProfitInPips);

                    consolidation = 0;
                }
            }
        }
    }
}

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Sep 2019, 08:15

Hi terminalclub,

Thanks for posting in our forum. You can use chart templates to save different settings for your indicator.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Sep 2019, 16:37

Hi Peter,

Thanks for posting in our forum. You can find many reasons for differences between your account and your strategy provider's account in our EULA. Check section 11.1 II. If you need more info about what happened with your account, please talk to your broker.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Sep 2019, 12:02

Hi ctid1502205,

The development has actually started so I have updated the status.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Sep 2019, 11:17

Hi ctid1502205,

Thanks for posting in our forum. There is no planned date for this feature. It will be released to production whenever it is ready.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Sep 2019, 08:25

Hi calgodemo,

Can you share the indicator code? All indicators are calculated for all data available on the chart so "back calculate" mechanism you are looking for is there by design.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Sep 2019, 08:22

Hi Wiktor,

Do you send heartbeats to keep the connection alive?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Sep 2019, 08:20

Hi dbmakepeace,

Thanks for posting in our forum. I am not aware if any community member has already done this but it should not be difficult to be coded into an indicator/cbot.

Best Regards,

Panagiotis


@PanagiotisCharalampous