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

PanagiotisCharalampous
19 Aug 2024, 05:14

Hi Raul,

The team confirmed this is a bug and it will be solved in an upcoming update.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
17 Aug 2024, 06:36

Hi there, 

In order to reference an indicator in your cBot, you would need to have the indicator's source code. It is not possible to reference an indicator that comes without source code.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 13:55

Hi there,

Send an email to development@clickalgo.com

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 13:54

RE: RE: RE: Account.Margin not correct : Unacceptable

ncel01 said: 

PanagiotisCharalampous said: 

ncel01 said: 

?

This issue has been fixed, it's been a while. I cannot reproduce it. Make sure you download historical data when you backtest.

 

Hi Panagiotis,

The values I get for the account margin are still not matching while backtesting the code above.
Are you backtesting an index? Probably not.

I selected the historical data, as suggested.
However, the account and symbol currency is the same (USD) and still I am getting different results when selecting/unselecting this option. Why?

I checked this with both Varianse and Pepperstone (using historial data).
Below is the backtest output with Varianse.

Hi ncel01,

Yes I do

 

However, the account and symbol currency is the same (USD) and still I am getting different results when selecting/unselecting this option. Why?

The functionality should work correctly when the option is checked. We are checking why it is not working when unselected and the quote currency matches the account currency. In the meanwhile, keep it checked.

 


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 13:51

Hi there,

Please share the indicator code and some screenshots so that we can check.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 12:43

RE: RE: RE: RE: HTTP requests with cBot Cloud instance

zinger6673 said: 

PanagiotisCharalampous said: 

zinger6673 said: 

PanagiotisCharalampous said: 

Hi there,

No, internet access is not permitted for cBots executed on the cloud.

Best regards,

Panagiotis

Thanks for the reply, If internet access is not permitted then why does it say here https://help.ctrader.com/ctrader-algo/synchronisation/requirements-for-cbots/#api-features that we can connect to a WebSocket server as long its port 25345. Is this article outdated or is it possible?
 

using System;using cAlgo.API;namespace cAlgo.Robots {    [Robot(AccessRights = AccessRights.None, AddIndicators = true)]    public class TESTlistenonly : Robot {        public WebSocketClient client;        public string uri;                protected override void OnStart() {            Print("attempting connection");            client = new WebSocketClient();            var uri = new Uri("wss://server:25345/");            client.Connect(uri);            Print("WebSocket connection opened");        }    }}

I have my own server running on port 25345 and it works on local execution but on the cloud it says this

There was no mention of web sockets in the initial post. Yes, it's possible to use web sockets through port 25345. Does your server listen to this port?

Hello Panagiotis, thank you for the reply. Sorry I meant to say in my reply that I switched to trying WebSockets after i found out in the article no HTTP requests won't be sent. And yes my server does listen to post 25345, it works on local execution and i check it on a ping test. It's also using SSH. If you would like to try its up right now on wss://araxy.co.uk:25345/

 

Cloud execution

Local execution

Browser websocket test

Try wss://server:25345 instead of wss://server:25345/


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 08:37

RE: Account.Margin not correct : Unacceptable

ncel01 said: 

?

This issue has been fixed, it's been a while. I cannot reproduce it. Make sure you download historical data when you backtest.

 


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 05:12

Hi there,

No this should not be possible.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 05:11

Hi there,

Unfortunately it is not possible at the moment.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 05:08

RE: What's New in cTrader Automate API 3.01

prlozc said: 

please don't remove Colors enumeration because we can't use Color as a default parameter!!!

You can pass the default color as a string


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 05:07

Hi there,

See below


@PanagiotisCharalampous

PanagiotisCharalampous
16 Aug 2024, 04:47

RE: Complete in acefxpro

gssiva586 said: 

Hi Team, 
This is to inform that, My account balance which is untouchable I’m AceFx Pro, Trading Broker.
I have a balance of $9724.90 in my AceFx Pro, trading account, which is traded in C trader Platform. I have tried withdrawing my profit and at least my capital, but my withdrawals are being stopped by the broker with no reason to hold and I haven’t  reversed any form of response yet. 
So please help me to, get my capital at-least as a minimum requirement for me to access my fund for the withdrawal. I want is to close my trading account and withdraw my capital and mark a negative review on AceFx Pro.
Below mentioned are my trading account details;

Email ID:  gssiva586@gmail.com
Live ID : 1054315

Total balance: $9639.70

Please be kind enough to sort my issue and get my funds back.
Thank you.

Hi there,

Unfortunately you will not get much help in this forum. If you cannot settle the issue with your broker, contact the regulator or your local authorities.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 Aug 2024, 05:55

Hi there,

Check advanced protection in the link below

https://help.ctrader.com/ctrader/interface/trade-watch/?h=advanced+p#position-advanced-protection

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 Aug 2024, 05:54

Hi Waxy,

Thanks for the post. These are not issues but Suggestions. Feel free to post them in the relevant section.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 Aug 2024, 05:44

RE: RE: RE: RE: RE: RE: RE: Calling DLL functions help.

rick2010 said: 

PanagiotisCharalampous said: 

rick2010 said: 

rick2010 said: 

PanagiotisCharalampous said: 

rick2010 said: 

PanagiotisCharalampous said: 

Hi there,

cBots are based on .Net. Therefore you can only call dll files based on managed code. If your dll is based on managed code, you should be able to use it.

Best regards,

Panagiotis

Thanks for the reply. I figured that was the case. I got a DLL written in managed C/C++. I need to be able to call this DLL from the cBot. I guess the only way to do that is to create a .Net DLL proxy that will call my C++ DLL?

Check the article below. It should help 

https://learn.microsoft.com/en-us/dotnet/framework/interop/consuming-unmanaged-dll-functions

Thanks

I created a .NET DLL wrapper class that calls my unmanaged C++ DLL functions ok. I added the code below to the cBot and it compiles fine in cTrader but when I run the cBot it says it can't find the DLL even though the DLL is in the same directory?

    internal static class NativeMethods {
    
        [DllImport("Client.dll", CallingConvention = CallingConvention.Cdecl)]
        internal static extern bool connClient(uint id, char[] username, char[] password);
    }

13/08/2024 22:06:42.127 | Info | CBot instance [Client_CBOT, EURUSD, h1] started.
13-08-2024 22:06:42.908 | Error | Crashed in OnStart with DllNotFoundException: Unable to load DLL 'Client.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)

Any ideas? Do I have to use the .NET DLL wrapper… doesn't make sense to do that when cBot is built in .NET?

Make sure your dll is copied to the output directory. Check the Copy Local property and make sure is set to true

 

Thanks but can you attach a bigger screenshot? I don't know where that setting is…

It's from the reference's properties. Click on the reference and check it's properties.

 


@PanagiotisCharalampous

PanagiotisCharalampous
15 Aug 2024, 05:41

Hi there,

It should have been approved now.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 Aug 2024, 05:40

Hi there,

It's hard to get help with such vague descriptions. Please provide exact steps we can follow and reproduce such issues.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 Aug 2024, 05:29

Hi there,

There is no built in parameter for this but you could pass this information by yourself through a cBot parameter.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
15 Aug 2024, 05:25

RE: RE: RE: cTrader Web Algo not working?

zytotoxiziteat said: 

zytotoxiziteat said: 

PanagiotisCharalampous said: 

Hi there,

You are doing nothing wrong. cBots running locally require cTrader to be running.

Best regards,

Panagiotis

 Thank you!

I read that it is possible to run the bots on a cloud:

https://help.ctrader.com/ctrader-algo/synchronisation/

It says: “Synchronisation with the Cloud is a feature that allows you to run cBots in a dedicated environment independent of your local machine”

I thought setting up the insurance is enough. 

How can I run my bots 24/7 on a cloud without using my local machine?

 

Thank you!

Okay how do I turn Synchronization on if I dont have the checkbox? 

 

 

Hi there, 

To use cloud execution, you need to use the latest version of cTrader. You can find it in the link below

https://ctrader.com/download/

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
14 Aug 2024, 10:17

Hi there, 

You cannot set a trailing stop loss using FIX API. If you need to set a trailing stop loss, you should use Open API instead.

Best regards,

Panagiotis


@PanagiotisCharalampous