IanCid
Pine Script Rookie
Pine Script Rookie
Posts: 1
Joined: March 3rd, 2022
Contact: TradingView Profile

how do I call my own indicator from my strategy?

vHi I'm new to pinescritp and as you can see coding in general so sorry if something isn't clear and if it's a dumb question or something, still thanks for helping me out.

The thing is that I am trying to read some values of an indicator from a strategy, because the indicator uses a different timeframe than the strategy. I tried to insert the indicator into the strategy but I think that a different time frame cannot be used, is it possible to access the indicator plots or something?

Or is there a way to turn it into a library?

I am really thankful for helping me.

processingclouds
Pine Script Master
Pine Script Master
Posts: 115
Joined: January 30th, 2022

Re: how do I call my own indicator from my strategy?

It would be easier to guide you on this if you can provide the code, or sample similar code to what you are trying to do.

Return to “Pine Script Q&A”