Bollinger Bands Weighted Alert System (BBWAS)

rodrigo.aprieto アップデート済   
The idea of this indicator is very similar to my previous published script called BBAS (Bollinger Bands Alert System).
Just with little additions. In this case, we're using a Weighted Moving Average (ta.wma) instead of Simple Moving Average to calculate the basis line.

A breakout in trading refers to a situation where the price of a security or asset moves beyond a defined level of support or resistance, which is typically indicated by technical analysis tools like Bollinger Bands. Bollinger Bands consist of three lines: the upper band, the lower band, and the middle band (or basis). The upper and lower bands are set at a specified number of standard deviations away from the middle band, and they help to define the range within which the price of an asset is expected to fluctuate.

When the price of the asset moves beyond the upper or lower band, it is said to have "broken out" of the range. If the price closes below the lower band, it is considered a bearish breakout, and if it closes above the upper band, it is considered a bullish breakout.

Once a breakout occurs, traders may look for a confirmation signal before entering a trade. In this case, crossing the middle line (or basis) after a breakout may signal a potential trend reversal and a good opportunity to enter a long or short trade, depending on the direction of the breakout.

Dear traders, while we strive to provide you with the best trading tools and resources, we want to remind you to exercise caution and diligence in your investing decisions.
It is important to always do your own research and analysis before making any trades. Remember, the responsibility for your investments ultimately lies with you.

Happy trading!
  • Adding RSI reversal alerts
  • Added strategy calculation: options to set potential take profit & stop-loss.
  • Fix: looking previous period to check for breakout upside or downside
  • Adding ability to configure dynamic TPSL using Swing Low/High and custom Risk Reward Ratio (RRR). Hint: read the tooltips next to each parameter to understand how it works.


TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。