External symbol as an indicator
Author: Ruschem
Creation Date: 1/2/2012 6:22 PM
profile picture

Ruschem

#1
I thought an ability to plot external symbol as an indicator would be helpful.

First, it would speed up the use of Indexes created in the Index Manager. For example, opening a breadth indicator for SP500 from IndexLab and being able to drag and drop SPY as an indicator, instead of writing a script every time, would be very nice.

Second, for those who rely on the Strategy Wizard, the choices to manipulate the external symbol are very limited, while the choices to manipulate the "general indicator" are simply great. Therefore, having an "external symbol" indicator would provide some great opportunities for those of us who are "programming-wise challenged".

I will appreciate it very much if such indicator is added to either standard WLPro or Community indicators library. Thanks.
profile picture

Eugene

#2
QUOTE:
I thought an ability to plot external symbol as an indicator would be helpful.

If it was that easy, you probably would see it implemented long ago. As already said, it was overlooked when creating the Indicator API so developers have to invent workarounds. But I'll give it a thought: marking it for investigation.
QUOTE:
Second, for those who rely on the Strategy Wizard, the choices to manipulate the external symbol are very limited,

Have you seen this?

Community.Rules
profile picture

Eugene

#3
I looked into creating a new custom Indicator based on external symbol. Although it's possible to load an external symbol's data in a formal Indicator with a little bit of Reflection magic, I have to turn this promising request down. Unfortunately, we're unable to reliably perform secondary series synchronization this way -- that's a show-stopper.

I'd suggest contacting your Fidelity rep and requesting this feature in WLP.
profile picture

Ruschem

#4
Thank you very much for the explanation and the link. I tried to talk with the Fidelity rep before but I was never able to get in touch with the right people who understand the problem/question and make decisions. If you know how to reach the right person - name, phone, email, I will appreciate it very much. In the community rules one of the important functions that I would like to see is external symbol makes new high or low for the period and also external symbol moving average is above/below the number/level. Is it possible to add these function?? Thanks again.
profile picture

Eugene

#5
QUOTE:
In the community rules one of the important functions that I would like to see is external symbol makes new high or low for the period and also external symbol moving average is above/below the number/level.

If our Rule master Cone agrees, then I'd say it would be a good addition.
profile picture

Cone

#6
You can create requests for Rules in Support.

But before asking for the number/level rule, tell me how you would use it. While a rule like that might have a purpose to help with discretionary trading, I find rules like that absolutely worthless for backtesting.
profile picture

Cone

#7
Ruschem's rules have just been added to Community.Rules. To answer my last question, he suggested using the rule with an index oscillator as an external symbol, which makes good sense!
profile picture

Ben_Zurich

#8

"External Symbol as an Indicator"
would be great to just be able at least to to drag and drop it on a chart (1st step - display only... )


I'm currently investigating this concept as well - any progress or ideas on how to do it on that front ?



profile picture

Eugene

#9
See my reply above: 1/3/2012 1:04 AM.
profile picture

Ben_Zurich

#10
I have tried this (Visual Studio):


CODE:
Please log in to see this code.


This compiles without errors, and when I open a new chart window and slide the ExternalSymbol indicator onto the chart, the correct dialog appears



However upon entry of the ticker name and clicking OK nothing happens. Do you have any hint how to do this correctly?

profile picture

Eugene

#11
If only it was that simple, we'd have a solution years ago. This is not going to work (i.e. passing a WealthScript instance to an indicator), so don't waste your time on it.

What might work is a hackish approach of obtaining the data from Wealth-Lab with System.Reflection. I experimented with plotting external symbols using some Reflection tricks but unfortunately, it failed to reliably synchronize external series so it was rejected.
profile picture

Ben_Zurich

#12
Can you give me an example how you did it with System.Reflection, even though this did not convey the reliability that you wanted?
profile picture

Eugene

#13
If it works out some day, it will be a part of Community.Indicators open source but for now I prefer not to share this lengthy, work-in-progress code. Sorry.
profile picture

Eugene

#14
Better late than never.

As all issues were solved, ability to plot external symbol's OHLC data as an indicator will be added to next build of Community Indicators.
profile picture

Eugene

#15
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).