You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Currently, I cannot plot the same indicator twice without renaming the indicator. If I want to plot two RSIs, I must name one rsi and the other rsi2. This is needed, for example, when people want to use say an RSI of length 14 and another of length 21.
It would be nice to be able to do this without messing around with renaming variables (especially when some person uses 5 or more of the same indicator for some reason).
Do you know of a current way to do this? And, if not, can this be implemented?
Thanks for everything!
The text was updated successfully, but these errors were encountered:
I'm not sure I understand the question correctly. There should be no problem doing something like this:
varsma=techan.plot.sma().xScale(x).yScale(y);svg.select("g.sma.ma-0").datum(techan.indicator.sma().period(10)(data)).call(sma);svg.select("g.sma.ma-1").datum(techan.indicator.sma().period(20)(data)).call(sma);// Reusing the same SMA. This is ok, we // are plotting on same x and y scales.
Hello,
Currently, I cannot plot the same indicator twice without renaming the indicator. If I want to plot two RSIs, I must name one rsi and the other rsi2. This is needed, for example, when people want to use say an RSI of length 14 and another of length 21.
It would be nice to be able to do this without messing around with renaming variables (especially when some person uses 5 or more of the same indicator for some reason).
Do you know of a current way to do this? And, if not, can this be implemented?
Thanks for everything!
The text was updated successfully, but these errors were encountered: