Copy script below and adjust based on your preferences.
-function (change function from "sma" to "ema", "wma" and more) -length (25 Day, 150 Day or add more averages to the three in this script.) -color, (red, yellow, etc. or use color hex codes i.e. #FEDA15, #FFAD8F, etc.) -transparency (set to desired level 1-100)
Hi, how to write script with multiple moving average in specific time frame?
example: 1 hour time frame: show MA10 and MA20, Daily time frame: show MA20, MA50 ?
Landu47
⋅
Hi, How do I add an offset to these moving averages?
Example SMA with period 10 with a offset of 5
LOGITRADER
⋅
dude for smooth moving averages what are the initials.
manifresca
⋅
@LOGITRADER, tbh i have no clue. the full script is pasted above.
ashyadav
⋅
Great
luis.filipe
⋅
Thank you very much. I use 3 MAs, different than yours. And with TV lowering the basic plan indicators to 2, I was trying to find something to do to have all my indicators. And I was able to work from your script to make it with the ones I use and it worked great. Thank you.
dhruvvansjalia7
⋅
THANKS
thebrokengroup
⋅
Thanks for this! How do you test a pine script like this?
example: 1 hour time frame: show MA10 and MA20, Daily time frame: show MA20, MA50 ?