Kairi Relative Index: How to Spot Perfect Trading Opportunities in TradingView
The Kairi Relative Index is one of those handy indicators that shows how far the current price has strayed from its average. Think of it like a rubber band - when prices stretch too far from the average, they often snap back.

What is Kairi Relative Index Indicator?
The Kairi Index (KRI for short) is pretty straightforward - it measures the percentage difference between today's closing price and its moving average. When the line is above zero, price is above average. Below zero? Price is below average.
Here's how it's calculated:
KRI = ((Close - SMA) / SMA) × 100
In plain English:
- Take today's closing price
- Subtract the moving average
- Divide by that same moving average
- Multiply by 100 to get a percentage
This helps spot:
- When markets might be stretched too far
- Potential turning points
- Changes in momentum
- Good times to enter or exit trades
What is Pineify?
Pineify is like a playground for TradingView indicators. It lets you build, tweak, and test indicators without needing to be a coding expert. Whether you're just starting out or have been trading for years, it makes working with Pine Script way easier.
Why people like it:
- Visual indicator & strategy builder (no coding required)
- Ready-to-use indicator templates
- See your changes instantly
- Test how strategies would've performed
- Big library of examples
- Helpful guides to learn from
Basically, it helps you create tools like the Kairi Index without getting stuck in complex code.
How to add Kairi Relative Index to TradingView?
Getting the Kairi Index on your chart is simple:
- Head to pineify.app
- Click "Editor" or "Create Indicator"
- Search for "Kairi"
- Click to add it to your workspace
- Tweak the settings if needed
- Copy the generated code
- Paste into TradingView's Pine Editor
- Apply it to your chart
Pineify lets you change how it looks too - colors, line styles, even adding alerts.
How to use Kairi Relative Index?
The Kairi Index works best as a momentum gauge. Here's how to read it:
The Basics
- Above zero = Price is above average (bullish)
- Below zero = Price is below average (bearish)
- Zero line acts like a support/resistance
Trading Ideas
- Extreme highs (+10% to +15%) might mean overbought
- Extreme lows (-10% to -15%) might mean oversold
- Crossing zero can signal trend changes
- When price and indicator disagree (divergence), watch for reversals
Pro Tips
- Don't use it alone - combine with other tools
- Consider the bigger trend first
- Adjust the period for more/less sensitivity
- Volatile stocks need wider bands
Best Settings for Kairi Relative Index
The right settings depend on how you trade:
Defaults That Work
- Period: 14 (good starting point)
- Overbought: +10% to +15%
- Oversold: -10% to -15%
Tweaks for Different Styles
Quick Trades (Day Trading):
- Try periods 9-14
- Use tighter bands (±8% to ±12%)
Medium-Term (Swing Trading):
- 14-21 period works well
- Standard bands (±10% to ±15%)
Long-Term Investing:
- Go for 21-50 period
- Wider bands (±15% to ±25%)
Market Adjustments
- Wild markets? Use wider bands
- Calm markets? Narrower bands work
- Strong trends? Focus on zero crosses
- Choppy markets? Watch extremes
Testing Kairi Relative Index Strategies
Before risking real money, test your ideas. Pineify makes this easy with:
What to Test
- Entry rules (when to buy/sell)
- Exit rules (when to take profits/losses)
- Risk controls (how much to risk)
- Position sizing (how much to trade)
Testing Tools
- Market orders (enter/exit at current prices)
- Profit targets (auto-sell at good levels)
- Stop losses (limit your downside)
- Trailing stops (lock in gains)
- Performance stats (see what works)
Example Strategy
// When to buy
buySignal = kri < -10 and kri[1] >= -10 // KRI bounces from oversold
// When to sell
sellSignal = kri > 10 and kri[1] <= 10 // KRI falls from overbought
// Exit rules
exitLong = kri > 10 // Take profit when overbought
exitShort = kri < -10 // Cover when oversold
Testing helps you see how the indicator behaves in different markets without risking capital.
Final Thoughts
The Kairi Index is a simple but powerful tool for spotting when markets might turn. It's easy to understand and works well with other indicators.
Key points:
- Shows how stretched price is from its average
- Works best combined with other tools
- Adjust settings for your trading style
- Always test before trading real money
- Consider market conditions when reading signals
With Pineify, you can easily add this to your TradingView charts and experiment with different settings. Remember - no indicator is perfect, but the Kairi Index can be a helpful addition to your toolkit when used wisely.



