TradingView
UnknownUnicorn3448899
١٨ أيلول سبتمبر ٢٠١٨ ١٨:٣٦

Rainbow Moving Averages 

Tandem Diabetes Care, Inc.NASDAQ

الوصف

This script draws a box tower of moving averages. Each box is a unique color from the rainbow, and there are seven moving averages total. By default, 5, 10, 20, 50, 100, 150, 200 day simple moving averages are used. You could configure the numbers as you wish and also choose EMA, WMA, VWMA, or HullMA. If the price closes at or above a moving average, its box is colored otherwise the box will be gray.
التعليقات
pil
Awesome script. Thanks!
tobyz7
This is an interesting presentation and concept, though I don't think it would help my particular analytical scheme. I can see some visual enhancements that might add a bit of value (and appeal) to what you're doing.

1) Plot the average lines in the price panes in the same color by which they are represented in your box tower.

2) Resequence the color blocks in your tower to be in the same vertical order as the average lines in the price pane. This shows instantly when the average lines cross each other, as happened in July. With crossing lines, it's not always so easy to unscramble which average is the top line. The block tower would show this unambiguously.

3) The use of gray tower blocks for more than one average value could become confusing, less so for TNDM than for a more volatile stock. Consider using solid color vs. a striped or mottled color (instead of gray).

Toby
المزيد