Is there any way to add 2 indicators with different overlay?

57 Views Asked by At

Is there any way to add 2 indicators with different overlay. Eg: in 1 pine script, I have EMA with overlay=true and RSI with overlay=false ?

indicator(title="RSI Indicator", overlay=false)
#code for RSI indicator

indicator(title="EMA Indicator", overlay=true)
#code for EMA indicator
0

There are 0 best solutions below