Replies

PanagiotisChar
31 Oct 2023, 07:25

Hi there,

Sounds more like a problem with your cBots. Spotware cannot control the quality of the cBot code you run. You should try to optimize them. Else share your cBot code and exact steps how someone can reproduce your problem


@PanagiotisChar

PanagiotisChar
31 Oct 2023, 07:24

Hi there,

I don't think Spotware will adjust this for one user. Maybe just configure your firewall instead


@PanagiotisChar

PanagiotisChar
31 Oct 2023, 07:18

Hi there,

You should contact your broker about this


@PanagiotisChar

PanagiotisChar
31 Oct 2023, 07:16 ( Updated at: 21 Dec 2023, 09:23 )

RE: RE: New bug

myles213 said: 

PanagiotisChar said: 

Hi there,

To receive assistance you need to share more information e.g. cBot code, optimization parameters, broker etc, so that somebody can reproduce the problem

I am using a ADMI Gaming PC: Intel i5 11400F 4.4Ghz Turbo SIX Core, RTX 3050 8GB, 16GB 3200MHz RAM, 1TB NVME SSD, Flash Case, 600MBps Wifi, Win 11

i cannot get any optimisation results other than 0 values,

i have changed every setting possible and still nothing,

i am on version 4.9.1,

i have updated drivers, 

the first image backtesting works just fine, but the second is optimisation and it never works. 

any help please?

 

 

Hi there,

You need to follow my suggestion above. Try clicking on pass and check the log in case there is any useful message.


@PanagiotisChar

PanagiotisChar
30 Oct 2023, 07:13

Hi there,

There is no magical solution to this. This is how martingales work and eventually they blow up the account


@PanagiotisChar

PanagiotisChar
30 Oct 2023, 06:47

Hi there,

Try changing 

bars.BarOpened += OnBarsBarOpened();

to

bars.BarOpened += OnBarsBarOpened;


@PanagiotisChar

PanagiotisChar
30 Oct 2023, 06:42

Hi there, 

You can try something like this

Bars.HighPrices.Take(Bars.HighPrices.Count-2).Skip(Bars.HighPrices.Count-5).Max()


@PanagiotisChar

PanagiotisChar
30 Oct 2023, 06:38 ( Updated at: 23 Jan 2024, 13:14 )

Hi there, 

You can use [myfxbook.com] which is integrated with cTrader.


@PanagiotisChar

PanagiotisChar
30 Oct 2023, 06:37

Hi there,

To receive assistance you need to share more information e.g. cBot code, optimization parameters, broker etc, so that somebody can reproduce the problem


@PanagiotisChar

PanagiotisChar
28 Oct 2023, 05:56

RE: RE: Optimization broken on AMD processor

logitech said: 

PanagiotisCharalampous said: 

Hi mpistorius,

It seems there is a general issue with AMD processors. We are currently investigating this.

Best Regards,

Panagiotis 

Join us on Telegram

 

Has the issue with AMD processors been resolved?

It's been four years, nobody reports any problem at the moment


@PanagiotisChar

PanagiotisChar
28 Oct 2023, 05:55

Hi there,

Your code does not check for crosses anywhere. It just checks if one average is above the other. If you want to check for crosses e.g. wwsHigh33 crosses above wwsHigh144, your condition should look like this

bool crossedAbove = wwsHigh33.Result.Last(1) > wwsHigh144.Result.Last(1) && wwsHigh33.Result.Last(2) < wwsHigh144.Result.Last(2)


@PanagiotisChar

PanagiotisChar
27 Oct 2023, 06:04

Hi there,

You get heartbeats from the server, why do you need a ping?


@PanagiotisChar

PanagiotisChar
27 Oct 2023, 06:03

Hi there,

In order to get assistance, you should share your cBot code first. Then explain how can somebody reproduce your problem

 


@PanagiotisChar

PanagiotisChar
27 Oct 2023, 05:58

Regarding the second part of the question, I am not sure, maybe Spotware can clarify


@PanagiotisChar

PanagiotisChar
27 Oct 2023, 05:52

Hi there,

Unfortunately I am not aware of the internal infrastructure at Spotware at the moment.

 


@PanagiotisChar

PanagiotisChar
27 Oct 2023, 05:50

Hi Hansen,

Maybe it is better to provide a specific example demonstrating what you are looking at, since what you write is not true

  1. debug any indicator, you will see Calculate method only receive OLHC data when the bar is closed. 

This is not how it works. Calculate is called once for every historical bar and on every tick for the current bar. If you keep executing the Calculate until the bar is closed, then the value for the current bar will become equivalent to the closed bar.

  1. debug any cbot, you will see OnBar method will receive two tick OLHC data, first one occur when the bar is open, second one close the bar.

OnBar is called once every time a new bar is opened.


@PanagiotisChar

PanagiotisChar
26 Oct 2023, 05:47 ( Updated at: 26 Oct 2023, 09:48 )

Hi there,

Try sending some troubleshooting information to Spotware the next time this happens. Paste a link to this discussion inside the text box before you submit it.


@PanagiotisChar

PanagiotisChar
26 Oct 2023, 05:44 ( Updated at: 26 Oct 2023, 05:46 )

RE: Keeps Freezing

davidmilkov said: 

Hey, 

Any chance to have an bug fix for cTrader Desktop 4.8.28 from freezing all the time?. 

Kind of gets annoying

Kind, Regards

Hi there,

Try sending some troubleshooting information to Spotware the next time this happens. Paste a link to this discussion inside the text box before you submit it.


 


@PanagiotisChar

PanagiotisChar
26 Oct 2023, 05:41

Hi there,

This is normal. Each broker has his own liquidity sources, therefore differences are expected.


@PanagiotisChar

PanagiotisChar
25 Oct 2023, 07:01

Hi there,

I tried this in the WinForms app and it works fine. Make sure your timestamp is correct, it should be in UTC time

        private void btnSendLimitOrder_Click(object sender, EventArgs e)
       {
           var message = new ProtoMessage
           {
               Payload = new ProtoOANewOrderReq
               {
                   CtidTraderAccountId = _accountID,
                   SymbolId = 1,
                   TradeSide = ProtoOATradeSide.Buy,
                   Volume = 100000,
                   OrderType = ProtoOAOrderType.Limit,
                   LimitPrice = 1.05,
                   TimeInForce = ProtoOATimeInForce.GoodTillDate,
                   ExpirationTimestamp = ((DateTimeOffset)DateTime.Now.AddDays(1)).ToUnixTimeMilliseconds(),
               }.ToByteString(),
               PayloadType = (int)ProtoOAPayloadType.ProtoOaNewOrderReq,
           };

           Transmit(message);
       }


@PanagiotisChar