OPEN-SOURCE SCRIPT

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.
Bollinger Bands (BB)Exponential Moving Average (EMA)hullLinear RegressionMoving AveragessmasymmetricalTrend Analysisvolumeweightedweightedwilder

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明