Oil ETF VolumeDirexxion Daily has both 'bear' and 'bull' oil ETFs. This tracks the volume in both combined. It also tracks them individually: the bear ETF is the red line, and bull the green.
NOTE: the color of the volume bars is determined by whatever ticker you're currently looking at, and whether current close is gt/lt previous close. It is intended to be used while looking at the USOIL chart. The colors will be inverted if you're looking at the 'bear' ETF! as the higher closes will actually mean price is going down :D
在腳本中搜尋"富国恒生港股通高股息低波动ETF发起式联接A+高股息低波动优势"
Standardized Leveraged ETF Fund of FlowsThis indicator tracks and standardizes the 3-month fund flows of major leveraged ETFs across different asset classes, including equities, gold, and bonds.
The fund flows are summed over a 3-month period (63 trading days) and then standardized using a 500-day rolling mean and standard deviation.
The resulting normalized fund flow values are plotted in three distinct colors:
Blue for Equities Fund Flows
Yellow for Gold Fund Flows
Green for Bond Fund Flows
CE - 42MACRO Fixed Income and Macro This is Part 2 of 2 from the 42MACRO Recreation Series
However, there will be a bonus Indicator coming soon!
The CE - 42MACRO Fixed Income and Macro Table is a next level Macroeconomic and market analysis indicator.
It aims to provide a probabilistic insight into the market realized GRID Macro regimes,
track a multiplex of important Assets, Indices, Bonds and ETF's to derive extra market insights by showing the most important aggregates and their performance over multiple timeframes... and what that might mean for the whole market direction.
For traders and especially investors, the unique functionalities will be of high value.
Quick guide on how to use it:
docs.google.com
WARNING
By the nature of the macro regimes, the outcomes are more accurate over longer Chart Timeframes (Week to Months).
However, it is also a valuable tool to form an advanced,
market realized, short to medium term bias.
NOTE
This Indicator is intended to be used alongside the 1nd part "CE - 42MACRO Equity Factor"
for a more wholistic approach and higher accuracy.
Methodology:
The Equity Factor Table tracks specifically chosen Assets to identify their performance and add the combined performances together to visualize 42MACRO's GRID Equity Model.
For this it uses the below Assets:
Convertibles ( AMEX:CWB )
Leveraged Loans ( AMEX:BKLN )
High Yield Credit ( AMEX:HYG )
Preferreds ( NASDAQ:PFF )
Emerging Market US$ Bonds ( NASDAQ:EMB )
Long Bond ( NASDAQ:TLT )
5-10yr Treasurys ( NASDAQ:IEF )
5-10yr TIPS ( AMEX:TIP )
0-5yr TIPS ( AMEX:STIP )
EM Local Currency Bonds ( AMEX:EMLC )
BDCs ( AMEX:BIZD )
Barclays Agg ( AMEX:AGG )
Investment Grade Credit ( AMEX:LQD )
MBS ( NASDAQ:MBB )
1-3yr Treasurys ( NASDAQ:SHY )
Bitcoin ( AMEX:BITO )
Industrial Metals ( AMEX:DBB )
Commodities ( AMEX:DBC )
Gold ( AMEX:GLD )
Equity Volatility ( AMEX:VIXM )
Interest Rate Volatility ( AMEX:PFIX )
Energy ( AMEX:USO )
Precious Metals ( AMEX:DBP )
Agriculture ( AMEX:DBA )
US Dollar ( AMEX:UUP )
Inverse US Dollar ( AMEX:UDN )
Functionalities:
Fixed Income and Macro Table
Shows relative market Asset performance
Comes with different Calculation options like RoC,
Sharpe ratio, Sortino ratio, Omega ratio and Normalization
Allows for advanced market (health) performance
Provides the calculated, realized GRID market regimes
Informs about "Risk ON" and "Risk OFF" market states
Visuals - for your best experience only use one (+ BarColoring) at a time:
You can visualize all important metrics:
- GRID regimes of the currently chosen calculation type
- Risk On/Risk Off with background colouring and additional +1/-1 values
- a smoother GRID model
- a smoother Risk On/ Risk Off metric
- Barcoloring for enabled metric of the above
If you have more suggestions, please write me
Fixed Income and Macro:
The visualisation of the relative performance of the different assets provides valuable information about the current market environment and the actual market performance.
It furthermore makes it possible to obtain a deeper understanding of how the interconnected market works and makes it simple to identify the actual market direction,
thus also providing all the information to derive overall market health, market strength or weakness.
Utility:
The Fixed Income and Macro Table is divided in 4 Columns which are the GRID regimes:
Economic Growth:
Goldilocks
Reflation
Economic Contraction:
Inflation
Deflation
Top 5 Fixed Income/ Macro Factors:
Are the values green for a specific Column?
If so then the market reflects the corresponding GRID behavior.
Bottom 5 Fixed Income/ Macro Factors:
Are the values red for a specific Column?
If so then the market reflects the corresponding GRID behavior.
So if we have Goldilocks as current regime we would see green values in the Top 5 Goldilocks Cells and red values in the Bottom 5 Goldilocks Cells.
You will find that Reflation will look similar, as it is also a sign of Economic Growth.
Same is the case for the two Contraction regimes.
******
This Indicator again is based to a majority on 42MACRO's models.
I only brought them into TV and added things on top of it.
If you have questions or need a more in-depth guide DM me.
GM
RSI - S&P Sector ETFsThe script displays RSI of each S&P SPDR Sector ETF
XLB - Materials
XLC - Communications
XLE - Energy
XLF - Financials
XLI - Industrials
XLK - Technology
XLP - Consumer Staples
XLRE - Real Estate
XLU - Utilities
XLV - Healthcare
XLY - Consumer Discretionary
It is meant to identify changes in sector rotation, compare oversold/overbought signals of each sector, and/or any price momentum trading strategy applicable to a trader.
InfoPanel - SeasonalityThis panel will show which is the best month to buy a stock, index or ETF or even a cryptocurrency in the past 5 years.
Script to use only with MONTHLY timeframe.
Thanks to: RicardoSantos for his hard work.
Please use comment section for any feedback.
1분봉 20EMA 상향·하락 돌파 알림 (구분완료)//@version=5
indicator("1분봉 20EMA 상향·하락 돌파 알림 (구분완료)", overlay=true)
ema20 = ta.ema(close, 20)
// 상향 돌파 조건
crossUp = ta.crossover(close, ema20)
// 하락 돌파 조건
crossDown = ta.crossunder(close, ema20)
// EMA 라인 표시
plot(ema20, color=color.orange, title="1분봉 20EMA")
// 상향 돌파 시 초록 삼각형만 표시
plotshape(crossUp, location=location.abovebar, color=color.green, style=shape.triangleup, size=size.small, title="상향 돌파")
// 하락 돌파 시 빨간 삼각형만 표시
plotshape(crossDown, location=location.belowbar, color=color.red, style=shape.triangledown, size=size.small, title="하락 돌파")
// 상향 돌파 알림만
alertcondition(crossUp and not crossDown, title="✅ 1분봉 20EMA 상향 돌파", message="✅ 1분봉에서 20EMA 상향 돌파 발생")
// 하락 돌파 알림만
alertcondition(crossDown and not crossUp, title="⚠️ 1분봉 20EMA 하락 돌파", message="⚠️ 1분봉에서 20EMA 하락 돌파 발생")
15분봉 20EMA 상향·하락 돌파 알림//@version=5
indicator("15분봉 20EMA 상향·하락 돌파 알림", overlay=true)
// 15분봉 데이터 요청
ema15m20 = request.security(syminfo.tickerid, "15", ta.ema(close, 20))
// 현재봉 종가
price = close
// 상향 돌파 조건
crossUp = ta.crossover(price, ema15m20)
// 하락 돌파 조건
crossDown = ta.crossunder(price, ema15m20)
// EMA 라인 표시
plot(ema15m20, color=color.orange, title="15분봉 20EMA")
// 상향 돌파 시 초록 삼각형 표시
plotshape(crossUp, location=location.abovebar, color=color.green, style=shape.triangleup, size=size.small, title="상향 돌파")
// 하락 돌파 시 빨간 삼각형 표시
plotshape(crossDown, location=location.belowbar, color=color.red, style=shape.triangledown, size=size.small, title="하락 돌파")
// 상향 돌파 알림
alertcondition(crossUp, title="✅ 15분봉 20EMA 상향 돌파", message="✅ 15분봉에서 20EMA 상향 돌파 발생")
// 하락 돌파 알림
alertcondition(crossDown, title="⚠️ 15분봉 20EMA 하락 돌파", message="⚠️ 15분봉에서 20EMA 하락 돌파 발생")
Weekly EMA 9/20/50Weekly EMA for 9, 20 and 50 weeks for any security.
This will show the trends that are otherwise not visible on the daily chart.
StockMarketWolf 9/20 EMA VWAP MACD StrategyThis strategy is all about catching momentum in the market by combining some of the most trusted technical indicators—moving averages, VWAP, and MACD—to help you spot better trade opportunities with more confidence.
Here’s the simple idea:
Use the 9 and 20 EMA crossover to spot when the short-term trend is turning up or down.
Check that the price is trading above or below the VWAP (the average price weighted by volume for the day) to confirm the overall market sentiment.
Use the MACD to make sure momentum is supporting your trade—no point jumping in if momentum isn’t backing it up.
How it works:
Go long when the 9 EMA crosses above the 20 EMA, price is above VWAP, and MACD is signaling positive momentum.
Go short when the 9 EMA crosses below the 20 EMA, price is below VWAP, and MACD shows bearish momentum.
Exit the trade when these signals flip or momentum fades.
Why it’s useful:
It helps you avoid trading against the trend by using the VWAP filter.
The MACD momentum check cuts down on fake breakouts.
It’s straightforward and works well on popular day trading charts like the 5-minute timeframe.
Great for high-volume stocks and futures like SPY, QQQ, or ES futures.
Things to keep in mind:
It doesn’t throw out signals all day — you get quality over quantity.
Like any strategy, it’s not perfect and can struggle during sideways markets.
Sticking to the rules and having patience is key.
All in all, this is a solid, no-nonsense strategy that mixes trend and momentum in a way that makes trading feel a bit more clear and less noisy. Perfect if you want a systematic approach without overcomplicating things.
MTF Confirmation v2Multi-Timeframe Direction Confirmation Indicator
📊 Overview
This Pine Script indicator provides high-probability buy and sell signals by confirming that both 1-minute and 5-minute timeframes are moving in the same direction. It eliminates false signals by requiring multiple timeframe agreement before generating alerts.
🎯 How It Works
Trend Detection Method:
EMA Analysis: Uses 20-period Exponential Moving Average to determine trend direction
RSI Confirmation: 14-period RSI validates momentum (>50 bullish, <50 bearish)
Price Action: Confirms price is above/below EMA in trend direction
EMA Slope: Ensures EMA is actually rising (bullish) or falling (bearish)
Signal Generation:
BUY Signal: Only when BOTH 1M and 5M timeframes are bullish simultaneously
SELL Signal: Only when BOTH 1M and 5M timeframes are bearish simultaneously
Cooldown System: Prevents signal spam with 5-bar minimum between signals
📈 Visual Elements
Primary Signals:
Green "BUY" Labels: Appear below candles when both timeframes align bullish
Red "SELL" Labels: Appear above candles when both timeframes align bearish
Background Colors:
Light Green: Both timeframes trending up
Light Red: Both timeframes trending down
No Color: Timeframes not aligned or neutral
Trend Indicators:
Blue Dots: Show 1-minute timeframe trend direction
Orange Dots: Show 5-minute timeframe trend direction
Question Marks: Partial alignment (one timeframe trending, preparing for signal)
Status Table (Top Right):
Timeframe Status: Real-time direction of each timeframe
Alignment Status: Shows when timeframes are synchronized
Signal Status: Current signal state and cooldown timers
Cooldown Counters: Bars remaining until next signal available
⚙️ Customizable Settings
Technical Parameters:
EMA Period: Default 20 (trend smoothness)
RSI Period: Default 14 (momentum sensitivity)
Signal Cooldown: Default 5 bars (prevents overtrading)
Filter Options:
Volume Filter: Optional above-average volume requirement
Alerts Toggle: Enable/disable notifications
Table Display: Show/hide status information
🚨 Alert System
Instant Notifications: Alerts fire when both timeframes align
Price Information: Includes current price in alert message
Once Per Bar: Prevents alert spam during volatile periods
Clear Messages: "BUY SIGNAL: 1M and 5M both BULLISH" format
💡 Best Use Cases
Ideal For:
Scalping: Quick entries with multi-timeframe confirmation
Day Trading: Reliable intraday signals
Trend Following: Catching strong directional moves
Risk Management: Avoiding false breakouts
Timeframe Recommendations:
Works on any chart timeframe
Most effective on 1M, 5M, or 15M charts
Provides earlier signals than single-timeframe indicators
⚡ Key Advantages
Reduced False Signals:
Requires agreement between multiple timeframes
Filters out noise and whipsaws
Cooldown prevents overtrading
Clear Decision Making:
Simple buy/sell signals
Visual confirmation through colors and table
No complex interpretation required
Comprehensive Information:
Real-time status of all timeframes
Setup warnings with question marks
Countdown to next available signal
📋 Setup Instructions
Copy the Pine Script code
Open TradingView Pine Editor
Paste code and save
Add to chart
Configure settings to preference
Set up alerts for desired signals
🎪 Expected Performance
Signal Frequency: 3-8 signals per trading day (depending on volatility)
Quality Focus: Fewer but higher-probability setups
Win Rate: Improved due to multi-timeframe confirmation
Suitable for: Both automated and manual trading strategies
Orb [LUM3N]Orb – Opening Range Breakout Strategy with Confidence Engine
Description
The Orb script is a precision-engineered Opening Range Breakout (ORB) system designed for intraday and scalping strategies. Built around the first 15–30 minutes of price action, it identifies high-probability breakout entries, confirms momentum using 1-minute signals, and automatically calculates Fibonacci-based profit targets.
Key Features:
✅ Customizable ORB Timeframe (15 or 30 mins)
✅ Dynamic Stop Loss Options (Fixed %, ATR-based, EMA trailing)
✅ Fibonacci Take Profit Targets (1.272 / 1.618 / 2.0)
✅ Retest Logic with Smart Labels (confirms strength after breakout)
✅ Time-Based Exit Functionality (automatically closes trades after X minutes)
✅ Built-in Volume Spike Filter (optional)
✅ Multi-Factor Confidence Score using RSI, MACD Histogram, and VWAP
✅ Live Dashboard displaying entry price, TP levels, live % gain, and signal confidence
The confidence engine uses a weighted scoring system to determine if a breakout is High, Medium, or Low confidence — giving traders more control and clarity.
Ideal for structured day traders looking to automate key rules and reduce guesswork.
BuySell Volume Bar Chart• Separates estimated Buy and Sell volume per bar using price action logic
• Plots them in a dual-axis format: buy volume goes up, sell volume goes down
• Colors are dynamic — whichever side dominates gets the stronger color, the weaker side is shaded
• Includes a live difference metric (Δ Volume) as a third value in the indicator title
• Automatically filters out flat/no-move bars to avoid misleading spikes
The live difference metric ("Δ Volume") can be controlled.
This metric calculates the difference between the buying and selling volume live, where it takes the Buy Volume - Sell Volume.
This difference is then displayed in either green (BV > SV) or red (SV > BV). You can toggle it on/off by entering the indicator's settings or double tapping the indicator name on the TV chart.
Another pretty cool thing is the modular colors - you can customize your candle colors and shades to your liking within the code!
Option Volume Wave FlowOption Wave graph. Takes into consideration call/put volume to identify the wave of where money is moving to. Goal is to identify fake outs
Monthly Seasonality Trend [DunesIsland]The Monthly Seasonality Trend is a indicator designed to analyze and visualize historical monthly seasonality patterns in financial markets. By calculating the average monthly return over a user-configurable lookback period (1 to 10 years), this indicator provides traders and investors with a clear projection of potential price movements for the current month, enabling data-driven decision-making.
How It Works
The indicator operates by retrieving monthly open and close prices for the specified lookback period (up to 10 years) and computing the average percentage return for the current month based on historical data. Key functionalities include:
Dynamic Trend Line: On the first trading day of each month, the indicator plots a line projecting the expected price trajectory, starting from the current close price and extending to the estimated end-of-month price based on the average historical return. The line is colored green for anticipated price increases or red for expected declines, offering an intuitive visual cue.
Average Return Label: A label is displayed at the start of each month, detailing the calculated average historical return for that month, expressed as a percentage, to provide context for the projected trend.
First Trading Day Marker: A small circle is plotted below the bar on the first trading day of each month, clearly marking the start of the projection period.
Adaptive Bar Counting: The indicator dynamically adjusts the length of the trend line based on the actual number of trading days in the previous month, ensuring accurate projections.
How to Interpret
Bullish Projection (Green Line): Indicates that historical data suggests an average price increase for the current month, potentially signaling buying opportunities.
Bearish Projection (Red Line): Suggests an average price decline based on historical trends, which may prompt caution or short-selling strategies.
Historical Context: The average return label provides a quantitative measure of past performance, helping traders assess the reliability of the projected trend.
Divergence Strategy [Trendoscope®]🎲 Overview
The Divergence Strategy is a sophisticated TradingView strategy that enhances the Divergence Screener by adding automated trade signal generation, risk management, and trade visualization. It leverages the screener’s robust divergence detection to identify bullish, bearish, regular, and hidden divergences, then executes trades with precise entry, stop-loss, and take-profit levels. Designed for traders seeking automated trading solutions, this strategy offers customizable trade parameters and visual feedback to optimize performance across various markets and timeframes.
For core divergence detection features, including oscillator options, trend detection methods, zigzag pivot analysis, and visualization, refer to the Divergence Screener documentation. This description focuses on the strategy-specific enhancements for automated trading and risk management.
🎲 Strategy Features
🎯Automated Trade Signal Generation
Trade Direction Control : Restrict trades to long-only or short-only to align with market bias or strategy goals, preventing conflicting orders.
Divergence Type Selection : Choose to trade regular divergences (bullish/bearish), hidden divergences, or both, targeting reversals or trend continuations.
Entry Type Options :
Cautious : Enters conservatively at pivot points and exits quickly to minimize risk exposure.
Confident : Enters aggressively at the latest price and holds longer to capture larger moves.
Mixed : Combines conservative entries with delayed exits for a balanced approach.
Market vs. Stop Orders: Opt for market orders for instant execution or stop orders for precise price entry.
🎯 Enhanced Risk Management
Risk/Reward Ratio : Define a risk-reward ratio (default: 2.0) to set profit targets relative to stop-loss levels, ensuring consistent trade sizing.
Bracket Orders : Trades include entry, stop-loss, and take-profit levels calculated from divergence pivot points, tailored to the entry type and risk-reward settings.
Stop-Loss Placement : Stops are strategically set (e.g., at recent pivot or last price point) based on entry type, balancing risk and trade validity.
Order Cancellation : Optionally cancel pending orders when a divergence is broken (e.g., price moves past the pivot in the wrong direction), reducing invalid trades. This feature is toggleable for flexibility.
🎯 Trade Visualization
Target and Stop Boxes : Displays take-profit (lime) and stop-loss (orange) levels as boxes on the price chart, extending 10 bars forward for clear visibility.
Dynamic Trade Updates : Trade visualizations are added, updated, or removed as trades are executed, canceled, or invalidated, ensuring accurate feedback.
Overlay Integration : Trade levels overlay the price chart, complementing the screener’s oscillator-based divergence lines and labels.
🎯 Strategy Default Configuration
Capital and Sizing : Set initial capital (default: $1,000,000) and position size (default: 20% of equity) for realistic backtesting.
Pyramiding : Allows up to 4 concurrent trades, enabling multiple divergence-based entries in trending markets.
Commission and Margin : Accounts for commission (default: 0.01%) and margin (100% for long/short) to reflect trading costs.
Performance Optimization : Processes up to 5,000 bars dynamically, balancing historical analysis and real-time execution.
🎲 Inputs and Configuration
🎯Trade Settings
Direction : Select Long or Short (default: Long).
Divergence : Trade Regular, Hidden, or Both divergence types (default: Both).
Entry/Exit Type : Choose Cautious, Confident, or Mixed (default: Cautious).
Risk/Reward : Set the risk-reward ratio for profit targets (default: 2.0).
Use Market Order : Enable market orders for immediate entry (default: false, uses limit orders).
Cancel On Break : Cancel pending orders when divergence is broken (default: true).
🎯Inherited Settings
The strategy inherits all inputs from the Divergence Screener, including:
Oscillator Settings : Oscillator type (e.g., RSI, CCI), length, and external oscillator option.
Trend Settings : Trend detection method (Zigzag, MA Difference, External), MA type, and length.
Zigzag Settings : Zigzag length (fixed repaint = true).
🎲 Entry/Exit Types for Divergence Scenarios
The Divergence Strategy offers three Entry/Exit Type options—Cautious, Confident, and Mixed—which determine how trades are entered and exited based on divergence pivot points. This section explains how these settings apply to different divergence scenarios, with placeholders for screenshots to illustrate each case.
The divergence pattern forms after 3 pivots. The stop and entry levels are formed on one of these levels based on Entry/Exit types.
🎯Bullish Divergence (Reversal)
A bullish divergence occurs when price forms a lower low, but the oscillator forms a higher low, signaling a potential upward reversal.
💎 Cautious:
Entry : At the pivot high point for a conservative entry.
Exit : Stop-loss at the last pivot point (previous low that is higher than the current pivot low); take-profit at risk-reward ratio. Canceled if price breaks below the pivot (if Cancel On Break is enabled).
Behavior : Enters after confirmation and exits quickly to limit downside risk.
💎Confident:
Entry : At the last pivot low, (previous low which is higher than the current pivot low) for an aggressive entry.
Exit : Stop-loss at recent pivot low, which is the lowest point; take-profit at risk-reward ratio. Canceled if price breaks below the pivot. (lazy exit)
Behavior : Enters early to capture trend continuation, holding longer for gains.
💎Mixed:
Entry : At the pivot high point (conservative).
Exit : Stop-loss at the recent pivot point that has resulted in lower low (lazy exit). Canceled if price breaks below the pivot.
Behavior : Balances entry caution with extended holding for trend continuation.
🎯Bearish Divergence (Reversal)
A bearish divergence occurs when price forms a higher high, but the oscillator forms a lower high, indicating a potential downward reversal.
💎Cautious:
Entry : At the pivot low point (lower high) for a conservative short entry.
Exit : Stop-loss at the previous pivot high point (previous high); take-profit at risk-reward ratio. Canceled if price breaks above the pivot (if Cancel On Break is enabled).
Behavior : Enters conservatively and exits quickly to minimize risk.
💎Confident:
Entry : At the last price point (previous high) for an aggressive short entry.
Exit : Stop-loss at the pivot point; take-profit at risk-reward ratio. Canceled if price breaks above the pivot.
Behavior : Enters early to maximize trend continuation, holding longer.
💎Mixed:
Entry : At the previous piot high point (conservative).
Exit : Stop-loss at the last price point (delayed exit). Canceled if price breaks above the pivot.
Behavior : Combines conservative entry with extended holding for downtrend gains.
🎯Bullish Hidden Divergence (Continuation)
A bullish hidden divergence occurs when price forms a higher low, but the oscillator forms a lower low, suggesting uptrend continuation. In case of Hidden bullish divergence, b]Entry is always on the previous pivot high (unless it is a market order)
💎Cautious:
Exit : Stop-loss at the recent pivot low point (higher than previous pivot low); take-profit at risk-reward ratio. Canceled if price breaks below the pivot (if Cancel On Break is enabled).
Behavior : Enters after confirmation and exits quickly to limit downside risk.
💎Confident:
Exit : Stop-loss at previous pivot low, which is the lowest point; take-profit at risk-reward ratio. Canceled if price breaks below the pivot. (lazy exit)
Behavior : Enters early to capture trend continuation, holding longer for gains.
🎯Bearish Hidden Divergence (Continuation)
A bearish hidden divergence occurs when price forms a lower high, but the oscillator forms a higher high, suggesting downtrend continuation. In case of Hidden Bearish divergence, b]Entry is always on the previous pivot low (unless it is a market order)
💎Cautious:
Exit : Stop-loss at the latest pivot high point (which is a lower high); take-profit at risk-reward ratio. Canceled if price breaks above the pivot (if Cancel On Break is enabled).
Behavior : Enters conservatively and exits quickly to minimize risk.
💎Confident/Mixed:
Exit : Stop-loss at the previous pivot high point; take-profit at risk-reward ratio. Canceled if price breaks above the pivot.
Behavior : Uses the late exit point to hold longer.
🎲 Usage Instructions
🎯Add to Chart:
Add the Divergence Strategy to your TradingView chart.
The oscillator and divergence signals appear in a separate pane, with trade levels (target/stop boxes) overlaid on the price chart.
🎯Configure Settings:
Adjust trade settings (direction, divergence type, entry type, risk-reward, market orders, cancel on break).
Modify inherited Divergence Screener settings (oscillator, trend method, zigzag length) as needed.
Enable/disable alerts for divergence notifications.
🎯Interpret Signals:
Long Trades: Triggered on bullish or bullish hidden divergences (if allowed), shown with green/lime lines and labels.
Short Trades: Triggered on bearish or bearish hidden divergences (if allowed), shown with red/orange lines and labels.
Monitor lime (target) and orange (stop) boxes for trade levels.
Review strategy performance metrics (e.g., profit/loss, win rate) in the strategy tester.
🎯Backtest and Optimize:
Use TradingView’s strategy tester to evaluate performance on historical data.
Fine-tune risk-reward, entry type, position sizing, and cancellation settings to suit your market and timeframe.
For questions, suggestions, or support, contact Trendoscope via TradingView or official support channels. Stay tuned for updates and enhancements to the Divergence Strategy!
Trading CalculatorTrading Calculator Indicator
VIBE CODED WITH GROK 3
The Trading Calculator is a Pine Script indicator designed to perform quick and useful trading-related calculations directly on your chart. It allows traders to execute basic arithmetic operations—such as addition, subtraction, multiplication, and division—as well as calculate percent change and average using either numerical values or trading variables (e.g., close, open, high, low, volume). The indicator displays its results in a table that resembles a calculator interface, making it both functional and visually intuitive. Unlike typical indicators, it does not overlay on the price chart but instead appears in a separate pane.
Inputs
Formula (new | old): First value or variable (e.g., 100, close, close ). Example: close uses the current closing price.
Operator: Mathematical operation (e.g., Plus, Minus, Multiply). Example: Plus adds the two inputs.
Second Input: Second value or variable (e.g., 50, open, close ). Example: open uses the current opening price.
Risk Distribution HistogramStatistical risk visualization and analysis tool for any ticker 📊
The Risk Distribution Histogram visualizes the statistical distribution of different risk metrics for any financial instrument. It converts risk data into histograms with quartile-based color coding, so that traders can understand their risk, tail-risks, exposure patterns and make data-driven decisions based on empirical evidence rather than assumptions.
The indicator supports multiple risk calculation methods, each designed for different aspects of market analysis, from general volatility assessment to tail risk analysis.
Risk Measurement Methods
Standard Deviation
Captures raw daily price volatility by measuring the dispersion of price movements. Ideal for understanding overall market conditions and timing volatility-based strategies.
Use case: Options trading and volatility analysis.
Average True Range (ATR)
Measures true range as a percentage of price, accounting for gaps and limit moves. Valuable for position sizing across different price levels.
Use case: Position sizing and stop-loss placement.
The chart above illustrates how ATR statistical distribution can be used by looking at the ATR % of price distribution. For example, 90% of the movements are below 5%.
Downside Deviation
Only considers negative price movements, making it ideal for checking downside risk and capital protection rather than capturing upside volatility.
Use case: Downside protection strategies and stop losses.
Drawdown Analysis
Tracks peak-to-trough declines, providing insight into maximum loss potential during different market conditions.
Use case: Risk management and capital preservation.
The chart above illustrates tale risk for the asset (TQQQ), showing that it is possible to have drawdowns higher than 20%.
Entropy-Based Risk (EVaR)
Uses information theory to quantify market uncertainty. Higher entropy values indicate more unpredictable price action, valuable for detecting regime changes.
Use case: Advanced risk modeling and tail-risk.
VIX Histogram
Incorporates the market's fear index directly into analysis, showing how current volatility expectations compare to historical patterns. The CAPITALCOM:VIX histogram is independent from the ticker on the chart.
Use case: Volatility trading and market timing.
Visual Features
The histogram uses quartile-based color coding that immediately shows where current risk levels stand relative to historical patterns:
Green (Q1): Low Risk (0-25th percentile)
Yellow (Q2): Medium-Low Risk (25-50th percentile)
Orange (Q3): Medium-High Risk (50-75th percentile)
Red (Q4): High Risk (75-100th percentile)
The data table provides detailed statistics, including:
Count Distribution: Historical observations in each bin
PMF: Percentage probability for each risk level
CDF: Cumulative probability up to each level
Current Risk Marker: Shows your current position in the distribution
Trading Applications
When current risk falls into upper quartiles (Q3 or Q4), it signals conditions are riskier than 50-75% of historical observations. This guides position sizing and portfolio adjustments.
Key applications:
Position sizing based on empirical risk distributions
Monitoring risk regime changes over time
Comparing risk patterns across timeframes
Risk distribution analysis improves trade timing by identifying when market conditions favor specific strategies.
Enter positions during low-risk periods (Q1)
Reduce exposure in high-risk periods (Q4)
Use percentile rankings for dynamic stop-loss placement
Time volatility strategies using distribution patterns
Detect regime shifts through distribution changes
Compare current conditions to historical benchmarks
Identify outlier events in tail regions
Validate quantitative models with empirical data
Configuration Options
Data Collection
Lookback Period: Control amount of historical data analyzed
Date Range Filtering: Focus on specific market periods
Sample Size Validation: Automatic reliability warnings
Histogram Customization
Bin Count: 10-50 bins for different detail levels
Auto/Manual Bin Width: Optimize for your data range
Visual Preferences: Custom colors and font sizes
Implementation Guide
Start with Standard Deviation on daily charts for the most intuitive introduction to distribution-based risk analysis.
Method Selection: Begin with Standard Deviation
Setup: Use daily charts with 20-30 bins
Interpretation: Focus on quartile transitions as signals
Monitoring: Track distribution changes for regime detection
The tool provides comprehensive statistics including mean, standard deviation, quartiles, and current position metrics like Z-score and percentile ranking.
Enjoy, and please let me know your feedback! 😊🥂
QEMO: Quantum Electromagnetic Oscillator (Safe Adjusted)This is a highly conceptual and oscillator and It attempts to model market dynamics by borrowing concepts from quantum physics and electromagnetism to create a unique oscillator. It does not represent any real physical phenomena but uses these concepts as metaphors for market forces.
Here is a breakdown of its core components:
1. Quantum Price Wavefunction (The Core Price Engine)
This is the most abstract part of the script. It tries to model price not as a single point, but as a "wavefunction" representing a distribution of probable future prices.
Volatility & Price Grid: It first calculates recent market volatility. Based on this volatility, it creates a dynamic grid of possible price levels (price_bins) around the current price.
Probability Density: It assigns a probability to each price level in the grid.
"Energy" Operators:
Kinetic Energy: Metaphorically represents the "momentum" or rate of change of the price probabilities.
Potential Energy: A force field that influences the probabilities, derived from a combination of volatility and trading volume.
Expected Price: After evolving these probabilities, it calculates a single "expected price" which is the weighted average of all prices in the grid, based on their final probabilities.
2. Electromagnetic Fields (Buying vs. Selling Pressure)
This section models the battle between buyers and sellers in a more familiar way:
E-Field (Electric/Buying): Represents buying pressure, calculated from upward price moves (close - open) multiplied by volume.
B-Field (Magnetic/Selling): Represents selling pressure, calculated from downward price moves (open - close) multiplied by volume.
Lorentz Force (F_net): This is the net force (E - B), representing the overall directional pressure in the market. A positive value means buyers are in control; a negative value means sellers are.
3. Entanglement Entropy (Systemic Risk/Stability)
This component aims to measure the market's stability or "systemic risk."
It calculates a form of auto-correlation on recent price returns.
A high degree of instability in this correlation results in a high "Entropy" (S) value.
Essentially, a high S suggests the market is chaotic and unpredictable (low stability), while a low S suggests it is more stable and trending.
4. Final QEMO Calculation & Plotting
All the components are combined to create the final oscillator value:
Final Value: The qemo value is a product of the expected_price, the amplified net force, and the market stability (1 - S).
Smoothing: This raw qemo value is then smoothed with an Adaptive Moving Average (AMA) to produce the final line that gets plotted on the chart.
Visualization:
The main oscillator line is plotted below the chart. Its color changes based on its value (e.g., blue for positive, red for negative).
The background color of the indicator pane changes based on the Entropy (S), providing an immediate visual cue of market stability (e.g., black for stable, white for chaotic).
The script also plots 99th and 1st percentile bands to help identify statistically extreme readings in the oscillator's value.
PulsePoint SqueezePulsePoint Squeeze™ is a dynamic momentum compression and divergence detection system built to help traders identify high-pressure zones before breakout moves. Combining RSI-based thresholds, price compression zones, and divergence cues, it offers high-clarity insights with minimal noise — ideal for intraday precision and swing positioning.
Dettling Sexy Shirt LevelsThis indicator allows you to quickly enter levels you want to trade for quick scalps. You can enter your buy or sell point (Bull or Bear Line), and up to 5 profit levels. Pearsons Pivots and Camarillo Pivots are automatically updated each day, and can be selected on or off. It works well if you buy a call or put a few days until expiration, a few dollars out of the money.
After entering your buy points and Target levels, there is a drop down menu at the top of the settings page. You must select the ticker you are looking at on the chart, Tradingview will not automatically update the level if you are looking at a ticker but it is not selected in the menu.