Quantzee

AI TrendLevels

Complete guide and FAQ for the AI TrendLevels (QuantZee) indicator — AI-powered trade levels, entry/SL/TP automation, rejection signals, and alerts for intraday traders.

AI TrendLevels — Smart Trade Levels for Intraday Traders

AI TrendLevels is a precision-engineered TradingView indicator crafted for intraday and scalping traders who demand accuracy, clarity, and automation in their decision-making. Built using advanced logic and AI-calibrated parameters, this tool helps you identify high-probability entry zones, take-profit targets, and stop-loss levels with minimal clutter.

Whether you’re a professional day trader or just stepping into the market, QuantZee provides a structured and data-backed approach to trade execution.


What is AI TrendLevels?

AI TrendLevels (QuantZee) is a next-generation TradingView indicator that automates the entire trade planning process — from trend detection to entry execution, stop-loss placement, and multi-level take-profit zones.

Unlike traditional indicators that give vague signals, TrendLevels defines each trade setup with clear visual zones, risk-reward boundaries, and timed alerts — helping you focus on only high-conviction opportunities.

Whether you’re scalping on a 3-min chart or trading directional options, AI TrendLevels brings consistency, automation, and structure to your trading routine.


What Makes TrendLevels Special?

✅ 1. AI-Powered Trend Engine

  • Built on a hybrid model combining Supertrend, WMA, and EMA smoothing.
  • Filters noise while capturing early trend shifts.
  • Visually marked with real-time arrows (⬆ bullish, ⬇ bearish).

✅ 2. Rejection-Based Trade Filtering

  • Adds an advanced “bar-level rejection logic”.
  • Prevents entries unless price tests and holds key support/resistance zones.
  • Configurable “rejection count” ensures only validated setups trigger signals.

✅ 3. Auto Plotted Trade Levels

When a signal is detected, the indicator auto-draws:

  • 📍 Entry Level
  • ❌ Stop Loss (based on ATR x multiplier)
  • 🎯 Take Profits: TP1, TP2, and TP3 (0.5x, 1x, 1.5x risk)

Each level is labeled, color-coded, and updated live.

✅ 4. Dynamic Risk-to-Reward Visualization

  • Instantly see shaded zones from entry to SL and TP3.
  • Visually plan trades with structured R:R zones.
  • Makes trade validation intuitive, especially for quick scalping.

✅ 5. Full Alert Automation

Receive real-time notifications for:

  • 📈 Buy/Sell Entries
  • 📉 Trend Rejections
  • ✅ TP1, TP2, TP3 Hits
  • 🔁 Trend Reversal on SL breach
  • 🔔 Ready to connect to Telegram bots or webhook-based systems (like Tradetron, Meta API, Python scripts, etc.)

Visual Workflow Example

Screenshot represents a real trade setup using AI TrendLevels on NIFTY 3-min chart.

  • Signal: Long Trade
  • Entry: 24,781.95
  • Stop Loss: 24,684.85
  • Target Levels:
    • ✅ TP1: 24,830.50 (Hit)
    • ✅ TP2: 24,879.05 (Hit)
    • ✅ TP3: 24,927.60 (Hit)
  • Trade Outcome: Clean TP1 hit with trailing opportunity

Shaded zones helped visualize R:R. Trade confirmed by trend + rejection logic.


Settings Explained

Trend Settings

  • Supertrend Factor: Controls width of trend band (higher = smoother, fewer signals).
  • ATR Period: Determines volatility sensitivity.
  • WMA/EMA Length: Final smoothing for trend calculation.

Rejection Settings

  • Confirmation Count: Number of candles that must consolidate near trend line before valid signal. Helps filter false moves.

Target Settings

  • ATR-Based SL: Ensures SL adapts to volatility.
  • TP1/TP2/TP3 Multipliers: Customize targets based on personal risk profile.

Appearance

  • Fully color-customizable.
  • Chart remains uncluttered — just key levels and signals.

Who Should Use AI TrendLevels?

ProfileBenefit
📉 ScalpersFast, real-time signals with auto R:R mapping
📊 Option TradersClear directional bias with SL/TP targeting
🧠 Algo BuildersPine Script logic allows easy webhook or bot integration
🎯 Discretionary TradersBring structure and discipline to every intraday setup

Frequently Asked Questions

1) Getting Started & Installation

How do I add the indicator to my chart?

Open TradingView → any chart → Indicators → Invite-only scripts → AI TrendLevels(QuantZee) → Add to chart.

If you don’t see it, confirm your TradingView username was granted access and re-login.

What markets & timeframes does it support?

  • Works on all TradingView symbols (indices, stocks, futures, crypto, FX) and all timeframes (from 1m to 1W+).
  • For intraday equities/indices, we commonly use 3m–15m for entries and 15m–1H for trend context.

Is it an indicator or a strategy? Can it place orders?

Indicator. It does not place trades or show P&L. You can connect alerts to your own broker/automation stack.


2) Core Concepts

What problem does AI TrendLevels solve?

It blends a smoothed Supertrend-style baseline with dynamic rejection detection and ATR-based targets to simplify:

  1. Trend identification
  2. “Rejection” pullback continuation spots
  3. Programmatic targets (TP1/TP2/TP3) and SL visualization
  4. Clean alerting for entries, trend flips, rejections, and TP hits

How is the baseline calculated?

A custom supertrend-like envelope (from ATR over hl2) → WMA smoothing → EMA smoothing forms a single baseline tL.

Trend = +1 when tL slopes up; Trend = −1 when it slopes down. (Internally: ta.crossover(tL, tL[1]) / ta.crossunder(…))

What’s a “Rejection”?

When price straddles the baseline while the slope stays intact, it’s counted as a rejection. After N consecutive such bars (your “Confirmation count”), a continuation marker is plotted (▲ for bullish, ▼ for bearish).


3) Inputs & What They Do

What do the Supertrend/ATR parameters control?

  • Supertrend Factor (st_factor): Widens/narrows the envelope. Higher = fewer, more conservative shifts.
  • Supertrend ATR Period (st_atr_period): Smoother baseline for larger values; more reactive for smaller.
  • WMA Length (wma_length) and EMA Length (ema_length): Smoothing layers on the baseline. Increase to reduce noise.

What does “Confirmation count” do?

Number of consecutive baseline-touching bars needed before printing a Rejection marker. Higher values = more selective continuation signals.

How are SL/TP calculated?

  • ATR Period (atr_period) defines volatility.
  • SL = Entry reference ± ATR * sl_multiplier.
  • TP1/TP2/TP3 = Entry ± (|Entry−SL| * tpX_multiplier).
  • Toggle Show Take Profit Levels to display lines/labels.

Can I change colors?

Yes. Bullish Color and Bearish Color under Appearance.


4) Signals, Targets & Lines

When do Buy/Sell signals appear?

  • Buy when trend flips from −1 to +1.
  • Sell when trend flips from +1 to −1.
  • Visual markers appear on the bars (triangle up/down) and you can alert on them.

How are the Entry / SL / TP lines drawn?

On a fresh Buy/Sell, the script draws Entry, SL, TP1/TP2/TP3 with labels. Lines extend forward automatically; when a new signal appears, previous drawings are cleaned up.

Do TP alerts spam multiple times?

TP3 has an internal one-shot guard (tp3Hit) to avoid duplicate alerts. It resets on a new entry signal.

What if my chart looks cluttered?

Turn off Show Take Profit Levels, or increase Confirmation count, or raise st_factor / smoothing lengths.


5) Alerts (All the Built-in Conditions)

Which alert conditions are available?

Create an alert on the indicator and choose any of:

  • Buy Signal — ”🔔 Buy Signal Triggered on {{ticker}} at {{close}}”
  • Sell Signal — ”🔔 Sell Signal Triggered on {{ticker}} at {{close}}”
  • Trend Change: Bullish — Price crosses above SL reference (informational)
  • Trend Change: Bearish — Price crosses below SL reference (informational)
  • Rejection: Bullish — Wick into SL with close above (continuation feel)
  • Rejection: Bearish — Wick into SL with close below
  • TP1 Hit / TP2 Hit / TP3 Hit — Each target as price crosses the level
  • TP3 Hit (Long) — one-shot guarded
  • TP3 Hit (Short) — one-shot guarded
  • Once per bar close for clean signals; use Once for TP3 one-shots if you’re syncing with automation.
  • For webhook/automation, include placeholders {{ticker}} {{interval}} {{close}} in your alert message if needed by your parser.

6) Repainting & Candle Types

Does it repaint?

  • Signals are produced with completed bar values (baseline slope change is confirmed on bar close).
  • Visual objects extend forward but are based on already confirmed conditions.
  • As with any indicator using bar-close logic, the in-progress bar can show interim states; rely on bar close or alert settings (Once per bar close) for execution.

Can I use Heikin-Ashi/Renko/Range charts?

Yes, but remember those candles transform raw price, which can change signal frequency/behavior. Backtest on your target instrument/timeframe.


7) Typical Workflows & Best Practices

How should I trade the signals?

  • Directional bias from the slope (Trend).
  • Entries on Buy/Sell signals or Rejections in the direction of slope.
  • Risk via ATR-based SL; scale out at TP1/TP2, trail or hold runners into TP3.

What default settings do you recommend?

Start with defaults (Factor 12 / ATR 90 / WMA 40 / EMA 14 / Confirmation 3 / ATR(14) targets; SL mult ~5; TP1 0.5, TP2 1.0, TP3 1.5).

  • Tighter markets: lower st_factor and smoothing.
  • Choppy symbols/timeframes: increase smoothing and/or Confirmation count.

Can I combine with other filters?

Yes — HTF trend, session filters, volume/volatility filters, or your institutional levels. Keep the chart uncluttered.


8) Using with Options / Futures / Automation

Is it suitable for options trading?

Many users map signals on the underlying and execute via options with independent risk rules (delta/expiry/IV filters). The ATR-based SL/TP levels help standardize RR across instruments.

Can I automate via webhook?

Yes. Create alerts on Buy/Sell / TP/SL and send to your webhook (n8n, Python, etc.). Ensure your receiver deduplicates and respects the one-shot TP3 guard if you rely on it.


9) Troubleshooting

I don’t see the script in “Invite-only scripts”.

  • Ensure your TradingView username was granted access.
  • Log out/in; check you’re on the same username you provided.

Alerts are not firing.

  • The alert must be created on the indicator, not on “Price”.
  • Check alert Condition (pick the correct AI TrendLevels event), Options (Once per bar close), Time in force (Active).

Lines don’t extend / labels overlap.

That’s visual only. The script extends lines forward while a signal is active. You can toggle TP visibility or zoom out. TradingView can throttle objects on very low TF + long history; hide old drawings if needed.

It feels late/early on my symbol.

Tune: raise/lower st_factor, ATR periods, WMA/EMA lengths, and Confirmation count to match volatility/structure of your market.


10) Limitations & Notes

  • Indicator, not strategy: no orders or broker connections built-in.
  • Signals rely on completed bars; don’t treat mid-bar shapes as final.
  • Visual objects are for clarity; execution should be alert-driven.
  • Past performance doesn’t guarantee future results; always test and risk-manage.

11) Access, Licensing & Support

How do I get access / remove access?

Access is invite-only via your TradingView username. For changes, raise a support ticket with your username.

Can I share my access?

No. Access is non-transferable and monitored. Please request additional seats for your team if needed.

Where do I report issues or request features?

Contact QuantZee support with: instrument, timeframe, screenshot, and your settings (all inputs + alert condition).


Chart Elements & Visuals

What do the green and red triangles mean?

  • Green triangle (▲) below the bar → Buy signal (trend turned bullish).
  • Red triangle (▼) above the bar → Sell signal (trend turned bearish).

What is the curved baseline line?

That’s the AI TrendLevels baseline (smoothed Supertrend/ATR + WMA + EMA). It changes color shading:

  • Green hue = bullish trend
  • Red hue = bearish trend

What are the horizontal lines with labels (Entry, TP1, TP2, TP3, SL)?

  • Entry (cyan): Where the trade idea starts.
  • SL (red X): Stop-loss calculated via ATR × SL multiplier.
  • TP1 / TP2 / TP3 (✔): Take-profit targets at progressive multiples of the SL distance.
  • They auto-extend forward until a new signal arrives.

Why do I see shaded boxes around price (green/red zones)?

These are line fills between Entry–TP3 and Entry–SL.

  • Green shaded area = profit zone (TP targets).
  • Red shaded area = risk zone (stop-loss).

Signals & Workflow

When should I consider an entry?

When a new Buy/Sell signal appears with an Entry + SL + TP lines plotted. Confirmation: baseline slope changes color (green = long bias, red = short bias).

How do TP hits look on the chart?

Price tags with ”✔ TP1 ▸ …”, ”✔ TP2 ▸ …”, ”✔ TP3 ▸ …” appear when each level is reached. You’ll also see alerts if you’ve enabled them.

What happens after TP3?

Internally, the indicator marks TP3 as “hit” once per trade (guarded by tp3Hit). Visual line stays on chart, but alerts won’t repeat until the next signal.

What if price goes straight to SL?

”✘ SL ▸ …” label is marked, and the shaded loss zone is completed. Alerts for SL are triggered (if enabled).


Rejection Signals (Continuation Patterns)

I see small ▲ or ▼ markers near the baseline, what do they mean?

These are Rejections: when price dips into the baseline but trend slope remains intact. After “Confirmation count” bars (default = 3), it prints ▲ (bullish rejection) or ▼ (bearish rejection). They signal continuation entries rather than new reversals.


Alerts & Automation

Can I set alerts for these events?

Yes. Available alert conditions include:

  • Buy / Sell signals
  • TP1, TP2, TP3 hits
  • SL hit (trend cross events)
  • Rejections (bullish/bearish)
  • Trend change markers

What’s the best alert timing option?

  • Use Once per bar close for reliability (no repaint on mid-bar).
  • Use Once for TP3 one-shots to avoid repeats.

Can I send these alerts to webhook/automation?

Yes. Each alert includes {{ticker}} and {{close}} placeholders.

Example message: BTCUSD 3m | Buy Signal @ 112780.61 | TP1=112959.50


Customization

How do I reduce the number of false flips?

Increase Supertrend Factor (st_factor), ATR Periods, or smoothing (WMA/EMA).

How do I get more frequent signals?

Lower the st_factor, reduce ATR periods, or lower “Confirmation count”.

Can I hide TP/SL lines if my chart gets cluttered?

Yes: Toggle Show Take Profit Levels OFF in settings.

Can I change colors of markers and zones?

Yes: “Bullish Color” and “Bearish Color” under Appearance.


Best Practices

How do I use this for trading?

  • Entry → as per Buy/Sell or Rejection signals.
  • SL → auto-calculated, respect it for risk control.
  • TP → scale out progressively: TP1 (partial), TP2 (majority), TP3 (runners).

Which timeframes work best?

  • 3m–15m for intraday scalping.
  • 1H–4H for swing trading.
  • Use HTF (higher timeframe) context to filter lower-TF entries.

Final Troubleshooting

My chart doesn’t show Entry/TP lines.

  • Ensure Show Take Profit Levels is ON.
  • Wait for a fresh Buy/Sell signal — old signals clean up automatically.

TP3 alert didn’t repeat.

By design, TP3 is one-shot only per trade. It resets when a new Buy/Sell signal comes.

Lines look cut-off or misaligned.

TradingView limits object history on low TF with long chart data. Zoom in or reload chart. Objects are correctly calculated.


Example from BTC Chart

From the chart (BTCUSD, 3m, Binance):

  • Buy Signal at 112780.61 (cyan Entry marker).
  • Stop-loss at 112422.83 (red ✘ label).
  • Targets:
    • TP1 → 112959.50 ✔ (hit)
    • TP2 → 113138.39 ✔ (hit)
    • TP3 → 113317.28 ✔ (active/near hit at time of snapshot).
  • Green shaded zone = profit path; red zone = defined risk.
  • Trend baseline curved up, confirming bullish slope.