Replies: 1 comment
-
Could you do: def init(self):
self.my_ind = self.I(lambda: self.data.Close + 1, name='legend label')
def next(self):
if self.my_ind[-1]: ... ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I don't know how to get the name of the indicators I used on a strategy. I can obtain the array of the atribute "_indicators", it contains an element that is another array. There is one for each indicator. It isn't useful because I need to "match" the array with it's indicator.
Please help me because I don't understand all of the library, I tried to.
I'm new at this.
The reason why I need that value is because I don't like the interface of the "plot()". I'm making a web interface and I'm using the lightweight-charts, javascript library from tradingview.
Beta Was this translation helpful? Give feedback.
All reactions