PINE SCRIPT v5 · TRADINGVIEW

Indicators that show you the losing trades too.

Trend, breakout and risk scripts for TradingView. Every backtest we publish includes the drawdown and the trades that went wrong — because that is the number that decides your position size.

Works on any symbol and timeframe on TradingView. No broker link, no API keys.

NIFTY 50 15m Trend Compass LIVE ON CHART
115 110 105 100 96 BUY EXIT
248
Trades backtested
61.3%
Win rate
1.94
Profit factor
−12.4%
Max drawdown

Three scripts. Each one answers a different question.

No bundle of forty redundant oscillators. These three cover entry, confirmation and exit — and they are built to be read together on one chart.

Trend Compass

tradebaba_trend_v5.pine

An ATR-based trail that flips direction only when the move survives a volatility filter. Fewer flips in chop, which is where most trend scripts bleed.

  • Direction flip alerts, bar-close only
  • Adjustable ATR length and multiplier
  • Higher-timeframe bias filter

Breakout Radar

tradebaba_breakout_v5.pine

Marks consolidation boxes as they form and fires only when price closes outside with volume above its own average. Failed breakouts are labelled too.

  • Auto-drawn range boxes
  • Volume confirmation threshold
  • Retest and failure markers

Risk Trail

tradebaba_risk_v5.pine

Plots your stop and two targets from the moment you enter, sized off current volatility rather than a fixed percentage. Shows the rupee risk per lot on the chart.

  • ATR stop with 1R and 2R targets
  • Position size for your capital
  • Break-even shift at 1R

The last ten signals, wins and losses.

Exported from the TradingView Strategy Tester on NIFTY 50, 15-minute chart, no re-painting and no hindsight entries. Updated at the end of every week.

Trend Compass — recent closed signals

NIFTY 50 · 15m · last updated 31 Oct 2026
DateSignalEntryExitResultR multiple
28 OctLong24,11824,402WIN+2.1R
24 OctShort24,34024,205WIN+1.0R
22 OctLong24,26624,190LOSS−1.0R
17 OctLong23,90224,281WIN+2.8R
15 OctShort24,01024,088LOSS−1.0R
11 OctShort24,15523,884WIN+2.0R
09 OctLong23,77023,702LOSS−1.0R
04 OctLong23,51223,948WIN+3.2R
02 OctShort23,69023,604WIN+0.9R
27 SepLong23,44823,380LOSS−1.0R
6 wins, 4 losses, net +8.0R over this window. A losing run of four in a row has happened before and will happen again — size accordingly.

On your chart in about two minutes.

Invite-only scripts, granted to your TradingView username. Nothing to install and nothing that touches your broker account.

STEP 01

Send your TradingView username

Pick a plan and enter the username exactly as it appears in your TradingView profile.

STEP 02

We grant access

Scripts appear under Indicators → Invite-only, usually within a few hours on working days.

STEP 03

Add to chart and set alerts

Apply to any symbol, tune the inputs for your timeframe, and set alerts for the signals you want.

Pricing

Cancel whenever you want. Prices include GST.

Single
₹999/ month
Any one indicator
  • One script of your choice
  • All symbols and timeframes
  • Signal alerts
  • Setup guide
Choose Single
MOST TAKEN
All Access
₹2,199/ month
All three indicators
  • Trend Compass, Breakout Radar, Risk Trail
  • Every new script we release
  • Private members group
  • Weekly settings notes
Choose All Access
Lifetime
₹29,999once
Pays for itself in about 14 months
  • Everything in All Access
  • No renewal, ever
  • All future releases included
  • Priority support
Choose Lifetime

Questions worth asking

Will this make me profitable?

On its own, no. An indicator marks conditions on a chart; it does not manage your risk, your position size or your patience, and those decide the outcome far more than entries do. What a good script does is make your rules repeatable and stop you from arguing with yourself mid-trade. If anyone sells you a tool promising profit, walk away.

Do the signals repaint?

No. All signals are confirmed on bar close and the historical markers match what the script printed live. You can verify this yourself with the bar-replay tool on any chart before your first renewal.

Which markets and timeframes work best?

The scripts run on any symbol TradingView carries — NSE and BSE equities, index futures and options, MCX commodities, crypto and forex. Trend Compass is tuned for 15-minute and above; below that, signal frequency rises faster than signal quality.

Do I need a paid TradingView plan?

Invite-only scripts work on the free plan. You will want at least Essential if you need more than one alert or more than two indicators on a chart at once.

Does this place trades for me?

No. Nothing connects to your broker, and we never ask for API keys or login details. These are chart indicators — every order is placed by you.

Is TradeBaba a SEBI-registered advisor?

No, and we do not give advice. We sell charting tools. We do not recommend specific securities, manage money, or tell you what to buy. For advice on your own portfolio, speak to a SEBI-registered Investment Adviser.

What if it does not suit my style?

Monthly plans can be cancelled before the next cycle and access ends at the end of the period you paid for. We would rather you stop than keep paying for a tool you do not use.

Put it on your own chart first.

Check the signals against your last month of trades before you commit to anything longer than a month.