OPEN-SOURCE SCRIPT

Trend Discovery by Alex Trend States (Up / Reversal / Down)

95
Author: © Alex Neighbors
Version: v6

The Call/Put Arrow Indicator is a complete market direction tool that identifies high-probability CALL (bullish) and PUT (bearish) opportunities using a combination of:

Simple Moving Averages (SMA)

RSI Momentum

MACD confirmation

VWAP trend filtering

Real-time trend classification (Trending Up, Trending Down, or Reversal)

It provides visual buy/sell arrows, trend labels, and alerts, helping traders quickly recognize optimal option entry points and directional momentum changes.

*** How It Works

✅ CALL Arrow (Green, Up Arrow Below Candle):
Triggered when:

Fast SMA > Slow SMA (uptrend)

RSI > Threshold (default 55)

MACD Line > Signal Line

(Optional) Price > VWAP

🔻 PUT Arrow (Red, Down Arrow Above Candle):
Triggered when:

Fast SMA < Slow SMA (downtrend)

RSI < Threshold (default 45)

MACD Line < Signal Line

(Optional) Price < VWAP

**Trend Detection System:

Trending Up: Both SMAs rising with bullish alignment

Trending Down: Both SMAs falling with bearish alignment

Trend Reversal: Detected instantly when Fast SMA crosses the Slow SMA (marked by a diamond)

Visuals

🟩 Green arrows below candles for CALL entries

🟥 Red arrows above candles for PUT entries

🟢/🔴 Diamonds mark trend reversals

Trend status panel in the top-right corner

Optional background or bar coloring for quick visual confirmation

Alerts
You can create alerts for:
CALL Buy Signal
PUT Buy Signal
Trend Reversal Up
Trend Reversal Down

All alerts trigger exactly when arrows or reversals appear on the chart.

--Best Use

Works on any symbol or timeframe (scalping, swing, or trend trading)

Optimized for SPX, QQQ, TSLA, and high-volume tickers

Ideal for traders combining options flow or price action confirmation

Customization

You can adjust:

SMA lengths

RSI thresholds

MACD parameters

VWAP filter toggle

Background/bar coloring and panel display

Why Traders Love It

Simple, clean chart visuals

Non-repainting, confirmed-bar signals

Multi-filter logic for high accuracy

Trend panel for instant context

Use this indicator to stay on the right side of the market.
Identify reversals early, trade the momentum confidently, and never miss your next CALL or PUT setup again.

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.