Price Heat Meter [ChartPrime]⯁ OVERVIEW
Price Heat Meter visualizes where price sits inside its recent range and turns that into an intuitive “temperature” read. Using rolling extremes, candles fade from ❄️ aqua (cold) near the lower bound to 🔥 red (hot) near the upper bound. The tool also trails recent extreme levels, tags unusually persistent extremes with a % “heat” label, and shows a bottom gauge (0–100%) with a live arrow so you can read market heat at a glance.
⯁ KEY FEATURES
Rolling Heat Map (0–100%):
The script measures where the close sits between the current Lowest Low and Highest High over the chosen Length (default 50).
Candles use a two-stage gradient: aqua → yellow (0–50%), then yellow → red (50–100%). This makes “how stretched are we?” instantly visible.
Dynamic Extremes with Time Decay:
When a new rolling High or Low is set, the script starts a faint horizontal trail at that price. Each bar that passes without a new extreme increases a counter; the line’s color gradually fades over time and fully disappears after ~100 bars, keeping the chart clean.
Persistent-Extreme Tags (Reversal Hints):
If an extreme persists for 40 bars (i.e., price hasn’t reclaimed or surpassed it), the tool stamps the original extreme pivot with its recorded Heat% at the moment the extreme formed.
• Upper extremes print a red % label (possible exhaustion/resistance context).
• Lower extremes print an aqua % label (possible exhaustion/support context).
Bottom Heat Gauge (0–100% Scale):
A compact, gradient bar renders at the bottom center showing the current Heat% with an arrow/label. ❄️ anchors the left (0%), 🔥 anchors the right (100%). The arrow adopts the same candle heat color for consistency.
Minimal Inputs, Clear Theme:
• Length (lookback window for H/L)
• Heat Color set (Cold / Mid / Hot)
The defaults give a balanced, legible gradient on most assets/timeframes.
Signal Hygiene by Design:
The meter doesn’t “call” reversals. Instead, it contextualizes price within its range and highlights the aging of extremes. That keeps it robust across regimes and assets, and ideal as a confluence layer with your existing triggers.
⯁ HOW IT WORKS (UNDER THE HOOD)
Range Model:
H = Highest(High, Length), L = Lowest(Low, Length). Heat% = 100 × (Close − L) / (H − L).
Extreme Tracking & Fade:
When High == H , we record/update the current upper extreme; same for Low == L on the lower side. If the extreme doesn’t change on the next bar, a counter increments and the plotted line’s opacity shifts along a 0→100 fade scale (visual decay).
40-Bar Persistence Labels:
On the bar after the extreme forms, the code stores the bar_index and the contemporaneous Heat% . If the extreme survives 40 bars, it places a % label at the original pivot price and index—flagging levels that were meaningfully “tested by time.”
Unified Color Logic:
Both candles and the gauge use the same two-stage gradient (Cold→Mid, then Mid→Hot), so your eye reads “heat” consistently across all elements.
⯁ USAGE
Treat >80% as “hot” and <20% as “cold” context; combine with your trigger (e.g., structure, OB, div, breakouts) instead of acting on heat alone.
Watch persistent extreme labels (40-bar marks) as reference zones for reaction or liquidity grabs.
Use the fading extreme lines as a memory map of where price last stretched—levels that slowly matter less as they decay.
Tighten Length for intraday sensitivity or increase it for swing stability.
⯁ WHY IT’S UNIQUE
Rather than another oscillator, Price Heat Meter translates simple market geometry (rolling extremes) into a readable temperature layer with time-aware extremes and a synchronized gauge . You get a continuously updated sense of stretch, persistence, and potential reversal context—without clutter or overfitting.
Sentiment
Market Cap Landscape 3DHello, traders and creators! 👋
Market Cap Landscape 3D. This project is more than just a typical technical analysis tool; it's an exploration into what's possible when code meets artistry on the financial charts. It's a demonstration of how we can transcend flat, two-dimensional lines and step into a vibrant, three-dimensional world of data.
This project continues a journey that began with a previous 3D experiment, the T-Virus Sentiment, which you can explore here:
The Market Cap Landscape 3D builds on that foundation, visualizing market data—particularly crypto market caps—as a dynamic 3D mountain range. The entire landscape is procedurally generated and rendered in real-time using the powerful drawing capabilities of polyline.new() and line.new() , pushed to their creative limits.
This work is intended as a guide and a design example for all developers, born from the spirit of learning and a deep love for understanding the Pine Script™ language.
---
🧐 Core Concept: How It Works
The indicator synthesizes multiple layers of information into a single, cohesive 3D scene:
The Surface: The mountain range itself is a procedurally generated 3D mesh. Its peaks and valleys create a rich, textured landscape that serves as the canvas for our data.
Crypto Data Integration: The core feature is its ability to fetch market cap data for a list of cryptocurrencies you provide. It then sorts them in descending order and strategically places them onto the 3D surface.
The Summit: The highest point on the mountain is reserved for the asset with the #1 market cap in your list, visually represented by a flag and a custom emblem.
The Mountain Labels: The other assets are distributed across the mountainside, with their rank determining their general elevation. This creates an intuitive visual hierarchy.
The Leaderboard Pole: For clarity, a dedicated pole in the back-right corner provides a clean, ranked list of the symbols and their market caps, ensuring the data is always easy to read.
---
🧐 Example of adjusting the view
To evoke the feeling of flying over mountains
To evoke the feeling of looking at a mountain peak on a low plain
🧐 Example of predefined colors
---
🚀 How to Use
Getting started with the Market Cap Landscape 3D:
Add to Chart: Apply the "Market Cap Landscape 3D" indicator to your active chart.
Open Settings: Double-click anywhere on the 3D landscape or click the "Settings" icon next to the indicator's name.
Customize Your Crypto List: The most important setting is in the Crypto Data tab. In the "Symbols" text area, enter a comma-separated list of the crypto tickers you want to visualize (e.g., BTC,ETH,SOL,XRP ). The indicator supports up to 40 unique symbols.
> Important Note: This indicator exclusively uses TradingView's `CRYPTOCAP` data source. To find valid symbols, use the main symbol search bar on your chart. Type `CRYPTOCAP:` (including the colon) and you will see a list of available options. For example, typing `CRYPTOCAP:BTC` will confirm that `BTC` is a valid ticker for the indicator's settings. Using symbols that do not exist in the `CRYPTOCAP` index will result in a script error. or, to display other symbols, simply type CRYPTOCAP: (including the colon) and you will see a list of available options.
Adjust Your View: Use the settings in the Camera & Projection tab to rotate ( Yaw ), tilt ( Pitch ), and scale the landscape until you find a view you love.
Explore & Customize: Play with the color palettes, flag design, and other settings to make the landscape truly your own!
---
⚙️ Settings & Customization
This indicator is highly customizable. Here’s a breakdown of what each setting does:
#### 🪙 Crypto Data
Symbols: Enter the crypto tickers you want to track, separated by commas. The script automatically handles duplicates and case-insensitivity.
Show Market Cap on Mountain: When checked, it displays the full market cap value next to the symbol on the mountain. When unchecked, it shows a cleaner look with just the symbol and a colored circle background.
#### 📷 Camera & Projection
Yaw (°): Rotates the camera view horizontally (side to side).
Pitch (°): Tilts the camera view vertically (up and down).
Scale X, Y, Z: Stretches or compresses the landscape in width, depth, and height, respectively. Fine-tune these to get the perfect perspective.
#### 🏞️ Grid / Surface
Grid X/Y resolution: Controls the detail level of the 3D mesh. Higher values create a smoother surface but may use more resources.
Fill surface strips: Toggles the beautiful color gradient on the surface.
Show wireframe lines: Toggles the visibility of the grid lines.
Show nodes (markers): Toggles the small dots at each grid intersection point.
#### 🏔️ Peaks / Mountains
Fill peaks volume: Draws vertical lines on high peaks, giving them a sense of volume.
Fill peaks surface: Draws a cross-hatch pattern on the surface of high peaks.
Peak height threshold: Defines the minimum height for a peak to receive the fill effect.
Peak fill color/density: Customizes the appearance of the fill lines.
#### 🚩 Flags (3D)
Show Flag on Summit: A master switch to show or hide the flag and emblem entirely.
Flag height, width, etc.: Provides full control over the dimensions and orientation of the flag on the highest peak.
#### 🎨 Color Palette
Base Gradient Palette: Choose from 13 stunning, pre-designed color themes for the landscape, from the classic SUNSET_WAVE to vibrant themes like NEON_DREAM and OCEANIC .
#### 🛡️ Emblem / Badge Controls
This section gives you granular control over every element of the custom emblem on the flag. Tweak rotation, offsets, and scale to design your unique logo.
---
👨💻 Developer's Corner: Modifying the Core Logic
If you're a developer and wish to customize the indicator's core data source, this section is for you. The script is designed to be modular, making it easy to change what data is being ranked and visualized.
The heart of the data retrieval and ranking logic is within the f_getSortedCryptoData() function. Here’s how you can modify it:
1. Changing the Data Source (from Market Cap to something else):
The current logic uses request.security("CRYPTOCAP:" + syms.get(i), ...) to fetch market capitalization data. To change this, you need to modify this line.
Example: Ranking by RSI (14) on the Daily timeframe.
First, you'll need a function to calculate RSI. Add this function to the script:
f_getRSI(symbol, timeframe, length) =>
request.security(symbol, timeframe, ta.rsi(close, length))
Then, inside f_getSortedCryptoData() , find the `for` loop that populates the `caps` array and replace the `request.security` call:
// OLD LINE:
// caps.set(i, request.security("CRYPTOCAP:" + syms.get(i), timeframe.period, close))
// NEW LINE for RSI:
// Note: You'll need to decide how to format the symbol name (e.g., "BINANCE:" + syms.get(i) + "USDT")
caps.set(i, f_getRSI("BINANCE:" + syms.get(i) + "USDT", "D", 14))
2. Changing the Data Formatting:
The ranking values are formatted for display using the f_fmtCap() function, which currently formats large numbers into "M" (millions), "B" (billions), etc.
If you change the data source to something like RSI, you'll want to change the formatting. You can modify f_fmtCap() or create a new formatting function.
Example: Formatting for RSI.
// Modify f_fmtCap or create f_fmtRSI
f_fmtRSI(float v) =>
str.tostring(v, "#.##") // Simply format to two decimal places
Remember to update the calls to this function in the main drawing loop where the labels are created (e.g., str.format("{0}: {1}", crypto.symbol, f_fmtCap(crypto.cap)) ).
By modifying these key functions ( f_getSortedCryptoData and f_fmtCap ), you can adapt the Market Cap Landscape 3D to visualize and rank almost any dataset you can imagine, from technical indicators to fundamental data.
---
We hope you enjoy using the Market Cap Landscape 3D as much as we enjoyed creating it. Happy charting! ✨
FED Rate Decisions (Cuts & Hikes)This indicator highlights key moments in U.S. monetary policy by plotting vertical lines on the chart for Federal Reserve interest rate decisions.
Features:
Rate Cuts (red): Marks dates when the Fed reduced interest rates.
Rate Hikes (green): Marks dates when the Fed increased interest rates.
Configurable view: Choose between showing all historical decisions or only those from 2019 onwards.
Labels: Each event is tagged with “FED CUT” or “FED HIKE” above or below the bar (adjustable).
Alerts: You can set TradingView alerts to be notified when the chart reaches a Fed decision day.
🔧 Inputs:
Show decisions: Switch between All or 2019+ events.
Show rate cuts / hikes: Toggle visibility separately.
Colors: Customize line and label colors.
Label position: Place labels above or below the bar.
📈 Usage:
This tool helps traders and investors visualize how Fed policy shifts align with market movements. Rate cuts often signal economic easing, while hikes suggest tightening monetary policy. By overlaying these events on price charts, you can analyze historical reactions and prepare for similar scenarios.
OHLC + Range + Volume DashboardSelf Explanatory; also includes volume divided by range labeled "Effort"
JL - Market HeatmapThis indicator plots a static table on your chart that displays any tickers you want and their % change on the day so far.
It updates in real time, changes color as it updates, and has several custom functions available for you:
1. Plot up to 12 tickers of your choice
2. Choose a layout with 1-4 rows
3. Display % Change or Not
4. Choose your font size (Tiny, Small, Normal, Large)
5. Up/Down Cell Colors (% change dependent)
6. Up/Down Text Colors (high contrast to your color choices)
The purpose of the indicator is to quickly measure a broad basket of market instruments to paint a more context-rich perspective of the chart you are looking at.
I hope this indicator can help you (and me) accomplish this task in a simple, clean, and seamless manner.
Thanks and enjoy - Jack
Volume Range Ratio EFFORTVolume Divided by Range Histogram
With an adjustable high line to see when there is a struggle between buyers and sellers
and an adjustable EMA for the histogram
US Presidents 1789–1916Description:
This indicator displays all U.S. presidential elections from 1789 to 1916 on your chart.
Features:
Vertical lines at the date of each presidential election.
Line color by party:
Red = Republican
Blue = Democrat
Gray = Other/None
Labels showing the name of each president.
Historical flag style: All presidents before 1900 are considered historical, providing visual distinction.
Fully overlayed on the price chart for timeline context.
Customizable: Label position (above/below bar) and line width.
Use case: Great for studying historical market behavior around elections or for general reference of U.S. presidents during the early history of the country.
US Presidents 1920–2024Description:
This indicator displays all U.S. presidential elections from 1920 to 2024 on your chart.
Features:
Vertical lines at the date of each presidential election.
Line color by party:
Red = Republican
Blue = Democrat
Gray = Other/None
Labels showing the name of each president.
Modern flag style: Presidents from 1900 onward are highlighted as modern, giving clear historical separation.
Fully overlayed on the price chart for timeline context.
Customizable: Label position (above/below bar) and line width.
Use case: Useful for analyzing modern U.S. presidential cycles, market reactions to elections, or quickly referencing recent presidents directly on charts.
Trend/Chop/Range✅ CHOP, ADX, ATR-based Trend/Choppy/Range detection
✅ Multi-timeframe noise filtering
✅ Fully customizable dashboard and colors
✅ Auto ATR baseline (using 0.0 as a default input for auto-mode)
✅ Alerts for dominant market states
Daily Weekly Monthly HLC (بهداد)خطوط مهم روزانه هفتگی ماهانه This is an indicator that shows the closing lines and the highest and lowest prices for daily, weekly and monthly periods. In addition, we can divide the entire weekly period into several parts.
Global Market Context Dashboard With Pull Back IndicatorGlobal Market Context Dashboard With Pull Back Indicator
Fear & Greed Oscillator — LEAPs (v6, manual DMI/ADX)Fear & Greed Oscillator for LEAPs — a composite sentiment/trend tool that highlights long-term fear/greed extremes and trend quality for better LEAP entries and exits.
This custom Fear & Greed Oscillator (FGO-LEAP) is designed for swing trades and long-term LEAP option entries. It blends multiple signals — MACD (trend), ADX/DMI (trend quality), OBV (accumulation/distribution), RSI & Stoch RSI (momentum), and volume spikes — into a single score that ranges from –100 (extreme fear) to +100 (extreme greed). The weights are tuned for LEAPs, emphasizing slower trend and accumulation signals rather than short-term noise.
Use Weekly charts for the main signal and Daily only for entry timing. Entries are strongest when the score is above zero and rising, with both MACD and DMI positive. Extreme Fear (< –60) can mark long-term bottoms when followed by a recovery, while Extreme Greed (> +60) often signals overheated conditions. A cross below zero is an early warning to reduce or roll positions.
TIKOLE SVM Sentiment Combo Oscillator MACD"This one has MACD and RSI. Accuracy is very good. Best for 5-minute and 15-minute timeframes."
So basically, you mean:
The script combines MACD-style histogram with RSI logic.
It gives high accuracy signals.
Works best on 5-minute and 15-minute charts (scalping + intraday).
⚡ If you want, I can also add MACD (fast EMA / slow EMA) into the same script along with your RSI sentiment oscillator, so you’ll get a dual-confirmation system (RSI sentiment + MACD crossover + histogram).
Market Breadth (NIFTY50)This market breadth indicator good to indentified short term market sentiment.
XAU 1H Clean Confluence — Micro Table v2XAU 1H Clean Confluence — Micro Table
What it is
A clean, low-clutter 1-hour XAUUSD indicator that summarizes confluences in a compact on-chart table. It’s designed for traders who want structure + momentum + location without covering the chart in drawings.
Best used on: ICMARKETS:XAUUSD or your broker’s XAUUSD feed, 1H timeframe.
Style: Table-only by default (optional EMA200 line and tiny signal markers).
How signals are built (long example; shorts mirror)
A Long Confluence is printed when all of the below are true:
Trend alignment: EMA20 > EMA50 > EMA200
Pullback & re-engage: price crossed back above EMA20 after a pullback
RSI regime: RSI(14) crosses up through 50 (trend confirmation)
Displacement/imbalance: a 3-candle Bull FVG exists (low > high )
Structure: either a BOS up or CHOCH up via swing pivots (pivotLen input)
Sweep (optional): if enabled, require a sweep of Asian Low and/or PDL first
Time gating (optional): only during London/NY windows and outside news windows
Short signals use the mirrored conditions (EMA stack down, cross back below EMA20, RSI cross down through 50, Bear FVG, BOS/CHOCH down, optional Asian High/PDH sweep).
Enhanced EMA Crossover with Supertrend + Ribbon + Multi TFThe indicator has 4 core indicators in 1, the supertrend, the 2ema crossover, the moving average ribbon and a multi-timeframe trend indicator. I have modified the code for better visuals, all the indicators are fully customizable for better visuals and trend identification. Specially the 2 ema crossover indicator ribbon should guide you in the direction of the overall trend in different timeframes. The white dots were added to the real price close on everu candle , it is very usefull visually to see exactly where the price is closing specially when using heiken ashi candles. The small arrows on every candle should guide you in the direction of the overall trend when adjusting the 2 ema crossover lengths, the bigger arrow plots on the first candle only when the 2 ema crossover happens to either direction, using the supertrend indicator with the moving averages will also help you keep in the right trend direction.
12AM NY Line + 12PM–3PM No Trade ZoneNew york time marked on daily basis with no trading zone where most manipulation takes place
MACD Momentum Slowdown Alert (Bullish + Bearish)little arrows showing on chart when MACD histogram has a slowdown (change of color) in momentum
Армс Индекс (TRIN)
Arms Indicator (TRIN)
General description
This indicator is designed to visualize the overbought and oversold levels of the stock market. The Arms Index (TRIN) evaluates the ratio of the number of rising and falling stocks to the corresponding ratio of the trading volume of rising and falling stocks. The lower the TRIN indicator, the more overbought the market is, and vice versa — a high TRIN indicates oversold conditions.
How to interpret the signal?
- Zone below 0.8: The market is overbought, and a downward correction is likely to follow soon.
- Zone above 1.2: The market is oversold, an upward reversal is possible.
These zones help to identify entry and exit points in a timely manner, optimizing trading decisions.
Implementation features
1. Calculation method: The classic TRIN formula is based on the ratio of volume indicators of rising and falling assets.
2. Averaging interval: A moving average (MA) is used with a configurable default period of five days. The user can change this value manually.
3. Level display: The chart shows two key levels: the oversold (1.2) and overbought (0.8) lines. These lines are guidelines for decision-making.
Instructions for use
1. Upload the indicator to the chart of your financial instrument.
2. Keep an eye on the TRIN value: does it cross the critical levels (1.2 and 0.8)?
3. Use the TRIN readings as an additional filter to confirm the signal of your main strategies.
Remember that the Arms index is best used in conjunction with other technical analysis indicators to achieve maximum signal accuracy.
---
I hope this implementation will help you to trade more efficiently and find the best opportunities in the market!
© The authorship belongs to Eva-S-Apple.
Volume-Weighted Money Flow [sgbpulse]Overview
The VWMF indicator is an advanced technical analysis tool that combines and summarizes five leading momentum and volume indicators (OBV, PVT, A/D, CMF, MFI) into one clear oscillator. The indicator helps to provide a clear picture of market sentiment by measuring the pressure from buyers and sellers. Unlike single indicators, VWMF provides a comprehensive view of market money flow by weighting existing indicators and presenting them in a uniform and understandable format.
Indicator Components
VWMF combines the following indicators, each normalized to a range of 0 to 100 before being weighted:
On-Balance Volume (OBV): A cumulative indicator that measures positive and negative volume flow.
Price-Volume Trend (PVT): Similar to OBV, but incorporates relative price change for a more precise measure.
Accumulation/Distribution Line (A/D): Used to identify whether an asset is being bought (accumulated) or sold (distributed).
Chaikin Money Flow (CMF): Measures the money flow over a period based on the close price's position relative to the candle's range.
Money Flow Index (MFI): A momentum oscillator that combines price and volume to measure buying and selling pressure.
Understanding the Normalized Oscillators
The indicator combines the five different momentum indicators by normalizing each one to a uniform range of 0 to 100 .
Why is Normalization Important?
Indicators like OBV, PVT, and the A/D Line are cumulative indicators whose values can become very large. To assess their trend, we use a Moving Average as a dynamic reference line . The Moving Average allows us to understand whether the indicator is currently trending up or down relative to its average behavior over time.
How Does Normalization Work?
Our normalization fully preserves the original trend of each indicator.
For Cumulative Indicators (OBV, PVT, A/D): We calculate the difference between the current indicator value and its Moving Average. This difference is then passed to the normalization process.
- If the indicator is above its Moving Average, the difference will be positive, and the normalized value will be above 50.
- If the indicator is below its Moving Average, the difference will be negative, and the normalized value will be below 50.
Handling Extreme Values: To overcome the issue of extreme values in indicators like OBV, PVT, and the A/D Line , the function calculates the highest absolute value over the selected period. This value is used to prevent sharp spikes or drops in a single indicator from compromising the accuracy of the normalization over time. It's a sophisticated method that ensures the oscillators remain relevant and accurate.
For Bounded Indicators (CMF, MFI): These indicators already operate within a known range (for example, CMF is between -1 and 1, and MFI is between 0 and 100), so they are normalized directly without an additional reference line.
Reference Line Settings:
Moving Average Type: Allows the user to choose between a Simple Moving Average (SMA) and an Exponential Moving Average (EMA).
Volume Flow MA Length: Allows the user to set the lookback period for the Moving Average, which affects the indicator's sensitivity.
The 50 line serves as the new "center line." This ensures that, even after normalization, the determination of whether a specific indicator supports a bullish or bearish trend remains clear.
Settings and Visual Tools
The indicator offers several customization options to provide a rich analysis experience:
VWMF Oscillator (Blue Line): Represents the weighted average of all five indicators. Values above 50 indicate bullish momentum, and values below 50 indicate bearish momentum.
Strength Metrics (Bullish/Bearish Strength %): Two metrics that appear on the status line, showing the percentage of indicators supporting the current trend. They range from 0% to 100%, providing a quick view of the strength of the consensus.
Dynamic Background Colors: The background color of the chart automatically changes to bullish (a blue shade by default) or bearish (a default brown-gray shade) based on the trend. The transparency of the color shows the consensus strength—the more opaque the background, the more indicators support the trend.
Advanced Settings:
- Background Color Logic: Allows the user to choose the trigger for the background color: Weighted Value (based on the combined oscillator) or Strength (based on the majority of individual indicators).
- Weights: Provides full control over the weight of each of the five indicators in the final oscillator.
Using the Data Window
TradingView provides a useful Data Window that allows you to see the exact numerical values of each normalized oscillator separately, in addition to the trend strength data.
You can use this window to:
Get more detailed information on each indicator: Viewing the precise numerical data of each of the five indicators can help in making trading decisions.
Calibrate weights: If you want to manually adjust the indicator weights (in the settings menu), you can do so while tracking the impact of each indicator on the weighted oscillator in the Data Window.
The indicator's default setting is an equal weight of 20% for each of the five indicators.
Alert Conditions
The indicator comes with a variety of built-in alerts that can be configured through the TradingView alerts menu:
VWMF Cross Above 50: An alert when the VWMF oscillator crosses above the 50 line, indicating a potential bullish momentum shift.
VWMF Cross Below 50: An alert when the VWMF oscillator crosses below the 50 line, indicating a potential bearish momentum shift.
Bullish Strength: High But Not Absolute Consensus: An alert when the bullish trend strength reaches 60% or more but is less than 100%, indicating a high but not absolute consensus.
Bullish Strength at 100%: An alert when all five indicators (MFI, OBV, PVT, A/D, CMF) show bullish strength, indicating a full and absolute consensus.
Bearish Strength: High But Not Absolute Consensus: An alert when the bearish trend strength reaches 60% or more but is less than 100%, indicating a high but not absolute consensus.
Bearish Strength at 100%: An alert when all five indicators (MFI, OBV, PVT, A/D, CMF) show bearish strength, indicating a full and absolute consensus.
Summary
The VWMF indicator is a powerful, all-in-one tool for analyzing market momentum, money flow, and sentiment. By combining and normalizing five different indicators into a single oscillator, it offers a holistic and accurate view of the market's underlying trend. Its dynamic visual features and customizable settings, including the ability to adjust indicator weights, provide a flexible experience for both novice and experienced traders. The built-in alerts for momentum shifts and trend consensus make it an effective tool for spotting trading opportunities with confidence. In essence, VWMF distills complex market data into clear, actionable signals.
Important Note: Trading Risk
This indicator is intended for educational and informational purposes only and does not constitute investment advice or a recommendation for trading in any form whatsoever.
Trading in financial markets involves significant risk of capital loss. It is important to remember that past performance is not indicative of future results. All trading decisions are your sole responsibility. Never trade with money you cannot afford to lose.
Армс Индекс (TRIN)Arms Indicator (TRIN)
General description
This indicator is designed to visualize the overbought and oversold levels of the stock market. The Arms Index (TRIN) evaluates the ratio of the number of rising and falling stocks to the corresponding ratio of the trading volume of rising and falling stocks. The lower the TRIN indicator, the more overbought the market is, and vice versa — a high TRIN indicates oversold conditions.
How to interpret the signal?
- Zone below 0.8: The market is overbought, and a downward correction is likely to follow soon.
- Zone above 1.2: The market is oversold, an upward reversal is possible.
These zones help to identify entry and exit points in a timely manner, optimizing trading decisions.
Implementation features
1. Calculation method: The classic TRIN formula is based on the ratio of volume indicators of rising and falling assets.
2. Averaging interval: A moving average (MA) is used with a configurable default period of five days. The user can change this value manually.
3. Level display: The chart shows two key levels: the oversold (1.2) and overbought (0.8) lines. These lines are guidelines for decision-making.
Instructions for use
1. Upload the indicator to the chart of your financial instrument.
2. Keep an eye on the TRIN value: does it cross the critical levels (1.2 and 0.8)?
3. Use the TRIN readings as an additional filter to confirm the signal of your main strategies.
Remember that the Arms index is best used in conjunction with other technical analysis indicators to achieve maximum signal accuracy.
---
I hope this implementation will help you to trade more efficiently and find the best opportunities in the market!
© The authorship belongs to Eva-S-Apple.
Support Vs Reward RvCSupport Vs Reward RvC
The Support Vs Reward RvC indicator is a simple yet effective tool that analyzes candle strength relative to both price movement and trading volume. Highlights candles where both body size and volume expand or contract, helping traders spot momentum shifts and weakening moves.
📌 How it works:
- “C” expect a Continuation of Trend in the next one or two candles;
- “R” expect a Reverse of Trend in the next one or two candles.
Works well on bigger time candles like 10-15 minutes but also gives important info in day-trading or scalping.
Marks candles where both body size and volume increase or decrease, making momentum shifts easy to spot. This smart candle analyzer reveals momentum surges and fading moves through body size and volume dynamics.
It compares each candle’s body size (open-to-close range) and its volume against the previous candle.
If both the body and volume are greater than the previous candle, a green “C” from Continuation of Trend is displayed under the bar.
If both the body and volume are smaller than the previous candle, a red “R” from Reverse of Trend is displayed under the bar.
Custom filters allow users to ignore insignificant moves by setting a minimum body size (as % of price) and a minimum volume threshold.
📌 Use cases:
Spot momentum shifts when price and volume expand together.
Identify weakening moves when both price action and volume contract.
Can be combined with other strategies for confirmation of entries or exits.
⚙️ Inputs:
Minimum Body Size % (of price): Filters out small candles.
Minimum Volume: Ensures only significant moves are marked.
This indicator is best used as a confirmation tool within a larger trading strategy, rather than as a standalone buy/sell signal.
Market Outlook Score (MOS)Overview
The "Market Outlook Score (MOS)" is a custom technical indicator designed for TradingView, written in Pine Script version 6. It provides a quantitative assessment of market conditions by aggregating multiple factors, including trend strength across different timeframes, directional movement (via ADX), momentum (via RSI changes), volume dynamics, and volatility stability (via ATR). The MOS is calculated as a weighted score that ranges typically between -1 and +1 (though it can exceed these bounds in extreme conditions), where positive values suggest bullish (long) opportunities, negative values indicate bearish (short) setups, and values near zero imply neutral or indecisive markets.
This indicator is particularly useful for traders seeking a holistic "outlook" score to gauge potential entry points or market bias. It overlays on a separate pane (non-overlay mode) and visualizes the score through horizontal threshold lines and dynamic labels showing the numeric MOS value along with a simple trading decision ("Long", "Short", or "Neutral"). The script avoids using the plot function for compatibility reasons (e.g., potential TradingView bugs) and instead relies on hline for static lines and label.new for per-bar annotations.
Key features:
Multi-Timeframe Analysis: Incorporates slope data from 5-minute, 15-minute, and 30-minute charts to capture short-term trends.
Trend and Strength Integration: Uses ADX to weight trend bias, ensuring stronger signals in trending markets.
Momentum and Volume: Includes RSI momentum impulses and volume deviations for added confirmation.
Volatility Adjustment: Factors in ATR changes to assess market stability.
Customizable Inputs: Allows users to tweak periods for lookback, ADX, and ATR.
Decision Labels: Automatically classifies the MOS into actionable categories with visual labels.
This indicator is best suited for intraday or swing trading on volatile assets like stocks, forex, or cryptocurrencies. It does not generate buy/sell signals directly but can be combined with other tools (e.g., moving averages or oscillators) for comprehensive strategies.
Inputs
The script provides three user-configurable inputs via TradingView's input panel:
Lookback Period (lookback):
Type: Integer
Default: 20
Range: Minimum 10, Maximum 50
Purpose: Defines the number of bars used in slope calculations for trend analysis. A shorter lookback makes the indicator more sensitive to recent price action, while a longer one smooths out noise for longer-term trends.
ADX Period (adxPeriod):
Type: Integer
Default: 14
Range: Minimum 5, Maximum 30
Purpose: Sets the smoothing period for the Average Directional Index (ADX) and its components (DI+ and DI-). Standard value is 14, but shorter periods increase responsiveness, and longer ones reduce false signals.
ATR Period (atrPeriod):
Type: Integer
Default: 14
Range: Minimum 5, Maximum 30
Purpose: Determines the period for the Average True Range (ATR) calculation, which measures volatility. Adjust this to match your trading timeframe—shorter for scalping, longer for positional trading.
These inputs allow customization without editing the code, making the indicator adaptable to different market conditions or user preferences.
Core Calculations
The MOS is computed through a series of steps, blending trend, momentum, volume, and volatility metrics. Here's a breakdown:
Multi-Timeframe Slopes:
The script fetches data from higher timeframes (5m, 15m, 30m) using request.security.
Slope calculation: For each timeframe, it computes the linear regression slope of price over the lookback period using the formula:
textslope = correlation(close, bar_index, lookback) * stdev(close, lookback) / stdev(bar_index, lookback)
This measures the rate of price change, where positive slopes indicate uptrends and negative slopes indicate downtrends.
Variables: slope5m, slope15m, slope30m.
ATR (Average True Range):
Calculated using ta.atr(atrPeriod).
Represents average volatility over the specified period. Used later to derive volatility stability.
ADX (Average Directional Index):
A detailed, manual implementation (not using built-in ta.adx for customization):
Computes upward movement (upMove = high - high ) and downward movement (downMove = low - low).
Derives +DM (Plus Directional Movement) and -DM (Minus Directional Movement) by filtering non-relevant moves.
Smooths true range (trur = ta.rma(ta.tr(true), adxPeriod)).
Calculates +DI and -DI: plusDI = 100 * ta.rma(plusDM, adxPeriod) / trur, similarly for minusDI.
DX: dx = 100 * abs(plusDI - minusDI) / max(plusDI + minusDI, 0.0001).
ADX: adx = ta.rma(dx, adxPeriod).
ADX values above 25 typically indicate strong trends; here, it's normalized (divided by 50) to influence the trend bias.
Volume Delta (5m Timeframe):
Fetches 5m volume: volume_5m = request.security(syminfo.tickerid, "5", volume, lookahead=barmerge.lookahead_on).
Computes a 12-period SMA of volume: avgVolume = ta.sma(volume_5m, 12).
Delta: (volume_5m - avgVolume) / avgVolume (or 0 if avgVolume is zero).
This measures relative volume spikes, where positive deltas suggest increased interest (bullish) and negative suggest waning activity (bearish).
MOS Components and Final Calculation:
Trend Bias: Average of the three slopes, normalized by close price and scaled by 100, then weighted by ADX influence: (slope5m + slope15m + slope30m) / 3 / close * 100 * (adx / 50).
Emphasizes trends in strong ADX conditions.
Momentum Impulse: Change in 5m RSI(14) over 1 bar, divided by 50: ta.change(request.security(syminfo.tickerid, "5", ta.rsi(close, 14), lookahead=barmerge.lookahead_on), 1) / 50.
Captures short-term momentum shifts.
Volatility Clarity: 1 - ta.change(atr, 1) / max(atr, 0.0001).
Measures ATR stability; values near 1 indicate low volatility changes (clearer trends), while lower values suggest erratic markets.
MOS Formula: Weighted average:
textmos = (0.35 * trendBias + 0.25 * momentumImpulse + 0.2 * volumeDelta + 0.2 * volatilityClarity)
Weights prioritize trend (35%) and momentum (25%), with volume and volatility at 20% each. These can be adjusted in code for experimentation.
Trading Decision:
A variable mosDecision starts as "Neutral".
If mos > 0.15, set to "Long".
If mos < -0.15, set to "Short".
Thresholds (0.15 and -0.15) are hardcoded but can be modified.
Visualization and Outputs
Threshold Lines (using hline):
Long Threshold: Horizontal dashed green line at +0.15.
Short Threshold: Horizontal dashed red line at -0.15.
Neutral Line: Horizontal dashed gray line at 0.
These provide visual reference points for MOS interpretation.
Dynamic Labels (using label.new):
Placed at each bar's index and MOS value.
Text: Formatted MOS value (e.g., "0.2345") followed by a newline and the decision (e.g., "Long").
Style: Downward-pointing label with gray background and white text for readability.
This replaces a traditional plot line, showing exact values and decisions per bar without cluttering the chart.
The indicator appears in a separate pane below the main price chart, making it easy to monitor alongside price action.
Usage Instructions
Adding to TradingView:
Copy the script into TradingView's Pine Script editor.
Save and add to your chart via the "Indicators" menu.
Select a symbol and timeframe (e.g., 1-minute for intraday).
Interpretation:
Long Signal: MOS > 0.15 – Consider bullish positions if supported by other indicators.
Short Signal: MOS < -0.15 – Potential bearish setups.
Neutral: Between -0.15 and 0.15 – Avoid trades or wait for confirmation.
Watch for MOS crossings of thresholds for momentum shifts.
Combine with price patterns, support/resistance, or volume for better accuracy.
Limitations and Considerations:
Lookahead Bias: Uses barmerge.lookahead_on for multi-timeframe data, which may introduce minor forward-looking bias in backtesting (use with caution).
No Alerts Built-In: Add custom alerts via TradingView's alert system based on MOS conditions.
Performance: Tested for compatibility; may require adjustments for illiquid assets or extreme volatility.
Backtesting: Use TradingView's strategy tester to evaluate historical performance, but remember past results don't guarantee future outcomes.
Customization: Edit weights in the MOS formula or thresholds to fit your strategy.
This indicator distills complex market data into a single score, aiding decision-making while encouraging users to verify signals with additional analysis. If you need modifications, such as restoring plot functionality or adding features, provide details for further refinement.