GoldBands

CBG Swing HighLow MA

This indicator will show the swing high and lows for the number of bars back. It's very easy to use and shows good support and resistance levels.

I then took it a step further and added a moving average with all the standard types in my indicators:

SMA
EMA
Weighted
Hull
Symmetrical
Volume Weighted
Wilder
Linear Regression

I then added Bollinger Bands to show the standard deviation from the midline.

Finally, I added a simple bar coloring scheme: green if above the upper BB, Red if below and orange if in the middle.

I am just testing this out so please use with caution. If anyone in the community wants to run some backtests, that would be great and we would all appreciate it.

Of course you can keep it all simple and turn off all the moving averages and bollinger bands .

Enjoy! :-)
版本注释: I have added the ability to have keltner channels as well as bollinger bands. In fact, you can have both displayed at the same time.

You also have the option to color the bars and the background based on either bands.

Finally, I have added shading to the bands.

Enjoy.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其他类型的意见或建议。请在使用条款阅读更多信息。

想在图表上使用此脚本?