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

PanagiotisCharalampous
10 Mar 2020, 08:27

Hi scotpip,

Can you please try cleaning your Backtesting Cache (C:\Users\UserAppData\Roaming\broker cTrader\BacktestingCache) and and let us know if it resolves the issue?

Best Regards,

Panagiotis 

Join us on Telegram

 

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 16:31

Hi Tj11,

Green and Red arrows indicate deposits and withdrawals respectively. See the legend.

Best Regards,

Panagiotis 

Join us on Telegram

 

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 16:21

Hi BenjaminR, 

See below

MarketData.GetBars(AnotherTimeFrame, Symbol.Name);

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 14:46

Hi Tj11,

You can write a function with a switch statement that does the conversion. See an example below

        private TimeFrame GetTimeFrameFromString(string timeframeString)
        {
            switch (timeframeString)
            {
                case "Hour":
                    return TimeFrame.Hour;
                    // .
                    // .
                    // .
                    // .
                    // .
                    // .
                    // .
                    // .
            }
            return TimeFrame.Hour;
        }

 

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 12:11

Hi noeyamn,

You did not answer my question.  Why do you add references manually? I installed SQLite using Package Manager and I have no problems. See below

Everything seems fine and the cBot builds without a problem.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 11:56

Hi light96,

Can you please post the cBot code and steps to reproduce the problem?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 09:50

Hi Peter,

Please note the following.

1) If your account size is smaller than the strategy provider's account then the equity to equity ratio might not be able to be kept due to restrictions like minimum volume allowed to be traded. From what I can see from the screenshots, your account is substantially smaller from your strategy provider's account while the strategy provider is opening positions using the minimum volume. This can result to greater exposure for your account.

2) Greater exposure can also be caused by different leverage settings. Please make sure you are using the same leverage as your strategy provider.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 09:25

Hi Peter,

For execution issues, you should contact your broker.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 09:24

Hi KeatonLukas,

Thanks for reaching out. Unfortunately there is no such option at the moment.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 09:22

Hi acrigney,

To delete an account, you need to contact your broker.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 09:16

Hi Jani,

You do the substitution but you do not change the line below to

 dataseries = MarketData.GetSeries(Symbol, AnotherTimeFrame);

to 

dataseries = MarketData.GetBars(AnotherTimeFrame, Symbol.Name);

Here is the updated code

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


namespace cAlgo.Indicators
{

    [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class HighestHighLowestLow2 : Indicator
    {

        [Parameter(" Period", DefaultValue = 10, MinValue = 1)]
        public int Period { get; set; }

        [Parameter(" Timeframe")]
        public TimeFrame AnotherTimeFrame { get; set; }

        [Output("Close Up", LineColor = "Red")]
        public IndicatorDataSeries CloseUp { get; set; }

        [Output("High", LineColor = "Pink")]
        public IndicatorDataSeries High { get; set; }

        [Output("Close Down", LineColor = "Blue")]
        public IndicatorDataSeries CloseDown { get; set; }

        [Output("Low", LineColor = "Aqua")]
        public IndicatorDataSeries Low { get; set; }

        public Bars dataseries;
        // public Bars dataseries;

        protected override void Initialize()
        {

            dataseries = MarketData.GetBars(AnotherTimeFrame, Symbol.Name);
            // dataseries = MarketData.GetBars(Symbol, AnotherTimeFrame);
        }

        public override void Calculate(int index)
        {
            // Top[index] = MarketSeries.High.Maximum(PeriodsHigh);
            //Bottom[index] = MarketSeries.Low.Minimum(PeriodsLow);

            High[index] = dataseries.HighPrices.Maximum(Period);
            //High[index] = dataseries.Bars.HighPrices.Maximum(Period);

            CloseUp[index] = dataseries.ClosePrices.Maximum(Period);
            CloseDown[index] = dataseries.ClosePrices.Minimum(Period);
            Low[index] = dataseries.LowPrices.Minimum(Period);
        }
    }
}

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 09:10

Hi Vipin,

The error indicates that you are doing something wrong in your code. Please share the cBot code so that we can have a look.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 09:03

Hi g4ryjones,

Check here.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 09:01

Hi ulises.guerrero,

From your description it seems that the stop limit order is sent but it cannot be executed due to the strict market range you set. Regarding the second post, you cannot do this with a stop limit order. You need to program a cBot that will place a limit order when the condition is met.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 08:55

Hi there,

Can you please explain what do you mean with "fixed charts position"?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 08:49

Hi Peter,

cTrader Copy works on an equity to equity model. The size of the positions is relevant to your account size. You can read more information here. If you still have questions, please provide us more information like your account size, the strategy provider's account size and the relevant positions. Please post screenshots wherever applicable.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
09 Mar 2020, 08:45

Hi Peeranut.c21,

You can always set a stop loss at the point where the stop out level is reached and exit the trade.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
06 Mar 2020, 09:55

Hi Steve,

Make sure you have installed Telegram first. You can also find brokers here.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
06 Mar 2020, 09:45

Hi Steve,

Thanks for your encouraging feedback. The selection of symbols is a matter of the broker and not the platform. cTrader supports stocks CFDs and there are brokers that offer them. Join us on Telegram and the community can recommend you some.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
06 Mar 2020, 08:40

Hi cryptlabs,

You can always disable Single-Tab mode from Settings > Quick Trade.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous