Right now I can very easy to get such line with:
[dt.fromordinal(int(v)) for v in ind.data.datetime.array]
As we can see in the cerebro plot sample below, there should be a 'cross' mark moving with mouse pointer,
However, in my work with PyCharm IDE, I can get the figure as below but no such 'cross' mark pointer, why? This issue bother me a long time. Any comment is very appreciated.
Say that an indicator sample as below:
class MyIndicator(bt.indicator): lines = ('mva1', 'mva2') def __init__(self): self.l.mav1 = .... self.l.mav2 = ....
My question here is how to get the names, 'mva1' 'mva2', from the existed MyIndicator? I would like to iterate myindicator.lines to get the names but it seems no such attribute, any idea?