SPX Direction Price Display

What it does
Pulls real-time price data from a selected external symbol
Compares the current close to the previous close
Instantly shows whether price is moving up or down using clear color cues and icons
How it displays
Green 🟢 when price is rising, Red 🔴 when price is falling
Displays:
Asset name
Current price
Price change from the previous bar
Can be shown as:
A fixed table in any chart corner or center
An adjacent floating label that follows price action
Customization
Choose any symbol as the external source
Adjust text size for visibility
Select display position or use an offset label beside price
Best use cases
Quickly checking SPX direction while trading other instruments
Clean market bias confirmation without clutter
Dashboard-style reference for intraday and swing traders
A simple, always-visible price direction tool designed for fast decision-making and clean chart layouts.
This indicator displays the current price of the selected symbol (default: SPX) and the change from the previous bar.
It shows:
1) Current value (price)
2) Change vs prior bar
3) A green/red icon showing up or down
WHAT YOU WILL SEE ON THE CHART
You can choose 2 display styles:
A) TABLE MODE (most positions)
- A small 2-row table on your chart
- Row 1: Symbol + current value
- Row 2: Up/Down icon + change
B) ADJACENT MODE
- A label placed to the right of the current bar
- Shows the same info as the table (value + change)
- You can adjust how far to the right it sits using the Offset input
HOW IT DECIDES GREEN VS RED
- If current close > previous close = GREEN icon and green frame
- If current close < previous close = RED icon and red frame
This is based on the selected symbol’s bar-to-bar change.
INPUTS (SETTINGS)
External Source:
- The symbol you want to display (default: SP:SPX)
Text Size:
- Controls the size of the text in the table/label
Output Position:
- Where to place the display on the chart
- If you choose "adjacent", it switches from table to label mode
Adjacent Offset:
- Only used in adjacent mode
- Moves the label to the right of price by this many bars
HOW TO USE IT
1) Add it to your chart
2) Set External Source to the symbol you want (SPX, NDX, etc.)
3) Pick Output Position:
- Use a corner position for the table
- Use "adjacent" if you want the label near price
4) Adjust Text Size and Offset to fit your chart layout
NOTES
- The display updates on the last bar (so it stays clean and not repeated everywhere).
- This is a visual aid only (no trading signals).
Skrip jemputan sahaja
Hanya pengguna disahkan oleh penulis boleh mengakses skrip ini. Anda perlu memohon dan mendapatkan kebenaran untuk menggunakannya. Keizinan selalunya diberikan selepas pembayaran. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi kria2050 secara terus.
TradingView TIDAK menyarankan pembayaran atau penggunaan skrip kecuali anda mempercayai sepenuhnya penulis dan memahami bagaimana ia berfungsi. Anda juga boleh menjumpai alternatif sumber terbuka dan percuma yang lain di dalam skrip komuniti kami.
Arahan penulis
Penafian
Skrip jemputan sahaja
Hanya pengguna disahkan oleh penulis boleh mengakses skrip ini. Anda perlu memohon dan mendapatkan kebenaran untuk menggunakannya. Keizinan selalunya diberikan selepas pembayaran. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi kria2050 secara terus.
TradingView TIDAK menyarankan pembayaran atau penggunaan skrip kecuali anda mempercayai sepenuhnya penulis dan memahami bagaimana ia berfungsi. Anda juga boleh menjumpai alternatif sumber terbuka dan percuma yang lain di dalam skrip komuniti kami.