Error AssemblyInfo.cs can't find type or namespace 'Core'

Created at 14 Apr 2016, 19:48
AlgoCorner's avatar

AlgoCorner

Joined 12.05.2015

Error AssemblyInfo.cs can't find type or namespace 'Core'
14 Apr 2016, 19:48


I'm not sure of what's going on here, even if creating an indicator from start it throws this error, however I replace the code somewhere else (an old indicator) and it works even if the code is the same, I'm out of clues, where's this namespace 'Core' located?.

This is a simple indicator, it plots two ATR's.

using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;

namespace cAlgo
{
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AutoRescale = false, AccessRights = AccessRights.None)]
    public class DoubleATR : Indicator
    {

        [Output("Main", Color = Colors.Pink, IsHistogram = false, LineStyle = LineStyle.Solid, PlotType = PlotType.Line, Thickness = 1)]
        public IndicatorDataSeries _Wide { get; set; }
        [Output("Short", Color = Colors.CornflowerBlue, IsHistogram = false, LineStyle = LineStyle.Solid, PlotType = PlotType.Line, Thickness = 1)]
        public IndicatorDataSeries _Short { get; set; }

        private AverageTrueRange _WideATR, _ShortATR;

        protected override void Initialize()
        {
            _WideATR = Indicators.AverageTrueRange(100, MovingAverageType.Simple);
            _ShortATR = Indicators.AverageTrueRange(14, MovingAverageType.Simple);
        }

        public override void Calculate(int index)
        {
            _Wide[index] = _WideATR.Result.LastValue;
            _Short[index] = _ShortATR.Result.LastValue;
        }
    }
}

 


@AlgoCorner
Replies

AlgoCorner
14 Apr 2016, 21:28

Just tested on cBots and it throws the same error.


@AlgoCorner

Spotware
19 Apr 2016, 15:44

Dear Trader,

Could you update cAlgo to the latest version and try again? 

We apologize for any inconvenience.


@Spotware

AlgoCorner
19 Apr 2016, 22:25

Hello Spotware

Now it works fine, I thought I had some library missing or something.

Both making new cBots and Indicators is fixed.

Thank you


@AlgoCorner