TradingView
ryanman0
2018년 1월 21일 오전 8시 8분

6 Simple Blue & 5 Exponential Yellow Moving Averages 

Bitcoin / U.S. dollarBitstamp

설명

6 simple and 5 exponential Moving Averages in one indicator.
I made this because its not always easy to tell what average the price might be bouncing off from when you only have a couple at a time.

For some reason, the defaults aren't working.
To fix this, just open the configuration for the indicator after the first time that you load it.
Then check/uncheck the box and set the time period.
If anyone knows how I can fix this in the code, please let me know.

Blue indicators are simple and the Yellow are exponential.
Thinner more transparent lines are shorter term averages and Thicker lines are longer term averages.

I modeled it after the source of several other scripts which had less averages

릴리즈 노트

I fixed a bug where the 200 SMA was not showing up.

릴리즈 노트

Marketwatch starting to mention a "worst case scenario" being a drop to test the 200 week SMA in the major indexes. I updated the script to hold the weekly 200EMA and 200SMA (just in case).

릴리즈 노트

Updating Version Number only
코멘트
j_p86
Nice script , just don't understand why the lines are choppy and not smooth?
ryanman0
@Crypto_Rage, Thanks for the comment. It is because I am using the moving average calculated using the Daily close. However, the chart is set to 4 hour. This makes multiple periods have the same moving averages. You can either change the chart to 1 day to match the period of the moving averages or you can change the settings of the script in the configuration for it to match the chart. I feel the daily close averages are the most important.
j_p86
@ryanman0, Ahhh I see , thanks that's so helpfull , I've always wanted something like that , cause of the restrictions of the unpayed tradingview account.
Thank you very much mate!
ryanman0
@Crypto_Rage, Thanks. I myself was adding multiple indicators that each had a 2-3 moving averages. It was wasting the number of indicators that I could have. So I studied the source of the others and scripted one up that would have more averages. If it makes too much noise, I just hit the "visible" button next to the configuration. I like to see if the price is bouncing, following or approaching a moving average. however, it takes so long to keep changing between all the time periods and exponential/simple.
j_p86
@ryanman0, Exactly.
atrament
Jesus christ. My eyes.
ryanman0
@atrament, Yeah. I know what you mean. However, its easy enough to either turn off the indicator visibility or switch to another saved "clean" profile view.
더보기