Data Monitoring TableThis is a visual data dashboard specifically designed for users engaged in quantitative trading and technical analysis. It is equipped with two data tables that can dynamically display key market technical indicators and cryptocurrency price fluctuation data, supporting customizable column configurations and trading mode filtering.
✅ Core Features:
Intuitive display of critical technical indicators, including the Relative Strength Index (RSI), K-line entity gain, upper/lower shadow ratio, trading volume level, and change rate.
Multi-timeframe tracking of price fluctuations for BTC/ETH/SOL/XRP/DOGE (1-day, 6-hour, 3-hour).
Selectable trading modes: "long-only", "short-only", or "both".
Customizable number of columns to adapt to analysis needs across different timeframes.
All data is visualized in tables with color-coded prompts for market conditions (overbought, oversold, high volatility, low volatility, etc.).
📈 Target Audience:
Investors seeking systematic access to technical data.
Quantitative strategy developers aiming to capture market structural changes.
Intermediate and beginner traders looking to enhance market intuition and decision-making.
New Feature:
We have added a trading volume monitoring grade setting feature. Users can set the monitoring grade by themselves. When the market trading volume reaches this grade, the system will trigger an alarm. The default setting is level 5. This setting is designed to filter out trades with small fluctuations, helping users to capture key trading signals more accurately and improve the efficiency of trading decisions.
中文介绍
这是一款专为量化交易和技术分析用户设计的可视化数据仪表盘。它配备两个数据表格,可动态展示关键市场技术指标与加密货币价格波动数据,支持自定义列配置和交易模式筛选。
✅ 核心功能:
直观展示相对强弱指标(RSI)、K 线实体涨幅、上下影线比例、成交量水平及变化率等关键技术指标。
多时间框架追踪 BTC/ETH/SOL/XRP/DOGE 价格波动(1 日、6 小时、3 小时)。
可选交易模式:“仅做多”“仅做空” 或 “多空双向”。
可自定义列数,适配不同时间框架的分析需求。
所有数据以表格可视化呈现,通过颜色标注提示市场状况(超买、超卖、高波动、低波动等)。
📈 目标用户:
寻求系统获取技术数据的投资者。
旨在捕捉市场结构变化的量化策略开发者。
希望提升市场洞察力和决策能力的初、中级交易者。
新增功能:
我们新增了成交量监控等级设置功能。用户可自行设定监控等级,当市场成交量达到该等级时,系统将触发警报。默认设置为 5 级,此设置旨在过滤掉小幅波动的交易,帮助用户更精准地捕捉关键交易信号,提升交易决策效率。
Indicadores e estratégias
Lagged M2 Money SupplyDescription:
This indicator plots the U.S. M2 Money Supply (FRED:M2SL) with an optional time lag applied, enabling macroeconomic correlation analysis with lagging assets such as Bitcoin (BTC) or equities.
Source: Federal Reserve Economic Data (FRED)
Update Frequency: Weekly (as per FRED:M2SL data)
Lag Control: Default lag is 12 weeks; this can be modified in the script
Visualization:
Original M2 plotted in gray
Lagged M2 plotted in orange
Use Case: Identify delayed correlations between monetary expansion and asset performance (e.g., BTC price reactions to liquidity growth)
Note: As the M2 dataset is macroeconomic and updates infrequently, this indicator is best used on weekly timeframes or higher.
EMA x4📌 Indicator: EMA x4
Author:
Script Type: Overlay (draws on price chart)
Language: Pine Script™ v6
License: Mozilla Public License 2.0
📖 Overview
EMA x4 is a minimalist technical indicator designed to display four customizable Exponential Moving Averages (EMAs) directly on the chart. It offers a clear view of short-, medium-, long-, and extra-long-term trends to support trend-following and momentum-based trading strategies.
This tool is ideal for traders who rely on moving average crossovers, dynamic support/resistance, or need to confirm market bias with multiple time-frame alignment.
⚙️ Input Parameters
Users can modify each EMA's length to match their strategy preferences:
Short EMA: Fastest EMA for short-term by default its value is 35
Middle EMA: Medium-term EMA by default its value is 75
Large EMA: Long-term EMA by default its value is 100
XL - EMA: Extra-long-term trend filter by default its value is 200
📊 Visual Representation
The script plots each EMA using distinct colors and consistent line thickness:
EMA1: Color Blue Short-term EMA (35)
EMA2: Color Orange Mid-term EMA (75)
EMA3: Color Green Long-term EMA (100)
EMA4: Color Red Extra-long-term EMA (200)
All lines are rendered with a linewidth of 2 for enhanced visibility on any chart.
🧠 Typical Use Cases
Trend Identification: Watch for the EMAs stacking in order (e.g., EMA1 above EMA2, etc.) to confirm bullish or bearish trends.
Crossover Signals: Look for EMA crossovers to generate entry/exit signals.
Support & Resistance: EMAs often act as dynamic zones of support/resistance during trending markets.
Multi-timeframe Confirmation: Combine this overlay with higher timeframe charts to confirm trend alignment.
✅ Key Benefits
Fully customizable EMA lengths for all trading styles.
Clean design, ideal for visually-driven traders.
Lightweight code – no lag or performance impact.
Can be used in confluence with other indicators or strategies.
🚀 How to Use
Add the indicator to any TradingView chart.
Configure the EMA lengths based on your preference (swing, day trading, long-term).
Analyze price interactions with the EMAs and look for confluences or crossovers.
HTF CandlesThis indicator helps to visualize what is happening on the higher timeframe on your current chart without having to change intervals. Quickly see gaps, imbalances, trends on the higher timeframe while you are trading. Works excellent for seeing 5m or 15m trend on a 1m chart for example.
Open = High or LowThis indicator highlights potential intraday reversal points by detecting when a candle's opening price is equal to its high or low.
Supply/Demand Zones (Synthetic SMA Candles)Supply/Demand Zones (Synthetic SMA Candles)
Created by The_Forex_Steward
This indicator highlights institutional-style supply and demand zones using synthetic SMA-based candles rather than raw price data. It provides a smoother, more refined view of price action to help identify key imbalance areas where price is likely to react.
Features:
- Uses SMA-smoothed synthetic candles to detect bullish and bearish engulfing structures
- Draws demand zones after bullish breakouts and supply zones after bearish breakouts
- Zones are persistent for a customizable number of bars
- Mitigated zones can optionally be removed from the chart
- Includes alerts for breakout and mitigation events
- Optional plotting of synthetic candles over price for visual clarity
How It Works:
When a synthetic candle closes above the high of a previous bearish candle, a bullish engulfing is detected, and a demand zone is created from that bearish candle’s high and low. Conversely, when price closes below the low of a previous bullish candle, a supply zone is formed. These zones stay on the chart for the user-defined duration or until they are mitigated by price, at which point they can be removed automatically.
How to Use:
- Adjust the SMA Length to control how smooth the synthetic candles appear
- Enable or disable Show Supply Zones and Show Demand Zones as needed
- Set the Zone Duration to control how long each zone persists
- Use Delete Mitigated Zones to automatically remove zones when price returns to them
- Optionally enable Show Synthetic SMA Candles to see the candle logic used in detection
- Use the built-in alerts to stay notified of new zone creation or mitigation
Note: This tool is most effective when combined with structure or trend-based strategies for confirmation.
TAO Sweep + Full Bottom DetectionTao liquidity sweep detector. Uses analysis of btc dominance PA and eth/btc PA as confluences. Uses volume moving average to catch sweeps of the lows.
First EMA 9 & 21 Breakout SignalThis will give indiacation on the bars that close below and above 9 and 21
RedAndBlue Indicator LightsRedAndBlue Indicator Lights — RSI, MFI, and Bollinger Band Sentiment Table
This indicator provides a multi-timeframe sentiment dashboard using RSI , MFI , and Bollinger Bands , visualized in a compact color-coded table.
What it does:
Evaluates RSI and MFI values across multiple timeframes: 5m, 15m, 30m, 1h, 2h, 4h, and 1D
Analyzes Bollinger Bands in two ways:
BB = compares candle body position relative to Bollinger Bands
BBw = checks whether candle wicks pierce above or below the bands
Each cell displays the indicator value or a symbolic label (↓↓, ↓, –, ↑, ↑↑)
Color-coded backgrounds reflect overbought/oversold zones
All thresholds and colors are fully customizable in the input settings
Color meanings:
Green : Strong oversold (value < low1)
Light blue : Slightly oversold (value < low2)
White : Neutral zone (between low2 and high2)
Yellow : Slightly overbought (value > high2)
Red : Strong overbought (value > high1)
BB and BBw label meanings:
↓↓ = Price (or wick) pierced below the lower Bollinger Band
↓ = Candle body is between lower band and midline
– = Candle body crosses the midline (neutral)
↑ = Candle body is between midline and upper band
↑↑ = Price (or wick) pierced above the upper Bollinger Band
How to use it effectively:
If RSI, MFI, BB, and BBw all show oversold signals (green or light blue) across multiple timeframes, especially on 1h, 4h, or 1D, it may signal a good buying opportunity
If the indicators all show overbought signals (red or yellow), it may indicate a potential exit or short zone
BBw shows wick-based signals and can act as an early warning; BB confirms with the candle body
Use this table to spot sentiment confluence across timeframes before entering a trade
If most cells are white, the market is likely in a sideways or neutral state
This indicator helps you quickly identify multi-timeframe sentiment shifts and potential reversal points through a clean, structured visual layout.
MACD with Colored HistogramA script specifying the difference between convergence and divergence indicated with an icon.
Supertrend Indicator with AlertsSupertrend updated with Heikin Ashi
This indicator is a modified version of the traditional Supertrend, recalculated using Heikin Ashi candles for smoother trend detection. It includes built-in alert functions and is optimized for use on Heikin Ashi charts.
自带提醒,适用于平均K线图
Unified Sentiment Candles Overlay (SMA)Unified Sentiment Candles (SMA) Indicator
The Unified Sentiment Candles (SMA) is a custom overlay indicator designed to provide a smoothed visualization of market sentiment by plotting synthetic candles based on the Simple Moving Average (SMA) of open, high, low, and close prices. It helps traders identify trend direction and potential reversals more clearly.
How to Use:
- Observe Candle Colors: Green candles indicate bullish sentiment (close ≥ open), while red candles suggest bearish sentiment (close < open).
- Trend Identification: Consistent green candles point to an uptrend, whereas consistent red candles may signal a downtrend.
- Support & Resistance Zones: The SMA-based candles smooth out short-term volatility, assisting in spotting key support and resistance levels.
- Entry & Exit Signals: Look for color changes or candle pattern formations within the synthetic candles to time entries and exits more effectively.
Settings:
SMA Length : Adjust this parameter to control the smoothing period. A shorter length makes the indicator more responsive, while a longer length smooths out more noise.
This indicator is best used in conjunction with other technical analysis tools to confirm signals and improve trading accuracy.
This script is open-source and licensed under the Mozilla Public License 2.0. Use and modify it at your own discretion.
DR SessionsDR/IDR concept sessions with multiple ways to view the session to best suit your needs.
Each session, ADR, ODR, RDR can be turned on/off, and displayed 3 different ways. Lines, will highlight each DR and IDR line, and will color the side that breaks out. Zones, will fill in the gap between the DR and the IDR lines and will color the breakout side. Finally range will fill the entire range from DR to DR with a single color that will change to the breakout color once price closes outside of the range.
Greer Free Cash Flow Yield✅ Title
Greer Free Cash Flow Yield (FCF%) — Long-Term Value Signal
📝 Description
The Greer Free Cash Flow Yield indicator is part of the Greer Financial Toolkit, designed to help long-term investors identify fundamentally strong and potentially undervalued companies.
📊 What It Does
Calculates Free Cash Flow Per Share (FY) from official financial reports
Divides by the current stock price to produce Free Cash Flow Yield %
Tracks a static average across all available financial years
Color-codes the yield line:
🟩 Green when above average (stronger value signal)
🟥 Red when below average (weaker value signal)
💼 Why It Matters
FCF Yield is a powerful metric that reveals how efficiently a company turns revenue into usable cash. This can be a better long-term value indicator than earnings yield or P/E ratios, especially in capital-intensive industries.
✅ Best used in combination with:
📘 Greer Value (fundamental growth score)
🟢 Greer BuyZone (technical buy zone detection)
🔍 Designed for:
Fundamental investors
Value screeners
Dividend and FCF-focused strategies
📌 This tool is for informational and educational use only. Always do your own research before investing.
📊 Cumulative Portfolio TrackerHi all, first time poster here
I just figured I'd share a script that I wrote for portfolio buy and hold backtesting purposes.
Basically what it does is compares the performance of a group of stocks combined as a portfolio vs a benchmark. In this case I have a portfolio of 20 companies vs SPY set as the default but it's pretty easy to change them in the code. Also it starts in January 2022 because one of my chosen companies only started trading at that date. Again, easy to change.
Alright, so how do we interpret the data?
The script tracks the two values to be compared with a base value of 100 and then that number rises and falls from there showing their relative performance. The orange will be the user defined portfolio and the blue will be the benchmark.
Some caveats - the user defined portfolio will start exactly when the newest ticker began trading unless specified to start past that date. This means for example if you compare SPY to SPYI, SPY will be showing years of compounding compared to SPYI's performance.
I'm a pretty novice coder for Pinecode as I usually use Python for my projects but anyway.
Potential future features -
- Swapping the baseline 100 for a % gain or $ gain from the starting point(giving the option to choose which one). This one would probably be pretty easy to do. To be honest this code isn't exactly complex. I really do not know Pinescript that well.
- Adding in returns from dividends. I don't know if this one is possible. Will need to look into it.
- The ability to overlay indicators on both the portfolio and the benchmark. This might already be possible with this code, I haven't tried because I just finished managing to get it to compile and I'm frankly tired.
-Custom weighting.
As of now it's all equal weight.
Questions I assume you will be asking -
- "Can we display the user profile as candlesticks instead of a line?"
I really don't think so. I have to assume it's hardcoded. My first idea was to just have a blank chart with no ticker and then do some fiddling to use the user profile's combined high/low/open/close display on the chart but couldn't figure that one out.
-Doesn't Portfoliovisualizer already do this but better?
It sure does. However the features I include here are going to be more flexible compared to their free version if you can't be bothered to pay for it(number of tickers, length of time, etc.).
-The benchmark line doesn't perfectly match the ticker I have on screen!
You're right it doesn't. I've turned off candles in my screenshot for that exact purpose. This goes back to what I mentioned about how you have to carefully pick the timespan that you're going to be looking at. At least I think that's what causes it. Further research needed. For now it was just easier to use a couple of lines only.
- *other scripter* already did this idea but better!
It's not exactly that complex of an idea so I wouldn't doubt it but I didn't look. I wanted to make a tool that would both be useful to me and also help me get better with Pinescript. That's pretty much the whole thing.
-How many tickers can I add?
Not a clue. 100? 1000? That would be tedious to test. 20 seemed like a good baseline.
Anyway, if anyone has feedback on what to add or anything I'm all ears. This is just the stuff that came to me over the last few hours while I was working my way through the documentation. If you find this useful, awesome! If not, no hard feelings. Still new!
Thanks folks,
Steve
Bollinger Bands Highlight [Custom TF]
Highlights the blocks where the chart is outside upper or lower Bollinger Band.
Customizable timeframe.
ADX Trend Visualizer with Dual ThresholdsADX Trend Visualizer with Dual Thresholds
A minimal, color coded ADX indicator designed to filter market conditions into weak, moderate, or strong trend phases.
Uses a dual threshold system for separating weak, moderate, and strong trend conditions.
Color coded ADX line:
Green– Strong trend (above upper threshold)
Yellow – Moderate trend (between thresholds)
Red – Weak or no trend (below lower threshold)
Two horizontal reference lines plotted at threshold levels
Optional +DI and -DI lines (Style tab)
Recommended Use:
Use on higher time frames (1h and above) as a trend filter
Combine with entry/exit signals from other indicators or strategies
Avoid possible false entries when ADX is below the weak threshold
This trend validator helps highlight strong directional moves and avoid weak market conditions
Volume + Price Reversal SignalTesting so not sure if it works, using volume and candlesticks to determine reversals
Average volume yearlyI noticed that there is no Average Volume for 7 days, 180 days, and 365 days, which is sometimes badly needed.
I have decided to add the Average volume for the week, 180 days, and a year.
SPX MACD + EMA Crossover Option AlertsFeatures Included:
MACD Golden Cross (bullish) and Death Cross (bearish) detection
EMA Crossovers as confirmation (you can set fast & slow EMAs)
Optimal trading time filters (e.g., 10:00–11:30 AM, 2:00–3:30 PM ET)
Alerts for CALLs (bullish) and PUTs (bearish) only within trade hours
Visual signals on the chart for easier trading
5DMA Optional HMA Entry📈 5DMA Optional HMA Entry Signal – Precision-Based Momentum Trigger
Category: Trend-Following / Reversal Timing / Entry Optimization
🔍 Overview:
The 5DMA Optional HMA Entry indicator is a refined price-action entry tool built for traders who rely on clean trend alignment and precise timing. This script identifies breakout-style entry points when price gains upward momentum relative to short-term moving averages — specifically the 5-day Simple Moving Average (5DMA) and an optional Hull Moving Average (HMA).
Whether you're swing trading stocks, scalping ETFs like UVXY or VXX, or looking for pullback recovery entries, this tool helps time your long entries with clarity and flexibility.
⚙️ Core Logic:
Primary Condition (Always On):
🔹 Close must be above the 5DMA – ensuring upward short-term momentum is confirmed.
Optional Condition (Toggled by User):
🔹 Close above the HMA – adds slope-responsive trend filtering for smoother setups. Enable or disable via checkbox.
Bonus Entry Filter (Optional):
🔹 Green Candle Wick Breakout – optional pattern logic that detects bullish momentum when the high pierces above both MAs, with a green body.
Reset Mechanism:
🔁 Signal resets only after price closes back below all active MAs (5DMA and HMA if enabled), reducing noise and avoiding repeated signals during chop.
🧠 Why This Works:
This indicator captures the kind of setups that professional traders look for:
Momentum crossovers without chasing late.
Mean reversion snapbacks that align with fresh bullish moves.
Avoids premature entries by requiring clear structure above moving averages.
Optional HMA filter allows adaptability: turn it off during choppy markets or range conditions, and on during trending environments.
🔔 Features:
✅ Adjustable HMA Length
✅ Enable/Disable HMA Filter
✅ Optional Green Wick Breakout Detection
✅ Visual “Buy” label plotted below qualifying bars
✅ Real-time Alert Conditions for automated trading or manual alerts
🎯 Use Cases:
VIX-based ETFs (e.g., UVXY, VXX): Catch early breakouts aligned with volatility spikes.
Growth Stocks: Time pullback entries during bullish runs.
Futures/Indices: Combine with macro levels for intraday scalps or swing setups.
Overlay on Trend Filters: Combine with RSI, MACD, or VWAP for confirmation.
🛠️ Recommended Settings:
For smooth setups in volatile names, use:
HMA Length: 20
Keep green wick filter ON
For fast momentum trades, disable the HMA filter to act on 5DMA alone.
⭐ Final Thoughts:
This script is built to serve both systematic traders and discretionary scalpers who want actionable signals without noise or lag. The toggleable HMA feature lets you adjust sensitivity depending on market conditions — a key edge in adapting to volatility cycles.
Perfect for those who value clean, non-repainting entries rooted in logical structure.
CoffeeShopCrypto Supertrend Liquidity EngineMost SuperTrend indicators use fixed ATR multipliers that ignore context—forcing traders to constantly tweak settings that rarely adapt well across timeframes or assets.
This Supertrend is a nodd to and a more completion of the work
done by Olivier Seban ( @olivierseban )
This version replaces guesswork with an adaptive factor based on prior session volatility, dynamically adjusting stops to match current conditions. It also introduces liquidity-aware zones, real-time strength histograms, and a visual control panel—making your stoploss smarter, more responsive, and aligned with how the market actually moves.
📏 The Multiplier Problem & Adaptive Factor Solution
Traditional SuperTrend indicators rely on fixed ATR multipliers—often arbitrary numbers like 1.5, 2, or 3. The issue? No logical basis ties these values to actual market conditions. What works on a 5-minute Nasdaq chart fails on a daily EUR/USD chart. Traders spend hours tweaking multipliers per asset, timeframe, or volatility phase—and still end up with stoplosses that are either too tight or too loose. Worse, the market doesn’t care about your setting—it behaves according to underlying volatility, not your parameter.
This version fixes that by automating the multiplier selection entirely. It uses a 4-zone model based on the current ATR relative to the previous session’s ATR, dynamically adjusting the SuperTrend factor to match current volatility. It eliminates guesswork, adapts to the asset and timeframe, and ensures you’re always using a context-aware stoploss—one that evolves with the market instead of fighting it.
ATR EXAMPLE
Let’s say prior session ATR = 2.00
Now suppose current ATR = 0.32
This places us in Zone 1 (Very Low Volatility)
It doesn’t imply "overbought" or "oversold" — it tells you the market is moving very little, which often means:
Lower risk | Smaller stops | Smaller opportunities (and losses)
🔁 Liquidity Zones vs. Arbitrary Pullbacks
The standard SuperTrend stop loss line often looks like price “barely misses it” before continuing its trend. Traders call this "stop hunting," but what’s really happening is liquidity collection—price pulls back into a zone rich in orders before continuing. The problem? The old SuperTrend doesn’t show this zone. It only draws the outer limit, leaving no visual cue for where entries or continuation moves might realistically originate.
This script introduces 2 levels in the Liquidity Zone. One for Support and one for Stophunts, which draw dynamically between the current price and the SuperTrend line. These levels reflect where the market is most likely to revisit before resuming the trend. By visualizing the area just above the Supertrend stop loss, you can anticipate pullbacks, spot ideal re-entries, and avoid premature exits. This bridges the gap between mechanical stoploss logic and real-world liquidity behavior.
⏳ Prior Session ATR vs. Live ATR
Using real-time ATR to determine movement potential is like driving by looking in your rearview mirror. It’s reactive, not predictive. Traders often base decisions on live ATR, unaware that today’s range is still unfolding —creating volatility mismatches between what’s calculated and what actually matters. Since ATR reflects range, calculating it mid-session gives an incomplete and misleading picture of true volatility.
Instead, this system uses the ATR from the previous session , anchoring your volatility assumptions in a fully-formed price structure . It tells you how far price moved in the last full market phase—be it London, New York, or Tokyo—giving you a more reliable gauge of expected range today. This is a smarter way to estimate how far price could move rather than how far it has moved.
The Smoothing function will take the ATR, Support, Resistance, Stophunt Levels, and the Moving Avearage and smooth them by the calculation you choose.
It will also plot a moving average on your chart against closing prices by the smoothing function you choose.
🧭 Scalping vs. Trending Modes
The market moves in at least 4 phases. Trending, Ranging, Consolidation, Distribution.
Every trader has a different style —some scalp low-volatility moves during off-hours, while others ride macro trends across days. The problem with classic SuperTrend? It treats every market condition the same. A fixed system can’t possibly provide proper stoploss spacing for both a fast scalp and a long-term swing. Traders are forced to rebuild their system every time the market changes character or the session shifts.
This version solves that with a simple toggle:
Scalping or Trend Mode . With one switch, it inverts the logic of the adaptive factor to either tighten or loosen your trailing stops. During low-liquidity hours or consolidation phases, Scalping Mode offers snug stoplosses. During expansion or clear directional bias.
Trend Mode lets the trade breathe. This is flexibility built directly into the logic—not something you have to recalibrate manually.
📉 Histogram Oscillator for Move Strength
In legacy indicators, there’s no built-in way to gauge when the move is losing power . Traders rely on price action or momentum indicators to guess if a trend is fading. But this adds clutter, lag, and often contradiction. The classic SuperTrend doesn’t offer insight into how strong or weak the current trend leg is—only whether price has crossed a line.
This version includes a Trending Liquidity Histogram —a histogram that shows whether the liquidity in the SuperTrend zone is expanding or compressing. When the bars weaken or cross toward zero, it signals liquidity exhaustion . This early warning gives you time to prep for reversals or anticipate pullbacks. It even adapts visually depending on your trading mode, showing color-coded signals for scalping vs. trending behavior. It's both a strength gauge and a trade timing tool—built into your stoploss logic.
Histogram in Scalping Mode
Histogram in Trending Mode
📊 Visual Table for Real-Time Clarity
A major issue with custom indicators is opacity —you don’t always know what settings or values are currently being used. Even worse, if your dynamic logic changes mid-trade, you may not notice unless you go digging into the code or logs. This can create confusion, especially for discretionary traders.
This SuperTrend solves it with a clean visual summary table right on your chart. It shows your current ATR value, adaptive multiplier, trailing stop level, and whether a new zone size is active. That means no surprises and no second-guessing—everything important is visible and updated in real-time.