donchianchannel.py (553B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\packages\carbonui\graphs\donchianchannel.py 2 from __future__ import absolute_import 3 from .graphsutil import MovingHigh, MovingLow 4 from carbonui.graphs.minmaxareagraph import MinMaxAreaGraph 5 6 class DonchianChannel(MinMaxAreaGraph): 7 default_name = 'donchianchannel' 8 9 def ApplyAttributes(self, attributes): 10 attributes['values'] = zip(MovingLow(attributes['values'][0]), MovingHigh(attributes['values'][1])) 11 MinMaxAreaGraph.ApplyAttributes(self, attributes)