Runtime error: Ticks must be between DateTime MinValue and MaxValue Ticks
Author: bobydesi123
Creation Date: 3/30/2010 3:14 PM
profile picture

bobydesi123

#1

The stratgey has been running in 5 min streaming all day.
- only problem when run .NDX any other symbols like .ixic or aapl works!!!!
- Last thing a memember doing before the problem, was a drew a custom TrendLine on ,ndx 5min chart, gave my owm name istread of the name given by WL, by usinging-> change propert drrawing object propery.
-after this WL did not respond, had to close it manually and restart WLP and then the above mention problem happened.

Following is the error generated (p.s. in future release, it would be nice to c&P the error messages)

Runtime error: Ticks must be between DateTime MinValue Ticks and DateTme MaxValue Ticks
at WLPro CgartForm.q()
at WLPro CgartForm.q(Bars A_0)
at WLPro CgartForm.b(int32 A_0 Object A_1)
SytemWindowsForm.Control.Invoke(Delegate Method, Object[] args)
SytemWindowsForm.Control.MarshaledInvoke(Control caller, Delegate Method, Object[] args, Boolean Synchronous)
profile picture

bobydesi123

#2
One more information that can help:
the 1min/10min or daily .ndx works fine with the strategy!!! Problem with 5min .ndx seem to have occured only with TrendLIne was drawn in 5 min scale!!

Also, i tried reloading the 5min .ndx data..no luck!

One more thing...
Once again in 5min .ndx.. i run my strategy and as usual.. i got the runtime errors as I had mentioned in my earlier post!
As the WLP displays the "default" chart with price/volume for the 5min .ndx strategy (even if It had runtime error), I tried drawing a NEW TrendLine and to my surprise the strategy executed without the usual runtime error on 5min .ndx!
However, all my previous "text callout" , "texts notes" and TrenLines have Vanished!!
What is going on??.. how do i get back all my notes and previous TrendLines etc??
profile picture

Eugene

#3
Probably, some drawing object got corrupt. Try enabling hidden file visibility, opening Wealth-Lab's data folder (User Guide > Data), and deleting the .DRW file for the symbol (.NDX) from the DrawingObjects.Standard\5 minute\ folder.
profile picture

bobydesi123

#4
After performing the steps u have mentioned, will i get back previous "call outs","text notes and TrendLines that do not appear anymore? Thxs.
profile picture

Cone

#5
Those go with the .DRW file. Keep a copy of the file (or dig it out of the trash) if that wasn't the problem.
profile picture

bobydesi123

#6
I have two questions:
Under my data--> staticprovider-> 5min ihave file with name "%2ENDX.WL" what doe this mean?
Under DrawingObjects.Standard\5 minute\ i have a file "%2ENDX.DRW" file taht has size of only 124 bytes
Have NDX.DRW under 5min/N folder of size 348 bytes. I am all confused. This seems like too small a file size for all the notes etc. i had.
profile picture

Eugene

#7
QUOTE:
file with name "%2ENDX.WL" what doe this mean?

.NDX.X. The "%2E" stands for the dot character.
QUOTE:
After performing the steps u have mentioned, will i get back previous "call outs","text notes and TrendLines that do not appear anymore?

The idea is to purge the corrupt file, preventing unhandled exceptions from occurring.
profile picture

bobydesi123

#8
Eugene,
I guess i have lost the call out etc. Seems like the file .DRW was corrupted!
Thank u.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).