Replies

PanagiotisCharalampous
16 Apr 2019, 16:10

Hi FireMyst,

Thanks, our team is looking into it.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 20:20

Hi micderaj,

Seems like a non repainting to me.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 20:10

Hi Ly,

There is no such feature at the moment but we consider adding it in a future update.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 20:09 ( Updated at: 21 Dec 2023, 09:21 )

Hi dalinar,

There is nothing special you need to do. Just add on the charts as many cBots as you want using the cBot button on the left of the chart.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 18:45

Hi FireMyst,

Can you please share with us the cBot code so that we can reproduce these results?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 17:18

Hi Mr4x,

The condition to check the spread before executing orders is the following

            if ((Symbol.Ask - Symbol.Bid) / Symbol.PipSize > MaxSymbolSpreadInPips)
            {
                   //Please your trades
            }

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 17:13

Hi dominhtri1995,

Cached data for cBots and indicators are updated whenever new data is available, if this is what you mean. If not please elaborate on what the issue is since your explanation is not very clear.

Best Regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 13:31

RE: RE:

jani said:

Spotware said:

The algo files are encrypted but we cannot disclose the encryption algorithm.

Can you decompile any algo file?

Hi Jani,

No you cannot.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 13:31

Hi a.fernandez.martinez, 

The reason you are getting the errors is that you are using Account and MarketData properties in a class where they do not exist. These properties exists only in classes inheriting from Robot. If you want to use them in Currency class you should pass them as parameters.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 13:26

Hi pejman101,

There are several errors in your code. See below

 

        #region Indicator declarations
 
        private WeightedMovingAverage { get; set; }
 
        #endregion

?

You don't declare any parameter name here

        /// <summary>
        /// This is called when the robot first starts, it is only called once.
        /// </summary>
        protected override void OnStart()
        {
            // construct the indicators
            wma = Indicators.WeightedMovingAverage(SourceSma1, PeriodsSma1);
        }

PeriodsSma1 is not defined anywhere

 

 if (wma.Result.LastValue.HasCrossedAbove)
            {
                // if there is no buy position open, open one and close any sell position that is open
                if (!IsPositionOpenByType(TradeType.Buy))
                {
                    OpenPosition(TradeType.Buy);
                }
 
                ClosePosition(TradeType.Sell);
            }
 
            // if a sell position is already open and signal is buy do nothing
            if (wma.Result.LastValue.HasCrossedBelow)
            {
                // if there is no sell position open, open one and close any buy position that is open
                if (!IsPositionOpenByType(TradeType.Sell))
                {
                    OpenPosition(TradeType.Sell);
                }
 
                ClosePosition(TradeType.Buy);
            }

?HasCrossedAbove and HasCrossedBelow are not used properly. See here and here how to use them.

 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 13:12

Hi FireMyst,

Backtesting is a simulation of the trading on your machine. It does not communicate with the server and it does not account for all possible parameretes of a cBot's runtime. The specific error is sent by the server where the checks are a bit more strict. I would advise you to test your cBots on a demo account as well before moving to a live trading account.

Best Regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 13:08

Hi kalaivani.ram1982@gmail.com,

Please talk to your broker regarding this message.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 13:07

Hi DontAlgoMe,

cTrader supports workspaces. You can read more information about the feature here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 13:05

Hi lec0456,

We cannot provide an explanation for this. This is exclusively the broker's decision. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 13:02

Hi Forex Trader,

Our development team is checking this issue.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Apr 2019, 13:01

Hi irmantas1981,

I am not sure what your broker means but cTrader FIX API works the same way as any other FIX API. It is an API and you will need to develop an inteface to work with it.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2019, 17:48 ( Updated at: 23 Jan 2024, 13:15 )

Hi dominhtri1995,

Ability to change symbol and timeframe have been added to v3.5. Read more [here].

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2019, 17:39

Hi reza h,

You need to contact your broker.

Best Regards, 

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2019, 17:31

Hi Shaktale,

Thanks for posting in our forum. We have plans to implement OCO orders but we still do not have an ETA for this feature.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Apr 2019, 17:29

Hi Forex Trader,

What is the exact problem? Do you get any messages? Can you post a screenshot?

Best Regards,

Panagiotis


@PanagiotisCharalampous