Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

APICLIENT-214 interface IDataService
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=96&t=47777
Page 1 of 1

Author:  Ivan35 [ Wed 01 Aug, 2012, 15:30 ]
Post subject:  APICLIENT-214 interface IDataService

Hi support,

the method getDataService() is undefined for type IIndicatorContext.

I try to use follow in indicator:

private IDataService dataService;
...
IContext iContext;
...
dataService = iContext.getDataService;

Compilation successful, but method getFXSentimentIndex returns null.
Any idea how can I use methods from IDataService interface in indicator?

Thanks.

Author:  API Support [ Wed 01 Aug, 2012, 15:34 ]
Post subject:  Re: interface IDataService

It is not available in IIndicator.

Author:  Ivan35 [ Wed 01 Aug, 2012, 16:03 ]
Post subject:  Re: interface IDataService

Thanks for answer.
Are you planning to add it in future?

Author:  API Support [ Wed 01 Aug, 2012, 16:04 ]
Post subject:  Re: interface IDataService

How do you plan to use it in indicator? Maybe it is possible to do it from a strategy?

Author:  Ivan35 [ Wed 01 Aug, 2012, 16:10 ]
Post subject:  Re: interface IDataService

Indicator will draw lines in indicator window for each main currency. 8 outputs (EUR,USD,AUD,NZD,JPY,GBP,CHF,CAD) according to FXsentiment index value.

Author:  Ivan35 [ Fri 10 Aug, 2012, 12:04 ]
Post subject:  Re: APICLIENT-214 interface IDataService

Attachment:
sentiment index indicator.png [117.71 KiB]
Downloaded 690 times

Author:  API Support [ Mon 10 Sep, 2012, 02:23 ]
Post subject:  Re: APICLIENT-214 interface IDataService

IDataService is now available in IIndicatorContext. Note that @RequiresFullAccess annotation has to be applied for indicators that use IDataService.

Author:  EFXSIGNALS [ Wed 15 Jan, 2014, 12:48 ]
Post subject:  Re: APICLIENT-214 interface IDataService

Hello,
Can you install this indicator code here.
This address can not be on.

https://www.dukascopy.com/wiki/#Sentiment_index

Or I could not.
Could you please tell very simple.
Kindest regards.

Author:  API Support [ Wed 15 Jan, 2014, 13:22 ]
Post subject:  Re: APICLIENT-214 interface IDataService

Sorry, we don't understand you.

Author:  EFXSIGNALS [ Wed 15 Jan, 2014, 13:34 ]
Post subject:  Re: APICLIENT-214 interface IDataService

Sorry been missing.
I'm asking this indicator code.

Ivan35 wrote:
Attachment:
sentiment index indicator.png

Author:  API Support [ Wed 15 Jan, 2014, 14:40 ]
Post subject:  Re: APICLIENT-214 interface IDataService

See:
https://www.dukascopy.com/wiki/#Platform_indicator_source_files

Author:  EFXSIGNALS [ Thu 16 Jan, 2014, 07:12 ]
Post subject:  Re: APICLIENT-214 interface IDataService

API Support wrote:



Hello,
First of all thank you very much.

This is not something I can do. I do not know about software. How I wish it told with pictures. Dukascopy company or its standard (ie momentum) could have placed into an index.
Kindest regards.

Author:  API Support [ Thu 16 Jan, 2014, 08:05 ]
Post subject:  Re: APICLIENT-214 interface IDataService

You don't need to do any coding to download the source code that you requested.

Author:  EFXSIGNALS [ Thu 16 Jan, 2014, 08:54 ]
Post subject:  Re: APICLIENT-214 interface IDataService

API Support wrote:
You don't need to do any coding to download the source code that you requested.


I grant remote access to my computer and if you can you do. (TeamViewer)

Author:  API Support [ Thu 16 Jan, 2014, 09:38 ]
Post subject:  Re: APICLIENT-214 interface IDataService

Sorry we don't understand what kind of assistance you require.

  Page 1 of 1