Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. study(title="LIANO EMA Dailys", shorttitle="LIANO EMA Dailys", overlay=true)
  2.  
  3. len_sma_50 = input(50, minval=1, title="50 DMA")
  4. len_sma_100 = input(100, minval=1, title="100 DMA")
  5. len_sma_200 = input(200, minval=1, title="200 DMA")
  6.  
  7. resCustom = input(title="Time interval (W, D, [min])", type=string, defval="D")
  8.  
  9. sma_50 = security(tickerid, resCustom, vwma(close, len_sma_50))
  10. sma_100 = security(tickerid, resCustom, vwma(close, len_sma_100))
  11. sma_200 = security(tickerid, resCustom, vwma(close, len_sma_200))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement