Replies

heineandersen85
08 Aug 2023, 06:03 ( Updated at: 21 Dec 2023, 09:23 )

RE: Cached data not available or corrupted

firemyst said: 

You've done this?

Doing it manually through folder paths as you suggested, might not always work because you might not get the right folder (if there's bee multiple updates) or the data might be in more than one location

 

Hi Firemyst,

Thanks for the reply, I just tried what you recommended, it didn't work. 


@heineandersen85

heineandersen85
31 May 2019, 18:10 ( Updated at: 21 Dec 2023, 09:21 )

RE: RE:

Astroke said:

heineandersen85 said:

Price feed? but why does data that gets old change? 1-2 years ago the same data looked fine, but because it got over the "grace" period of 3-3½ years it changes.

I mailed Michael Turck from tvmarkets, maybe he can help if you can't :-)

Hello,

Same broker, but I don't have the same data. I think your data is corrupted. You need to clean your data.

 

Really weird, I have a friend (im from Denmark), we have same problem, both our data is not correct. I have reinstalled and tried on a completly different computer, same problem.

 

@Astroke do you have tvmarkets/tradeview as your broker?


@heineandersen85

heineandersen85
30 May 2019, 12:03

Price feed? but why does data that gets old change? 1-2 years ago the same data looked fine, but because it got over the "grace" period of 3-3½ years it changes.

I mailed Michael Turck from tvmarkets, maybe he can help if you can't :-)


@heineandersen85

heineandersen85
12 Jun 2017, 13:54

What a great video and fast response, thanks tmc and click! :)


@heineandersen85

heineandersen85
11 Jun 2017, 16:33

i found the below code, but what if I want to set some bollingbands settings, in the below code only RSI settings is possible to change when I open it in cTrader.

 

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

namespace cAlgo.Indicators
{
    [Indicator(IsOverlay = false, AccessRights = AccessRights.None)]
    public class Test : Indicator
    {
        [Parameter()]
        public DataSeries Source { get; set; }

        [Parameter(DefaultValue = 14)]
        public int Period { get; set; }

        [Parameter(DefaultValue = 2)]
        public double stdDev { get; set; }

        [Output("RSI")]
        public IndicatorDataSeries RSI { get; set; }

        [Output("Main")]
        public IndicatorDataSeries Main { get; set; }

        [Output("Top")]
        public IndicatorDataSeries Top { get; set; }

        [Output("Bottom")]
        public IndicatorDataSeries Bottom { get; set; }

        [Parameter("MA Type", DefaultValue = MovingAverageType.Exponential)]
        public MovingAverageType MAType { get; set; }

        BollingerBands bbands;
        RelativeStrengthIndex rsi;


        protected override void Initialize()
        {
            rsi = Indicators.RelativeStrengthIndex(Source, Period);
            bbands = Indicators.BollingerBands(rsi.Result, Period, stdDev, MAType);
        }

        public override void Calculate(int index)
        {
            RSI[index] = rsi.Result[index];
            Bottom[index] = bbands.Bottom[index];
            Top[index] = bbands.Top[index];
            Main[index] = bbands.Main[index];
        }
    }
}


@heineandersen85