- ago
hi WL team,

I'm a subscriber to @Glitch's Patreon and I've been catching up on the feed in building the various strategies into a metastrategy.

One strategy that I haven't been able to get to backtest properly is the "Candle 3989" strategy that uses an imported candle pattern. The error I get is the same that other users posted about on the Patreon:

Execute Exception (QQQ,0) Line 38 - Object reference not set to an instance of an object.
Execute Exception (DIA,0) Line 38 - Object reference not set to an instance of an object.
Execute Exception (SPY,0) Line 38 - Object reference not set to an instance of an object.
at WealthScript1.MyStrategy.Execute(BarHistory bars, Int32 idx) in :line 38
at WealthLab.Backtest.UserStrategyExecutor.ExcludeError(List`1 lst, DateTime dt)

Unfortunately I didn't see a resolution on that site. I'm sure this is due to an importation or configuration issue on my end.

Would you know what the adjustment should be? I do have the "VK" tuning preferences saved to my candlestick preferences

Thanks in advance,

Erik
0
150
2 Replies

Reply

Bookmark

Sort
- ago
#1
Are you sure that the candlestick pattern is called candle 3989?

In the original I think I remember it having a different number.

We have two of them in the meta so I could be mis-remembering and it was the other one. .

I had to fix it and then re-import the strategy.

Start there.

I am up and running on all of the strategies, live for the last 3 months.

I am traveling until tomorrow evening so communications will be sporadic until that time.

There is also a ZIP with everything in it too, as I built out the meta strategy one at a time, I never used the zip personally.

Eric
0
Glitch8
 ( 8.11% )
- ago
#2
The Strategy is called Candle 3989. I'm not seeing the exception when I run it locally. If possible, join the Patreon Discord Tuesday evening at 6pm EST so we can share your screen and I can take a look.
1

Reply

Bookmark

Sort