OPEN-SOURCE SCRIPT

EL MA cross with BB

Updated
moving average with cross, with additional BB for S&R
Release Notes
- improve crossup and crossdown
- add alert cross up "U" and cross down "D"
- add alert cross up and Volume > Vol average sma 20 with "B"

thanks ;}
Release Notes
- adding rules with macd and volume for alert (Trade with your own risk)
- U for long and short cross-up
- D for long and short cross-down
- blue triangle for macd signal cross (not plot)
- B for Buy signal (short cross long & macd hist >=0)
- S for Sell signal (macd hist cross 0 & vol < vol average 20)

thanks ;}
Release Notes
- adding BB squeeze bg
Release Notes
change BB squeeze from bg fill to BB fill only.
Release Notes
correct macd signal
blue triangle-up = signal crossover
orange triangle-down = signal crossunder
Release Notes
fix macd alert
Release Notes
Fix the signal alert
thanks for the feedback :)
Release Notes
updated with option with multiple MA
MA1 (short) MA2 (long) MA 3 (long3)

option to plot / enable / disable for MA line and BB line
Release Notes
option to use SMA (simple moving average) or EMA (exponential moving average) for plot 1 (short) & 2 (long)
Release Notes
fix BB squeeze for higher price range
Release Notes
updated with plot mid band BB, and ma line fill-up with macd histogram color code (green, light green, red, light red)
alertBollinger Bands (BB)crossoverMoving Average Convergence / Divergence (MACD)Moving Averagessqueeze

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer