Replies: 2 comments 2 replies
-
To join multiple indicator lines on the same indicator plot, just return them together in a tuple. E.g.: class MyStrategy(Strategy):
def init(self):
@self.I
def my_indicator():
ema = EMA(self.data.High, 21)
return ema, SMA(ema, 4) |
Beta Was this translation helpful? Give feedback.
2 replies
-
gotcha. thanks @kernc |
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.
-
Hi there,
I know self.I() has
overlay
parameter to make overlap current indicator on price chart but I want to overlay two different (both of them are oscillators with range -100,100). As you can see from the picture I want to overlay EMA and SMA indicators. Thanks!Beta Was this translation helpful? Give feedback.
All reactions