Replies

PanagiotisCharalampous
11 Jun 2019, 09:40

Hi mo798ua,

Thanks for posting in our forum. The highlighed value is the distance from the entry price not from the spot price. Therefore it will not be constant.

Best Regards,


@PanagiotisCharalampous

PanagiotisCharalampous
11 Jun 2019, 09:24

Hi diegorcirelli,

What is not working?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jun 2019, 14:38

Hi PureForm,

Any chance we can get the cBot code and your optimization parameters so that we can have a look?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jun 2019, 10:32

Hi Astroke,

This is not a bug, this is how it was always working. However our product team can consider a setting for this behavior.

Best Regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jun 2019, 10:28

Hi PureForm,

From what I can see the specific set of parameters have a high Sortino Ratio. I assume that is the reason you have a high fitness value as well. Can you remove it from the criteria and try again?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jun 2019, 10:22

Hi Gareth,

Thanks for your nice feedback. The step size for each symbol is a decision made by the broker, not by us.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jun 2019, 10:21

Hi Matt, 

This property tells you how many bars are on the chart. You cannot use it to dictate which bars will be shown. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jun 2019, 10:11

Hi GoldnOil750,

To resolve point 2, just close all cTrader instances, go to Documents\cAlgo\API, delete the contects and reload cTrader v3.3 and rebuild your cBot.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jun 2019, 10:08

Hi aboukerker,

You should contact myfxbook.com regarding this issue.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Jun 2019, 12:53

Hi cysecsbin.01,

The displayed time is the candle's opening time which at each case is Thursday at 23:00. The closing time is Friday 23:00 and no new candle is created on Friday. This is why you think the candle is missing.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Jun 2019, 11:34

Hi gastaodm,

This is by design. Chart linking does not work when cBots are running on a chart since in this case you cannot change the chart's symbol and timeframe.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Jun 2019, 10:07

Hi enrikeyo,

Thanks for posting in our forum. The reason you get this behavior is because the indices do not match. Here is the correct way to do it.

using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
using System.Collections.Generic;

namespace cAlgo
{
    [Indicator(TimeZone = TimeZones.UTC, AutoRescale = false, AccessRights = AccessRights.None)]
    public class Incidencia : Indicator
    {

        [Output("Resultado", Color = Colors.Crimson, PlotType = PlotType.Line)]
        public IndicatorDataSeries Resultado { get; set; }

        private MarketSeries marketSeriesXAUUSD;

        protected override void Initialize()
        {
            // Serie del XAUUSD
            this.marketSeriesXAUUSD = MarketData.GetSeries(MarketData.GetSymbol("XAUUSD"), MarketSeries.TimeFrame);
            Print("Inicializado ");
        }

        public override void Calculate(int index)
        {
            // Print(this.marketSeriesXAUUSD.SymbolCode);
            Resultado[index] = this.marketSeriesXAUUSD.Close[marketSeriesXAUUSD.OpenTime.GetIndexByTime(MarketSeries.OpenTime[index])];
        }

    }
}

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jun 2019, 17:41

Hi lec0456,

dotTrace is a nice tool for such investigations.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jun 2019, 09:25

Hi hsbcstor,

I just tried with the demo application and everyting seems to work fine. Can you still reproduce the issue?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jun 2019, 09:22

Hi kevin2,

Thank you for posting in our forum. If you need help with your indicator you can consider posting a Job or contacting a Consultant.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jun 2019, 14:42

Hi M B,

Thanks for posting in our forum. When you draw an object on the chart, the is kept when symbols and timeframes change. If you need a clear chart for a new symbol, just open a new chart.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jun 2019, 12:18

Hi FireMyst,

Each provider has his own set of backtesting tick data and that is probably the reason for this behavior. Since the indicator is sensitive to each tick information received then I would expect different results on different brokers.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jun 2019, 10:24

Hi FireMyst,

We have investigated this issue. The reason this happens is that during Visual Backtesting chart and the indicators added to it receive a subset of all the ticks in backtesting. The number of lost ticks depends on backtesting speed and this a necessary compromise to achieve acceptable speed. However this does not come without side effects and this is one of them. For this specific indicator all ticks matter since the value for each bar is calculated for each index using the median price of the trend bar. If you miss one tick in a bar somewhere in the middle, indicator would have a different value than in case you calculate it on every tick. You should not experience this issue in silent backtesting or on during live execution.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jun 2019, 09:41

Hi stevennjuki,

Which cTrader do you use to build the cBot? Did you download Spotware Beta cTrader?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jun 2019, 09:27

Hi stevennjuki,

Can you share the cBot code with us?

Best Regards,

Panagiotis


@PanagiotisCharalampous