2EZ-UA-MI🔹 2EZ-UA-MI – Master Indicator
One tool to master all trades.
2EZ-UA-MI is the flagship of the UltimateAlgos suite. This multi-dimensional, all-in-one system is engineered for swing trading, trend positioning, and high-timeframe confluence-based entries. Whether you're trading crypto breakouts or stock rotations, this tool gives you a full map of the market—layered, logical, and reliable.
Core Features:
🧠 Smart Confluence Engine: Merges Kalman, Gaussian, MACD flips, ZLEMA, and HA SuperTrend
🧠 Dual Modes:
Beginner Mode: Clean TP/SL entries with clear signals
Advanced Mode: Wave logic, trend overlays, and confluence stack visuals
🧠 ATR-Based Risk Zones: Dynamic TP/SL levels adjust to market conditions
🧠 Wave Detection System: Understand market structure through cyclical motion
🧠 Multi-Timeframe Support: Designed for 15m up to 1D charts
🧠 Real-Time Labels: Every entry has purpose—no more second-guessing
🧠 Custom Alerts: Stay ahead even when you’re off the chart
When to Use:
For high-confidence swing entries based on trend structure
During key breakouts, reversals, and macro directional shifts
To align lower timeframe trades with larger timeframe bias
Why It Wins:
2EZ-UA-MI replaces cluttered charts and conflicting signals with clean, calculated logic. It’s the trader’s GPS—mapping high-probability zones, providing context, and giving you a full battlefield view of price action.
Statistics
GOLD DR Long WAVE E🎯 GOLD DR – The revolutionary indicator, now in an upgraded version!
Majorly enhanced from the previous version – featuring a smarter, faster, and more powerful algorithm.
Built with advanced logic tailored to market cycles, inspired by Elliott Wave theory, translating complex moves into clear, high-confidence signals.
📈 Real-time bullish divergence detection, laser-focused entries, and intelligent exits – all live, directly on your chart.
⚡ Perfect for those who know that having the right tool makes all the difference – and that timing is king in the market.
⚠️ Not for the impatient – this indicator is for traders with patience and their eyes on the prize.
Session Volatility Dashboard█ Session Volatility Dashboard: HOW IT WORKS
This tool is built on transparent, statistically-grounded principles to ensure reliability and build user trust.
Session Logic: The script accurately identifies session periods based on user-defined start and end times in conjunction with the selected UTC offset. This ensures the session boxes and data are correctly aligned regardless of your local timezone or daylight saving changes.
Volatility Calculation: The core of the volatility engine is a comparison of current and historical price action. The script calculates a rolling Average True Range (ATR) over a user-defined lookback period (e.g., the last 20 sessions). It then compares the current session's ATR to this historical baseline to generate a simple percentage. For example, a reading of "135%" indicates the current session is 35% more volatile than the recent average, while "80%" indicates a contraction in volatility.
Dashboard Population : The script leverages TradingView's table object to construct the dashboard. This powerful feature allows the data to be displayed in a fixed position on the screen (e.g., top-right corner). Unlike plotted text, this table does not scroll with the chart's price history, ensuring that the most critical, up-to-date information is always available at a glance.
█ ACTIONABLE INTELLIGENCE: TRADING STRATEGIES & USE CASES
Translate data into action with these practical trading concepts.
Strategy 1: The Breakout Trade: Identify a session with low, coiling volatility (e.g., a Volatility reading below 75%)—often the Asian session. Mark the session high and low plotted by the indicator. These levels become prime targets for a potential breakout trade during the high-volume, high-volatility open of the subsequent London session.
Strategy 2 : The Mean Reversion (Fade) Trade: In a session with extremely high volatility (e.g., >150% of average), watch for price to rapidly extend to a new session high or low and then print a clear reversal candlestick pattern (like a pin bar or engulfing candle). This can signal momentum exhaustion and a high-probability opportunity to "fade" the move back toward the session midpoint.
Strategy 3 : The Trend Continuation: During a clear trending day, use the session midpoint as a dynamic area of value. Look for price to pull back to the midpoint during the London or New York session. If the session's Bias in the dashboard remains aligned with the higher-timeframe trend, this can present a quality entry to rejoin the established momentum.
█ COMPLETE CUSTOMIZATION: SETTINGS
Session Times: Independently set the start and end times for Asia, London, and New York sessions.
Timezone: Select your preferred UTC offset to align all sessions correctly.
Volatility Lookback: Define the number of past sessions to use for calculating the average volatility baseline (default is 20).
Dashboard Settings: Choose the on-screen position of the table, text size, and colors.
Visual Elements: Toggle on/off session background colors, high/low lines, and midpoint lines. Customize all colors.
Alerts: Enable/disable and customize alerts for session high/low breaks and volatility threshold crossings.
RDS Support Profit Target v0.6.32Rip Dip Signals (RDS) Support Profit Target Indicator Overview (v0.6.32)
Overview: This Pine Script indicator identifies scalping opportunities based on support/resistance levels. Designed for automated trading via TradingView alerts connected to platforms like 3Commas (API integration for millisecond execution). Monitors up to 400 assets (e.g., Binance USDT crypto pairs), but works across all markets. Focuses on quality trades over quantity—tighten top-level parameters for fewer, higher-confidence signals. Ideal timeframe: 3-minute charts for quick turnarounds (max 4-5 hour holds). Targets 0.9-1.2% profit per trade, with 1.2-3% stop losses recommnded. You can play around with the settings and see what the results are instantly on the stats table. No need for back testing.
Entry (Buy) Conditions: Triggers on a green bar after a qualifying resistance line (min 40 bars length, configurable via "Min Res Line Length"; max lookback 200 bars) followed by a support line. Requires min 3 support lines (configurable) starting since resistance began (excludes buy support). Buy at close, but aims for improvement: Future refinements to enter at true support low, not mid-dip (add price action like break above lower highs, ATR for volume confirmation, fair value gaps).
Exit (Sell) Conditions: Primarily take-profit at +0.9% (configurable). Optional: Stop-loss at -1.8% (toggleable); Support exit if price hits prior support (with 0% buffer).
Top-Level Filters: Ensures quality before trading.
Volume: Min 1M USDT 24h to avoid low liquidity.
Success Rate: Min 70% total, 90% recent (over X days back).
Duration: Max avg 5 hours for scalping.
Profit: Min avg 0.7%. Purpose: Filters volatile/poor performers; prevents overtrading.
Tables:
Stats Table: Displays total/recent buys/sells, SL exits, success rates (color-coded vs thresholds), avg duration/profit. Role: Monitors performance; qualifies symbols.
Volume Table: Shows 24h USDT volume (color-coded). Role: Quick liquidity check.
Refinements: Current issue: Optimize SL to reduce losses and optimize entries better rather than on their way to the dips. Possible suggestions: Add entry validations (e.g., candle size, indicators).
Alerts ready: Universal alerts enabled since Jan 2025 (for full watchlists vs single assets) for multi-asset efficiency. Not crypto-exclusive; can be tested on stocks/forex.
Tooltips:
There are tooltips on each setting for user clarity. Just hover over the info symbol for each setting.
I'm open to any recommendations of how to enhance the entry/exit conditions. Please comment below with feedback which is gratefully received.
AnnualizedReturnCalculatorLibrary "AnnualizedReturnCalculator"
TODO: add library description here
calculateAnnualizedReturn(isStartTime, enableLog)
Parameters:
isStartTime (bool) : 开始时间的BOOL值变量(用于标记策略开始时间)
enableLog (bool) : 是否输出日志
Returns:
返回持仓基准年化收益率、资金基准年化收益率、总收益、平均资金占用
Max Drawdown (Asset-Based Lookback)Max Drawdown (Long-Term Trading)
🟦 Majors BTC, ETH, BNB, LTC 180 – 365
Captures full correction cycles and recovery patterns (6–12 months).
🟩 Altcoins SOL, ADA, DOT, LINK, AVAX 90 – 180
Alts move faster than majors; 3–6 months catches most large swings.
🟥 Meme coins DOGE, SHIB, PEPE, FLOKI 60 – 120
Volatile with quick trend reversals; 2–4 months captures parabolic runs + drawdowns.
📅 Chart Timeframe:
Use Daily (1D) timeframe for all these.
For extra macro insight, try Weekly (1W) with 52 bars (≈ 1 year).
Compare multiple assets using the same period to assess relative risk.
If you're building a long-term portfolio, combine this with:
200-day SMA or EMA for trend context.
Sharpe Ratio or Sortino Ratio if you're looking for risk-adjusted return metrics.
ETH-BCH Strategy-V0 (Powered by BCH)ETH-BCH Strategy – Cross-Asset Divergence-Based Momentum Strategy
(Optimized for 2H ETHUSDT)
________________________________________
Strategy Overview
This strategy aims to identify long trade opportunities based on cross-asset divergence among Ethereum (ETH) and Bitcoin Cash (BCH). By integrating momentum filters, volatility bands, volume signals, and timing logic, it captures medium-term price swings while maintaining strict risk controls.
________________________________________
📌 Strategy Logic Overview
Entry Conditions:
• Cross-Asset Momentum:
Enter when BCH outperforms ETH over the last bar.
• Volume Filter:
BCH trading volume must exceed 135% of its 20-period average, indicating genuine market interest.
• Volatility Filter:
ETH price should be below 110% of the lower Bollinger Band boundary (20 periods, 2 standard deviations), signaling oversold conditions.
• RSI & MACD Confirmation:
ETH RSI < 70 (not overbought) and BCH MACD line above its signal line (supporting upward trend).
• Optional Entry Boosters:
Entry signal is reinforced if ETH has fallen more than -20% in the past 48 hours or -25% in the past 72 hours.
• Timing Constraint:
Entry only allowed after at least 1 bar has passed since the last sell.
Exit Conditions:
• Take Profit:
Exit when ETH price rises 30% above the entry price.
• Trailing Stop Loss:
Exit if ETH price drops 6% from the highest point reached after entry.
• Cross-Asset Reversal:
Exit triggered when BTC outperforms BCH by a threshold calculated as ETH short-term/long-term volume ratio × 2.5.
• Timing Constraint:
Exit only allowed after 12 bars have passed since the last buy.
________________________________________
📊 Indicators Used
Category Indicators
Volatility Bollinger Bands (20 periods, 2σ) on ETH close
Momentum RSI(14) on ETH, MACD(12,26,9) on BCH
Volume BCH volume compared to 20-period SMA (threshold at 1.35×)
Divergence Percentage change comparison between ETH, BCH, and BTC closes (1-bar interval)
Volatility Ratio ETH volume short-term vs long-term average to modulate exit threshold
________________________________________
⚙️ Strategy Settings (Backtest)
Setting Value
Chart Symbol ETHUSDT
Timeframe 2 Hours
Position Size 10% of equity (default), also tested at 100% for comparison
Initial Capital $10,000
Commission 0.1%
Slippage 3 points
________________________________________
📈 Performance Summary (Backtested Jan 2023 – Jul 2025, ETHUSDT 2H)
Metric 10% Position Size (Default) 100% Position Size (Aggressive)
Net Profit 30.91% 1064.80%
Max Drawdown(MDD) 1.94% 19.38%
Profit Factor 5.1 4.6
Win Rate 61.54% (40/65) 61.54% (40/65)
Total Trades 65 65
• The 10% position sizing delivers strong risk-adjusted returns with low drawdown, suitable for conservative or institutional traders.
• The 100% sizing highlights the full alpha potential but with significantly higher drawdown risk.
• Both maintain consistent win rate and profit factor, evidencing robustness.
________________________________________
💡 Additional Notes and Usage Suggestions
• The strategy combines cross-asset signals with volatility and momentum validations to reduce false entries.
• Enforces cooldown periods between trades to avoid overtrading.
• Uses 2-hour candles for main logic and 5-minute data for more precise entry and exit pricing.
• Well-suited for traders who prioritize timing over blind holding and want to harness the interplay between ETH, BCH, and BTC.
• Can be integrated into diversified portfolios or as part of rotational trading systems.
• Ideal for advanced users looking to enhance ETH exposure with dynamic timing signals.
________________________________________
⚠️ Disclaimer
This strategy is intended for educational and research purposes only. All performance figures are based on historical backtests and do not guarantee future results. Trading involves risk; use appropriate risk management.
PCR tableOverview
This indicator displays a multi-period table of forward-looking price projections. It combines normalized directional momentum (Positive Change Ratio, PCR) with volatility (ATR) and presents a forecast for upcoming time intervals, adjusted for your local UTC offset.
Concepts & Calculations
Positive Change Ratio (PCR):
((total positive change)/(total change)-0.5)*2, producing a value between –100 and +100.
Synthetic ATR: Calculates average true range over the same lookbacks to capture volatility.
PCR × ATR: Forms a volatility-weighted directional forecast, indicating expected move magnitude.
Future Price Projection: Adds PCR × ATR value to current close to estimate future price at each lookahead interval.
Table Layout
There are 12 forecast horizons—1× to 12× the chart timeframe (e.g., minutes, hours, days). Each row displays:
1. Future Time: Timestamp of each projection (adjustable via UTC offset)
2. PCR: Directional bias per period (–1 to +1)
3. PCR × ATR: E xpected move magnitude
4. Future Price: Close + (PCR × ATR)
High and low PCR×ATR rows are highlighted green for minimum value in the price forecast (buy signal) or red for maximum value in the price forecast (sell signal).
How to Use
1. Set UTC offset to your time zone for accurate future timestamps.
2. View PCR to assess bullish (positive) or bearish (negative) momentum.
3. Use PCR × ATR to estimate move strength and direction.
4. Reference Future Price for potential levels over upcoming intervals, and for buy and sell signals.
Limitations & Disclaimers
* This model uses linear extrapolation based on recent price behavior. It does not guarantee future prices.
* It uses only current bar data and no lookahead logic—compliant with Pine Script rules.
* Designed for analytical insight, not as an automated signal or trade executor.
* Best used on standard bar/candle charts (avoid non-standard types like Heikin‑Ashi or Renko).
Adaptive Risk Levels with ATR🛡️ Risk Levels with ATR — Pine Script Description (for TradingView)
Overview:
This script helps traders visualize dynamic risk levels based on the Average True Range (ATR). It calculates stop-loss and take-profit zones relative to current price action, adapting to market volatility in real time.
⸻
🔧 Key Features:
• ✅ Dynamic Risk Bands: Automatically plots upper and lower risk levels using the ATR.
• 📈 Volatility-Aware Zones: Adapts to changing market conditions — wider in high volatility, tighter in calm markets.
• 🎯 Customizable Multiplier: Control how aggressive or conservative the risk zones are.
• 🕵️♂️ Ideal for Swing & Day Trading: Helps define entries, exits, and stop placements.
⸻
📐 How It Works:
• The script calculates the ATR (Average True Range) over a user-defined period.
• Then it draws:
• Upper Risk Level = Close + (ATR × Multiplier)
• Lower Risk Level = Close - (ATR × Multiplier)
• These bands represent risk boundaries — useful for:
• Stop-loss and take-profit calibration
• Volatility-based position sizing
• Breakout or mean-reversion signals
⸻
⚙️ Settings:
• ATR Period – Length for ATR calculation (default: 14)
• ATR Multiplier – Adjust how far the risk bands are (e.g., 1.5x, 2x)
⸻
Example Use Cases:
• 📉 Stop Loss: Set your stop just below the lower band in long trades.
• 📊 Take Profit: Use upper band for risk-reward calculations.
• 🚨 Breakout Entry: Confirm breakouts when price exceeds upper/lower band.
Daily Gain/Loss Statistics by Day of WeekDaily Gain/Loss Statistics by Day of Week
Overview
This Pine Script indicator analyzes historical price data to provide comprehensive day-of-week performance statistics, helping traders identify patterns and optimize their trading strategies based on which days historically perform better or worse.
Key Features
📊 Day-of-Week Analysis
7-day breakdown showing Monday through Sunday statistics
Average Gain % - Average percentage gains on winning days for each day of the week
Average Loss % - Average percentage losses on losing days (displayed with minus sign)
Median High % - Typical percentage move from open to daily high
Median Low % - Typical percentage move from open to daily low
🎯 Visual Performance Indicators
🚀 Rocket symbol - Marks the best performing day (highest average gains)
🔻 Red triangle down - Marks the worst performing day (lowest average gains)
Current day highlighting - Today's row highlighted in yellow (#ffdd444b)
⚡ Real-Time Session Tracking
Current Session row - Shows today's performance percentage in real-time
Color-coded gains/losses - Green for positive, red for negative
🎨 Professional Themes
⚙️ Customization Options
Date range selection - Choose specific time periods for analysis
Table positioning - 9 different screen positions
Table sizing - 6 size options from tiny to huge
Timeframe protection - Works only on 1D timeframe with user-friendly warnings
How It Works
Data Collection - Analyzes daily OHLC data within your selected date range
Day Classification - Categorizes each trading day by day of the week
Statistical Calculation - Computes averages and medians for each day type
Performance Ranking - Identifies best and worst performing days
Real-Time Display - Shows current session performance vs historical patterns
Trading Applications
Entry/Exit Timing - Identify optimal days for opening/closing positions
Risk Management - Avoid trading on historically poor-performing days
Strategy Optimization - Align trading strategies with day-of-week patterns
Market Timing - Understand weekly market cycles and seasonality
This indicator transforms raw price data into actionable intelligence, helping traders make more informed decisions based on proven historical day-of-week performance patterns.
PineVersatilitiesBundleEnhanced the dynamic_MA function by adding five more MA types to the eight existing types.
Added neo_heikin_ashi_ohlc function for Customised or Standard Heikin-Ashi OHLC values tuple.
Library "PineVersatilitiesBundle"
Versatilities (aka, Versatile Utilities) Pack includes:
- Price Variants bundled in a Map,
- Smoothing Variants bundled in a Map,
- Standard and customised Heikin-Ashi values in a tuple,
- Visualisations that plot some indications in the pane and others, including candles/bars, on the chart.
price_variants(lb, hop, op, cl, fmean, hi, lo, mid, pvt, cmean)
Computes Several different averages using current and previous OHLC values
Parameters:
lb (int) : lookback distance for combining OHLC values from the past; optional input, default is 1
hop (int) : skip bars while looking back; optional input, default is 0
op (float) : open value; optional input, default is open
cl (float) : close value; optional input, default is close
fmean (float) : bar average; optional input, default is ohlc4
hi (float) : high value; optional input, default is high
lo (float) : low value; optional input, default is low
mid (float) : range middle; optional input, default is hl2
pvt (float) : active pivot; optional input, default is hlc3
cmean (float) : active average; optional input, default is hlcc4
Returns: Map of, rounded-to-mintick, combinations of single and two-bar OHLC averages
dynamic_MA(masrc, malen, almasgm, almaoff, almaflr, lsmaoff, volfctr)
Dynamically computes Eight different MAs and returns a Map containing Nine MAs
Parameters:
masrc (float) : source series to compute MA
malen (simple int) : lookback distance for MA
almasgm (simple float) : ALMA sigma; optional input, default is 5
almaoff (simple float) : ALMA offset; optional input, default is 0.5
almaflr (simple bool) : ALMA floor flag; optional input, default is false
lsmaoff (simple int) : LSMA offset; optional input, default is 0
volfctr (simple float) : T3/Tilson MA volume factor; optional input, default is 0.5
Returns: Map of, rounded-to-mintick, MAs - 'ALMA', 'DEMA', 'EMA', 'FRAMA', 'HMA', 'LSMA', 'RMA',
'SMA', 'SWMA', 'T3MA', 'TEMA', 'TRIMA', 'WMA', plus an 'ALL' for the average of all other MAs
neo_heikin_ashi_ohlc(customised, standard, op, cl, avbar, hi, lo, avrng, pivot, pvtcl)
Computes customised or standard Heikin Ashi candles/bars OHLC values
Parameters:
customised (bool) : toggle for computing customised Heikin Ashi OHLC; optional input, default is true; ignores standard setting
standard (bool) : toggle for computing standard Heikin Ashi OHLC; optional input, default is false
op (float) : open value; optional input, default is open
cl (float) : close value; optional input, default is close
avbar (float) : bar average; optional input, default is ohlc4
hi (float) : high value; optional input, default is high
lo (float) : low value; optional input, default is low
avrng (float) : range middle; optional input, default is hl2
pivot (float) : active pivot; optional input, default is hlc3
pvtcl (float) : active average; optional input, default is hlcc4
Returns: Tuple of, rounded-to-mintick, Customised or Standard Heikin-Ashi OHLC and its common averages
8 AM & 9 AM NY Candle HighlighterThis indicator helps me to know when the 9am NY candle has closed above or below the previous candle.
DOGE 15MIN**Warm Reminder:** This strategy is intended solely for exploratory research and experimentation to evaluate the effectiveness of various signals. Drawing inspiration from patterns observed on the DOGE cryptocurrency 15-minute chart, it provides a tailored framework to identify potential trading opportunities. For optimal results, it is currently recommended exclusively for DOGE 15min charts. Remember, trading involves inherent risks, and past performance is not indicative of future results. We are dedicated to ongoing optimizations and refinements to enhance its robustness across broader applications—stay tuned for updates!
#### **A. Long Entry Signals**
These conditions trigger a long position entry, provided the strategy has no existing position (position_size == 0) and is not blocked. Signals can be enabled/disabled via input toggles (e.g., enable_vix).
- **VIX Reversal (vix_long)**: VIX signal shifts from high to low volatility (non-high volatility), with RSI between 30-50.
- **RSI Oversold (rsi_long)**: RSI crosses above 30.
- **CVD Bullish (cvd_long)**: CVD is rising.
- **Price RSI Bullish (prsi_long)**: Price RSI crosses above 30 or a long signal is triggered.
- **RangeEMA Bullish (rema_long)**: Candlestick is above POC, with KAMA trend flipping upward.
- **ZVWAP Oversold (zvwap_long)**: ZVWAP enters the oversold zone.
- **KAMA + Volume Bullish (kama_long)**: KAMA trend flips upward, candlestick is above POC, volume is rising, and the candle is bullish (green).
- **Volume Burst Bullish (vol_burst_long)**: Volume RSI crosses below threshold (default 70), open > close (bearish/red candle), triggered within the last two candles. **Special: Ignores all blocks** (bypasses not_long, Pivot, OI, RSI/ADX extreme filters).
#### **B. Short Entry Signals**
Similar to long entries: requires no existing position and no blocks.
- **RSI Overbought (rsi_short)**: RSI crosses below 70.
- **CVD Bearish (cvd_short)**: CVD is declining.
- **Price RSI Bearish (prsi_short)**: Price RSI crosses below 70 or a short signal is triggered.
- **RangeEMA Bearish (rema_short)**: Candlestick is below POC, with KAMA trend flipping downward.
- **ZVWAP Overbought (zvwap_short)**: ZVWAP enters the overbought zone.
- **KAMA + Volume Bearish (kama_short)**: KAMA trend flips downward, candlestick is below POC, volume is declining, and the candle is bearish (red).
- **Chop Bearish (chop_short)**: Chop crosses below 38.2, with RSI > 50.
- **Volume Burst Bearish (vol_burst_short)**: Volume RSI crosses below threshold (default 70), RSI > 70, and close > open (bullish/green candle), triggered within the last two candles. **Special: Ignores all blocks** (bypasses not_short, Pivot, OI, RSI/ADX extreme filters).
#### **C. Long Entry Blocks/Filters**
These conditions block long entries unless the signal ignores blocks (e.g., Volume Burst).
- **Base Prohibition (not_long)**: Volume is declining, or ADX is bearish (di_bear), or VIX is in high volatility (vix_flag), or RSI < 30.
- **Pivot Filter**: Recent Pivot is in a disadvantaged position.
- **OI Filter**: OI is declining.
- **RSI/ADX Extreme Filter**: RSI > 70 or ADX is bullish (di_bull).
- **Other**: Strategy already has a position (position_size != 0), or extreme volatility (is_extreme, though disabled in code).
#### **D. Short Entry Blocks/Filters**
Similar to long blocks.
- **Base Prohibition (not_short)**: Volume is rising, or (Chop < 38.2 and RSI > 50), or ADX is bullish (di_bull), or RSI > 70.
- **Pivot Filter**: Recent Pivot is in a disadvantaged position.
- **OI Filter**: OI is rising.
- **RSI/ADX Extreme Filter**: RSI < 30 or ADX is bearish (di_bear).
- **Other**: Existing position, or extreme volatility.
#### **E. Long Exit Signals**
Triggers closing of long positions, based on states (e.g., super_long, weak_long, only_kama).
- **KAMA Bearish Flip (exist_long)**: KAMA trend flips downward, or KAMA is downward with a short signal.
- **VIX Signal**: VIX shifts from low to high volatility, with RSI < 50.
- **Reversal Signal**: Short signal present and KAMA is downward.
- **Weak Trend Stop-Loss (weak_stop_long)**: In weak_long state, candlestick near POC, and close crosses below POC.
- **Weak KAMA Stop-Loss (weak_kama_long)**: In weak_long state, candlestick far from POC, and KAMA trend reverses.
- **Global Exit (exist_all)**: Volume RSI crosses below threshold (vol_under), or KAMA exit (kama_exit_long), or weak stop-loss, etc.
- **Special**: If in strong_long_hold (only_kama and KAMA remains bullish), ignore certain exit signals to hold the position.
#### **F. Short Exit Signals**
Similar to long exits.
- **KAMA Bullish Flip (exist_short)**: KAMA trend flips upward, or KAMA is upward with a long signal.
- **Reversal Signal**: Long signal present and KAMA is upward.
- **Weak Trend Stop-Loss (weak_stop_short)**: In weak_short state, candlestick near POC, and close crosses above short_state.current_max.
- **Weak KAMA Stop-Loss (weak_kama_short)**: In weak_short state, candlestick far from POC, and KAMA flips upward.
- **Global Exit (exist_all)**: Same as above.
SOL Smart Alert SystemITECS built this to work alongside my AI agent and scripts to provide a robust notification/alert system that can be configured to best work with the current market conditions.
Orthogonal Projections to Latent Structures (O-PLS)Version 0.1
Orthogonal Projections to Latent Structures (O-PLS) Indicator for TradingView
This indicator, named "Orthogonal Projections to Latent Structures (O-PLS)", is designed to help traders understand the relevance or predictive power of various market variables on the future close price of the asset it's applied to. Unlike standard correlation coefficients that show a simple linear relationship, O-PLS aims to separate variables into "predictive" (relevant to Y) and "orthogonal" (irrelevant noise) components. This Pine Script indicator provides a simplified proxy of the relevance score derived from O-PLS principles.
Purpose of the Indicator
The primary purpose of this indicator is to identify which technical factors (such as price, volume, and other indicators) have the strongest relationship with the future price movement of the current trading instrument. By providing a "relevance score" for each input variable, it helps traders focus on the most influential data points, potentially leading to more informed trading decisions.
Inputs
The indicator offers the following user-definable inputs:
* **Lookback Period:** This integer input (default: 100, min: 10, max: 500) determines the number of past bars used to calculate the relevance scores for each variable. A longer lookback period considers more historical data, which can lead to smoother, less reactive scores but might miss recent shifts in variable importance.
* **External Asset Symbol:** This symbol input (default: `BINANCE:BTCUSDT`) allows you to specify an external asset (e.g., `BINANCE:ETHUSDT`, `NASDAQ:TSLA`) whose close price will be included in the analysis as an additional variable. This is useful for cross-market analysis to see how other assets influence the current chart.
* **Plot Visibility Checkboxes (e.g., "Plot: Open Price Relevance", "Plot: Volume Relevance", etc.):** These boolean checkboxes allow you to toggle the visibility of individual relevance score plots on the chart, helping to declutter the display and focus on specific variables.
Outputs
The indicator provides two main types of output:
Relevance Score Plots: These are lines plotted in a separate pane below the main price chart. Each line corresponds to a specific market variable (Open Price, Close Price, High Price, Low Price, Volume, various RSIs, SMAs, MFI, and the External Asset Close). The value of each line represents the calculated "relevance score" for that variable, typically scaled between 0 and 10. A higher score indicates a stronger predictive relationship with the future close price.
Sorted Relevance Table : A table displayed in the top-right corner of the chart provides a clear, sorted list of all analyzed variables and their corresponding relevance scores. The table is sorted in descending order of relevance, making it easy to identify the most influential factors at a glance. Each variable name in the table is colored according to its plot color, and the external asset's name is dynamically displayed without the "BINANCE:" prefix.
How to Use the Indicator
1. **Add to Chart:** Apply the "Orthogonal Projections to Latent Structures (O-PLS)" indicator to your desired trading chart (e.g., ETH/USDT).
2. **Adjust Inputs:**
* **Lookback Period:** Experiment with different lookback periods to see how the relevance scores change. A shorter period might highlight recent correlations, while a longer one might show more fundamental relationships.
* **External Asset Symbol:** If you trade BTC/USDT, you might add ETH/USDT or SPX as an external asset to see its influence.
3. **Analyze Relevance Scores:**
* **Plots:** Observe the individual relevance score plots over time. Are certain variables consistently high? Do scores change before significant price moves?
* **Table:** Refer to the sorted table on the latest confirmed bar to quickly identify the top-ranked variables.
4. **Incorporate into Strategy:** Use the insights from the relevance scores to:
* Prioritize certain indicators or price actions in your trading strategy. For example, if "Volume" has a high relevance score, it suggests volume confirmation is critical for future price moves.
* Understand the influence of inter-market relationships (via the External Asset Close).
How the Indicator Works
The indicator works by performing the following steps on each bar:
1. **Data Fetching:** It gathers historical data for various price components (open, high, low, close), volume, and calculated technical indicators (SMA, RSI, MFI) for the specified `lookback` period. It also fetches the close price of an `External Asset Symbol` .
2. **Standardization (Z-scoring):** All collected raw data series are standardized by converting them into Z-scores. This involves subtracting the mean of each series and dividing by its standard deviation . Standardization is crucial because it brings all variables to a common scale, preventing variables with larger absolute values from disproportionately influencing the correlation calculations.
3. **Correlation Calculation (Proxy for O-PLS Relevance):** The indicator then calculates a simplified form of correlation between each standardized input variable and the standardized future close price (Y variable) . This correlation is a proxy for the relevance that O-PLS would identify. A high absolute correlation indicates a strong linear relationship.
4. **Relevance Scaling:** The calculated correlation values are then scaled to a range of 0 to 10 to provide an easily interpretable "relevance score" .
5. **Output Display:** The relevance scores are presented both as time-series plots (allowing observation of changes over time) and in a real-time sorted table (for quick identification of top factors on the current bar) .
How it Differs from Full O-PLS
This indicator provides a *simplified proxy* of O-PLS principles rather than a full, mathematically rigorous O-PLS model. Here's why and how it differs:
* **Dimensionality Reduction:** A full O-PLS model would involve complex matrix factorization techniques to decompose the independent variables (X) into components that are predictive of Y and components that are orthogonal (unrelated) to Y but still describe X's variance. Pine Script's array capabilities and computational limits make direct implementation of these matrix operations challenging.
* **Orthogonal Components:** A true O-PLS model explicitly identifies and removes orthogonal components (noise) from the X data that are unrelated to Y. This indicator, in its simplified form, primarily focuses on the direct correlation (relevance) between each X variable and Y after standardization, without explicitly modeling and separating these orthogonal variations.
* **Predictive Model:** A full O-PLS model is ultimately a predictive model that can be used for regression (predicting Y). This indicator, however, focuses solely on **identifying the relevance/correlation of inputs to Y**, rather than building a predictive model for Y itself. It's more of an analytical tool for feature importance than a direct prediction engine.
* **Computational Intensity:** Full O-PLS involves Singular Value Decomposition (SVD) or Partial Least Squares (PLS) algorithms, which are computationally intensive. The indicator uses simpler statistical measures (mean, standard deviation, and direct correlation calculation over a lookback window) that are feasible within Pine Script's execution limits.
In essence, this Pine Script indicator serves as a practical tool for gaining insights into variable relevance, inspired by the spirit of O-PLS, but adapted for the constraints and common use cases of a TradingView environment.
Vortex Hunter X - Strategy (3-Min TF) | PEPE Signal (Binance)⚙️ Vortex Hunter X - Strategy (3-Min TF) | PEPE Signal (Binance)
This strategy is designed for analyzing the PEPE/USDT pair on Binance Futures within the TradingView platform, and can be used to execute trades on any exchange of your choice.
Each position has a fixed 4% profit target and a fixed 2% stop loss. These parameters are hard-coded and do not change dynamically. The risk-to-reward ratio is fixed at 1:2.
🔎 Non-Repainting Signals and Consistency Between Backtest and Live Trading
The signals generated by this strategy are completely non-repainting, meaning once a signal is issued, it will not be altered or modified later.
Backtesting results and live trading performance on TradingView are exactly consistent, demonstrating the high reliability of the strategy.
🔁 Note About Replay Mode on TradingView
When running the strategy in Replay mode on TradingView (historical playback of the chart), you may notice some differences compared to live or backtest results.
These differences arise due to the way data is processed in Replay mode and delays in how certain filters access past information.
✅ However, it is important to understand that these differences do not indicate any repainting of signals. In live and backtest modes, signals are generated exactly according to the strategy’s logic without any changes.
🔄 Important Recommendation for Proper Script Loading
Due to the use of complex filters, multi-stage processing, and sensitive conditions in the signal logic, sometimes the browser cache may cause the script not to load fully or precisely, or some components may load with delays.
This can lead to signals not displaying correctly or minor issues in the strategy’s performance.
✅ Therefore, it is strongly recommended to clear your browser cache or press Ctrl + F5 for a full refresh on the TradingView chart page before the first use and periodically (e.g., every few days).
This ensures the script loads freshly and completely from TradingView servers, enabling accurate and smooth strategy operation.
⚠️ Important Usage Notes:
🔸 This strategy is specifically designed and optimized only for the following conditions:
Symbol: PEPEUSDT
Exchange: BINANCE
Market: Futures
Timeframe: 3 minutes (3m)
🔸 For accurate signals, please ensure the strategy runs only on the PEPE/USDT Futures chart on Binance with a 3-minute timeframe in TradingView.
🔸 ⚠️ Note: For actual trading execution, you may use any exchange (e.g., Binance, Bybit, OKX, etc.), but analysis and strategy operation must be performed strictly within TradingView with the exact above settings.
Using the strategy on incorrect symbols, timeframes, or markets may result in invalid signals.
ℹ️ Strategy Naming:
Each strategy’s name clearly indicates the asset it is configured for.
For example:
Vortex Hunter X - Strategy (3-Min TF) | PEPE Signal (Binance) for PEPE
Vortex Hunter X - Strategy (3-Min TF) | SUI Signal (Binance) for SUI
Currently, the strategy is configured and optimized for only these two pairs:
PEPEUSDT (Binance Futures)
SUIUSDT (Binance Futures)
📌 Purchasing a single subscription grants you access to both strategies (PEPE and SUI).
📈 More assets will be added to this strategy in the future, and subscribers will gain access to new versions automatically.
✅ Summary of Settings:
🎯 Take Profit (TP): 4%
⛔ Stop Loss (SL): 2%
📊 Risk-to-Reward Ratio: 1:2
⏱️ Timeframe: 3 minutes
🧪 Target Market: PEPE Futures on Binance
📩 For access or support, contact:
Polaris Trend All-in-One📘 Polaris Trend Indicator: Trading Rules & Strategy
Guide
The Polaris Trend Indicator is designed to simplify trading decisions by identifying key entry
and exit signals without the need for excessive technical analysis. This system combines the
Polaris Trend with the Polaris Golden Wave and Market Bias tools to give you confidence
across multiple timeframes.
This guide outlines clear trading rules for two use cases:
● Swing Trading
● Long-Term Investing and Holding
⚡ Swing Trading Strategy
Swing trading can be challenging when the market direction is unclear. The Polaris Trend helps
traders stay on the right side of momentum with straightforward visual signals. This approach is
best used on the Daily or Weekly chart.
✅ Entry Criteria (Bullish Trades)
● A solid green column appears above the zero line.
● A green upward arrow confirms bullish momentum.
● Enter your trade immediately when the green column first appears.
● Hold the trade until a red column appears, signaling a shift in momentum.
🚫 Exit Criteria (Bullish Trades)
● The first appearance of a red column after a green run.
● Multiple green columns followed by a red column.
● Do not enter trades mid-trend; always enter on the first green flip.
***Recommended Swing Strategy
● When a new daily green column appears but the weekly columns are still red, stay
nimble. Enter your position when the Polaris Trend Indicator turns green and displays an
upward-pointing arrow.
● If the price pulls back to a higher low but a red daily column forms, sell 50% of your
position and move your stop loss to your original entry. Then, wait for the next daily
green column and arrow to reappear, this is your signal to reenter the 50% you exited.
● If the price continues to rise and the weekly columns also turn green, shift your focus
to the weekly chart. Ignore daily signals and hold the trade until the weekly column
turns red, which will be your cue to exit. The weekly green column is your confirmation of
a stronger uptrend and a potential longer hold.
🔻 Entry Criteria (Bearish Trades)
● A solid red column appears below the zero line.
● A red downward arrow confirms bearish momentum.
● Enter your short trade immediately when the red column first appears.
● Hold until a green column appears, indicating momentum has shifted.
🔁 Exit Criteria (Bearish Trades)
● The first green column that follows a red sequence.
● Same rule applies: enter only on the initial flip, not mid-trend.
Note: The first color flip is the most reliable entry point. Avoid entering positions
deep into a trend, wait for the clear signal from Polaris.
🧭 Long-Term Investing Strategy
This approach combines the Polaris Golden Wave, Polaris Trend, and Market Bias to help
long-term investors buy at deep value levels and scale into positions over time.
📉 Ideal Entry: Golden Zone + Polaris Trend Signal
● Use the Golden Wave to identify the monthly 0.618–0.826 retracement zone
(significant discount levels).
● When price enters the Golden Zone and the Polaris Trend shows a green column on
the Daily or Weekly, this is your optimal entry point.
● If the trend turns red inside the zone, consider trimming positions and re-entering on the
next bullish signal.
If price drops below the Golden Zone, the stock becomes even more undervalued,
wait for the next green Polaris Trend signal to enter.
💰 Secondary Entry: Market Bias Rebounds
● If you miss the Golden Zone entry or are dollar-cost averaging:
○ Use the Market Bias on a Weekly timeframe.
○ Wait for price to retrace into the Market Bias band after moving higher.
○ Look for a red Polaris Trend column, then wait for price to enter the Market
Bias band and once it enters, wait for Polaris Trend signal to flip back to green
for your entry. If the trend turns red inside the zone, consider trimming positions
and re-entering on the next bullish signal.
Think of the Market Bias like a lake and price like a skipping stone—you want to
buy when the stone comes down and touches the surface.
📊 Indicator Explanations
🔶 Golden Wave (Monthly Fibonacci Retracement Zones)
● Highlights key monthly retracement zones (0.618 to 0.826).
● Helps identify deep-value entries on longer timeframes.
● Visible across all chart timeframes for consistent macro reference.
🔴 Market Bias (Smoothed Heikin-Ashi Trend Filter)
● Measures trend direction and strength using smoothed Heikin-Ashi candles and
oscillation logic.
● Customizable smoothing, oscillator period, and timeframe inputs.
● Option to display trend signals in a separate pane with dynamic coloring.
This combined approach empowers traders to make high-quality decisions with clarity and
discipline. Whether you're entering short-term swings or building long-term positions, the
Polaris Trend system guides you with timely, data-driven signals.
[🧪] LABS-ANALYTIX: CANDLE.BEHAVIORAL.ANALYTIX LABS ANALYTIX – Indicator Description
LABS ANALYTIX is your on‑demand Market Recon Tool. It scans every candle across your chosen timeframe and breaks out key performance metrics by weekday, so you can pinpoint patterns, optimize entries, and manage risk with surgical precision.
Features:
• Weekday Performance Metrics – Calculates % of up vs. down candles for Mon→Sun
• Average Gain & Loss – Computes mean gain on winning days and mean loss on losing days
• Max Single‑Bar Run‑Up – Identifies the largest one‑bar gain per weekday
• Max Single‑Bar Drawdown – Identifies the largest one‑bar loss per weekday
• Historical Lookback Control – Set “Lookback Bars” to limit analysis to the most recent X bars or use “0” for full history
• Neon‑themed Table Overlay – Renders a compact, color‑coded table in the top‑right corner for instant tactical insight
Use Cases:
• Discover your strongest and weakest weekdays
• Quantify average move sizes to tailor your stop‑loss and take‑profit levels
• Identify outlier candles for potential trade setups or cautionary risk flags
• Drill into specific timeframes with adjustable lookback
How to Use:
1. Add the indicator to any chart (overlay=false).
2. Adjust “Lookback Bars” input to focus on recent samples or entire history.
3. Refer to the Neon Table to guide your weekly trade cadence and refine strategy.
Eliora Gold 1min (Heikin Ashi)Eliora -focused trading strategy designed for anything on the 1-minute timeframe using Heikin Ashi candles. This mode combines advanced market logic with structured risk management to deliver smooth, disciplined trade execution.
Key Features:
✅ Trend Confirmation – Aligns with dominant market direction for higher accuracy.
✅ ATR-Based Volatility Filter – Avoids high-risk conditions and chaotic price action.
✅ Candle Strength Logic – Filters weak setups, focusing on strong momentum.
✅ Balanced Risk/Reward – Calculates stop-loss and take-profit dynamically for consistent results.
✅ Cooldown & Overtrade Protection – Limits frequency to maintain trade quality.
This version of Eliora is built for scalpers and intraday traders seeking high-probability entries with graceful exits.
UniversalPositionCalculatorV5🚀 Universal Position Calculator v5 (with Margin-Check) 🚀
Stop using calculators and complicated Excel sheets! 🤯 With the Universal Position Calculator v5, you have the ultimate tool right on your TradingView chart to manage your position size perfectly. Whether it's Forex, Gold, or Indices – this indicator does all the work for you!
✨ What does this indicator do? ✨
This indicator is your personal risk manager. It calculates the exact lot size for your next trade based on your capital, your desired risk, and your leverage. The best part? It immediately checks if your trade is even possible with your margin and warns you if you're about to over-leverage your account! 🚦
🌟 Key Features at a Glance 🌟
Automatic Lot Calculation: Just enter your risk in percent, and the indicator calculates the perfect lot size.
Margin Check: Instantly detects if your desired position size is limited by your margin and adjusts it. No more margin calls due to oversized positions!
For All Asset Classes: Works perfectly for Forex pairs (e.g., EURUSD) and other assets like commodities (XAUUSD) or indices (GER30). 💹
Currency Conversion: Automatically converts between your account currency and the asset's currency. It doesn't matter if you trade in EUR, USD, CHF, or JPY. 💱
Interactive Lines: Simply drag and drop the Entry and Stop Loss lines directly on the chart to plan your trade. 🎯
Clear Info Panel: All important information (lot size, required margin, risk in €/$/...) is displayed cleanly and clearly on your chart.
🛠️ How to Use: It's This Easy! 🛠️
The setup is a piece of cake and done in two simple steps.
Step 1: Configure Your Setup
Go to the indicator settings and fill out the "1. Setup" section:
Asset Type: Choose Forex for currency pairs or Other for everything else (e.g., Gold, Oil, Indices).
Account Currency: Enter the currency of your trading account (e.g., USD).
Account Capital: Enter your current account capital.
Risk in % per Trade: How much of your capital do you want to risk per trade? (e.g., 1.0 for 1%).
Leverage: Enter your account's leverage (e.g., 30 for 30:1).
Contract Size for 'Other': IMPORTANT! Only for the Other type. For Gold (XAUUSD), this is often 100; for the DAX (GER30), it's often 1 or 25. Check your broker's specifications for this!
Step 2: Plan Your Trade
Now for the fun part in the "2. Trade Control" section:
Entry Line (Blue Line): Click on the blue line and drag it to your desired entry level. You can also enter the value manually in the settings.
Stop Loss Line (Red Line): Click on the red line and drag it to your stop-loss level.
Step 3: Read the Results
As soon as you've set your Entry and Stop Loss, the Info Panel in the top-right corner will instantly show you the results:
Correct Lot Size: This is the lot size you need to enter with your broker for this trade.
⚠️ Heads up: If it says "Lot Size (Margin Limited!)" in orange, it means your desired risk was too high for your leverage. The indicator has automatically reduced the lot size to the maximum possible to avoid a margin call.
Required Margin: This is how much capital will be blocked on your account as a security deposit (margin) for this trade.
Risk in : The exact amount of money you will lose if your stop loss is triggered.
With this tool, you can make disciplined and mathematically sound trading decisions. Good luck and Happy Trading! 📈💰
LiliALHUNTERSystem_v2📚 **Library: LiliALHUNTERSystem_v2**
This library provides a powerful target management system for Pine Script developers.
It includes advanced calculators for EMA, RMA, and Supertrend, and introduces a central `createTargets()` function to dynamically render target lines and labels based on long/short trade logic.
🛠️ **Main Features:**
– Dynamic horizontal & vertical target lines
– Dual target configuration (Target 1 & Target 2)
– Directional logic via `isLong1`, `isLong2`
– Integrated Supertrend validation
– Visual dashboard and label display
– Works seamlessly with custom indicators
🎯 **Purpose:**
The `LiliALHUNTERSystem_v2` Library enables Pine coders to manage and visualize targets consistently across all trading strategies and indicators. It simplifies target logic while maintaining visual clarity and modular usage.
⚠️ **Disclaimer:**
This script is intended for educational and analytical purposes only. It does not constitute financial advice.
Library "LiliALHUNTERSystem_v2"
ema_calc(len, source)
Parameters:
len (simple int)
source (float)
rma_calc(len, source)
Parameters:
len (simple int)
source (float)
supertrend_calc(length, factor)
Parameters:
length (simple int)
factor (float)
createTargets(config, state, source1A, source1B, source2A, source2B)
Parameters:
config (TargetConfig)
state (TargetState)
source1A (float)
source1B (float)
source2A (float)
source2B (float)
showDashboard(state, dashLoc, textSize)
Parameters:
state (TargetState)
dashLoc (string)
textSize (string)
TargetConfig
Fields:
enableTarget1 (series bool)
enableTarget2 (series bool)
isLong1 (series bool)
isLong2 (series bool)
target1Condition (series string)
target2Condition (series string)
target1Color (series color)
target2Color (series color)
target1Style (series string)
target2Style (series string)
distTarget1 (series float)
distTarget2 (series float)
distOptions1 (series string)
distOptions2 (series string)
showLabels (series bool)
showDash (series bool)
TargetState
Fields:
target1LineV (series line)
target1LineH (series line)
target2LineV (series line)
target2LineH (series line)
target1Lbl (series label)
target2Lbl (series label)
target1Active (series bool)
target2Active (series bool)
target1Value (series float)
target2Value (series float)
countTargets1 (series int)
countTgReached1 (series int)
countTargets2 (series int)
countTgReached2 (series int)