how do I call my own indicator from my strategy?
Posted: Thu Mar 03, 2022 12:25 am
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.
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.