OPEN-SOURCE SCRIPT
Updated

Candle Above or Below 21 EMA (BLACKJACK)

111

snapshot

This indicator shows a bar color change to red or green after the first candle closes fully above or fully below the 21 EMA and white when the candle is in between or touching the 21 EMA. Trends tend to ride the 21 EMA, also known as the 21 Club.

How to use: (You must turn off your bar, wick and border colors on the chart symbol settings for the candle colors on this indicator to work. You can change all of these colors within the indicator)

This indicator should be used as your final confirmation to enter or exit a trade and I would not use it on it's own. All other confluences with other indicators should happen before this final confirmation. Wait for a bullish or bearish engulfing candle to print after color change to red or green, or after alert to confirm. I use this indicator with Trendilo, STOCH RSI MTF, and ADX trendlines with chart and higher time frames with good results but let me know in the comments of anything else that works well.

You can set alerts for when the first candle prints fully above or below the 21 EMA. (BULL 21 BLACKJACK and BEAR 21 BLACKJACK).

I've also added 3 other EMAs that you can change the lengths and colors for so you don't have to use a separate EMA indicator.

Hope you enjoy!
Release Notes
This indicator shows a bar color change to red or green after the first candle closes fully above or fully below the 21 EMA and white when the candle is in between or touching the 21 EMA. Trends tend to ride the 21 EMA, also known as the 21 Club.

(You must turn off or adjust the opacity of your bar, wick and border colors on the chart symbol settings for the candle colors on this indicator to work. You can change all of these colors within the indicator, or you can do half and half colors if you adjust the opacity on both the indicator colors and the chart symbol settings)

This indicator should be used as your final confirmation to enter or exit a trade and I would not use it on it's own. All other confluences with other indicators should happen before this final confirmation. Wait for a bullish or bearish engulfing, or other bullish or bearish candle to print after color change to red or green, or after alert to confirm. I use this indicator with Trendilo, STOCH RSI MTF, and ADX trendlines with chart and higher time frames with good results but let me know in the comments of anything else that works well.

You can set alerts for when the first candle prints fully above or below the 21 EMA. (BULL 21 BLACKJACK and BEAR 21 BLACKJACK).

I've also added 3 other EMAs that you can change the lengths and colors for so you don't have to use a separate EMA indicator.

*I updated the script to V2 as you can now add a VWAP on the chart.

Hope you enjoy!
Release Notes
V2 Update added VWAP.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.