External indicators (eg. sentiment)
Author: VaFrie
Creation Date: 4/6/2013 10:46 AM
profile picture

VaFrie

#1
Hi guys,

first of all, although Im trading for about 5 years quite successfull (especially last 3 years) Im a newby in the field of building trading stretegies with concrete defined parameters. Nevertheless I am interested and think I can handle it in some time (just bought a book for C#) :)

i have a question regarding the use of indicators and the sources of indicators. All those predefined technical indicators of wealth lab refer somehow to the chart and the movements of the underlying. Is it possible to integrate some external data and build an indicator that refers to it?

For example there is the EUWAX Sentiment that shows a put/call-ratio (see https://www.boerse-stuttgart.de/rd/de/euwax-sentiment/?time=). It tells me how many private investors are long short at the moment.

Is there a way to include such data in my trading system? Or are there sentiment data tools and I just didnt see them?

Thx for helping!
profile picture

Eugene

#2
Hi Valentin and welcome to the forums,

It looks like the EUWAX Sentiment index (ISIN:DE000A1MAA56) is available from Yahoo! Finance as 14311192.SG. Unfortunately, the data seems to be crippled for me (stopped updating October 2012).

Nonetheless, if you can download the data and create a DataSet using any supported data provider like ASCII or Metastock, then the symbol can be utilized as a basis for almost any indicator. Did you notice that all indicators accept a Bars or a DataSeries as a parameter? Usually it's something like Bars (primary symbol) or Close (current symbol's closing prices) but by passing an external symbol or its DataSeries, they become based on that (external) symbol rather than the charted (primary) symbol.

For more on how to use this in Strategy code, see the WealthScript Programming Guide, DataSeries > Accessing Secondary Symbols.
profile picture

Eugene

#3
And here's some Saturday fun. This strategy downloads the EUWAX historical quotes from www.ariva.de on-the-fly, stores them in global memory to avoid repeated internet requests, parses the data, builds a Bars object, applies Bollinger Bands on the EUWAX index and trades using some random rules:

CODE:
Please log in to see this code.
profile picture

VaFrie

#4
Wow, thank you very much for your answer.

I also see the problem with the crippled data. I think Euwax Sentiment exists for longer than one year and apparently it wasnt updated a long time. Already wrote them an email asked them if these data can be accessed somewhere.

And there is a wealtch script programming guide?? Well, I guess the book I orderes is for the bin :D

profile picture

Eugene

#5
QUOTE:
And there is a wealtch script programming guide??

It's under the Help menu in Wealth-Lab.