Skip to content

Instantly share code, notes, and snippets.

@alexpunct
Forked from pequet/3ma.txt
Last active July 5, 2018 12:52
Show Gist options
  • Save alexpunct/5f4adb277b2567e670230f474688aef3 to your computer and use it in GitHub Desktop.
Save alexpunct/5f4adb277b2567e670230f474688aef3 to your computer and use it in GitHub Desktop.
//@version=3
study("3 MA - EMA13 SMA30 SMA200", overlay=true, scale=scale.right)
plot(ema(close, 13), color=red, title="13 EMA", linewidth=2, style=line, transp=20)
plot(sma(close, 30), color=yellow, title="30 SMA", linewidth=3, style=line, transp=20)
plot(sma(close, 200), color=white, title="S00 SMA", linewidth=3, style=line, transp=20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment