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