It's hard to give definite answers in such vague descriptions. In principle if the code is the same, there should not be any difference. cTrader does not do anything special. It just executes your code.
Another solution would be to create a new indicator referencing all others that would serve only the purpose of text printing. In this indicator, you can create a unified text message and print it.
It works fine for me so it looks like a local issue. Could you pleasesend us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.
This was implement after several user requests. If you have so much temporary data, it's probably because you are writing too much information in the logs. In this case, try to optimize your log usage.
I tried this and works fine for me. Can you please provide more information demonstrating what you report e.g. screenshots, videos, logs etc?
Best regards,
Panagiotis
Sure, when I click (for example), the Green button to close the longs, I get the messagebox window poping up, which is as expected. However, the action on closing the Position(s) doesn't appear to be working.
Action trail:
Then:
The log reports the following error:
From previous experiences, this can sometimes indicate that an action is being attempted across different threads (UI and worker). I can't say for sure what this might be the issue or not. All I can say is that it's consistent across a number of different charts/forex pairs. Would be great to figure this out as it's part of a larger piece using this type of approach.
Thanks again
jim
btw - I'm using the Raw Trader version of the software, but the smae thing still occurs on v4.8.30
Thank you for reporting this issue. Could you pleasesend us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.
PanagiotisCharalampous
13 Jun 2024, 10:22
Hi there,
It's hard to give definite answers in such vague descriptions. In principle if the code is the same, there should not be any difference. cTrader does not do anything special. It just executes your code.
Best regards,
Panagiotis
@PanagiotisCharalampous