Replies

PanagiotisCharalampous
09 Oct 2024, 13:02

RE: RE: What is the best way to handle tick losses?

protraderde said: 

Thank you! I will inject into Connected and Disconnected events.

If i call GetBars after a connection, will it get updated versions of existing bars or just load more older bars?

Best

No it won't, it will just fetch the historical bars for you


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 12:19

Hi there,

Make sure that the backtesting settings are the same. 99% of the times it happened this to me it was caused by some oversight in my backtesing settings. If there is still a problem, then we will need to following information in order to reproduce the problem

  • cBot code
  • Optimization parameters file, symbol, timeframe and dates
  • The exact set of parameters for which the discrepancy is observed

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 12:13

RE: RE: cTrader Desktop 5.0.37 & 5.0.38 Release Notes

protraderde said: 

Hi,

Is this only for PC? Is there a mac version update as well?

Best

Yes this is for the Windows application. Release notes for Mac applications should be published separately.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 12:12

Hi there,

You can use GetBars() and GetTicks() to retrieve historical price information.

Server.IsConnected should let you know if there is a connection issue or not.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 12:00

RE: RE: STOP LOSS ADJUSTING ITSELF

neshtrader said: 

PanagiotisCharalampous said: 

Hi there,

Please provide more information about your issue. Where can we see this happening? Can you record a video demonstrating this behavior?

Best regards,

Panagiotis

Attached is a video showing this, it may not be clear on your end, was i a rush to record, from the clip you can see my SL level was 20061.19 when my order was triggered inclusive slippage the SL level was automatically adjusted to 20059.96, i had to edit the SL level to 20061.19. Also when editing an entry point to a new level for my stop orders, i have noticed that it adjusts the SL level too, for example if i add 10 pips/points to my estimated entry level, the SL adjusts its self by deducting 10 pips/points.

Hi Nesh,

The stop loss is always relative and it is placed at the relative distance specified in pips from the entry price.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 11:55

Hi there,

There is no such option at the moment in mobile applications.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 11:54

RE: RE: RE: RE: "TechnicalError" when trying to cancel a pending order

kyosuke said: 

PanagiotisCharalampous said: 

kyosuke said: 

PanagiotisCharalampous said: 

Hi there,

Please contact your broker regarding execution issues.

Best regards,

Panagiotis

Hi, I've already submitted the problem to the borker (IC Markets) which redirected me to you because they said “The error does not provide more details in order to investigate further from our side”.

There not much information for us either. If you can share your source code and steps to reproduce this issue, we are happy to have a look

Problem is not systematic, it can't be reproduced. The bot works well except once every X days this problem occurs and must be a server side problem. It is just happened again (twice):

The only thing I can notice is that, the hour is almost the same.

The portion of code which closes pending orders is quite simple:

foreach (var order in PendingOrders)	if (		order.Label == _BotLabel		&& order.SymbolName == SymbolName		&& order.Comment == Comment	) CancelPendingOrder(order);

Hi there,

It's hard to help you in the forum. The broker needs to check why the orders are not cancelled.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 11:51

Hi there,

Where did you find this code and why do you think it should work? Why are you sending http requests to the server?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 11:49

Hi there,

Please use English language and use screenshots/videos to explain your issue.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 05:36

Hi there,

Price feeds are different between the brokers hence discrepancies are expected and normal.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 05:35

Hi there,

It sounds like an issue with your network. You should check the issue with somebody responsible for the local network.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 05:32

Hi there,

Bars.LoadMoreHistory() does not work for backtesting at the moment. This feature will be added in a future release of cTrader.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 05:30

Hi there,

Can you please explain what do you mean when you say “frame”  and “transfer”? Can you share some code of what you are trying to do?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 05:29

Hi there,

Please share your cBot code and exact steps that would allow us to reproduce this issue.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 05:27

Hi there,

  1. You should ask Pepperstone if they provide the service or not
  2. Yes you can
  3. cTrader will map most popular symbols automatically

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 05:23

Hi there,

Please provide the code in a proper format so that we can easily copy/paste it and build it.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Oct 2024, 05:18

Hi there,

Please contact your broker regarding this matter.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Oct 2024, 12:50 ( Updated at: 08 Oct 2024, 12:51 )

RE: RE: Interesting Equity drawdown calculation in backtesting

protraderde said: 

Hi Panagiotis,

So, if before a single opening position, i had a balance of 10K. 

After closing this single position my balance becomes 15K.

And if i saw 5K as minimum equity while i have this position. 

What is my equity drawdown for this trade process?

I would expect to see 5K because i needed to have at least 5K available margin to keep this trade open.

Best

It depends on what was the highest equity reached


@PanagiotisCharalampous

PanagiotisCharalampous
08 Oct 2024, 10:58

Hi there,

In order to assist you with this issue we need the cBot's source code and steps to reproduce this behavior.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Oct 2024, 10:48

RE: RE: Plugin link to chart query

m4j4p4v4 said: 

PanagiotisCharalampous said: 

I select allow and nothing happens.
 

What do you expect to happen? Did you try clicking on the buttons after you pressed “Allow”?

Yea exactly that, pressed both a number of times. Also if I close the plugin and re-run it it doesn't prompt for access again unless I disabled it in the main plugin on/off area. I've tested this quite a few times. Something tells me the syntax isn't pointing to XAUUSD correctly. 

Many thanks :)

 

Hi there,

Check the Algo logs as well. There might be some useful information there as well.

Best regards,

Panagiotis


@PanagiotisCharalampous