Replies

prihod007
21 May 2024, 14:07 ( Updated at: 21 May 2024, 14:23 )

RE: RE: RE: web cBot with graphical interface

PanagiotisCharalampous said: 

prihod007 said: 

PanagiotisCharalampous said: 

Hi there,

cBots are not supported on cTrader Web.

Best regards,

Panagiotis
 



are you sure? and what is this in the new 5.0 version?
 This is for cloud execution. You can read more below

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

this is exactly the question: is it possible to run this Cbot in the cloud on the web so that the price chart is displayed as on the desktop?
this instruction does not say how to add cbot to the chart


@prihod007

prihod007
21 May 2024, 09:16

RE: web cBot with graphical interface

PanagiotisCharalampous said: 

Hi there,

cBots are not supported on cTrader Web.

Best regards,

Panagiotis
 



are you sure? and what is this in the new 5.0 version?
 


@prihod007

prihod007
21 May 2024, 06:10

RE: Parent StackPanel is not auto resized when child StackPanel.IsVisible=false (cTrader v5.0.21, Algo v1.0.9)

PanagiotisCharalampous said: 

Hi there,

Thank you for reporting this issue. We will resolve this in an upcoming update.

Best regards,

Panagiotis

 

I support you, this problem is relevant to me too


@prihod007

prihod007
06 May 2024, 12:11

RE: How to use Clipboard.SetText and Clipboard.GetText with Calgo?

atrader said: 

This should work:

Locate System.Windows.Forms.dll in your system and add a reference to it in cAlgo.

for instance if you have framework 4.0 installed:

//#reference: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll using System; using cAlgo.API; using System.Windows.Forms; using System.Threading; namespace cAlgo.Robots {    [Robot]    public class NewRobot : Robot    {        protected override void OnStart()        {            copy_to_clipboard();        }        public void somethingToRunInThread()        {            Clipboard.SetText("this is in clipboard now");
        }        protected void copy_to_clipboard()        {            Thread clipboardThread = new Thread(somethingToRunInThread);            clipboardThread.SetApartmentState(ApartmentState.STA);                        clipboardThread.Start();        }    } }



 

can you tell me if it is possible to do something like this in MAC OS?


@prihod007

prihod007
03 May 2024, 12:34 ( Updated at: 03 May 2024, 14:50 )

RE: Clipboard in cAlgo

modarkat said: 

The following link could help you:

http://msdn.microsoft.com/en-us/library/system.windows.clipboard(v=vs.100).aspx

good day!
Please give a working example of working with the clipboard - simple copying and receiving data from the clipboard.

The examples on the link you provided do not work because the Clipboard is not contained in the Namespace: System.Windows

 


@prihod007

prihod007
03 May 2024, 09:59 ( Updated at: 03 May 2024, 14:50 )

RE: switching between accounts in cbot

PanagiotisCharalampous said: 

Hi there,

This is not possible. If you want to copy trades between accounts, you can consider cMAM

https://clickalgo.com/ctrader-trade-copy

Best regards,

Panagiotis

Thanks, but this is a paid third-party product. 
And how can a developer do this on their own through direct cTrader services without buying cMAM ?


@prihod007