Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. study("SMA Slope")
  2.  
  3. sma_period = input(60, title="SMA Period")
  4. sm1 = sma(close, sma_period)
  5. slope = (sm1[0]-sm1[1])
  6. plot(slope/2, color=yellow, transp=100)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement