Clearing Array errors
Author: CandCB
Creation Date: 2/12/2009 3:20 PM
profile picture

CandCB

#1
When I get the Array bounds error, it somehow corrupts the indicator CMO for the stock so that any other strategy that uses CMO gives the same error(Even a new one).

Does anyone know how to clear the indicators.

I tried deleting the .WL file and reloading the data but it did not work. Last time I had to remove the complete application and data files to clear it - I rather not do that again.
profile picture

Cone

#2
The details are pretty light here. Please copy and paste the exact error text. If it's an error dialog, click the link for more information and copy that data.

Just a hunch, manual drawing objects sometimes have caused difficult-to-find errors. With the chart that's giving you trouble in focus, try clicking the eraser icon at the top of the drawing toolbar, close the window, and reopen.
profile picture

CandCB

#3

The problem is a well documented "Array Bounds" error. What I am having difficultly with is that it somehow corrupts the indicator CMO which the strategy uses (Just a plain vanilla drag & drop - no c#).

I can create a new strategy and run it OK until I add the CMO indicator for the sysmbol on which the original error occured. Once I do that the error returns.

Removing Wealth-lab & deleting the user files clears it on reloading. However just replacing Wealth-lab alone without deleting the users files does not clear it nor does deleting the WL file for the symbol. I am lead to beleive that the indicator must be stored somewhere - any suggestions on where?
profile picture

Eugene

#4
QUOTE:
The problem is a well documented "Array Bounds" error.

Please could you give us a hint where is this "Array Bounds" error documented?
profile picture

Cone

#5
QUOTE:
I am lead to beleive that the indicator must be stored somewhere -
The act of dragging and dropping does not store any information. The code that produces the indicator doesn't have any "memory" about this either.