Replies

PanagiotisCharalampous
29 Jan 2019, 10:20

Hi darcome,

You can find some here. cTrader Copy support is mentioned below each broker.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2019, 10:17

Hi Alex,

This is not possibe via the UIs. You can do this using a cBot.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2019, 10:13

Hi fxatee.786,

Thank you for posting in our forum. In cTrader Copy, results are not guaranteed and may not match those of the Strategy Provider for the following reasons

  1. The entry and exit prices of your positions differ to those of the Strategy Provider.
  2. The size of your positions differ to those of the Strategy Provider.
  3. The commissions you pay to your broker differ to those of the Strategy Provider.
  4. Your broker does not offer the same symbols which are being traded in the strategy.
  5. You did not have enough margin to follow some of the orders placed in the strategy.
  6. You may have a different Stop-Out Level causing your account to be stopped out, while the Strategy Provider continues to trade.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Jan 2019, 12:59

Hi FMogyi,

Hopefully enum parameters are coming in v3.5 which will be released on Spotware Beta in the following weeks.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Jan 2019, 12:56

Hi ctid711538,

We do not dispute that you experience the problem. However hundreds of cBots are optimized daily and we have not received such a report. Therefore the issue must be very specific. Investigating a problem we cannot reproduce which happens executing code we cannot have is like searching a needle in a haystack. If you can reproduce the problem with another cBot e.g. one of the sample cBots, we would be happy to have a look.

Best Regards,

Panagiotis

 

 


@PanagiotisCharalampous

PanagiotisCharalampous
28 Jan 2019, 12:18

Hi Amanuel,

Depending on when you want to close the positions, you can move the code into OnBar or OnTick methods or even call it based on a custom interval using the Timer property. See below an example.

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

namespace cAlgo.Robots
{
    [Robot()]
    public class CloseProfitablePositions : Robot
    {
        protected override void OnBar()
        {
            foreach (var position in Positions)
            {
                if (position.GrossProfit > 0)
                {
                    ClosePosition(position);
                }
            }
        }
    }
}

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Jan 2019, 12:13

Hi Alex,

Can you post a screenshot so that I can understand what you mean?

Best Regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
28 Jan 2019, 12:06

Hi tgjobscv,

For now it is not possible. Maybe you can contact Autochartist with this suggestion.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Jan 2019, 11:55

Hi Kai,

Thanks for reporting this. We will check it.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Jan 2019, 11:50

Hi ctid711538,

Unfortunately without a cBot that reproduces the problem, it is not easy to guess what the problem could be. Especially when most of the optimization process is related with the execution of the cBot code itself. We first need to eliminate the possibility that this behavior is caused by the cBot code.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jan 2019, 17:18

Hi Piotr,

It is not impossible but there is no easy way to do it using the API. The API will return you the final RSI value calculated for that bar at the end of the bar. Intermediary values are not available. Therefore you will need to manually calculate the RSI by getting estimated bid and ask prices from the minutes timeframe.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jan 2019, 15:52

Hi pmcarvalho,

FxPro does not offer the latest version of cTrader yet. You will have to wait a bit more.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jan 2019, 12:09

Hi ctid711538.

Can you share the cBot? Also it is not clear what do you mean with highest pass number. Can you explain?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jan 2019, 12:01

Hi ctid711538,

It is for loading symbol parameters, leverage information conversion rates and other information related to the symbol.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jan 2019, 10:19

Hi oons,

I suggest that you keep the direction of the latest position in a variable. Then, when a position is closed, you will know what was the last direction and you will be able to make the respective decisions i.e. to open a position only in the opposite direction. Let me know if this helps.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jan 2019, 10:01

Hi ctid711538,

The grey area indicates the values of the equity during the specific time period. If it is not greyed then it means the equity did not have these values during that period.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jan 2019, 09:56

Hi Piotr,

You can use GetIndexByTime to find values of the indicator for specific time. See below an example for getting the RSI value for 5 hours before

rsi.Result[ts.OpenTime.GetIndexByTime(Server.Time.AddHours(-5))

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jan 2019, 09:47

Hi pmcarvalho,

Try the below

ModifyPosition(p, Math.Round(priceSL.Value, Symbol.Digits), null)

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Jan 2019, 09:42

Hi pmcarvalho,

Which version of cTrader do you use? This function is available in v3.3 and above.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Jan 2019, 14:26

Hi shrumr,

Did you lose your work because of a bug in cTrader or because you accidentally deleted them? If it was a bug, it would be helpful if you could assist us reproducing such a behavior.

Best Regards,

Panagiotis


@PanagiotisCharalampous