Replies

Cezary
16 Jun 2017, 22:08

not manually

I want the indicator to make some series invisible itself.

I dont want to do that manually because I have >20 series


@Cezary

Cezary
07 Aug 2016, 20:33

RE:

croucrou said:

There is no GetIndexByExactTime in the Guide. Why did you use it?

To access another timeframe of the same asset, GetIndexByTime is enough.

I believe GetIndexByExactTime becomes useful, when you refer to another symbol, which might have different time sessions.

I changed to GetIndexByTime and it helped.

Thanks !


@Cezary

Cezary
06 Aug 2016, 00:09

RE:

croucrou said:

You have to try better with your searching. Here it is:

/api/guides/indicators#el12

 

Hi,

It would be good but something is wrong. Maybe API error.

protected override void Initialize()
        {
            ms = MarketData.GetSeries(TimeFrame.Hour);
        }

        public override void Calculate(int index)
        {
            var idx = ms.OpenTime.GetIndexByExactTime(MarketSeries.OpenTime[index]);
            Print("Time , index , idx = " + MarketSeries.OpenTime[index] + "---" + index + "---" + idx);

}

 

and I get logs (last part) run on M15 chart:

 

05/08/2016 23:01:55.802 | Time , index , idx = 2016-08-05 18:00:00---4277---8918
05/08/2016 23:01:55.802 | Time , index , idx = 2016-08-05 18:15:00---4278----1
05/08/2016 23:01:55.802 | Time , index , idx = 2016-08-05 18:30:00---4279----1
05/08/2016 23:01:55.817 | Time , index , idx = 2016-08-05 18:45:00---4280----1
05/08/2016 23:01:55.817 | Time , index , idx = 2016-08-05 19:00:00---4281---8919
05/08/2016 23:01:55.817 | Time , index , idx = 2016-08-05 19:15:00---4282----1
05/08/2016 23:01:55.817 | Time , index , idx = 2016-08-05 19:30:00---4283----1
05/08/2016 23:01:55.817 | Time , index , idx = 2016-08-05 19:45:00---4284----1

 

 

So, the  GetIndexByExactTime worked only for the first 15 minute.For next 3 is always 1.

Is it intented or API error ?

Regards,

Cezary

 

 


@Cezary

Cezary
05 Aug 2016, 23:24

RE:

croucrou said:

You have to try better with your searching. Here it is:

/api/guides/indicators#el12

Great ! Thanks !


@Cezary

Cezary
11 Feb 2015, 11:58

ok, thanks :)


@Cezary

Cezary
17 Sep 2014, 21:11

My mistake :)

 

Its solved


@Cezary

Cezary
28 May 2014, 13:38

RE: RE:

thanks!

Invalid said:

Express editions do not support extensions.

Supported versions are 2010, 2012, 2013

Cezary said:

Hi,

Which version of Visual Studio is supported for developing with cAlgo ?

Can I use express editions ?

 

Regards,

Cezary

 

 


@Cezary

Cezary
28 May 2014, 13:37

RE: RE:

ok, thanks

Spotware said:

Cezary said:

Hi,

 

When is called OnTick event ?

Is it called on every price change ?

 

Thanks!

Cezary

OnTick method is called on each incoming market tick.

 


@Cezary