Replies

PanagiotisCharalampous
16 Aug 2021, 08:59

Hi coln,

You need to reach out to your broker to create a new live account for you on the same white label as the strategy providing account.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2021, 08:57

Hi tperalta82,

No there is no such option at the moment.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2021, 08:52

Hi mulia.adityan,

Did you try installing using a VPN or a VPS?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2021, 08:51

Hi Gholamia252,

Here you go

            if (History.Last().TradeType == TradeType.Buy)
            { 
            
            }
            else
            { 
            
            }

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2021, 08:47

Hi mywebsidekicks,

This happens because you get the positions before you open a buy position. See below a better way to do this.

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

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

        private RelativeStrengthIndex _rsi;

        protected override void OnStart()
        {
            _rsi = Indicators.RelativeStrengthIndex(SourceSeries, 14);
        }

        protected override void OnTick()
        {
            double rsi = _rsi.Result.Last(0);

            if (Positions.Find("b1") == null && Positions.Find("s1") == null && rsi < 30)
            {
                ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, "b1", 25, 35);
            }

            if (Positions.Find("b1") == null && Positions.Find("s1") == null && rsi < 30)
            {
                ExecuteMarketOrder(TradeType.Sell, Symbol, 10000, "s1", 25, 35);
            }
        }

        protected override void OnStop()
        {
            // Put your deinitialization logic here
        }
    }
}

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Aug 2021, 14:05

Hi cnguassaloca,

Can you share what you found so that we can see if it can be modified?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
13 Aug 2021, 14:04

Hi tron4sg,

Just uncheck this

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
11 Aug 2021, 11:30

Hi Vivek,

No ETA yet, sometime in autumn.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
11 Aug 2021, 11:29

Hi alexharr1son,

Can you please check if your issue is related to this thread?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
11 Aug 2021, 10:07

Hi Vivek,

This will be fixed in 4.2.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
11 Aug 2021, 08:10

Hi Tullius,

Then send us troubleshooting as soon as cTrader starts. Also please confirm that there are no custom indicators running on the chart.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
11 Aug 2021, 08:06 ( Updated at: 21 Dec 2023, 09:22 )

Hi terminalclub,

Make sure that Positions are ticked in Viewing Options

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
11 Aug 2021, 08:04

Hi rspcoaching,

What is the error you are getting? The maximum performance fee you can set is 30%.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
10 Aug 2021, 15:20

Hi ctid554584,

You could start from checking the firewall.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
10 Aug 2021, 15:18

Hi Tullius,

Can you try sending the troubleshooting information before the freezing starts?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
10 Aug 2021, 13:01

Hi ctid554584,

We managed to connect to atirager and the issue was with his network connection, which was affecting other sites as well. As far as I understand from the messages, it seems to be a similar issue. The application cannot connect to your server. You should check your network configuration.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
10 Aug 2021, 12:58

Hi Tullius,

If you are able to reproduce the issue without any cBots/Indicators running, please send us some troubleshooting information (press Ctrl+Alt+Shift+T when in cTrader) the next time this happens and paste the link to this discussion in the text box that will appear.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Aug 2021, 15:18

Hi Abstract,

Can you please provide us with the cBot source code and the optimization settings so that we are able to reproduce this problem?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Aug 2021, 10:09

Hi chatcpe,

Can you please share your cBot code so that we can investigate this issue?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
09 Aug 2021, 10:07

Hi atirager,

As per the previous post, we will need to arrange a TeamViewer session to inspect this issue on your computer. If you are able to give us access, please contact me at community@spotware.com or on Telegram.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous