Add McClellan Oscillator Indicator

This commit is contained in:
moshferatu 2023-10-29 06:22:43 -07:00
parent 3de5acebf3
commit 064454c085

View File

@ -0,0 +1,8 @@
//@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)