I have a strategy that does one of 2 things:
1. Crashes WLP or...
2. Pegs the CPU at 100% (I end up having to reboot)
It is a very simple moving average crossover strategy that uses the VIX and volatility indicators. I've set the data range to 2 weeks, so it's not a lot of data either
Any clues as to what might be going on?
Size:
Color:
Size:
Color:
C# gives enough rope to shoot yourself in the foot - even with a short script badly designed. So Dave is right - we need to see the code at a bare minimum:
[LINK=http://www.wealth-lab.com/Support/SupportPolicy.aspx]
How to report a Problem? [/LINK]
Size:
Color:
The 100% CPU peg sounds like you may have an infinite loop in your script.
Beware of your for loop conditional and increment statement.
Consider re-writing each for/while loop statement from scratch, since reading them over one can easily miss simple errors.
Size:
Color: