Indicator of a Indicator
Indicator of a Indicator
How do I incorporate an indicator on any existing indicator or study that I have on a chart?
-
- Posts: 407
- Joined: 01 Jan 2008
- Been thanked: 3 times
-
- Posts: 43
- Joined: 01 Dec 2008
- Has thanked: 2 times
- Been thanked: 2 times
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.
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.
Reply to Indicator on a Indicator
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
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
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.
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