PanagiotisCharalampous's avatar
PanagiotisCharalampous
26 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
10 Oct 2024, 10:41

RE: RE: RE: Backtester/Optimiser not matching with same parameters

davidrob said: 

davidrob said: 

PanagiotisCharalampous said: 

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

Hi, Thanks your response, I will try a third evening to figure this issue out, starting from scratch on a different cBot, and report back.

Ok, another couple of hours and I managed to reproduce the issue. I am sure it is a bug (I am a programmer myself). Two solid pages of notes in fine print… I will try to best explain it, maybe you can reproduce it. I am old to debugging, but new to forums, so please advise if I should do something differently. 

1.

Hi there,

There is no information in your message.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Oct 2024, 10:40

RE: RE: RE: from price to %

kralkundicek said: 

fonziinator said: 

patrik.skate said:

Or please add another function - from price to % .. If you made 1% or lost 1%

any update???

 

update?????

What update do you need?


@PanagiotisCharalampous

PanagiotisCharalampous
10 Oct 2024, 07:04

When the price of US30 is 40,000, I buy US30 using ExecuteMarketRangeOrderAsync(TradeType.Buy, US30, lot, 10, Symbol.Ask + 100, MyLabel, stopLoss, stopLoss * 10, comment); my base price should be 40,100, and the range pips are 10 points. In theory, the transaction should only be executed when the ask price reaches 40,099 or 40,101, but in practice, it is executed immediately. Why is this RANGE restriction ineffective?

Hi there,

No, this is not how it works. Market orders are executed immediately. This is way they are called market orders. If you need a pending order use a Stop Limit order.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Oct 2024, 06:59

Hi there,

This will be added in a future update of the application.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Oct 2024, 06:57

RE: RE: Bars.LoadMoreHistory() in backtesting

dudavianna said: 

PanagiotisCharalampous said: 

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

Thanks a lot!

One additional question: Previously, the Bars.OpenTimes.Count method brought more than 3,000 candles to the index. Today, I notice it is only bringing 200.

Has there been any change?

No there was no change. 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Oct 2024, 06:56

RE: RE: Read Market Data

Chat GPT write it.

:)

If you don't know how to code, it's better to assign the job to a professional developer. This code is nonsense.


@PanagiotisCharalampous

PanagiotisCharalampous
10 Oct 2024, 06:55

RE: RE: Créer une nouvelle fenêtre de commande

ulric.selame said: 

PanagiotisCharalampous said: 

Hi there,

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

Best regards,

Panagiotis

Hello, When I try to create a new order, nothing happens. I can't find a way to open the new order window, the only way to open trades is to use the gadget in the chart.

An error message is displayed


 

Hi there,

Please share screenshots/videos so that we can see what you are doing and what error you receive.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Oct 2024, 06:53

Hi there,

Yes it is. If you google it you will find some already developed.

Best regards,

Panagiotis


@PanagiotisCharalampous

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