Replies

boris_k
02 Nov 2023, 21:09 ( Updated at: 21 Dec 2023, 09:23 )

RE: cTrader 4.8 does not popup the debugger ( System.Diagnostics.Debugger.Launch() )

Shares4us said: 

it's a bug somewhere in ctrader.automate 1.0.8
It does not write to the correct directory:

outputWindow:
1>BarneyStructureBreaks -> C:\Users\xx\Documents\cAlgo\Sources\Indicators\MyBot \MyBot \bin\Debug\net6.0\MyBot .dll
1>BarneyStructureBreaks -> C:\Users\xx\Documents\cAlgo\Sources\Indicators\MyBot \MyBot \bin\Debug\net6.0\MyBot .algo
1>MyBot -> \MyBot .algo

just  uninstall 1.0.8 (tools/nuget package manager …)
Then install 1.0.7
and your ouput wil look like:
1>BarneyStructureBreaks -> C:\Users\xx\Documents\cAlgo\Sources\Indicators\MyBot \MyBot \bin\Debug\net6.0\MyBot .dll
1>BarneyStructureBreaks -> C:\Users\xx\Documents\cAlgo\Sources\Indicators\MyBot \MyBot \bin\Debug\net6.0\MyBot .algo
1>MyBot ->  C:\Users\xx\Documents\cAlgo\Sources\Indicators\MyBot .algo

Works for me!

The output on my site. I am using the default set up.



@boris_k

boris_k
01 Nov 2023, 16:59 ( Updated at: 21 Dec 2023, 09:23 )

RE: RE: VS2022 debugging works in vs Automate 1.0.7 but fails to start in 1.0.8

Shares4us said: 

PanagiotisChar said: 

Hi Share4us,

It works fine for me. What exactly doesn't work?

Debugger.Launch() does not get triggered in 1.0.8.
Same Code works in 1.07
 

Hi 
I have the same issue.


@boris_k

boris_k
24 Sep 2023, 14:21 ( Updated at: 21 Dec 2023, 09:23 )

RE: GetSymbol Problem

PanagiotisChar said: 

 

 

I have the same issue.
How to fix it?
Regards,


@boris_k

boris_k
24 Sep 2023, 14:17 ( Updated at: 21 Dec 2023, 09:23 )

PanagiotisCharalampous :
Hi
I have the similar issue
How to fix it?



@boris_k

boris_k
04 Sep 2023, 16:30 ( Updated at: 21 Dec 2023, 09:23 )

I hope this info helps


@boris_k

boris_k
25 Jul 2023, 10:32 ( Updated at: 21 Dec 2023, 09:23 )

RE: Visualized and non-visualized backtester results are different. Is this the desired behavior?

See the attached logs for both cases, please.


 

 


@boris_k

boris_k
22 Jul 2023, 11:02 ( Updated at: 22 Jul 2023, 11:03 )

RE: How to reference indicator inside Robot

Spotware said: 

Dear Trader,

Please have a look at the Referencing Custom Indicators section of our API Programmers Guides.

 

The links are broken. Update them, please


@boris_k

boris_k
10 Oct 2022, 09:48

It is an unstable issue. I can not reproduce this behavior in a predictable way.
I will update you if I find the way to reproduce this issue.


@boris_k

boris_k
08 Jun 2022, 13:56

RE: RE: RE:

amusleh said:

 

I tried this but it doesn't result on a logout message from server, instead it gets disconnected so nothing comes from server side on second logon attempt with same credentials.

Send something useful to inform the client why the server disconnects, please.


@boris_k

boris_k
05 Feb 2022, 14:09

RE:

"Can you please post the full logout message response you received?"
You see the body of the Logout message  in my first post.
The field 58 is missed in the message the server sends if an another session is active.
It is easy to replicate:
1.Connect to the session
2. Try to connect to the session with the same credentials.
You will receive the Logout message without the body. There is no info about the reason of logout.
 


@boris_k

boris_k
01 Feb 2022, 11:28

RE:

It looks like a second session was active.
Thank  you for your answer!

 


@boris_k

boris_k
21 Dec 2021, 12:16

RE: RE: RE:

Thank you!

 

 


@boris_k

boris_k
18 Dec 2021, 23:41 ( Updated at: 19 Dec 2021, 00:17 )

How to cause the TextBlock repaint?

PanagiotisCharalampous,
I am updating the property Text of the TextBlock by timer.
It just puts the current time to the TextBlock.Text

But the text is not updating in the real time. It updates if I change the time frame only. The indicator just recreate the TextBlock object.

How to repaint the TextBlock to show the actual value of the Text, please?
Thank you!

UPD: Everything is working as expected if I use the Timer as described here  https://ctrader.com/api/reference/timer

The System.Timers.Timer does not work. The TextBlock does not repaint.


@boris_k

boris_k
17 Dec 2021, 10:43

RE:

Thank you for the answer,amusleh!
Are you from the cTrader support team?
 

 


@boris_k