Dao động [VNFlow]Contact and discussion to use advanced tools to support your trading strategy
Email: hasobin@outlook.com
Phone: 0373885338
Cafe break: Hanoi
See you,
Indicators and strategies
Adaptive Normalized Global Liquidity OscillatorAdaptive Normalized Global Liquidity Oscillator
A dynamic, non-repainting oscillator built on real central bank balance sheet data. This tool visualizes global liquidity shifts by aggregating monetary asset flows from the world’s most influential central banks.
🔍 What This Script Does:
Aggregates Global Liquidity:
Includes Federal Reserve (FED) assets and subtracts liabilities like the Treasury General Account (TGA) and Reverse Repo Facility (RRP), combined with asset positions from the ECB, BOJ, PBC, BOE, and over 10 other central banks. All data is normalized into USD using FX rates.
Adaptive Normalization:
Optimizes the lookback period dynamically based on rate-of-change stability—no fixed lengths, enabling adaptation across macro conditions.
Self-Optimizing Weighting:
Applies inverse standard deviation to balance raw liquidity, smoothed momentum (HMA), and standardized deviation from the mean.
Percentile-Ranked Highlights:
Liquidity readings are ranked relative to history—extremes are visually emphasized using gradient color and adaptive transparency.
Non-Repainting Design:
Data is anchored with bar index awareness and offset techniques, ensuring no forward-looking bias. What you see is what was known at that time.
⚠️ Important Interpretation Note:
This is not a zero-centered oscillator like RSI or MACD. The signal line does not represent neutrality at zero.
Instead, a dynamic baseline is calculated using a rolling mean of scaled liquidity.
0 is irrelevant on its own—true directional signals come from crosses above or below this adaptive baseline.
Even negative values may signal strength if they are rising above the moving average of past liquidity conditions.
✅ What to Watch For:
Crossover Above Dynamic Baseline:
Indicates liquidity is expanding relative to recent conditions—supports a risk-on interpretation.
Crossover Below Dynamic Baseline:
Suggests deteriorating liquidity conditions—may align with risk-off shifts.
Percentile Extremes:
Readings near the top or bottom historical percentiles can act as contrarian or confirmation signals, depending on momentum.
⚙️ How It Works:
Bounded Normalization:
The final oscillator is passed through a tanh function, keeping values within and reducing distortion.
Adaptive Transparency:
The strength of deviations dynamically adjusts plot intensity—visually highlighting stronger liquidity shifts.
Fully Customizable:
Toggle which banks are included, adjust dynamic optimization ranges, and control visual display options for plot and background layers.
🧠 How to Use:
Trend Confirmation:
Sustained rises in the oscillator above baseline suggest underlying monetary support for asset prices.
Macro Turning Points:
Reversals or divergences, especially near OB/OS zones, can foreshadow broader risk regime changes.
Visual Context:
Use the dynamic baseline to see if liquidity is supportive or suppressive relative to its own adaptive history.
📌 Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always consult a qualified financial advisor before making trading or investment decisions.
BackTestLibLibrary "BackTestLib"
Allows backtesting indicator performance. Tracks typical metrics such as won/loss, profit factor, draw down, etc. Trading View strategy library provides similar (and more comprehensive)
functionality but only works with strategies. This libary was created to address performance tracking within indicators.
Two primary outputs are generated:
1. Summary Table: Displays overall performance metrics for the indicator over the chart's loaded timeframe and history
2. Details Table: Displays a table of individual trade entries and exits. This table can grow larger than the available chart space. It does have a max number of rows supported. I haven't
found a way to add scroll bars or scroll bar equivalents yet.
f_init(data, _defaultStopLoss, _defaultTakeProfit, _useTrailingStop, _useTraingStopToBreakEven, _trailingStopActivation, _trailingStopOffset)
f_init Initialize the backtest data type. Called prior to using the backtester functions
Parameters:
data (backtesterData) : backtesterData to initialize
_defaultStopLoss (float) : Default trade stop loss to apply
_defaultTakeProfit (float) : Default trade take profit to apply
_useTrailingStop (bool) : Trailing stop enabled
_useTraingStopToBreakEven (bool) : When trailing stop active, trailing stop will increase no further than the entry price
_trailingStopActivation (int) : When trailing stop active, trailing will begin once price exceeds base stop loss by this number of points
_trailingStopOffset (int) : When trailing stop active, it will trail the max price achieved by this number of points
Returns: Initialized data set
f_buildResultStr(_resultType, _price, _resultPoints, _numWins, _pointsWon, _numLoss, _pointsLost)
f_buildResultStr Helper function to construct a string of resutling data for exit tooltip labels
Parameters:
_resultType (string)
_price (float)
_resultPoints (float)
_numWins (int)
_pointsWon (float)
_numLoss (int)
_pointsLost (float)
f_buildResultLabel(data, labelVertical, labelOffset, long)
f_buildResultLabel Helper function to construct an Exit label for display on the chart
Parameters:
data (backtesterData)
labelVertical (bool)
labelOffset (int)
long (bool)
f_updateTrailingStop(_entryPrice, _curPrice, _sl, _tp, trailingStopActivationInput, trailingStopOffsetInput, useTrailingStopToBreakEven)
f_updateTrailingStop Helper function to advance the trailing stop as price action dictates
Parameters:
_entryPrice (float)
_curPrice (float)
_sl (float)
_tp (float)
trailingStopActivationInput (float)
trailingStopOffsetInput (float)
useTrailingStopToBreakEven (bool)
Returns: Updated stop loss for current price action
f_enterShort(data, entryPrice, fixedStopLoss)
f_enterShort Helper function to enter a short and collect data necessary for tracking the trade entry
Parameters:
data (backtesterData)
entryPrice (float)
fixedStopLoss (float)
Returns: Updated backtest data
f_enterLong(data, entryPrice, fixedStopLoss)
f_enterLong Helper function to enter a long and collect data necessary for tracking the trade entry
Parameters:
data (backtesterData)
entryPrice (float)
fixedStopLoss (float)
Returns: Updated backtest data
f_exitTrade(data)
f_enterLong Helper function to exit a trade and update/reset tracking data
Parameters:
data (backtesterData)
Returns: Updated backtest data
f_checkTradeConditionForExit(data, condition, curPrice, enableRealTime)
f_checkTradeConditionForExit Helper function to determine if provided condition indicates an exit
Parameters:
data (backtesterData)
condition (bool) : When true trade will exit
curPrice (float)
enableRealTime (bool) : When true trade will evaluate if barstate is relatime or barstate is confirmed; otherwise just checks on is confirmed
Returns: Updated backtest data
f_checkTrade(data, curPrice, curLow, curHigh, enableRealTime)
f_checkTrade Helper function to determine if current price action dictates stop loss or take profit exit
Parameters:
data (backtesterData)
curPrice (float)
curLow (float)
curHigh (float)
enableRealTime (bool) : When true trade will evaluate if barstate is relatime or barstate is confirmed; otherwise just checks on is confirmed
Returns: Updated backtest data
f_fillCell(_table, _column, _row, _title, _value, _bgcolor, _txtcolor, _text_size)
f_fillCell Helper function to construct result table cells
Parameters:
_table (table)
_column (int)
_row (int)
_title (string)
_value (string)
_bgcolor (color)
_txtcolor (color)
_text_size (string)
Returns: Table cell
f_prepareStatsTable(data, drawTesterSummary, drawTesterDetails, summaryTableTextSize, detailsTableTextSize, displayRowZero, summaryTableLocation, detailsTableLocation)
f_fillCell Helper function to populate result table
Parameters:
data (backtesterData)
drawTesterSummary (bool)
drawTesterDetails (bool)
summaryTableTextSize (string)
detailsTableTextSize (string)
displayRowZero (bool)
summaryTableLocation (string)
detailsTableLocation (string)
Returns: Updated backtest data
backtesterData
backtesterData - container for backtest performance metrics
Fields:
tradesArray (array) : Array of strings with entries for each individual trade and its results
pointsBalance (series float) : Running sum of backtest points won/loss results
drawDown (series float) : Running sum of backtest total draw down points
maxDrawDown (series float) : Running sum of backtest total draw down points
maxRunup (series float) : Running sum of max points won over the backtest
numWins (series int) : Number of wins of current backtes set
numLoss (series int) : Number of losses of current backtes set
pointsWon (series float) : Running sum of points won to date
pointsLost (series float) : Running sum of points lost to date
entrySide (series string) : Current entry long/short
tradeActive (series bool) : Indicates if a trade is currently active
tradeComplete (series bool) : Indicates if a trade just exited (due to stop loss or take profit)
entryPrice (series float) : Current trade entry price
entryTime (series int) : Current trade entry time
sl (series float) : Current trade stop loss
tp (series float) : Current trade take profit
defaultStopLoss (series float) : Default trade stop loss to apply
defaultTakeProfit (series float) : Default trade take profit to apply
useTrailingStop (series bool) : Trailing stop enabled
useTrailingStopToBreakEven (series bool) : When trailing stop active, trailing stop will increase no further than the entry price
trailingStopActivation (series int) : When trailing stop active, trailing will begin once price exceeds base stop loss by this number of points
trailingStopOffset (series int) : When trailing stop active, it will trail the max price achieved by this number of points
resultType (series string) : Current trade won/lost
exitPrice (series float) : Current trade exit price
resultPoints (series float) : Current trade points won/lost
summaryTable (series table) : Table to deisplay summary info
tradesTable (series table) : Table to display per trade info
Smart Reversal Signal (Stoch + RSI + EQH/EQL) v1.1📘 Smart Reversal Signal (Stoch + RSI + EQH/EQL)
The Smart Reversal Signal v1.1 is a multi-confirmation reversal indicator that combines momentum and price action signals across timeframes. It is designed to help traders detect high-probability reversal zones based on confluence between stochastic, RSI, and key price structures.
✅ Key Features:
📊 Stochastic Crossover: Detects K and D line crossovers to identify potential overbought/oversold reversal points.
📈 RSI Signal: Confirms momentum exhaustion by checking RSI crossing above/below overbought/oversold levels.
🏛️ EQH/EQL Detection: Identifies Equal Highs (EQH) and Equal Lows (EQL) from higher timeframes as strong reversal zones.
⏱ Multi-Timeframe Lookback: Uses selected timeframe and historical depth to improve signal quality and reduce noise.
🎯 Reversal Alerts: Highlights confluence zones where multiple conditions align for a potential trend reversal.
🌐 Custom Timeframe Support: Analyze signals using data from different timeframes, regardless of current chart.
⚙️ Inputs:
Stochastic Parameters: %K, %D length and smoothing
RSI Parameters: Length, Overbought/Oversold levels
EQH/EQL Settings: Timeframe, Lookback bars
Signal Conditions: Enable/disable RSI and Stoch filter logic
📈 Use Cases:
Catch trend reversals at exhaustion points
Identify smart entry zones near EQH/EQL levels
Combine momentum + structure for higher accuracy
Adaptable for both scalping and swing trading
ΔPrecio/Vol + EMA NetVol Escalada RJF V1Indicator Manual: ΔPrice/Vol + EMA NetVolume (Scaled)
1. Introduction
This indicator combines the histogram of (Close – Open) divided by volume with a dynamically scaled EMA of net volume. It helps identify the strength of price movements tied to buying vs. selling volume.
2. Input Parameters
Show Histogram (ΔPrice/Vol): Enable or disable the (Close - Open) / Volume histogram.
Histogram Up Color: Color for positive histogram bars.
Histogram Down Color: Color for negative histogram bars.
Histogram Zero Color: Color for zero-value histogram bars.
Show EMA NetVolume: Enable or disable the net volume EMA line.
EMA NetVolume Period: Number of bars for the net volume EMA calculation.
EMA Up Color: Color for the EMA when net volume is positive.
EMA Down Color: Color for the EMA when net volume is negative.
EMA Line Width: Thickness of the EMA line.
Dynamic Scale Window: Number of bars for calculating the EMA scaling factor.
3. Visualization and Interpretation
• The histogram displays (Close – Open) / Volume, colored by candle direction.
• The net volume EMA shows accumulated buying vs. selling volume.
• EMA above zero indicates buying dominance; below zero indicates selling dominance.
• Both series share the same zero line for easy comparison.
4. Examples of Use
• During a strong uptrend, expect large green histogram bars and the EMA in positive territory.
• In a retracement, red histogram bars appear more frequently and the EMA may cross below zero.
• Adjust the dynamic scale window to fine-tune EMA sensitivity.
5. Troubleshooting
• If you do not see the histogram, ensure "Show Histogram" is enabled.
• If the EMA overshadows the histogram, tweak the dynamic scale window.
• Customize colors for better visibility on different chart backgrounds
HOG Trifecta HOG Trifecta
📊 Overview
HOG Trifecta is a real-time market monitor that blends three core elements of price action — trend, momentum, and volume positioning — into one clean directional output. Built for tactical traders, it cuts through the noise and highlights when the market is ready to move or stay neutral.
⚙️ How It Works
• Scores five key signals:
• EMA 9/21 crossover for directional trend
• RSI > 50 or < 50 for momentum bias
• MACD histogram for momentum expansion (WAE-style logic)
• Price relative to EMA 50 as a volume anchor
• ADX-powered trend strength confirmation
• Combines the signals into a score that determines a single bias:
BULLISH, NEUTRAL, or BEARISH
• Displays a floating, color-coded label above price for instant clarity
• Optional background shading tied to sentiment (toggleable)
🎯 Inputs
• Show Label — toggle the sentiment word on/off
• Show Background — toggle chart shading based on bias
✅ Benefits
• Monitors trend, momentum, and volume in real time
• Tells you when conditions align for directional setups
• Avoids false signals with NEUTRAL states
• Fully self-contained — no external dependencies
• Lightweight and fast for daily or intraday use
📈 Use Cases
• Entry confirmation in trend strategies
• Swing trade bias filter
• Anchor higher timeframe sentiment for lower timeframe entries
⚠️ Notes
• Score thresholds:
+2 or more → BULLISH
−2 or less → BEARISH
−1 to +1 → NEUTRAL
• Built using only standard Pine Script tools
SMA 20/50 Crossover Strategy - Peter GangmeiSMA 20/50 Crossover Strategy – Peter Gangmei
This indicator visualizes a classic moving average crossover strategy using Simple Moving Averages (SMA). It plots the 20, 50, and 200 period SMAs and generates clear Buy and Sell signals based on the crossover between the 20 and 50 SMAs:
✅ Buy Signal: When the 20 SMA crosses above the 50 SMA
🔻 Sell Signal: When the 20 SMA crosses below the 50 SMA
📈 The 200 SMA is also plotted for long-term trend context.
Visual cues are displayed on the chart using up/down triangles to indicate entry opportunities. The script also includes built-in alerts so you never miss a trading signal.
Ideal for traders who want a simple, visually intuitive way to follow trend shifts and momentum.
[TupTrader] prev candle of Opening session✅ Session Key Levels + Daily Zones
This smart indicator automatically marks the key levels from the previous candle before the opening of each main trading session — Asia, London, and New York — along with the previous daily candle levels. These levels are critical for price reaction, support/resistance, and session-based breakouts or reversals.
🧠 What does it do?
Detects and plots the previous candle before each session (Asia, London, New York)
Automatically draws:
High/Low/Open/Close of that candle
Optional body/fibonacci levels (25%, 50%, 75% or 23.6%, 38.2%, 61.8%)
Box zones to visualize the session range
Highlights the previous daily OHLC and key levels
🚨 Built-in alerts for touches on key session and daily levels
Fully customizable: colors, font size, levels visibility, and session times
💡 How to Use It?
Scalping or Intraday: Look for price reactions around session levels.
Breakout Strategy: Wait for price to break session highs/lows with volume.
Reversals: Watch for fakeouts around previous session or daily zones.
Use it with trend tools (e.g., EMA or structure) for confluence.
These levels act like a roadmap of market structure and liquidity. Perfect for day traders, scalpers, and session-based traders.
Sistema Bitcoin CompletoBitcoin Complete System - Advanced Scalping & Main Strategy
📊 Overview
This comprehensive Bitcoin trading system combines multiple momentum indicators to identify high-probability entry points across different timeframes. The indicator automatically adapts its behavior based on the selected timeframe and provides two distinct trading approaches.
🎯 Key Features
Dual System Architecture: Scalp system (3m/5m) and Main system (15m+)
Advanced Convergence Logic: Requires multiple indicators to align before signaling
Dynamic Information Panel: Real-time display of indicator states and convergence status
Automated Timeframe Detection: Optimizes settings based on current chart timeframe
Bitcoin-Focused: Specifically designed for BTC/USD trading pairs
⚡ Scalp System (3m/5m Timeframes)
Signal Requirements
Long Signal (Yellow Circle Below Bar):
Williams %R ≤ -80 (Oversold)
Stochastic %K ≤ 20 (Oversold)
RSI ≤ 33 (Deep Oversold)
ALL THREE must be satisfied simultaneously
Short Signal (Yellow Circle Above Bar):
Williams %R ≥ -20 (Overbought)
Stochastic %K ≥ 80 (Overbought)
RSI ≥ 67 (Deep Overbought)
ALL THREE must be satisfied simultaneously
Scalp Strategy Logic
The scalp system uses a strict convergence approach where divergence between indicators results in NO signals. This dramatically reduces false signals and increases accuracy by ensuring all momentum indicators are aligned in the same direction.
📈 Main System (15m+ Timeframes)
Scoring Algorithm
The main system uses a sophisticated scoring mechanism that evaluates multiple confluence factors:
Buy Signals (Green Triangle + Score):
Williams %R oversold: +1 point
Stochastic oversold: +1 point
RSI touching oversold line (25-35): +0.5 points
RSI breaking oversold line (≤30): +1 point
RSI extremely low (≤20): +2 points
High volume: +1 point
Price near EMA 200: +0.5 points
Price near Fibonacci 61.8%: +0.5 points
Sell Signals (Red Triangle + Score):
Williams %R overbought: +1 point
Stochastic overbought: +1 point
RSI touching overbought line (65-75): +0.5 points
RSI breaking overbought line (≥70): +1 point
RSI extremely high (≥80): +2 points
High volume: +1 point
Price near EMA 200: +0.5 points
Price near Fibonacci 50%: +0.5 points
Signal Classification
🔥 ULTRA PREMIUM: Score ≥ 6 points
💎 PREMIUM: Score ≥ 4 points
💪 STRONG: Score ≥ 3 points
⚡ MEDIUM: Score < 3 points
🔧 Configuration Options
General Settings
Show Information Panel: Display real-time indicator values and convergence status
Show Support/Resistance Levels: Plot EMA and Fibonacci levels
Main System Settings
Minimum Score: Threshold for signal generation (default: 3)
Use Fibonacci: Enable/disable Fibonacci retracement levels
Scalp System Settings
Double Alerts: Enable progressive alert system
📱 Information Panel
The dynamic information panel shows:
Current timeframe and system type
Real-time indicator values and states
Convergence status for each signal type
Signal requirements and current status
🚨 Alert System
Comprehensive alert notifications for:
Scalp signals (possible and activated)
Main system buy/sell signals
Custom messages with price, timeframe, and confluence details
🎮 How to Use
Add to Chart: Apply indicator to Bitcoin chart
Select Timeframe: Choose 3m/5m for scalping or 15m+ for main strategy
Monitor Panel: Watch convergence status in real-time
Set Alerts: Configure notifications for your preferred signals
Confirm Signals: Always verify with price action and market context
⚠️ Important Notes
Bitcoin Only: Designed specifically for BTC trading pairs
Convergence Required: No signals appear during indicator divergence
Real-time Updates: Panel updates continuously with market data
Risk Management: Always use proper position sizing and stop losses
🔍 Advanced Features
Volume Confirmation: Higher volume adds to signal strength
Fibonacci Integration: Automatic calculation of key retracement levels
Multi-timeframe Optimization: Different logic for different timeframes
State Persistence: Tracks indicator conditions across bars
This system represents a sophisticated approach to Bitcoin trading, combining the precision of multiple momentum indicators with the flexibility to adapt to different trading styles and timeframes.
Dual HalfTrendThis is a trend indicator.
There are two trends in this. One is a major trend, and the other is a minor trend. We take trades in the minor trend that aligns with the major trend.
The trading strategy involved here is a crossover.
We take this trade when the major trend breaks the minor trend. You can backtest this and only take the trade if necessary. This works on high-volume pairs like Gold and US30.
Gap + Open & Close Price Marker (HK)Designed for HK Market :
- Show Previous Day Session Open + Close
- Show Gap Up / Gap Down
- Show Gap in points
- Customizable Gap Threshold
Default Color Setting :
Small Gap Up -> Cyan
Middle Gap Up -> Green
Small Gap Down -> Purple
Middle Gap Down -> Pale Red
Big Gap Up/Down => Yellow
GOLD Strategy + 押し目買い戻り売り + ATRベースSLTPThank you for viewing.
This script is exclusively for the GOLD currency pair.
For usage instructions, please contact me via LINE.
Spaghetti 2.0 - Multi-Asset Performance [By Barbell_Fi]This is an updated and more opinionated take on the original Spaghetti indicator.
Multi Asset Performance indicator (also called “Spaghetti”) makes it easy to monitor the changes in Price, Open Interest, and On Balance Volume across multiple assets simultaneously, distinguish assets that are overperforming or underperforming, observe the relative strength of different assets or currencies, use it as a tool for identifying mean reversion opportunities and even for constructing pairs trading strategies, detect "risk-on" or "risk-off" periods, evaluate statistical relationships between assets through metrics like correlation and beta, construct hedging strategies, trade rotations and much more.
Start by selecting a time period (e.g., 1 DAY) to set the interval for when data is reset. This will provide insight into how price, open interest, and on-balance volume change over your chosen period. In the settings, asset selection is fully customizable, allowing you to create three groups of up to 30 tickers each. These tickers can be displayed in a variety of styles and colors. Additional script settings offer a range of options, including smoothing values with a Simple Moving Average (SMA), highlighting the top or bottom performers, plotting the group mean, applying heatmap/gradient coloring, generating a table with calculations like beta, correlation, and RSI, creating a profile to show asset distribution around the mean, and much more.
One of the most important script tools is the screener table, which can display:
🔸 Percentage Change (Represents the return or the percentage increase or decrease in Price/OI/OBV over the current selected period)
🔸 Beta (Represents the sensitivity or responsiveness of asset's returns to the returns of a benchmark/mean. A beta of 1 means the asset moves in tandem with the market. A beta greater than 1 indicates the asset is more volatile than the market, while a beta less than 1 indicates the asset is less volatile. For example, a beta of 1.5 means the asset typically moves 150% as much as the benchmark. If the benchmark goes up 1%, the asset is expected to go up 1.5%, and vice versa.)
🔸 Correlation (Describes the strength and direction of a linear relationship between the asset and the mean. Correlation coefficients range from -1 to +1. A correlation of +1 means that two variables are perfectly positively correlated; as one goes up, the other will go up in exact proportion. A correlation of -1 means they are perfectly negatively correlated; as one goes up, the other will go down in exact proportion. A correlation of 0 means that there is no linear relationship between the variables. For example, a correlation of 0.5 between Asset A and Asset B would suggest that when Asset A moves, Asset B tends to move in the same direction, but not perfectly in tandem.)
🔸 RSI (Measures the speed and change of price movements and is used to identify overbought or oversold conditions of each asset. The RSI ranges from 0 to 100 and is typically used with a time period of 14. Generally, an RSI above 70 indicates that an asset may be overbought, while RSI below 30 signals that an asset may be oversold.)
⚙️ Settings Overview:
◽️ Period
Periodic inputs (e.g. daily, monthly, etc.) determine when the values are reset to zero and begin accumulating again until the period is over. This visualizes the net change in the data over each period. The input "Visible Range" is auto-adjustable as it starts the accumulation at the leftmost bar on your chart, displaying the net change in your chart's visible range. There's also the "Timestamp" option, which allows you to select a specific point in time from where the values are accumulated. The timestamp anchor can be dragged to a desired bar via Tradingview's interactive option. Timestamp is particularly useful when looking for outperformers/underperformers after a market-wide move. The input positioned next to the period selection determines the timeframe on which the data is based. It's best to leave it at default (Chart Timeframe) unless you want to check the higher timeframe structure of the data.
◽️ Data
The first input in this section determines the data that will be displayed. You can choose between Price, OI, and OBV. The second input lets you select which one out of the three asset groups should be displayed. The symbols in the asset group can be modified in the bottom section of the indicator settings.
◽️ Appearance
You can choose to plot the data in the form of lines, circles, areas, and columns. The colors can be selected by choosing one of the six pre-prepared color palettes.
◽️ Labeling
This input allows you to show/hide the labels and select their appearance and size. You can choose between Label (colored pointed label), Label and Line (colored pointed label with a line that connects it to the plot), or Text Label (colored text).
◽️ Smoothing
If selected, this option will smooth the values using a Simple Moving Average (SMA) with a custom length. This is used to reduce noise and improve the visibility of plotted data.
◽️ Highlight
If selected, this option will highlight the top and bottom N (custom number) plots, while shading the others. This makes the symbols with extreme values stand out from the rest.
◽️ Group Mean
This input allows you to select the data that will be considered as the group mean. You can choose between Group Average (the average value of all assets in the group) or First Ticker (the value of the ticker that is positioned first on the group's list). The mean is then used in calculations such as correlation (as the second variable) and beta (as a benchmark). You can also choose to plot the mean by clicking on the checkbox.
◽️ Profile
If selected, the script will generate a vertical volume profile-like display with 10 zones/nodes, visualizing the distribution of assets below and above the mean. This makes it easy to see how many or what percentage of assets are outperforming or underperforming the mean.
◽️ Gradient
If selected, this option will color the plots with a gradient based on the proximity of the value to the upper extreme, zero, and lower extreme.
◽️ Table
This section includes several settings for the table's appearance and the data displayed in it. The "Reference Length" input determines the number of bars back that are used for calculating correlation and beta, while "RSI Length" determines the length used for calculating the Relative Strength Index. You can choose the data that should be displayed in the table by using the checkboxes.
◽️ Asset Groups
This section allows you to modify the symbols that have been selected to be a part of the 3 asset groups. If you want to change a symbol, you can simply click on the field and type the ticker of another one. You can also show/hide a specific asset by using the checkbox next to the field.
Strong Candle ReversalStrong Candle Reversal helps you identify strong candlestick reversal points based on:
✅ Key criteria for strong candle reversals:
Powerful candlestick patterns:
Engulfing
Hammer / Shooting Star
Unusually high volume
Optional confirmation using RSI reversal
Top Right Watermark# TopRight Watermark
**Finally, a watermark that stays out of your way!**
Tired of TradingView's default watermark blocking your price action and technical analysis? This customizable watermark indicator gives you complete control over positioning and content display.
## 🎯 Key Features
**✅ Flexible Positioning** - Place anywhere: corners, sides, or edges
**✅ Multi-Slot Display** - Up to 3 customizable information slots
**✅ Individual Font Control** - Different sizes for each slot
**✅ Platform Compatibility** - TradingView OR MetaTrader timeframe formats
**✅ Clean & Professional** - Customizable colors and transparency
## 🔧 What You Can Display
- **Timeframe** - Current chart period
- **Ticker** - Symbol name (smart formatting for crypto/forex)
- **Exchange** - Broker/platform name
- **Custom Text** - Your own message
- **Empty** - Hide unused slots
## 🎨 Customization Options
- **Position**: 9 placement options (top/middle/bottom + left/center/right)
- **Colors**: Full color picker with transparency control
- **Font Sizes**: 5 sizes available per slot (tiny to huge)
- **Timeframe Style**: Choose TradingView (1m, 4H) or MetaTrader (M1, H4) format
## 🚀 Perfect For
- Traders who need clean chart visibility
- Multi-timeframe analysis
- Professional chart screenshots
- Platform migrants (MT4/MT5 to TradingView)
- Anyone wanting organized chart information
## 💡 Pro Tips
- Place in corners to avoid price action interference
- Combine Exchange + Ticker + Timeframe for complete context
- Use transparency to make it subtle but visible
**Stop letting watermarks interfere with your trading analysis. Take control of your chart display today!**
---
*Compatible with all TradingView chart types and timeframes. Easy setup with intuitive controls.*
RSI Confluence - 3 Timeframes V1.1RSI Confluence – 3 Timeframes V1.1
RSI Confluence – 3 Timeframes v1.1 is a powerful multi-timeframe momentum indicator that detects RSI alignment across three timeframes. It helps traders identify high-probability reversal or continuation zones where momentum direction is synchronized, offering more reliable entry signals.
✅ Key Features:
📊 3-Timeframe RSI Analysis: Compare RSI values from current, higher, and highest timeframes.
🔁 Customizable Timeframes: Select any combination of timeframes for precision across scalping, swing, or positional trading.
🎯 Overbought/Oversold Zones: Highlights when all RSI values align in extreme zones (e.g., <30 or >70).
🔄 Confluence Filter: Confirms trend reversals or continuations only when all RSIs agree in direction.
📈 Visual Signals: Displays visual cues (such as background color or labels) when multi-timeframe confluence is met.
⚙️ Inputs:
RSI Length: Define the calculation length for RSI.
Timeframe 1 (TF1): Lower timeframe (e.g., current chart)
Timeframe 2 (TF2): Medium timeframe (e.g., 1H or 4H)
Timeframe 3 (TF3): Higher timeframe (e.g., 1D or 1W)
OB/OS Levels: Customizable RSI overbought/oversold thresholds (default: 70/30)
Show Visuals: Toggle for background color or signal markers when confluence conditions are met
📈 Use Cases:
Identify trend continuation when all RSIs support the same direction
Spot strong reversal zones with RSI agreement across TFs
Improve entry accuracy by avoiding false signals on a single timeframe
Suitable for multi-timeframe strategy confirmation
Touch 30 EMA & 150 EMA - Candle Signal//@version=5
indicator("Touch 30 EMA & 150 EMA - Candle Signal", overlay=true)
// Calculate EMAs
ema30 = ta.ema(close, 30)
ema150 = ta.ema(close, 150)
// Candle types
isGreen = close > open
isRed = close < open
// Candle touches both EMAs (either open-high-low-close range includes both)
touchesBothEMAs = low <= ema30 and high >= ema30 and low <= ema150 and high >= ema150
// Signals
greenArrow = isGreen and touchesBothEMAs
redArrow = isRed and touchesBothEMAs
// Plot arrows
plotshape(greenArrow, title="Green Candle Touch", location=location.belowbar, color=color.green, style=shape.arrowup, size=size.small)
plotshape(redArrow, title="Red Candle Touch", location=location.abovebar, color=color.red, style=shape.arrowdown, size=size.small)
// Plot EMAs for reference
plot(ema30, color=color.orange, title="EMA 30")
plot(ema150, color=color.blue, title="EMA 150")
ItM boystime based ranges that are unmitigated from the new york session hourly open and hourly close
NvhLibLibrary "NvhLib"
TODO: add library description here
fun(x)
TODO: add function description here
Parameters:
x (float) : TODO: add parameter x description here
Returns: TODO: add what function returns
IsMaUptrend(length)
Parameters:
length (int)
IsMaDowntrend(length)
Parameters:
length (int)
GetMADirection(length)
Parameters:
length (int)
iMACD(index)
Parameters:
index (int)
IsMacdUptrend()
IsMacdDowntrend()
GetMacdDirection()
iSignal(index)
Parameters:
index (int)
IsSignalUptrend()
IsSignalDowntrend()
GetSignalDirection()
iHistogram(index)
Parameters:
index (int)
IsHistogramUptrend()
IsHistogramDowntrend()
GetHistogramDirection()
GetTablePos(pos)
Parameters:
pos (string)
GetTableSize(size)
Parameters:
size (string)
GetMAOrder(mas, mam, mal)
Parameters:
mas (float)
mam (float)
mal (float)
IsBull()
IsBull(open, close)
Parameters:
open (float)
close (float)
IsBear()
IsBear(open, close)
Parameters:
open (float)
close (float)
IsStandardHigh()
IsStandardHigh(hi, lo)
Parameters:
hi (float)
lo (float)
IsStandardHigh(hi, lo, xAtr, yAtr)
Parameters:
hi (float)
lo (float)
xAtr (float)
yAtr (float)
IsStandardBody(bodySpreadPercent)
Parameters:
bodySpreadPercent (int)
IsStandardBody(open, high, low, close, bodySpreadPercent)
Parameters:
open (float)
high (float)
low (float)
close (float)
bodySpreadPercent (int)
IsBullPinbar()
IsBearPinbar()
IsBullTwoBarReversal()
IsBearTwoBarReversal()
Watermark by HAZEDEnhanced Watermark - Clean Chart Labeling
A professional watermark indicator for traders who want clean, customizable chart identification.
Features:
- Show/hide: Exchange prefix, timeframe, price change %, volume
- 9 positioning options - place anywhere on your chart
- Custom text styling - normal or spaced text modes
- Full color control - including transparency settings
- Size customization - independent sizing for each element
- Personal signature - add your trading brand
- Custom symbols - personalize arrows and indicators
Perfect for:
Content creators, educational posts, professional setups, and social media sharing.
Easy to use: Works immediately with smart defaults. Fully customizable to match your style.
Clean charts, professional presentation.
TimeframeToStringToolLibrary "TimeframeToStringTool"
Maps a worded string for timeframes useful when working with the input.timeframe input. Use like timeframeToString("120") and the output will be "2 hour"
timeframeToString(timeframeString)
Converts timeframe strings e.g. 60" will return Day
Parameters:
timeframeString (string)
Returns: returns a map