Replies

PanagiotisCharalampous
05 Aug 2021, 08:27

Hi thecaffeinatedtrader,

The message is clear about what happened. You have not provided the complete source code therefore we cannot know what is the exact problem. However it seems that you do not distinguish anywhere buy positions from sell positions. This might be the source of your problem. See below

 var sellPositions = Positions.FindAll(Label);
var buyPositions = Positions.FindAll(Label);

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 15:25

Hi terrww2,

The host names will always be functional. They might not be the optimal at any given time but they will always work. This does not apply for IPs since the IP for each host name might change for any reason e.g. we decide to deploy the proxy on a different server, leaving your application without a connection.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 15:20

Hi terryww2,

Sorry for the typo, I meant 35=W. As you see in the last message, there's a 271 field, but not in the documentation for 35=W.

Indeed the tag seems to be missing from the documentation. We will add it.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 15:14

Hi terryww2,

Technically there is no issue. We just stream whatever the LP streams to us. If the actual amount seems weird, then you should address this to your broker.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 15:12

Hi terrww2,

That would be wise :)

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 14:46

Hi ctid554584,

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

PanagiotisCharalampous
04 Aug 2021, 14:21

Hi terrww2,

There is no such option at the moment.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 12:32

Hi ctid554584,

Can you record a video so that we can see what you are looking at?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 12:07

Hi ctid554584,

Can you please try a hard refresh of cTrader Web i.e. press Ctrl+F5 to refresh the page.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 10:12

Hi yaghouti,

At the moment commission information is not available in cTrader Automate API. Spread is not really relevant to this calculation since it is embedded in the actual price.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 08:23

Hi terrww2,

cTrader Desktop will connect to the lowest latency proxy at the time of loading. This is why you see proxies changing. We do not suggest to use the IP since it might change without notice.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 08:20

Hi terryww2,

we'd expect to first get order book snapshot and then updates (ticks)

Why would you expect this? Is it documented somewhere that it will work this way?

  Also the field MDEntrySize (271) isn't documented for 35=5 for some reason.

 35=5 is the logout message. Why would you expect a 271 tag?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
04 Aug 2021, 08:14

Hi terryww2,

Can you please explain why do you think the message is invalid?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Aug 2021, 14:23

Hi MujoiHaso,

Can you please let us know the strategy name and share some screenshots showing the open positions?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Aug 2021, 10:27

Hi TheMC,

As explained above, If you do not feel comfortable following such strategies, then just avoid them. However, there are strategy providers that require such a feature and investors that do not have a problem with this. There is no reason to forbid the two parties from engaging in such a relationship, just because some other investors don't like it.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
03 Aug 2021, 08:19

Hi Ali,

Check this indicator.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Aug 2021, 08:16

Hi TheMC,

This feature has been requested by many strategy providers and it is understandable that many providers don't want to disclose their open trades. If you do not feel comfortable following such strategies, then just avoid them.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Aug 2021, 08:11

Hi rongreudz,

cBots are executed on the client machine, therefore running them on a VPS would be advisable.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
02 Aug 2021, 16:33

Hi khoshroomahdi,

See an example below

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

namespace cAlgo
{
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class NewIndicator : Indicator
    {
        [Parameter(DefaultValue = true)]
        public bool ShowOnMain { get; set; }


        protected override void Initialize()
        {
            // Initialize and create nested indicators
        }

        public override void Calculate(int index)
        {
            if (ShowOnMain)
                Chart.DrawStaticText("Text", "Text", VerticalAlignment.Top, HorizontalAlignment.Right, Color.Red);
            else
                Chart.IndicatorAreas[0].DrawStaticText("Text", "Text", VerticalAlignment.Top, HorizontalAlignment.Right, Color.Red);

        }
    }
}

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
02 Aug 2021, 10:57 ( Updated at: 21 Dec 2023, 09:22 )

Hi salimshook,

Here it is 

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous