Retail Herd Index (RSI + MACD + Stoch) [mqsxn]The Retail Herd Index is a sentiment-style indicator that tracks how many of the “classic retail indicators”: RSI, MACD, and Stochastic are screaming the same thing at once.
Instead of following each tool separately, this script unifies them into a single index score ranging from strongly bearish to strongly bullish. The more they agree, the stronger the signal.
This gives you an immediate snapshot of when retail-favorite signals are aligned (high probability of “herd” behavior), versus when they’re mixed and uncertain.
-----
🔎 How It Works
RSI contributes bullish when it’s oversold (and optionally rising), bearish when it’s overbought (and optionally falling).
MACD contributes bullish when MACD is above Signal (and optionally histogram > 0), bearish when MACD is below Signal (and optionally histogram < 0).
Stochastic contributes bullish on a %K > %D cross in the oversold zone, bearish on a %K < %D cross in the overbought zone.
Each module can be weighted individually, disabled, or tuned with custom thresholds. The total is combined into the Herd Index, plotted as columns above/below zero. Extreme zones can trigger bar coloring, labels, and alerts.
-----
⚙️ Inputs & Settings
Modules
Use RSI / Use MACD / Use Stochastic → Toggle each component on or off.
RSI
RSI Length → Period length for RSI calculation.
RSI Overbought / Oversold → Thresholds that trigger bearish/bullish conditions.
RSI Slope Confirmation → Requires RSI to be rising when oversold or falling when overbought.
RSI Source → Input price source for RSI.
MACD
MACD Fast / Slow / Signal → Standard MACD settings.
Require MACD hist above/below zero → Adds an extra filter: bullish only if histogram > 0, bearish only if histogram < 0.
Stochastic
%K Length / Smoothing / %D Length → Standard stochastic parameters.
Overbought / Oversold → Band levels for extreme signals.
Only count crosses inside bands → Restricts signals to crosses that occur fully inside the OB/OS zones.
Weights
Weight: RSI / MACD / Stoch → Adjust each module’s importance. Setting a weight to 0 disables its contribution.
Display
Color Bars By Herd Index → Colors candles when index is extreme.
Show Extremes Labels → Labels bars when the Herd Index reaches extreme bullish or bearish.
Extreme Threshold → Absolute value at which the index is considered “extreme” (default = 2).
Retail
COT-Extreme ZonesThis indicator visualizes Commitment of Traders (COT) data for Commercials, Non-Commercials, and Retail Traders using net positions.
It highlights extreme positioning zones with colored background boxes:
🔴 Red for extremely short positions and
🟢 Green for extremely long positions,
based on configurable thresholds.
Ideal for swing traders and sentiment-based strategies.
Includes:
– Stepline plots for clean separation
– Fixed opacity zones for clear visual alerts
– Minimalistic labels (one per line)
– Weekly resolution (auto-synced to symbol)
🎯 Use this to identify sentiment extremes that may lead to turning points.
COT-Index-NocTradingCOT Index Indicator
The COT Index Indicator is a powerful tool designed to visualize the Commitment of Traders (COT) data and offer insights into market sentiment. The COT Index is a measurement of the relative positioning of commercial traders versus non-commercial and retail traders in the futures market. It is widely used to identify potential market reversals by observing the extremes in trader positioning.
Customizable Timeframe: The indicator allows you to choose a custom time interval (in months) to visualize the COT data, making it flexible to fit different trading styles and strategies.
How to Use:
Visualize Market Sentiment: A COT Index near extremes (close to 0 or 100) can indicate potential turning points in the market, as it reflects extreme positioning of different market participant groups.
Adjust the Time Interval: The ability to adjust the time interval (in months) gives traders the flexibility to analyze the market over different periods, which can be useful in detecting longer-term trends or short-term shifts in sentiment.
Combine with Other Indicators: To enhance your analysis, combine the COT Index with your technical analysis.
This tool can serve as an invaluable addition to your trading strategy, providing a deeper understanding of the market dynamics and the positioning of major market participants.
Retail & Banker Net PositionsIn any market there are two major sets of participants, Retail traders (like you & I) who command relatively small amounts of capital and typically enter and exits positions quickly, and then Institutional Traders (sometimes referred to as whales) who command large amounts of capital and dictate the overall trend of the market but enter and exit positions slowly.
In this indicator we look at the distinct volume of these two sets of traders and use the net positions of this volume to determine if they are net long (Buying) in the market or net short (Selling).
When each set of traders are on opposite sides of the market (Retail are selling & Institutions are buying for example) it usually results in a battle and choppy price action... the majority of these battles are won by the Institutions as their large sums of money dictate the overall direction markets move.
Some of the best opportunities are when both sets of traders are on the same side of the market & this is where we see real momentum enter the market with quick price moves.
Happy trading =)
BTC Coinbase Premium TrendBTC Coinbase (institutional trader) vs. Binance (retail trader) Premium
Positive values: Coinbase trading at a premium (institutions more bullish than retail)
Negative values: Coinbase trading at a discount (institutions more bearish than retail)
Retail PositioningThis script tries to estimate how inclined may retail traders be to open a position based on popular indicators RSI, Stochastic, Ichimoku, Bollinger Bands, MACD, and 200 EMA. Conditions are:
Plus values
• RSI above 70
• %K above 70 or even
• Conversion line above baseline and price above the cloud
• High above the upper band
• MACD above the signal line
Each condition gives 1 point if true or 2 points if it is also above 200 EMA
Minus values
• RSI below 30
• %K below 30 or even
• Conversion line below baseline and price below the cloud
• Low below the upper band
• MACD below the signal line
Each condition gives -1 point if true or -2 points if it is also below 200 EMA
I still consider the script as in development, so if you have some ideas on how it could be improved or traded, let me know.
BitMEX Funding Visual by Mcrypt28This is a modified script originating from user m59 that better visually represents the BitMEX funding trend over time. Green indicates the funding is positive (longs pay shorts every 8 hours to maintain their position) and red indicates the funding is negative (shorts pay longs). The darker the color means the higher the rate. The unproven theory is that the funding helps to identify what retail investors are doing at a given time. Thus, in downtrends as the negative funding is drying up, a low may be near. In uptrends, as the funding remains negative, retail is generally bearish and continues to sell as institutional investors likely are absorbing. Vice versa for when the funding is positive. In any market in general, money flows from the many to the few. That means whatever retail is doing is generally the opposite of what will be the actual outcome. One more modifier to the m59 script is that volume is factored into the calculation which will impact which threshold (opacity on the chart) it falls within.
If you'd like to chart the BitMEX funding yourself, I'd recommend checking out the source from m59's indicator as that is more likely to stay up to date if BitMEX makes any changes to the way funding is calculated. The source if this is protected for that reason.