The indicator is closed after you compile the code in visual studio

Created at 15 Nov 2023, 17:47
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
AL

alexiaboni7

Joined 18.01.2023

The indicator is closed after you compile the code in visual studio
15 Nov 2023, 17:47


Hi,

Every time I compile the code in Visual Studio, the indicator is closed in cTrader and I have to open it again.

If I compile the code in cTrader the indicator don't crash.

I tried to clean uninstall the whole cTrader ecosystem but nothing changed.

I Use Visual Studio 2022 with .NET 6 and I tried all kinds of access rights.

Thanks.


@alexiaboni7
Replies

PanagiotisCharalampous
16 Nov 2023, 06:45

Reply to: The indicator is closed after you compile the code in visual studio

Hi there,

What do you mean that the indicator is closed? Can you share the indicator code and exact steps to reproduce this problem?

Best regards,

Panagiotis


@PanagiotisCharalampous

alexiaboni7
16 Nov 2023, 10:26 ( Updated at: 16 Nov 2023, 14:17 )

RE: Reply to: The indicator is closed after you compile the code in visual studio

PanagiotisCharalampous said: 

Hi there,

What do you mean that the indicator is closed? Can you share the indicator code and exact steps to reproduce this problem?

Best regards,

Panagiotis

I mean that the indicator is removed from the indicators inserted into the chart every time I go to compile the code from visual studio. Consequently I have to do again: right click --> indicators --> custom --> custom indicator to insert it back into the chart. I don't attach the code because any indicator I create gives me this problem, even the default Hello World. Thanks a lot :)


@alexiaboni7

PanagiotisCharalampous
17 Nov 2023, 06:55

Reply to: The indicator is closed after you compile the code in visual studio

Hi there,

Can you record a video demonstrating this behavior?

Best regards,

Panagiotis


@PanagiotisCharalampous