HMK-2 | PCA-1 + Rejim + Chebyshev + VWAP (Input'lu, v6)📌 HMK-2 | PCA-1 + Regime + Chebyshev + VWAP Strategy
1️⃣ Core Structure
Instead of relying on a single indicator, this system uses the Z-Score normalized average of three oscillators (RSI, MFI, ROC).
Signal (PCA-1):
RSI(14), MFI(14), ROC(5) → each is converted into a z-score.
Their average becomes the “composite signal,” our PCA-1 value.
Trend direction: If the Z-score EMA is rising → trend UP. If falling → trend DOWN.
2️⃣ Side Filters
Regime Filter (ADX + EMA)
ADX is calculated manually.
If ADX > 20 → trend exists → a 50-period EMA of this value smooths it.
This turns “trend regime” into a probability between 0–1.
Chebyshev Filter
A return series is checked against mean ± k*sigma bands.
If the return is within this band → valid signal. Extreme moves are filtered out.
VWAP Filter
Long trades: price must be above VWAP.
Short trades: price must be below VWAP.
Trades are only taken on the correct side of institutional cost averages.
3️⃣ Entry Conditions
Long:
PCA-1 signal crosses above threshold.
Trend Up + Regime OK + Chebyshev OK + Above VWAP.
Short:
PCA-1 signal crosses below threshold.
Trend Down + Regime OK + Chebyshev OK + Below VWAP.
4️⃣ Exit Mechanism
Main Exit: ATR-based stop/target.
Stop = entry price – ATR × (SL factor).
Take profit = entry price + ATR × (TP factor).
Additional Exit:
If price crosses to the opposite side of VWAP.
If PCA-1 signal crosses zero.
👉 Prevents trades from being locked, makes exits adaptive.
5️⃣ Labels / Visualization
AL / SHORT → entry points.
SAT / COVER → exit points.
VWAP line plotted in blue.
🧩 Strategy Features
Optimizable parameters:
Z-window (zWin)
Threshold
Chebyshev factor
ATR stop/target multipliers
This system works with:
Disciplined core (PCA-1 signal)
Triple protection (Regime + Chebyshev + VWAP)
Adaptive exits (ATR + VWAP/signal cross)
👉 Not a “single-indicator robot,” but a multi-filtered trade direction engine.
💡 Final Note
This is a base model of the system — open for further development.
I’ve shared the logic to give you a roadmap.
If you spot errors, fix them → that’s how you’ll improve it.
Don’t waste time asking me questions — refine and build it better yourselves.
Wishing you profitable trades. Stay well 🙏
Penunjuk dan strategi
Twin Range Filter StrategyClarity Over Confusion: See price action through a全新的 lens. Watch as erratic, choppy movements are smoothed into a clear, actionable trajectory. The path of least resistance becomes obvious.
Confidence Over Hesitation: Receive high-probability entry and exit signals with a proven logic that waits for the market to commit before you do. No more second-guessing.
Discipline Over Emotion: Our algorithm enforces a systematic approach, helping you avoid emotional FOMO chasing and panic selling. Stick to the plan and execute with precision.
What Can You Expect?
Dynamic Adaptability: Unlike static indicators, continuously adapts to volatility. It widens its filter in turbulent markets to avoid whipsaws and tightens it in trending markets to capture more of the move.
The Power of Two: By synthesizing data from two distinct market perspectives, it confirms strength and filters out weakness, providing a confluence that standalone indicators simply cannot match.
Clean, Unambiguous Signals: We’ve eliminated the clutter. The software provides clear visual alerts (Green Arrows for Long, Red Arrows for Short) right on your chart, telling you exactly when the equilibrium has shifted.
Who is this for?
Swing Traders looking to capture the heart of a trend and avoid false breakouts.
Day Traders needing a reliable filter to navigate volatile intraday action.
Systematic Traders seeking a robust logic layer to add to their automated strategy.
Anyone overwhelmed by indicator overload and craving a single, trusted source of truth on their chart
Harmonic Patterns + Fib [CRT Trader]Overview
The Harmonic Patterns Fibonacci indicator is an advanced technical analysis tool designed to automatically detect and visualize Fibonacci-based harmonic patterns on financial charts. This indicator helps traders identify high-probability reversal zones and potential entry/exit points based on precise mathematical relationships.
Supported Patterns
5-Point Patterns (X-A-B-C-D Structure)
Gartley Pattern: The most common harmonic pattern with reliable reversal signals
AB/XA = 0.618, BC/AB = 0.618, CD/BC = 1.272, AD/XA = 0.786
Butterfly Pattern: Strong reversal pattern indicating potential trend changes
AB/XA = 0.786, BC/AB = 0.618, CD/BC = 1.618, AD/XA = 1.270
Bat Pattern: Medium-term reversal pattern with high accuracy
AB/XA = 0.382, BC/AB = 0.886, CD/BC = 1.618, AD/XA = 0.886
Crab Pattern: Aggressive reversal pattern with extended D point
AB/XA = 0.618, BC/AB = 0.886, CD/BC = 2.240, AD/XA = 1.618
Shark Pattern: Trend continuation or reversal pattern
AB/XA = 0.618, BC/AB = 1.130, CD/BC = 1.618, AD/XA = 0.886
4-Point Pattern (A-B-C-D Structure)
ABCD Pattern: Basic harmonic structure forming the foundation of all patterns
BC/AB = 0.382-0.886, CD/BC = 1.130-2.618
Key Features
Fibonacci Validation
Each pattern is validated against precise Fibonacci ratios with customizable tolerance
Mathematical accuracy ensures reliable pattern recognition
Eliminates false signals through strict ratio requirements
Performance Optimization
Pivot Detection: Automatically identifies significant highs and lows
Scan Frequency Control: Adjustable scanning intervals to optimize performance
Early Exit Algorithms: Efficient computation to reduce processing load
Pattern Limit: Control maximum number of patterns displayed
Visual Elements
Pattern Lines: Clear visualization of pattern structure with colored lines
Fill Areas: Highlighted zones between pattern legs
Point Labels: X, A, B, C, D markers for easy identification
Fibonacci Levels: Optional Fibonacci retracement/extension levels
Bullish/Bearish Colors: Green for bullish, red for bearish patterns
Customizable Settings
Pattern Selection: Enable/disable specific pattern types
Tolerance Adjustment: Fine-tune pattern recognition sensitivity (5-30%)
Color Customization: Personalize visual appearance
Information Table: Optional statistics display
Trading Applications
Entry Signals
Reversal Zones: Identify high-probability reversal areas at pattern completion
Confluence Trading: Combine with other technical indicators for confirmation
Risk Management: Use pattern structure to define stop-loss levels
Market Analysis
Support/Resistance: Pattern points often act as future S/R levels
Price Targets: Fibonacci extensions provide potential profit targets
Market Structure: Understand underlying market geometry and rhythm
Strategy Integration
Swing Trading: Ideal for medium-term position entries
Position Trading: Long-term trend reversal identification
Day Trading: Intraday reversal patterns on lower timeframes
How to Use
Add to Chart: Apply the indicator to any timeframe and instrument
Configure Settings: Adjust tolerance, colors, and pattern types as needed
Wait for Completion: Patterns are valid only when D point is formed
Confirm with Volume: Look for volume confirmation at pattern completion
Set Stop Loss: Place stops beyond X point for 5-point patterns, or A point for ABCD
Target Levels: Use Fibonacci extensions for profit targets
Important Notes
Pattern Completion: Wait for full pattern formation before taking action
Market Context: Consider overall market trend and conditions
Risk Management: Always use appropriate position sizing and stops
Backtesting: Test the indicator on historical data before live trading
Multiple Timeframes: Analyze patterns across different timeframes for confirmation
Technical Requirements
Lookback Period: Adjustable pivot detection sensitivity
Depth Setting: Controls how far back the algorithm searches for patterns
Memory Efficient: Optimized for real-time performance without lag
This indicator is suitable for all experience levels, from beginners learning harmonic patterns to advanced traders seeking automated pattern recognition. The combination of mathematical precision and visual clarity makes it an essential tool for harmonic trading strategies.
XAU 1H Clean Confluence — Micro Table v2XAU 1H Clean Confluence — Micro Table
What it is
A clean, low-clutter 1-hour XAUUSD indicator that summarizes confluences in a compact on-chart table. It’s designed for traders who want structure + momentum + location without covering the chart in drawings.
Best used on: ICMARKETS:XAUUSD or your broker’s XAUUSD feed, 1H timeframe.
Style: Table-only by default (optional EMA200 line and tiny signal markers).
How signals are built (long example; shorts mirror)
A Long Confluence is printed when all of the below are true:
Trend alignment: EMA20 > EMA50 > EMA200
Pullback & re-engage: price crossed back above EMA20 after a pullback
RSI regime: RSI(14) crosses up through 50 (trend confirmation)
Displacement/imbalance: a 3-candle Bull FVG exists (low > high )
Structure: either a BOS up or CHOCH up via swing pivots (pivotLen input)
Sweep (optional): if enabled, require a sweep of Asian Low and/or PDL first
Time gating (optional): only during London/NY windows and outside news windows
Short signals use the mirrored conditions (EMA stack down, cross back below EMA20, RSI cross down through 50, Bear FVG, BOS/CHOCH down, optional Asian High/PDH sweep).
Lunar calendar day Crypto Trading StrategyLunar calendar day Crypto Trading Strategy
This strategy explores the potential impact of the lunar calendar on cryptocurrency price cycles.
It implements a simple but unconventional rule:
Buy on the 5th day of each lunar month
Sell on the 26th day of the lunar month
No trades between January 1 (solar) and Lunar New Year’s Day (holiday buffer period)
Research background
Several academic studies have investigated the influence of lunar cycles on financial markets. Their findings suggest:
Returns tend to be higher around the full moon compared to the new moon.
Periods between the full moon and the waning phase often show stronger average returns than the waxing phase.
This strategy combines those observations into a practical implementation by testing fixed entry (lunar day 5) and exit (lunar day 26) points, while excluding the transition period from solar New Year to Lunar New Year, effectively capturing mid-month lunar effects.
How it works
The script includes a custom lunar date calculation function, reconstructing lunar months and days for each year (2020–2026).
On lunar day 5, the strategy opens a long position with 100% of equity.
On lunar day 26, the strategy closes the position.
No trades are executed between Jan 1 and Lunar New Year’s Day.
All trades include:
Commission: 0.1%
Slippage: 3 ticks
Position sizing uses the entire equity (100%) for simplicity, but this is not recommended for live trading.
Why this is original
Unlike mashups of built-in indicators, this script:
Implements a full lunar calendar system inside Pine Script.
Translates academic findings on lunar effects into an applied backtest.
Adds a realistic trading filter (holiday gap) based on cultural/seasonal calendar rules.
Provides researchers and traders with a framework to explore non-traditional, time-based signals.
Notes
This is an experimental, research-oriented strategy, not financial advice.
Results are highly dependent on the chosen period (2020–2026).
Using 100% equity per trade is for simplification only and is not a viable money management practice.
The purpose is to investigate whether cyclical patterns linked to lunar time can provide any statistical edge in ETHUSDT.
RSI deyvidholnik
📊 Overview
RSI deyvidholnik is an advanced technical indicator that combines the power of traditional RSI (Relative Strength Index) with automatic divergence detection to identify potential market reversal points. This indicator was developed by kingthies and offers clear visual analysis of overbought/oversold conditions along with highly precise divergence signals.
🔧 Key Features
Customizable RSI
Data Source: Configurable (default: close)
Period: Adjustable (default: 14)
Moving Average: Multiple types available (SMA, EMA, SMMA, WMA, VWMA, MMS)
MA Period: Configurable (default: 14)
Divergence Detection
The indicator identifies four types of divergences:
🟢 Bullish Divergence
Occurs when price makes lower lows, but RSI makes higher lows
Indicates possible trend reversal from bearish to bullish
Signaled with green dots on RSI
🔴 Bearish Divergence
Occurs when price makes higher highs, but RSI makes lower highs
Indicates possible trend reversal from bullish to bearish
Signaled with red dots on RSI
🟢 Hidden Bullish Divergence (Optional)
Price makes higher lows while RSI makes lower lows
Confirms continuation of bullish trend
Useful in trending markets
🔴 Hidden Bearish Divergence (Optional)
Price makes lower highs while RSI makes higher highs
Confirms continuation of bearish trend
Useful in trending markets
⚙️ Pivot Settings
Optimized Default Configuration
Right Bars: 1 (quick confirmation)
Left Bars: 5 (noise filtering)
Maximum Bars Between Pivots: 60
Minimum Bars Between Pivots: 3
These settings have been adjusted to provide:
✅ Faster and more responsive signals
✅ Reduction of false signals
✅ Better identification of significant pivots
🎨 Visual Interface
RSI Levels
Line 70: Overbought zone (red)
Line 50: Neutral centerline
Line 30: Oversold zone (green)
Gradient fill: Visually intensifies extreme zones
Graphical Elements
RSI: Main line in white
Moving Average: Smoothed yellow line
Divergence Points: Colored markers on pivots
Background: Subtle fill for better readability
📈 How to Use
For Reversal Trading
Enable only: Bullish and Bearish (default)
Look for: Divergences in overbought/oversold zones
Confirm with: Other indicators or price analysis
For Trend Trading
Enable: Hidden Bull and Hidden Bear
Use in: Markets with clear established trends
Combine with: Market structure analysis
Alert Configuration
The indicator includes automatic alerts for:
⚠️ Bullish Divergence
⚠️ Bearish Divergence
⚠️ Hidden Bullish Divergence
⚠️ Hidden Bearish Divergence
💡 Main Advantages
✅ Automatic Detection: Identifies divergences without manual interpretation
✅ Optimized Configuration: Default values tested for maximum efficiency
✅ Clean Interface: Clear and professional visual
✅ Integrated Alerts: Automatic signal notifications
✅ Flexibility: Multiple customization options
✅ Performance: Optimized code for efficient execution
🎯 Recommended Timeframes
Scalping: 1m, 5m (with more sensitive settings)
Intraday: 15m, 30m, 1h (default configuration)
Swing: 4h, 1D (for medium-term signals)
⚠️ Important Considerations
Not infallible: Always use in conjunction with other analysis methods
Sideways markets: More effective in markets with directional movement
Confirmation: Always wait for signal confirmation before trading
Risk management: Always implement adequate stop-loss and take-profit
Script_Algo - ORB Strategy with Filters🔍 Core Concept: This strategy combines three powerful technical analysis tools: Range Breakout, the SuperTrend indicator, and a volume filter. Additionally, it features precise customization of the number of candles used to construct the breakout range, enabling optimized performance for specific assets.
🎯 How It Works:
The strategy defines a trading range at the beginning of the trading session based on a selected number of candles.
It waits for a breakout above the upper or below the lower boundary of this range, requiring a candle close.
It filters signals using the SuperTrend indicator for trend confirmation.
It utilizes trading volume to filter out false breakouts.
⚡ Strategy Features
📈 Entry Points:
Long: Candle close above the upper range boundary + SuperTrend confirmation
Short: Candle close below the lower range boundary + SuperTrend confirmation
🛡️ Risk Management:
Stop-Loss: Set at the opposite range boundary.
Take-Profit: Calculated based on a risk/reward ratio (3:1 by default).
Position Size: 10 contracts (configurable).
⚠️ IMPORTANT SETTINGS
🕐 Time Parameters:
Set the correct time and time zone!
❕ATTENTION: The strategy works ONLY with correct time settings! Set the time corresponding to your location and trading session.
📊 This strategy is optimized for trading TESLA stock!
Parameters are tailored to TESLA's volatility, and trading volumes are adequate for signal filtering. Trading time corresponds to the American session.
📈 If you look at the backtesting results, you can see that the strategy could potentially have generated about 70 percent profit on Tesla stock over six months on 5m timeframe. However, this does not guarantee that results will be repeated in the future; remain vigilant.
⚠️ For other assets, the following is required:
Testing and parameter optimization
Adjustment of time intervals and the number of candles forming the range
Calibration of stop-loss and take-profit levels
⚠️ Limitations and Drawbacks
🔗 Automation Constraints:
❌ Cannot be directly connected via Webhook to CFD brokers!
Additional IT solutions are required for automation, thus only manual trading based on signals is possible.
📉 Risk Management:
Do not risk more than 2-3% of your account per trade.
Test on historical data before live use.
Start with a demo account.
💪 Strategy Advantages
✅ Combined approach – multiple signal filters
✅ Clear entry and exit rules
✅ Visual signals on the chart
✅ Volume-based false breakout filtering
✅ Automatic position management
🎯 Usage Recommendations
Always test the strategy on historical data.
Start with small trading volumes.
Ensure time settings are correct.
Adapt parameters to current market volatility.
Use only for stocks – futures and Forex require adaptation.
📚 Suitable Timeframes - M1-M15
Only highly liquid stocks
🍀 I wish all subscribers good luck in trading and steady profits!
📈 May your charts move in the right direction!
⚠️ Remember: Trading involves risk. Do not invest money you cannot afford to lose!
Long Elite Squeeze (LES) — H.H 22 Lindsay (AI)LES (Long Elite Squeeze)
LES (Long Elite Squeeze) is a trading framework designed to capture the highest-probability long setups. It’s not just another signal script — it’s a structured system built to filter noise, manage risk, and keep you aligned with real momentum.
🔹 Core Logic
Breakout Confirmation – Ensures moves have structure, not just random spikes.
Relative Volume (RVOL) – Confirms participation and fuel behind the move.
RSI Alignment – Avoids overextended traps and fakeouts.
Squeeze Momentum – The backbone of LES. Signals fire only after a defined squeeze pattern shift (6+ dark green bars followed by a light green bar).
🔹 Trade Management Built In
Automated Sell Signals – Trigger on either:
2 consecutive dark green bars on Squeeze Momentum
WaveTrend cross down
(only valid after a Buy signal — no random shorts)
HUD Entry Checklist – Live conditions shown on chart.
Status Tracker HUD – Flips between “Waiting for Entry” and “In Trade” for clear context.
🔹 Flexibility
3 switchable squeeze versions (V1, V2, V3) for different market conditions.
Customizable EMA & ATR settings (with color options).
Session-aware logic — filter signals to prime trading hours.
🔹 Blueprint & Credits
LES is a fusion of proven concepts, standing on the shoulders of respected creators:
-Squeeze Momentum – LazyBear
-WaveTrend Oscillator – LazyBear
-Relative Volume – LonesomeTheBlue
Breakout/structural logic – refined from classic frameworks
Their work laid the foundation — LES expands and integrates them into a complete trading system.
⚡ Why LES Stands Out
LES wasn’t coded overnight. It’s the result of countless hours of live testing, rebuilding, and refining. Every feature earned its place by proving value in real trading, not theory.
LES is more than an indicator. It’s a disciplined framework — crafted to turn chaos into structure, randomness into probability, and noise into clarity.
⚠️ Disclaimer: This is a trading framework, not financial advice. Performance depends on trader discipline, risk management, and market conditions.
Auto Daily High/Low/50%This indicator automatically plots the current daily high and low, as well as the midrange.
NYC Candle Times Grid 1.2Marca las horas de apertura de las velas en los diferentes timeframes.
Marks the opening hours of the candles on the different timeframes.
Parabolic CCI Pro — Long & Short + ATR Risk — [AlphaFinansData]English Description (Enhanced)
🔹 CCI + Parabolic SAR Strategy (Long & Short, Smart Risk Management)
This indicator combines the power of CCI (Commodity Channel Index) and Parabolic SAR, creating a highly reliable trading system that adapts to market conditions.
🚀 How It Works:
Trend Hunting: CCI detects weakening momentum and potential reversal zones.
Confirmation: Parabolic SAR confirms the trend direction, reducing false signals.
Smart Risk Management: Offers both fixed-percentage and ATR-based dynamic Stop Loss & Take Profit, adjusting to volatility automatically.
Performance Dashboard: Tracks win rate, average profit/loss, max drawdown, and winning/losing streaks for deeper strategy insights.
⚡ Who Is It For?
Day traders looking for quick entries and exits,
Swing traders seeking to capture trend reversals,
Risk-conscious investors who want disciplined SL/TP management.
💡 More than just a signal generator, this indicator provides traders with a structured trading framework that helps maintain consistency and discipline.
Trend Continuation Filter - 🚀 Trend Continuation Filter — Multi-Factor Overlay
This overlay plots bullish / bearish continuation labels & arrows only when the market has enough confluence behind the move. Think of it as your “trend gatekeeper” — cutting out weak setups and highlighting only those with real momentum + structure.
🔍 Built-in Filters
✔ Ichimoku Cloud → trend bias + Tenkan/Kijun confirmation
✔ MACD (12/26/9) → acceleration via histogram slope
✔ RSI / MFI (14) → momentum quality (≥60 bullish / ≤40 bearish)
✔ ADX (14) → strength check (≥20 and rising)
➕ EMA Alignment (9/21/55/233) (optional)
➕ ATR Slope (14) (optional)
🎯 How it works
✅ Prints a Bull Continuation label/arrow when ≥4 filters align to the upside
✅ Prints a Bear Continuation label/arrow when ≥4 filters align to the downside
⚙️ minChecks input lets you adjust the strictness:
• Normal Days → set to 4 (more frequent, flexible)
• Trend Days → raise to 5–6 (fewer, high-conviction setups)
📈 Best Practices
⏰ Focus on London & New York sessions for clean expectancy
🧩 Pair with a HUD/Dashboard panel to see exactly which filters are active
Infinite EMA with Alpha Control♾️ Infinite EMA with Alpha Control
What Makes This EMA "Infinite"?
Unlike traditional EMA indicators that are limited to typical periods (1-5000), this Infinite EMA breaks all boundaries. You can create EMAs with periods of 1,000, 10,000, or even 1,000,000 bars - that's why it's called "infinite"! Also Infinite EMA starts working immediately from the very first bar on your chart
Why This EMA is "Infinite":
1. Mathematically: When N → ∞, alpha → 0, meaning infinitely long "memory"
2. Practically: You can set any period - even 100,000 bars
3. Flexibility: Alpha allows precise control over the "forgetting speed"
How Does It Work?
The magic lies in the Alpha parameter. While regular EMAs use fixed formulas, this indicator gives you direct control over the EMA's "memory" through Alpha values:
• High Alpha (0.1-0.2): Fast reaction, short memory
• Medium Alpha (0.01-0.05): Balanced response
• Low Alpha (0.0001-0.001): Extremely slow reaction, very long memory
• Ultra-low Alpha (0.000001): Almost frozen in time
The Mathematical Formula:
Alpha = 2 / (Period + 1)
This means you can achieve any EMA period by adjusting Alpha, giving you infinite flexibility!
Expanded "Infinite EMA" Table:
Period EMA (N) - Alpha (Rounded) - Alpha (Exact) - Description
10 - 0.1818 - 0.181818... - Fast EMA
20 - 0.0952 - 0.095238... - Short-term
50 - 0.0392 - 0.039215... - Medium-term
100 - 0.0198 - 0.019801... - Long-term
200 - 0.0100 - 0.009950... - Standard long-term
500 - 0.0040 - 0.003996... - Very long-term
1,000 - 0.0020 - 0.001998... - Super long-term
2,000 - 0.0010 - 0.000999... - Ultra long-term
5,000 - 0.0004 - 0.000399... - Mega long-term
10,000 - 0.0002 - 0.000199... - Giga long-term
25,000 - 0.00008 - 0.000079... - Century-scale EMA
50,000 - 0.00004 - 0.000039... - Practically motionless
100,000 - 0.00002 - 0.000019... - "Glacial" EMA
500,000 - 0.000004 - 0.000003... - Geological timescale
1,000,000 - 0.000002 - 0.000001... - Approaching constant
5,000,000 - 0.0000004 - 0.0000003... - Virtually static
10,000,000 - 0.0000002 - 0.0000001... - Nearly flat line
100,000,000 - 0.00000002 - 0.00000001... - Mathematical infinity
Formula: Alpha = 2/(N+1) where N is the EMA period
Key Features:
Dual EMA System: Run fast and slow EMAs simultaneously
Crossover Signals: Automatic buy/sell signals with customizable alerts
Alpha Control: Direct mathematical control over EMA behavior
Infinite Periods: From 1 to 100,000,000+ bars
Visual Customization: Colors, fills, backgrounds, signal sizes
Instant Start: Works accurately from the very first bar
Update Intervals: Control calculation frequency for noise reduction
Why Choose Infinite EMA?
1. Unlimited Flexibility: Any period you can imagine
2. Mathematical Precision: Direct alpha control for exact behavior
3. Professional Grade: Suitable for all trading styles
4. Easy to Use: Simple settings with powerful results
5. No Warm-up Period: Accurate values from bar #1
Simple Explanation:
Think of EMA as a "memory system":
• High Alpha = Short memory (forgets quickly, reacts fast)
• Low Alpha = Long memory (remembers everything, moves slowly)
With Infinite EMA, you can set the "memory length" to anything from seconds to centuries!
⚡ Instant Start Feature - EMA from First Bar
Immediate Calculation from Bar #1
Unlike traditional EMA indicators that require a "warm-up period" of N bars before showing accurate values, Infinite EMA starts working immediately from the very first bar on your chart.
How It Works:
Traditional EMA Problem:
• Standard 200-period EMA: Needs 200+ bars to become accurate
• First 200 bars: Shows incorrect/unstable values
• Result: Large portions of historical data are unusable
Infinite EMA Solution:
Bar #1: EMA = Current Price (perfect starting point)
Bar #2: EMA = Alpha × Price + (1-Alpha) × Previous EMA
Bar #3: EMA = Alpha × Price + (1-Alpha) × Previous EMA
...and so on
Key Benefits:
No Warm-up Period: Start trading signals from day one
Full Chart Coverage: Every bar has a valid EMA value
Historical Accuracy: Backtesting works on entire dataset
New Markets: Works perfectly on newly listed assets
Short Datasets: Effective even with limited historical data
Practical Impact:
Scenario Traditional EMA Infinite EMA
New cryptocurrency Unusable for first 200 days ✅ Works from day 1
Limited data (< 200 bars) Inaccurate values ✅ Fully functional
Backtesting Must skip first 200 bars ✅ Test entire history
Real-time trading Wait for stabilization ✅ Trade immediately
Technical Implementation:
if barstate.isfirst
EMA := currentPrice // Perfect initialization
else
EMA := alpha × currentPrice + (1-alpha) × previousEMA
This smart initialization ensures mathematical accuracy from the very first calculation, eliminating the traditional EMA "ramp-up" problem.
Why This Matters:
For Backesters: Use 100% of available data
For Live Trading: Get signals immediately on any timeframe
For Researchers: Analyze complete datasets without gaps
Bottom Line: Infinite EMA is ready to work the moment you add it to your chart - no waiting, no warm-up, no exceptions!
Unlike traditional EMAs that require a "warm-up period" of 200+ bars before showing accurate values, Infinite EMA starts working immediately from bar #1.
This breakthrough eliminates the common problem where the first portion of your chart shows unreliable EMA data. Whether you're analyzing a newly listed cryptocurrency, working with limited historical data, or backtesting strategies, every single bar provides mathematically accurate EMA values.
No more waiting periods, no more unusable data sections - just instant, reliable trend analysis from the moment you apply the indicator to any chart.
🔄 Update Interval Bars Feature
The Update Interval feature allows you to control how frequently the EMA recalculates, providing flexible noise filtering without changing the core mathematics.
Set to 1 for standard behavior (updates every bar), or increase to 5-10 for smoother signals that update less frequently. Higher intervals reduce market noise and false signals but introduce slightly more lag. This is particularly useful on volatile timeframes where you want the EMA's directional bias without every minor price fluctuation affecting the calculation.
Perfect for swing traders who prefer cleaner, more stable trend lines over hyper-responsive indicators.
Conclusion
The Infinite EMA transforms the traditional EMA from a fixed-period tool into a precision instrument with unlimited flexibility. By understanding the Alpha-Period relationship, traders can create custom EMAs that perfectly match their trading style, timeframe, and market conditions.
The "infinite" nature comes from the ability to set any period imaginable - from ultra-fast 2-bar EMAs to glacially slow 10-million-bar EMAs, all controlled through a single Alpha parameter.
________________________________________
Whether you're a beginner looking for simple trend following or a professional researcher analyzing century-long patterns, Infinite EMA adapts to your needs. The power of infinite periods is now in your hands! 🚀
Go forward to the horizon. When you reach it, a new one will open up.
- J. P. Morgan
Custom Volume + Buyer & Price %Title: Custom Volume + Buyer & Price %
Description:
This indicator helps you see who is controlling the market — buyers or sellers — using volume and price action. It works even if your chart is on a small timeframe (like 5-min or 15-min), by showing Daily, Weekly, and Monthly information from the higher timeframe volume charts.
Key Features & How It Works:
Buyer % (B%):
Measures where the closing price is within the high-low range of a candle.
Calculation:
\text{Buyer %} = \frac{\text{Close} - \text{Low}}{\text{High} - \text{Low}} \times 100
Interpretation:
> 50% → Buyers are stronger
< 50% → Sellers are stronger
50% → Balanced
Volume Coloring:
Volume bars are colored based on Buyer %, not price movement:
Green → Buyers dominate
Red → Sellers dominate
Yellow → Balanced day
Higher Timeframe Insight:
Displays Daily, Weekly, and Monthly volume & Buyer % even if your chart is on a smaller timeframe.
Lets you understand long-term buying or selling pressure while trading intraday.
21-Day Average:
Shows average Buyer % and average volume over the past 21 days for trend context.
Why It’s Useful:
Quickly visualize whether the market is buyer-driven or seller-driven.
Identify strong accumulation or distribution days.
Works on any chart timeframe while giving higher timeframe perspective.
Ideal for traders who want easy, visual insight into market sentiment.
Script_Algo - High Low Range MA Crossover Strategy🎯 Core Concept
This strategy uses modified moving averages crossover, built on maximum and minimum prices, to determine entry and exit points in the market. A key advantage of this strategy is that it avoids most false signals in trendless conditions, which is characteristic of traditional moving average crossover strategies. This makes it possible to improve the risk/reward ratio and, consequently, the strategy's profitability.
📊 How the Strategy Works
Main Mechanism
The strategy builds 4 moving averages:
Two senior MAs (on high and low) with a longer period
Two junior MAs (on high and low) with a shorter period
Buy signal 🟢: when the junior MA of lows crosses above the senior MA of highs
Sell signal 🔴: when the junior MA of highs crosses below the senior MA of lows
As seen on the chart, it was potentially possible to make 9X on the WIFUSDT cryptocurrency pair in just a year and a half. However, be careful—such results may not necessarily be repeated in the future.
Special Feature
Position closing priority ❗: if an opposite signal arrives while a position is open, the strategy first closes the current position and only then opens a new one
⚙️ Indicator Settings
Available Moving Average Types
EMA - Exponential MA
SMA - Simple MA
SSMA - Smoothed MA
WMA - Weighted MA
VWMA - Volume Weighted MA
RMA - Adaptive MA
DEMA - Double EMA
TEMA - Triple EMA
Adjustable Parameters
Senior MA Length - period for long-term moving averages
Junior MA Length - period for short-term moving averages
✅ Advantages of the Strategy
🛡️ False Signal Protection - using two pairs of modified MAs reduces the number of false entries
🔄 Configuration Flexibility - ability to choose MA type and calculation periods
⚡ Automatic Switching - the strategy automatically closes the current position when receiving an opposite signal
📈 Visual Clarity - all MAs are displayed on the chart in different colors
⚠️ Disadvantages and Risks
📉 Signal Lag - like all MA-based strategies, it may provide delayed signals during sharp movements
🔁 Frequent Switching - in sideways markets, it may lead to multiple consecutive position openings/closings
📊 Requires Optimization - optimal parameters need to be selected for different instruments and timeframes
💡 Usage Recommendations
Backtest - test the strategy's performance on historical data
Optimize Parameters - select MA periods suitable for the specific trading instrument
Use Filters - add additional filters to confirm signals
Manage Risks - always use stop-loss and take-profit orders.
You can safely connect to the exchange via webhook and enjoy trading.
Good luck and profits to everyone!!
Relative Weighted Rate of Change (WROC) vs Nifty 50Relative Weighted Rate of Change (WROC) vs Nifty 50
Customisable Asia & London Session High/Low (UTC+1)london + asia high / low
can customise however you like. its not perfect but saves time
Multi EMA/SMA with labels of period and timeframe(Any timeframe)Now you can select anykind of Moving Averages(SMA/EMA) with any period AND anytime frame.Specially for those who love to work with multi moving averages. In addition to MAs you dont need to confuse with the lines as all MA lines will have timeframe and period in front of them
Today’s Key Time Markers (Last 6 Only)updated version of key markets. london session asia and new york
Strong Trend CandlesThis indicator highlights trend candles using a mathematically grounded method designed to identify moments when the market is truly dominated by buyers or sellers
Up-Trend Candle (UP):
The open is close to the session’s low.
The close is close to the session’s high.
This structure reflects sustained bullish control from start to finish.
Down-Trend Candle (DOWN):
The open is near the high.
The close is near the low.
This reflects clear bearish control throughout the session.
Precise Definitions Used:
UP-Trend Candle:
Open ≤ Low + 10% of range
Close ≥ High - 20% of range
DOWN-Trend Candle:
Open ≥ High - 10% of range
Close ≤ Low + 20% of range
Here, the range is simply High - Low.
Why are the thresholds different (10% vs 20%)?
This is intentional and based on how markets behave:
The opening price tends to be precise and stable in trend days. A strong trending candle usually opens very close to one end (high or low), reflecting a clean start without hesitation.
The closing price, however, often pulls back slightly before the end of the session—even during strong trends—due to profit-taking or last-minute volatility.
That’s why the close is allowed more tolerance (20%), while the open is held to a stricter threshold (10%). This balance allows the indicator to be strict enough to filter noise, yet flexible enough to capture real trends.
✅ Why this is useful
Unlike vague candle patterns like "bullish engulfing" or "marubozu," this method focuses strictly on structure and positioning, not color or subjective shape. It isolates the candles where one side clearly dominated, offering cleaner entries for breakout, continuation, or confirmation strategies.
You can use this tool to:
Spot high-momentum price action
Confirm breakouts or directional bias
Filter setups based on strong market conviction
🔹 How it works
An Up-Trend Candle is detected when the open is close to the daily low and the close is close to the daily high.
A Down-Trend Candle is detected when the open is close to the daily high and the close is close to the daily low.
The thresholds for “close to high/low” are configurable through the Open % of Range and Close % of Range inputs.
🔹 How to use it
Candles are colored according to their classification.
Colors can be customized in the settings.
This tool can be applied in any timeframe.
⚠️ Notes:
This script does not generate buy/sell signals.
It is designed to help visualize strong candles based on intraday range conditions.
Pring Special K|a2m# 📈 Pring Special K | a2m
The **Pring Special K (PSK)** is a momentum indicator developed by **Martin Pring**, designed to capture both short-term and long-term market cycles in one oscillator.
This version includes **customizable smoothing** and **Bollinger Bands** for enhanced visualization of momentum shifts.
---
## 🏷️ Tagline
**“Multi-cycle momentum oscillator with smoothing & Bollinger Bands for trend confirmation and early reversals.”**
---
## 📄 Short Description
The Pring Special K blends **short-term and long-term ROC cycles** into one powerful momentum oscillator.
This version adds **SMA, EMA, WMA, RMA, VWMA smoothing options** and optional **Bollinger Bands**.
Use it to:
- Confirm **long-term trends**
- Spot **early reversals**
- Identify **divergences around the zero line**
---
## ⚙️ Features
✅ **Core PSK Calculation** (Martin Pring’s weighted ROC methodology)
✅ **Momentum Color-Coding** → Green (bullish) / Red (bearish)
✅ **Smoothing Options** → SMA, EMA, WMA, SMMA (RMA), VWMA
✅ **Optional Bollinger Bands** (with adjustable length & StdDev multiplier)
✅ **Zero Line Reference** for trend confirmation
---
## 🎛️ User Inputs
- **Source** → Default: `close`
- **Type** → `"None"`, `"SMA"`, `"SMA + Bollinger Bands"`, `"EMA"`, `"SMMA (RMA)"`, `"WMA"`, `"VWMA"`
- **Length** → Default: `20`
- **BB StdDev** → Default: `2.0` (active only with SMA + Bollinger Bands)
---
## 📊 How to Use
1. **Trend Identification**
- PSK rising above 0 → Long-term uptrend
- PSK falling below 0 → Long-term downtrend
2. **Momentum Shifts**
- Watch PSK crossing its **smoothing MA** for entry/exit signals.
- Bollinger Bands help spot **momentum extensions** or **contractions**.
3. **Divergences**
- Compare PSK vs. price swings to catch early **trend reversals**.
---
## 🖼️ Visual Guide
- **Green PSK Line** → Bullish momentum
- **Red PSK Line** → Bearish momentum
- **Blue Line** → Smoothing MA
- **Shaded Green Bands** → Bollinger Bands (if enabled)
- **Gray Dotted Line** → Zero momentum baseline
---
Donchian Squeeze Oscillator# Donchian Squeeze Oscillator (DSO) - User Guide
## Overview
The Donchian Squeeze Oscillator is a technical indicator designed to identify periods of low volatility (squeeze) and high volatility (expansion) in financial markets by measuring the distance between Donchian Channel bands. The indicator normalizes this measurement to a 0-100 scale, making it easy to interpret across different timeframes and instruments.
## How It Works
The DSO calculates the width of Donchian Channels as a percentage of the middle line, smooths this data, and then normalizes it using historical highs and lows over a specified lookback period. The result is inverted so that:
- **High values (80+)** = Narrow channels = Low volatility = Squeeze
- **Low values (20-)** = Wide channels = High volatility = Expansion
## Key Parameters
### Core Settings
- **Donchian Channel Period (20)**: The number of bars used to calculate the highest high and lowest low for the Donchian Channels
- **Smoothing Period (5)**: Applies moving average smoothing to reduce noise in the oscillator
- **Normalization Lookback (200)**: Historical period used to normalize the oscillator between 0-100
### Threshold Levels
- **Over Squeeze (80)**: Values above this level indicate strong squeeze conditions
- **Over Expansion (20)**: Values below this level indicate strong expansion conditions
## Reading the Indicator
### Color Coding
- **Red Line**: Squeeze condition (above 80 threshold) - Markets are consolidating
- **Orange Line**: Neutral/trending condition with upward momentum
- **Green Line**: Expansion condition or downward momentum
### Visual Elements
- **Red Dashed Line (80)**: Squeeze threshold - potential breakout zone
- **Gray Dotted Line (50)**: Middle line - neutral zone
- **Green Dashed Line (20)**: Expansion threshold - high volatility zone
- **Red Background**: Highlights active squeeze periods
## Trading Applications
### 1. Breakout Trading
- **Setup**: Wait for DSO to reach 80+ (squeeze zone)
- **Entry**: Look for breakouts when DSO starts declining from squeeze levels
- **Logic**: Prolonged low volatility often precedes significant price movements
### 2. Volatility Cycle Trading
- **Squeeze Phase**: DSO > 80 - Prepare for potential breakout
- **Breakout Phase**: DSO declining from 80 - Trade the direction of breakout
- **Expansion Phase**: DSO < 20 - Expect trend continuation or reversal
### 3. Trend Confirmation
- **Orange Color**: Suggests bullish momentum during expansion
- **Green Color**: Suggests bearish momentum or consolidation
- Use in conjunction with price action for trend confirmation
## Best Practices
### Timeframe Selection
- **Higher Timeframes (Daily, 4H)**: More reliable signals, fewer false breakouts
- **Lower Timeframes (1H, 15M)**: More frequent signals but higher noise
- **Multi-timeframe Analysis**: Confirm squeeze on higher TF, enter on lower TF
### Parameter Optimization
- **Volatile Markets**: Increase Donchian period (25-30) and smoothing (7-10)
- **Range-bound Markets**: Decrease Donchian period (15-20) for more sensitivity
- **Trending Markets**: Use longer normalization lookback (300-400)
### Signal Confirmation
Always combine DSO signals with:
- **Price Action**: Support/resistance levels, chart patterns
- **Volume**: Confirm breakouts with increasing volume
- **Other Indicators**: RSI, MACD, or momentum oscillators
## Alert System
The indicator includes built-in alerts for:
- **Squeeze Started**: When DSO crosses above the squeeze threshold
- **Expansion Started**: When DSO crosses below the expansion threshold
## Common Pitfalls to Avoid
1. **False Breakouts**: Don't trade every squeeze - wait for confirmation
2. **Parameter Over-optimization**: Stick to default settings initially
3. **Ignoring Market Context**: Consider overall market conditions and news
4. **Single Indicator Reliance**: Always use additional confirmation tools
## Advanced Tips
- Monitor squeeze duration - longer squeezes often lead to bigger moves
- Look for squeeze patterns at key support/resistance levels
- Use DSO divergences with price for potential reversal signals
- Combine with Bollinger Band squeezes for enhanced accuracy
## Conclusion
The Donchian Squeeze Oscillator is a powerful tool for identifying volatility cycles and potential breakout opportunities. Like all technical indicators, it should be used as part of a comprehensive trading strategy rather than as a standalone signal generator. Practice with the indicator on historical data before implementing it in live trading to understand its behavior in different market conditions.