ERROR When closing 1 Plugin (with a tradewatchTab) while Running Another Plugin

Created at 08 Dec 2024, 22:22
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!
TO

TommyFFX

Joined 07.12.2021

ERROR When closing 1 Plugin (with a tradewatchTab) while Running Another Plugin
08 Dec 2024, 22:22


Hello, 

Why do we get the error in the remaining Plugin when 2 Plugins are running and we close a plugin with a TradeWatch Tab.
What can we do to fix this?

08/12/2024 22:14:13.859 | Error | Getting Detached window WindowId { Value = 46a48da1-5785-4a16-b290-947d58b4222a } failed with error Window with Id WindowId { Value = 46a48da1-5785-4a16-b290-947d58b4222a } not found.

The "not closed" plugin is trying to communicate with that window.

Example with 2 Sample Plugins :
- Previous Bar Info
- TradeWatch Tab Sample

Best Regards,

TommyFFX


@TommyFFX
Replies

PanagiotisCharalampous
09 Dec 2024, 07:44

Hi there,

Can you please share your plugins code and provide exact steps on how we can reproduce this behavior?

Best regards,

Panagiotis


@PanagiotisCharalampous

TommyFFX
09 Dec 2024, 08:47

RE: ERROR When closing 1 Plugin (with a tradewatchTab) while Running Another Plugin

PanagiotisCharalampous said: 

Hi there,

Can you please share your plugins code and provide exact steps on how we can reproduce this behavior?

Best regards,

Panagiotis

I used the sample codes from cTrader they are build in samples..


- Previous Bar Info
- TradeWatch Tab Sample

 

Best regards

Do I need to post while they are available in cTrader?


@TommyFFX

TommyFFX
09 Dec 2024, 08:47

RE: ERROR When closing 1 Plugin (with a tradewatchTab) while Running Another Plugin

PanagiotisCharalampous said: 

Hi there,

Can you please share your plugins code and provide exact steps on how we can reproduce this behavior?

Best regards,

Panagiotis

I used the sample codes from cTrader they are build in samples..


- Previous Bar Info
- TradeWatch Tab Sample

 

Best regards

Do I need to post while they are available in cTrader?


@TommyFFX

PanagiotisCharalampous
09 Dec 2024, 10:17

RE: RE: ERROR When closing 1 Plugin (with a tradewatchTab) while Running Another Plugin

TommyFFX said: 

PanagiotisCharalampous said: 

Hi there,

Can you please share your plugins code and provide exact steps on how we can reproduce this behavior?

Best regards,

Panagiotis

I used the sample codes from cTrader they are build in samples..


- Previous Bar Info
- TradeWatch Tab Sample

 

Best regards

Do I need to post while they are available in cTrader?

Hi there,

I tried to reproduce this but with no luck. Any change you can record a video that would allow us to see the steps you are taking to reproduce this behavior?

Best regards,

Panagiotis


@PanagiotisCharalampous