RSI Pulse Candles For ThinkOrSwim

cando13579

Active member
VIP
📊RSI Pulse Candles is a momentum-based candle coloring system that combines:
Price action (bullish vs bearish candles) and momentum strength (via RSI) to give you an instant visual read of market intent.

Instead of plain red/green candles, this indicator classifies each candle based on whether price and momentum are aligned or diverging.

XHokcum.png


What the Colors Mean
Each candle tells a story about who’s really in control:
🟢 Green (Bull + Bull)
→ Price is up AND momentum supports it
✅ Strong bullish continuation
🔵 Cyan (Bull Momentum + Bear Candle)
→ Momentum is bullish, but price pulled back
⚠️ Potential dip / pullback in an uptrend
🔴 Red (Bear + Bear)
→ Price is down AND momentum confirms it
✅ Strong bearish continuation
🟣 Magenta (Bear Momentum + Bull Candle)
→ Price bounced, but momentum is still bearish
⚠️ Weak rally / possible trap
⚪ Gray (Neutral)
→ No clear momentum edge
❌ Chop / low-quality conditions

Modes (How Momentum Is Measured)
You can switch how momentum is interpreted:
Momentum vs Center Line (Default)
Uses RSI 50 as the dividing line
Above 50 = bullish bias
Below 50 = bearish bias
✅ Best for general trend trading

Momentum vs Extreme Zones
Uses RSI 70 / 30 levels
Focuses on overbought / oversold extremes
✅ Best for reversals and exhaustion plays

Momentum Rising or Falling
Looks at whether RSI is increasing or decreasing
✅ Best for early momentum shifts

How to Use It (Beginner → Advanced)
🟢 Beginner Use (Simple & Effective)

Trend Confirmation

Look for consecutive Green candles → bullish trend
Look for consecutive Red candles → bearish trend
Trade in that direction only

Avoid Chop
If you see lots of Gray / mixed colors
→ Stay out

Intermediate Use
Pullback Entries

In an uptrend:
Wait for Cyan candles (pullbacks)
Enter when it turns back Green
In a downtrend:
Wait for Magenta candles (weak bounce)
Enter when it turns Red
This helps you buy dips / sell rallies

Advanced Use (Where it gets powerful)
A+ Setup (High Probability)

Only trade:
🟢 Green after Cyan → bullish continuation
🔴 Red after Magenta → bearish continuation
This shows:
Pullback ✔
Momentum still intact ✔
Trend resuming ✔

Momentum Divergence Insight
🟣 Magenta during price rise → hidden weakness
🔵 Cyan during drop → hidden strength
Helps spot traps before they happen

What This Indicator Really Solves
Most traders struggle with:
Entering too late ❌
Getting trapped in fake moves ❌
Trading in chop ❌
This tool helps you:

See real momentum behind candles
Filter weak vs strong moves
Time entries with structure + momentum
Important Tips
Works best on:
ES / SPY / NQ
1m, 5m, 15m charts
Don’t use it alone:
Combine with key levels / structure
Use with your OB / liquidity concepts
MOMENTUM PERIOD IS SET TO 14, PERSONALLY I USE 5, FOR (ES)

Code:
# RSI_Pulse Candles
declare upper;

input ColoringMode = {default "Momentum vs Center Line", "Momentum vs Extreme Zones", "Momentum Rising or Falling"};
input MomentumPeriod = 14;
input Price = close;
input UpperZone = 70.0;
input LowerZone = 30.0;

# Colors
DefineGlobalColor("BullBull", Color.GREEN);
DefineGlobalColor("BullBear", Color.CYAN);
DefineGlobalColor("BearBear", Color.RED);
DefineGlobalColor("BearBull", Color.MAGENTA);
DefineGlobalColor("Neutral", Color.GRAY);

# RSI Momentum
def momentum = RSI(price = Price, length = MomentumPeriod);

# Momentum Bias
def momentumBias =
    if ColoringMode == ColoringMode."Momentum vs Center Line" then
        (if momentum > 50 then 1 else if momentum < 50 then -1 else 0)
    else if ColoringMode == ColoringMode."Momentum vs Extreme Zones" then
        (if momentum > UpperZone then 1 else if momentum < LowerZone then -1 else 0)
    else
        (if momentum > momentum[1] then 1 else if momentum < momentum[1] then -1 else 0);

# Candle Bias
def candleBias = if close > open then 1 else if close < open then -1 else 0;

# Color Index
def colorIndex =
    if momentumBias == 1 and candleBias == 1 then 0
    else if momentumBias == 1 and candleBias == -1 then 1
    else if momentumBias == -1 and candleBias == -1 then 2
    else if momentumBias == -1 and candleBias == 1 then 3
    else 4;

# Assign colors
AssignPriceColor(
    if colorIndex == 0 then GlobalColor("BullBull")
    else if colorIndex == 1 then GlobalColor("BullBear")
    else if colorIndex == 2 then GlobalColor("BearBear")
    else if colorIndex == 3 then GlobalColor("BearBull")
    else GlobalColor("Neutral")
);

# Labels
AddLabel(yes, "RSI Pulse (" + MomentumPeriod + ")",
    if colorIndex == 0 then GlobalColor("BullBull")
    else if colorIndex == 1 then GlobalColor("BullBear")
    else if colorIndex == 2 then GlobalColor("BearBear")
    else if colorIndex == 3 then GlobalColor("BearBull")
    else GlobalColor("Neutral")
);

AddLabel(yes, "RSI: " + Round(momentum, 2),
    if momentum > 50 then Color.GREEN
    else if momentum < 50 then Color.RED
    else Color.GRAY);

# Conditional Lines
plot UpperLine = if ColoringMode == ColoringMode."Momentum vs Extreme Zones" then UpperZone else Double.NaN;
plot LowerLine = if ColoringMode == ColoringMode."Momentum vs Extreme Zones" then LowerZone else Double.NaN;
plot MidLine   = if ColoringMode != ColoringMode."Momentum Rising or Falling" then 50 else Double.NaN;

UpperLine.SetDefaultColor(Color.GRAY);
LowerLine.SetDefaultColor(Color.GRAY);
MidLine.SetDefaultColor(Color.DARK_GRAY);

UpperLine.SetStyle(Curve.SHORT_DASH);
LowerLine.SetStyle(Curve.SHORT_DASH);
MidLine.SetStyle(Curve.LONG_DASH);
 
Last edited by a moderator:

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Hello, I loaded your indicator and my price scale on /ES shows 0-7000. The data shows as a straight line. I can widen the price data manually and it seems OK. It also works on tick charts.
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
895 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top