Indicator of a Indicator

Questions about MultiCharts and user contributed studies.
Guest

Indicator of a Indicator

Postby Guest » 06 Feb 2009

How do I incorporate an indicator on any existing indicator or study that I have on a chart?

brodnicki steven
Posts: 407
Joined: 01 Jan 2008
Been thanked: 3 times

Postby brodnicki steven » 07 Feb 2009

When I've done that, I make one indicator into a function, then call that function in the indicator on the chart, or just build them into one, in the power editor.

RWDickinson
Posts: 43
Joined: 01 Dec 2008
Has thanked: 2 times
Been thanked: 2 times

Postby RWDickinson » 07 Feb 2009

Not quite sure I understand your question, but you can do anything with an indicator number that you could do with, say, close.
Of course an "indicator" (in PL-speak) is a display, not a function, and cannot be called in order to get the value; but in most cases the indicators call similarly-named functions to get the value to plot. Your code can call this same function and then you can do averages or whatever on that value, and then plot it if you want to.

Did that answer the question? If not, maybe you could clarify with an example of what you are looking for.

Guest

Reply to Indicator on a Indicator

Postby Guest » 07 Feb 2009

Thanks for the replies to my post. To clarify my question a little more, I am looking for a easier way to put a moving average on a indicator, what ever it is. I known I can use the power language editor to modify a script but I was looking for an easier way. Thanks

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Postby TJ » 07 Feb 2009

if you post what you want, I am sure we can give you a hand.

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Postby TJ » 07 Feb 2009

here's one way to do it
see attached for illustration.

the reverse is a bit more difficult because Stochastics has 7 inputs and 4 outputs.
Attachments
indicator_in_an_indicator.gif
(16.29 KiB) Downloaded 461 times


Return to “MultiCharts”