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

PanagiotisCharalampous
16 May 2024, 05:45

RE: RE: RE: RE: Account Margin not resetting when backtesting bot

Phluxxed said: 

PanagiotisCharalampous said: 

Phluxxed said: 

PanagiotisCharalampous said: 

Hi there,

Please provide us with dates, cBot parameters and backtesting settings so that we can reproduce this behavior on backtesting. Also share some screenshots demonstrating these positions.

Best regards,

Panagiotis

Parameters are the default ones built into the bot as it's just an example and it's what I used to replicate. Back testing was a number of markets (forex, spot metals, spot indices, crypto, whatever else I tested it on) and dates are anything available in the range of 2013 - now that runs for longer than 100 trades. Tested on both 1m, the 2h and 15m charts I was testing on and tick data. 

See below to show that the balance and equity is basically full but margin is more than the balance of the account:

And then you can see here the only position I have open is minimum lot size:

Thanks Vik, 

We managed to reproduce the problem and it will be fixed in an upcoming update.

Best regards,

Panagiotis

Ah fantastic, glad to see it wasn't something I was doing! You got a rough timeframe on when that update may be? 

Unfortunately we do not have a timeframe at the moment


@PanagiotisCharalampous

PanagiotisCharalampous
16 May 2024, 05:44

RE: RE: New Bot

serebryana3 said: 

PanagiotisCharalampous said: 

Hi there,

Can you record a video demonstrating the exact steps you are following to encounter this issue?

Best regards,

Panagiotis

Hi there, 

Here is the link to video 

 

Thanks

 

 

Can you share the code you are pasting?


@PanagiotisCharalampous

PanagiotisCharalampous
16 May 2024, 05:42

Hi there,

Swap rates are charged by brokers. Please talk to your broker regarding this matter.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 May 2024, 05:38

Hi there,

Can you please explain to us why you think it's wrong?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 May 2024, 05:37

RE: RE: RET_INVALID_DATA error

iranmanesh.s said: 

PanagiotisCharalampous said: 

Hi there,

There is a known issue with host names in cTrader Desktop. Try to get your host name from cTrader Web.

Best regards,

Panagiotis

I did try but still get the same error :-(

 

Are username and password correct? Did you try using the .Net example? Do you get the same issue?


@PanagiotisCharalampous

PanagiotisCharalampous
16 May 2024, 05:33

Hi there,

No there is no such option for traders.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2024, 12:32

RE: RE: Account Margin not resetting when backtesting bot

Phluxxed said: 

PanagiotisCharalampous said: 

Hi there,

Please provide us with dates, cBot parameters and backtesting settings so that we can reproduce this behavior on backtesting. Also share some screenshots demonstrating these positions.

Best regards,

Panagiotis

Parameters are the default ones built into the bot as it's just an example and it's what I used to replicate. Back testing was a number of markets (forex, spot metals, spot indices, crypto, whatever else I tested it on) and dates are anything available in the range of 2013 - now that runs for longer than 100 trades. Tested on both 1m, the 2h and 15m charts I was testing on and tick data. 

See below to show that the balance and equity is basically full but margin is more than the balance of the account:

And then you can see here the only position I have open is minimum lot size:

Thanks Vik, 

We managed to reproduce the problem and it will be fixed in an upcoming update.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2024, 07:38

RE: RE: RE: RE: RE: RE: RE: RE: RE: Issue in "Modifying" Positions/Pending Orders in Ctrader Desktop

sivajimarketwizard said: 

PanagiotisCharalampous said: 

sivajimarketwizard said: 

Spotware said: 

sivajimarketwizard said: 

sivajimarketwizard said: 

PanagiotisCharalampous said: 

sivajimarketwizard said: 

PanagiotisCharalampous said: 

Hi there,

Can you share a screenshot demonstrating what you are looking at?

Best regards,

Panagiotis

When attempting to click on "Modify Position," there's no response or display. The same issue occurs when trying to click on "Modify Order" for Pending Orders. Overall, the "Modify" function isn't functioning.

Hi there, 

Make sure the form does not open on an external display that has been disconnected. Try also restarting cTrader and your pc.

Best regards,

Panagiotis

I tried everything you mentioned. I've been facing the issue for 10 days. So, in between, I switched off my laptop many times. I don't think it's a problem with the PC. Also, I reinstalled cTrader. But still facing the same issue. Just don't know how to solve it. Desperately need help brother.

The issue is still not resolved.Kindly have a look at this. 

Hi there,

Can you please record a video demonstrating this happening? Also in the video, please show the Display Settings open showing that there is only one screen used by your computer.

Best regards,

Panagiotis

How can I send the video here related to the problem ? It is not accepting files from my PC and even Google drive link 

Hi there, 

If you have trouble sending a video, please send it to community@ctrader.com

Best regards,

Panagiotis

I have already sent them an email regarding the issue, but I have not received any reply.
Here is the screenshot
I urgently need assistance; I have been dealing with this issue for quite some time now.

Hi there,

Can you try closing cTrader, removing all contents from this folder and restart cTrader? Let me know if it resolves the problem.

c:\Users\user_name\AppData\Roaming\Spotware\

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2024, 05:56

Hi there,

You should contact a prop trading firm regarding this.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2024, 05:56

Hi there,

You should contact a prop trading firm regarding this.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2024, 05:43

Hi there,

You can set the visibility of your strategy when you create it

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2024, 05:38

Hi there,

There is a known issue with host names in cTrader Desktop. Try to get your host name from cTrader Web.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2024, 05:24

RE: RE: MacOS App Backtesting

cBotTrader said: 

PanagiotisCharalampous said: 

Hi there,

Backtesting is not available yet, it will be delivered in an upcoming update.

Best regards,

Panagiotis

Hi,

There are a few months already. Can we get an estimated date for backtesting in macOS?

Thanks!

Unfortunately we do not have an ETA at the moment.


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2024, 05:23

Hi there,

Can you record a video demonstrating the exact steps you are following to encounter this issue?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 May 2024, 05:21

RE: RE: Help for " result"

obus79 said: 

PanagiotisCharalampous said: 

Hi there,

Your question is not clear. Please explain what you think is wrong and how you would like it to be corrected.

Best regards,

Panagiotis

hi, the code written as follows is not correct and I don't understand how to fix it. I used " Indicator.GetIndicator<> " as it is a custom indicator. I removed ".Result " but I need to manage the value of Result somewhere...

Does the indicator have a Result property? Can you share the indicator's source code?


@PanagiotisCharalampous

PanagiotisCharalampous
14 May 2024, 05:57

RE: RE: Bot stops working after Reconnect

dreampunchboy said: 

scherli said: 

Hello everyone

I have the same problem, my bots (running on ctrader-cli) stop once a week without visible reason, with or without lost connection. I help myself with writing timestamps to a logfile and having a watchdog process, that restarts the cbot when the log entries don't occure anymore.

Greetings
scherli

 

I've been experiencing this almost every morning when I check the CLI processes.
“Attempting to reconnect” while everything else is still open and running. CTrader open and connected, MT5 connected and running.

@Spotware can you please have a look at this?

Hi there,

We would need more information regarding this matter. Also this seems to be a separate issue so please do the following

  1. Create a new thread with a clear explanation of your issue
  2. Provide your cBot code.
  3. Provide us with exact steps on how to reproduce this problem.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 May 2024, 05:51

Hi there,

Please provide us with dates, cBot parameters and backtesting settings so that we can reproduce this behavior on backtesting. Also share some screenshots demonstrating these positions.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 May 2024, 05:48

RE: RE: referencing an custom Indicator

bernhardCM said: 

PanagiotisCharalampous said: 

Hi xabbu,

You are passing wrong parameters in the indicator. Here is the correct way to initialize it

 _sma = Indicators.GetIndicator<SampleSMA>(MarketData.GetBars(TimeFrame.Daily).ClosePrices, 14);

Best Regards,

Panagiotis 

Join us on Telegram

 

Hi Panagiotis,

is there a particular indicator calculation order or could we influence it, e.g. by priorities?

In the example mentioned above the custom indicator “NNFXInfosonChart” uses the values of custom indicator “SampleSMA”, but how we can make sure that SampleSMA.LastValue is belonging to current Index (Index of NNFXInfosonChart.Calculation(THIS_INDEX)) and not to the previous index when retrieved in NNFXInfosonChart.Calculation-method?

Thank you so much.

Best regards,

Bernhard

LastValue is always the value of the last index, since the Calculate() method is called when you call the property.


@PanagiotisCharalampous

PanagiotisCharalampous
14 May 2024, 05:45

Hi there,

Did you add a reference to the indicator?

https://help.ctrader.com/ctrader-automate/articles/for-developers/how-to-use-custom-indicators-in-cbots/

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 May 2024, 05:43

RE: RE: RE: RE: RE: RE: RE: RE: Connecting C-trader desktop to mongodb

said.moridi said: 

said: Thanks for the tips. Got the connection working. Only not plotting data. I think becouse I need to write a code to tell the database what data to send. Any tips or example python code?

I am not familiar with MongoDB, neither I understand what you are trying to do, sorry.


@PanagiotisCharalampous