Error in study

Questions about MultiCharts and user contributed studies.
andreinvest
Posts: 43
Joined: 27 Oct 2019
Has thanked: 29 times
Been thanked: 1 time

Error in study

Postby andreinvest » 31 Jan 2022

Dear colleagues,
I have a problem: this error appears and the script crashes. The meaning of the error is not clear. How can I fix this?
Attachments
2022-01-31 11.21.40.jpg
(73.76 KiB) Not downloaded yet

User avatar
Tammy MultiCharts
Posts: 200
Joined: 06 Aug 2020
Has thanked: 6 times
Been thanked: 65 times

Re: Error in study

Postby Tammy MultiCharts » 01 Feb 2022

Hello andreinvest,

We will need to analyze this case on our end.
Please send us the following files to support@multicharts.com:
1) The workspace where the issue is reproduced.
2) The exported script with all dependent functions.

Please also let us know if the issue is reproduced if you switch MultiCharts to Offline mode (File > Preferences > Data tab).
If it is, please attach an export of used symbols (with data) from QuoteManager in .qmd archive.

andreinvest
Posts: 43
Joined: 27 Oct 2019
Has thanked: 29 times
Been thanked: 1 time

Re: Error in study

Postby andreinvest » 04 Feb 2022

Dear Tammy,

I can not send you script.
Usually script works properly at 200 charts (100 workspaces) but from time to time we see this error at one of two working currently workspaces.
Please recommend something without script.

User avatar
Tammy MultiCharts
Posts: 200
Joined: 06 Aug 2020
Has thanked: 6 times
Been thanked: 65 times

Re: Error in study

Postby Tammy MultiCharts » 04 Feb 2022

Hello andreinvest,

This error is generated upon calculation of your specific script, and to figure this out we will need to check it.
If you cannot share the original script, you might be able to reproduce this on a simplified sample and, if you can, send it to us for further analysis.

andreinvest
Posts: 43
Joined: 27 Oct 2019
Has thanked: 29 times
Been thanked: 1 time

Re: Error in study

Postby andreinvest » 08 Feb 2022

If you use this script, you may never see this error because it happens rarely, especially if I change it.
Please give me an idea why it may happen,
maybe low of resources
using lot of functions or text files

please give me a direction of search

may be you have statistics about this mystic error ?

User avatar
ABC
Posts: 721
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 408 times
Contact:

Re: Error in study

Postby ABC » 22 Dec 2022

Hi andreinvest and Multicharts Team,

was this ever resolved and could you share what the problem was?
If not, I would be interesting in hearing from Multicharts what is likely to trigger the error message (or could) as it is too unspecific to point towards a specific code problem. Maybe some specific reserved words are more likely to trigger the issue than others (_at_Broker_, DateTime, or ComputerDateTime reserved words for example)?

Thank you,

ABC

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: Error in study

Postby Svetlana MultiCharts » 22 Dec 2022

Hello,

In order to determine the issue, it is required to understand in what situation it happens and debug the script by means of Print statement. Keep simplifying the script until the issue stops reproducing – it is easier to locate the reason this way.

If the issue is not stable and happens rarely, then split your script in some key parts and trace their calls when the error happens. Watch in what script part the error happens and deepen inside, making the calls more detailed.


Return to “MultiCharts”