Retail Sentiment Indicator - Multi-Asset CFD & Fear/Greed IndexRetail Sentiment Indicator - Multi-Asset CFD & Fear/Greed Index
Overview
The Retail Sentiment Indicator provides real-time sentiment data for major financial instruments including stocks, forex, commodities, and cryptocurrencies. This indicator displays retail trader positioning and market sentiment using CFD data and fear/greed indices.
Methodology and Scale Calculation
This indicator operates on a **-50 to +50 scale** with zero representing perfect market equilibrium.
Scale Interpretation:
- **Zero (0)**: Market balance - exactly 50% of investors buying, 50% selling
- **Positive values**: Majority buying pressure
- Example: If 63% of investors are buying, the indicator shows +13 (63 - 50 = +13)
- **Negative values**: Majority selling pressure
- Example: If 92% of investors are selling, the indicator shows -42 (50 - 92 = -42)
BTC Fear & Greed Index Scaling:
The original `BTC FEAR&GREED` index is natively scaled from 0-100 by its creator. In our indicator, this data has been rescaled to also fit the -50 to +50 range for consistency with other sentiment data sources.
This unified scaling approach allows for direct comparison across all instruments and data sources within the indicator.
-Important Data Source Selection-
Bitcoin (BTC) Data Sources
When viewing Bitcoin charts, the indicator offers **two different data sources**:
1. **Default Auto-Mode**: `BTCUSD Retail CFD` - Retail CFD traders sentiment data (automatically loaded).
2. **Manual Selection**: `BTC FEAR&GREED` - Fear & Greed Index from website: alternative dot me
**To access BTC Fear & Greed Index**: Input settings -> disable checkbox "Auto-load Sentiment Data" -> manually select "BTC FEAR&GREED" from the dropdown menu.
US Stock Market Data Sources
For US stocks and indices (S&P 500, NASDAQ, Dow Jones), there are **two data source options**:
1. **Default Auto-Mode**: Individual retail CFD sentiment data for each instrument
2. **Manual Selection**: `SNN FEAR&GREED` - SNN's Fear & Greed Index covering the overall US market sentiment. SNN was used as the name to avoid any potential trademark infringement.
**To access SNN Fear & Greed Index**: When viewing US market charts, disable in input settings checkbox "Auto-load Sentiment Data" and manually select "SNN FEAR&GREED" from the dropdown menu.
This distinction allows traders to choose between **instrument-specific retail sentiment** (auto-mode) or **broader market sentiment indices** (manual selection).
Features
- **Auto-Detection**: Automatically loads sentiment data based on the current chart symbol
- **Manual Selection**: Choose from 40+ supported instruments when auto-detection is unavailable
- **Multiple Data Sources**: Combines retail CFD sentiment with Fear & Greed indices
- **Visual Zones**: Clear greed/fear zones with color-coded backgrounds
- **Real-time Updates**: Live sentiment data from merged data sources
Supported Instruments
Major Indices
- S&P 500, NASDAQ, Dow Jones 30, DAX
Forex Pairs
- Major pairs: EURUSD, GBPUSD, USDJPY, USDCHF, USDCAD
- Cross pairs: EURJPY, GBPJPY, AUDUSD, NZDUSD, and 20+ others
Commodities
- Precious metals: Gold (XAUUSD), Silver (XAGUSD)
- Energy: WTI Oil
- Agricultural: Wheat, Coffee
- Industrial: Copper
Cryptocurrencies
- Bitcoin (BTC) sentiment data
- BTC & SNN Fear & Greed indices
How to Use
1. **Auto Mode** (Default): Enable "Auto-load Sentiment Data" to automatically display sentiment for the current chart symbol
2. **Manual Mode**: Disable auto-load and select from the dropdown menu for specific instruments
3. **Interpretation**:
- Values above 0 (green) indicate retail greed/bullish sentiment
- Values below 0 (red) indicate retail fear/bearish sentiment
- Fear & Greed indices use 0-100 scale (50 is neutral)
Data Sources
This indicator uses curated sentiment data from retail CFD providers and established fear/greed indices. Data is updated regularly and sourced from reputable financial data providers.
Trading Strategy & Market Philosophy
Contrarian Trading Approach
The primary purpose of this indicator is based on the fundamental market principle that **the majority of retail investors are often wrong**, and markets typically move opposite to the positions held by the majority of market participants.
Key Strategy Guidelines:
- **Contrarian Signal**: When the majority of users are positioned on one side of the market, there is statistically greater market advantage in taking positions in the opposite direction
- **Trend Exhaustion Signal**: An interesting observed phenomenon occurs when, during a long-lasting trend where the majority of investors have consistently been on the wrong side, the Sentiment indicator suddenly shows that the majority has flipped and opened positions in the direction of that long-running trend. This is often a signal of fuel exhaustion for further movement in that direction
Interpretation Examples
- High greed readings (majority bullish) → Consider bearish opportunities
- High fear readings (majority bearish) → Consider bullish opportunities
- Sudden sentiment flip during established trends → Potential trend reversal signal
Technical Notes
- Built with PineScript v6
- Dynamic symbol detection with fallback options
- Optimized for performance with minimal resource usage
- Color-coded visualization with customizable zones
Data Sources & Expansion
Acknowledgments
We extend our gratitude to **TradingView** for enabling the use of custom data feeds based on GitHub repositories, making this comprehensive sentiment analysis possible.
Data Expansion Opportunities
As the operator of this indicator, I am **open to suggestions for new data sources** that could be integrated and published. If you have ideas for additional instruments or sentiment data:
How to Submit Suggestions:
1. Send a **private message** with your proposal
2. Include: **instrument/data type**, **source**, and **brief description**
3. If technically feasible, we will work to import and publish the data
Data Infrastructure Status
Current Data Upload Process:
Please note that sentiment data uploads may occasionally experience minor interruptions. However, this should not pose significant issues as sentiment data typically changes gradually rather than rapidly.
Infrastructure Development:
We are actively working on establishing permanent cloud-based infrastructure to ensure continuous, automated data collection and upload processes. This will provide more reliable and consistent data availability in the future.
Disclaimer
This indicator is for educational and informational purposes only. Sentiment data should be used as part of a comprehensive trading strategy and not as the sole basis for trading decisions. Past performance does not guarantee future results. The contrarian approach described is a market theory and may not always produce profitable results.
CFD
Monday Highlight (Futures, Forex, CFD)Hello Traders
This is a very simple indicator that will highlight the background vertically over every Monday for Futures, Forex and CFD markets. I use this indicator in all my technical analysis as it lets me very quickly see where each week begins without being too distracting. It can be easily customizable to whatever color, transparency level and visibility you want. Because of the way closing times are processed in different markets I could not make a single indicator to include all markets, but check out my second Monday Highlight indicator for Crypto and Stock markets.
Hope you find them useful and don't forget to add them to your "favorites" list for easy access.
CFD Ticks LevelsSimple but very effective script that finds areas of support and resistance through ticks exchange. Only works with CFDs
(You must enter in the settings the value corresponding to the CFD, example: US500 = 500, DAX30 = 30, FRANCE40 = 40 etc ...)
As usual, if you have any suggestions or bug reports don't hesitate.
Cheers
MACD Crossover with signalsMACD Crossover with signals - a simple trading indicator based on classic MACD.
It shows crossovers and plots them on chart as "Long" or "Short".
The MACD itself is not plotted in order to keep your charts cleaner.
By default, all the crossovers are displayed on the chart.
However, you can use only trend-based ones. They are filtered according to the trend (which is plotted and colored using 200 period EMA) and the "zero-line rule" of the MACD.
So if you consider using only trend-based signals, the indicator will only show Long signals on an uptrend and Short signals on a downtrend.
All signals/lines can be turned on/off and styled in the settings menu.
It can be used with all major timeframes and assets (crypto, fx, cfd, stocks, commodities etc).
Consider using it with respect to your trading style, money- and risk-management as well as other strategies and indicators.
If it was useful for you – hit the Like button and share it with your friends - it's free 😉
Buy/Sell ZonesEN:
This indicator is made to display main buy/sell zones of an asset. The core parameters are: Price, Volume and Donchian Channels.
It is more trend-based and may be suitable for swing traders or those who trade higher timeframes (1D and above).
The plotted colors display the dominance of buyers, sellers or indecision on the market at the current timeframe.
If the zone is green - consider opening Long/Buy positions.
If the zone is red - consider opening Short/Sell or scale out your position.
The white zone displays indecision between Bulls and Bears - consider not to take any trades within white zone.
RU:
Этот индикатор показывает зоны покупателя/продавца выбранного актива. Основные параметры расчета: Цена, Объем и Каналы Дончиана.
Он является индикатором трендового анализа и больше подходит для свинг-трейдеров или тех, кто торгует на старших таймфреймах (от 1Д).
Отображаемые цвета показывают доминацию продавца, покупателя или неопределенность на рынке в конкретный временной период.
Зеленая зона указывает на преобладание покупателя - возможно открытие длинных позиций/покупок .
Красная зона указывает на преобладание продавца - потенциальный момент для открытия коротких позиций/продаж или сокращения своих длинных позиций/покупок .
Белая зона указывает на неопределенность на рынке - в этой зоне лучше не предпринимать никаких торговых решений .
EN: This indicator may be used for Crypto markets
RU: Этот индикатор можно использовать для криптовалютных рынков
BITSTAMP:BTCUSD
BITSTAMP:ETHUSD
COINBASE:COMPUSD
EN: Stocks, CFD and commodities
RU: Акций, CFD и рынков сырьевых товаров
FOREXCOM:SPXUSD
NASDAQ:TSLA
NYSE:BA
NASDAQ:EBAY
FOREXCOM:XAUUSD
EN: Consider using it with respect to Your trading style, money- and risk-management as well as other indicators
RU: Используйте этот индикатор в соответствии со своим стилем торговли, риск-, мани-менеджментом и другими индикаторами.
Live Mini Terminal 3 : Relative Forex & Futures Change DataThis script displays relative data changes occurring in the adjustable period and/or adaptive automatic period in the rest liquid futures.
It was inspired by the data terminals used by commercial traders.
Period selection can be set in the menu.
This script uses the adaptive period algorithm used by Autonomous LSTM and Relativity scripts.
Or you can set the period manually from the menu.
For more information about adaptive period:
This script works only for 1 day (1D) and 1 week (1W) time frames.
Since COT data is used, the most efficient time frame is 1 week (1W) .
Features
Value changes on a percentage basis (%)
Commitment of Traders position changes on a percentage basis :
Net position percentage is calculated as Short - Long and there is no inverse relationship.
Direct relationship is provided.
Due to the advantage of movement, future data were drawn instead of spot values on the required instruments.
The script provides the opportunity to comment on all major and minor Forex parities with liquid futures.
INSTRUMENTS
Euro Futures (EURUSD)
British Pound Futures (GBPUSD)
Canadian Dollar Futures (CADUSD)
Swiss Franc Futures (CHFUSD)
Australian Dollar Futures (AUDUSD)
New Zealand Dollar Futures (NZDUSD)
Corn Futures
Soybeans Futures
Sugar Futures
Wheat Futures
Copper Futures (XCU)
Platinum Futures (XPT)
Position Change InfoPanel
Position definition for the related instruments and data were taken and the calculations were made.
USAGE
The script can be used as an indicator by putting it under the chart as shown above.
It is necessary to enlarge to see clearly.
Since it is not often looked at, such use under chart is the best method for healthy interpretation.
Regards.
Syminfo.TypeHello traders
Earlier this week I discovered a new built-in variable called syminfo.type
What is it for?
This variable returns the type of the current symbol. Possible values are cfd, stock, futures, indices, forex, crypto, fund.
Cool bro but... should we care?
Well... we all should. Imagine you have a generic script and you want a different configuration whether you're trading FOREX or Crypto .
I designed a dummy example in that script that will preset the inputs according to the asset type from the chart.
Here I want 12/26/9 for forex and 20/50/50 for crypto - 30/60/90 otherwise
Quick caveat
It seems that for any crypto asset, syminfo.type returns "bitcoin". TradingView will fix it at some point but wanted to give you the heads-up regardless
Enjoy and all the BEST ^^
--
Dave
Main Trend Alert v1.1*** New Version of Main Trend Alert ***
This is an indicator that shows the main trend of and chart (crypto, forex, stock and etc). Good for day trading.
- HOW TO USE: When you are on lower timeframe, set the "Main Timeframe" to a higher timeframe from settings.
For example: Set "Main Timeframe = 1 Hour" when you are trading on 5 minute chart.
* Never trade just based on alerts of this script. Always use it with a system you like. Keep in mind that his script doesn't determine the stop loss and exit point.
* NO REPAINTS *
Good Luck,
COT/CFD:CIP-DThe Commitments of Traders (COT) reports provide traders positions at the close of Tuesday's trading session. Reports show how many long and how many short contracts do traders of each category hold. This version covers the change in positions (CIP) in disaggregated format for CFD's. Default is Futures only. You can include Options from the input menu. From the style menu you can turn on or off different trader groups data. As the original data is weekly, charts will only work at weekly and upper time frames.