8 lines
230 B
Plaintext
8 lines
230 B
Plaintext
|
//@version=5
|
||
|
indicator("McClellan Oscillator")
|
||
|
|
||
|
advances = request.security("ADVN", "D", close)
|
||
|
declines = request.security("DECN", "D", close)
|
||
|
|
||
|
value = ta.ema(advances - declines, 19) - ta.ema(advances - declines, 39)
|
||
|
plot(value)
|