- ago
I get following error with the latest update
287: Reference to type 'EventDataPoint' claims it is defined in 'WealthLab.Core', but it could not be found

0
688
Solved
12 Replies

Reply

Bookmark

Sort
- ago
#1
Please update all extensions and retry.
0
- ago
#2
All extensions are up to date. Updated release and extensions on second computer, same error any reference to Candle gets an error
0
- ago
#3
We moved that class to another namespace called WealthLab.Data. If you change the C# code that should make the error disappear.
0
- ago
#4
If using Blocks then a hotfix B30B has just been made available for download.
0
Glitch8
 ( 11.27% )
- ago
#5
giorgos, since you already installed Build 30, please uninstall it first and then re-download. We needed to add WealthLab.Data to the using clauses for the BB model template code.
0
- ago
#6
error still does not go away
CODE:
using WealthLab.Backtest; using System; using WealthLab.Core; using WealthLab.Indicators; using System.Drawing; using System.Collections.Generic; using WealthLab.AdvancedSmoothers; using WealthLab.Candlesticks; using WealthLab.TASC; using WealthLab.IndexLab; using WealthLab.DataExtensions; using WealthLab.PowerPack; using WealthLab.Data; namespace WealthScript1 {    public class StrategyGiorgos : UserStrategyBase    {       private CandleGenePattern bullishLongWhiteLine;       private CandleEventItem cfi;       private CandleBarGlyph cbg;              public StrategyGiorgos()       {       }       public override void Initialize(BarHistory bars)       {          bullishLongWhiteLine = CandleGeneDecoder.FindPattern("Bullish Long White Line");                    for (int n = 0; n < bars.Count; n++)          {             if (CandleGeneDecoder.DetectPattern(bars, n, bullishLongWhiteLine))             {                cfi = new CandleEventItem(bullishLongWhiteLine, bars.DateTimes[n]);                cbg = new CandleBarGlyph(cfi, bullishLongWhiteLine);                DrawCustomBarGlyph(n, cbg);             }                                   }          StartIndex = 300;       }       /** NOTE - I changed the parameter reference from "int idx" to "int bar" to match the code **/       public override void Execute(BarHistory bars, int bar)       {                           }    } }
0
- ago
#7
We know, check posts #4 and #5.
0
- ago
#8
I tried re-installing and it still same errors
0
- ago
#9
I uninstalled B30. I downloaded it. I installed it. Using the code supplied by giorgos in Post #6, in the WL8 built-in C# editor, I get the reported error: Reference to type 'EventDataPoint' claims it is defined in 'WealthLab.Core', but it could not be found.

None of the usings are lighting up with an error. But, I am getting an error "The type or namespace CandleGenePattern could not be found...' when mousing over the private variable: private CandleGenePattern bullishLongWhiteLine;. There are many other such errors.

Searching the dlls, CandleGenePattern occurs in WealthLab.Candlesticks.dll, but of course I don't know its exposure from a simple search.

Installed components are as follows:



Hope that helps.
0
- ago
#10
Also, after uninstalling/re-installing B30, here are the props for WealthLab.Candlesticks.dll...




If you need any additional information (like DLL info) please let me know. Maybe the installer didn't overwrite some DLLs in B30. Just a guess.
0
- ago
#11
Looks like we have to upload an updated Candlesticks Genetic Evolver extension.
0
Best Answer
- ago
#12
On my primary machine (different than what I used to report info above), I updated to Candlesticks build 6, and WL 8 B30. Also, I updated other pending extension updates. The problem is fixed.
0

Reply

Bookmark

Sort