xmd79

Best Exponential Moving Average x3

Oct 10th, 2021
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. // This source code is free to use for all my friends
  2. // © MOHAMAD-KL
  3.  
  4. //@version=5
  5. indicator(title='Best Exponential Moving Average x3', shorttitle='EMA*3', overlay=true)
  6. len100 = input.int(100, minval=1, title='First')
  7. src100 = input(close, title='Source')
  8. out100 = ta.ema(src100, len100)
  9. plot(out100, title='EMA - 1', color=color.new(#eae5d7, 0), linewidth=3)
  10.  
  11. len7 = input.int(7, minval=1, title='Second')
  12. src7 = input(open, title='Source')
  13. out7 = ta.ema(src7, len7)
  14. plot(out7, title='EMA - 2', color=color.new(#db0105, 0), linewidth=2)
  15.  
  16. len8 = input.int(8, minval=1, title='Third')
  17. src8 = input(close, title='Source')
  18. out8 = ta.ema(src8, len7)
  19. plot(out8, title='EMA - 3', color=color.new(#12eb06, 0), linewidth=2)
  20.  
Advertisement
Add Comment
Please, Sign In to add comment