Let's say I want to include the AO indicator as part of the criteria for my Pine script. How can a pine script access indicators? Can a strategy or study import a series generated by another Pine script or built-in indicators?
4
votes
1 Answers
4
votes
You can't access indicators if they're not provided by built-in functions.
In your specific case of the Awesome Oscillator, you could calculate it yourself to get the series values.
See Awesome Oscillator (AO) for how it's calculated.
edit:
I just found out that it does seem to be possible if the desired indicator is on your chart.
See How can I use one script’s output as an input into another?
Screenshot of example with the Awesome Oscillator:
