Mag 7 EMA Trend MonitorDashboard Layout:
1. Symbol Column: The Mag 7 tickers.
2. Trend Column: Visual Bull/Bear status.
3. Strength Column: Percentage distance from the mean (EMA 21).
4. Aggregate Row: Summary of market breadth and average sector pull/push.
How to Interpret the Trend Strength:
• Positive %: The stock is trading above its 21 EMA. A very high number (e.g., $+15\%$) might suggest the stock is "overbought" or overextended.
• Negative %: The stock is trading below its 21 EMA. A very low number (e.g., $-10\%$) might suggest it is "oversold."
• Avg Strength: This gives you a bird's-eye view of the sector. If the aggregate is "5 Up / 2 Down" but the Avg Strength is only $+0.5\%$, the trend is weak and might be exhausting.
"Pro-tips" for tool:
• Multi-Timeframe Correlation: Try setting the Dashboard Timeframe to "D" (Daily) while trading on a "5m" or "15m" chart. This allows you to see if your intraday trade is aligned with the "Big Money" trend of the week.
• The 4/7 Rule: Watch for that Aggregate row to hit 4 out of 7. In the Mag 7, since these stocks carry so much weight in the SPY and QQQ, a shift to a majority (4+) often precedes a move in the overall market indices.
Moyenne mobile exponentielle (EMA)
5x Multi-Timeframe Moving AveragesSince I use EMA lines a lot and I typically want them based on one timeframe - say: D1 - while looking into higher or lower timeframes, I made this simple indicator:
- Up to 5 moving averages (SMA, EMA, ...)
- on chart timeframe or any defined timeframe (W, D, H4, H1, 30min, ...)
- each with user defined length / number of periods of calculation
- each in user defined line style, width and color.
Straight forward but very handy. Enjoy.
Juergen
Triple EMA + Key Levels [Scalping-Algo]TITLE: Triple EMA Day Trading System with Multi-Timeframe Support/Resistance Levels
DESCRIPTION:
📊 Overview
This indicator combines trend-following EMAs with key historical price levels to create a complete day trading toolkit. It helps traders identify trend direction while highlighting important support and resistance zones from multiple timeframes.
🎯 Purpose & Trading Application
Day traders often need to quickly assess:
1. Current trend direction (using EMAs)
2. Key price levels where reversals or breakouts may occur
This indicator solves both needs in one tool, reducing chart clutter from multiple indicators.
📈 How It Works
TREND IDENTIFICATION (EMAs):
- EMA 13 (Yellow): Fast EMA for short-term momentum and entry timing
- EMA 48 (Purple): Medium EMA for intraday trend direction
- EMA 200 (Red): Slow EMA for overall trend bias
Trading Logic:
- When price is above all 3 EMAs = Strong bullish bias
- When price is below all 3 EMAs = Strong bearish bias
- EMA crossovers signal potential trend changes
- The 13/48 crossover is particularly useful for intraday entries
SUPPORT & RESISTANCE LEVELS:
- Previous Day High/Low (Green, Solid): Most recent daily range - high probability reaction zones
- 2-Day High/Low (Blue, Dashed): Extended lookback for stronger levels
- Previous Week High/Low (Orange, Dotted): Major institutional levels
Why These Levels Matter:
Previous day and weekly highs/lows are watched by many traders and algorithms. Price often:
- Reverses at these levels (support/resistance)
- Accelerates through them (breakout trades)
🔧 How To Use
FOR TREND TRADING:
1. Identify bias using EMA stack (all 3 aligned = strong trend)
2. Look for pullbacks to EMA 13 or 48 for entries
3. Use key levels as profit targets
FOR REVERSAL TRADING:
1. Watch for price approaching previous day/week levels
2. Look for rejection candles at these levels
3. Use EMA 13 break as confirmation
FOR BREAKOUT TRADING:
1. Identify consolidation near key levels
2. Enter on break of level with volume
3. Use opposite level as target
⚙️ Settings
All parameters are fixed for simplicity:
- EMAs: 13, 48, 200 periods
- Levels: Previous Day, 2-Day, Previous Week
- All lines thickness: 2
📝 Notes
- Best used on intraday timeframes (1min to 1hour)
- Levels update automatically each day/week
- Labels on right side identify each level (PDH, PDL, 2DH, 2DL, PWH, PWL)
---
TAGS: ema, daytrading, support, resistance, levels, intraday, trend, scalping, swingtrading
Multi-TF EMA OverlayThis indicator allows to view EMA from multiple Time Frames on the same chart, regardless of the tife frame you are in.
Malama's DivergenceMalama's Universal Anchored M.A. (UMA+) is a comprehensive moving average utility that unifies over 28 different calculation methods into a single, adaptive framework.
Justification for this Combination (The Mashup): Traders often need to compare different smoothing algorithms (e.g., EMA vs. Hull vs. KAMA) to find the best fit for current market conditions. Standard platforms require swapping individual indicators, which is inefficient. Furthermore, most "Anchored" tools are limited to VWAP. This script solves these issues by housing a vast library of MA calculations in one engine and applying a custom "Universal Anchor" logic to all of them. This allows unique analysis, such as anchoring a Hull Moving Average to an earnings date.
How the Components Work Together:
Calculation Layer: The user selects an MA type (Simple, Adaptive, or Ehlers). The script computes this raw value based on the chosen length.
Anchor Layer: If "Anchored Mode" is enabled, the script monitors for the specific start condition (Date, Bar Index, or Start of Data). Upon detection, it resets the calculation array, forcing the MA to calculate only from that specific point forward.
Visualization Layer: The final output is color-coded based on the price's position relative to the MA (Green for Bullish, Red for Bearish) and displayed with an optional fill for trend clarity.
Dashboard Layer: Real-time values, deviation percentages, and trend status are fed into an on-chart table for quick reference.
Included MA Types:
Standard: SMA, EMA, WMA, TMA, VWMA, SMMA.
Low Lag: HMA (Hull), ZLEMA (Zero-Lag), DEMA, TEMA, T3.
Adaptive: KAMA (Kaufman), VIDYA (Chande), FRAMA (Fractal), McGinley Dynamic, Kalman Filter.
Ehlers: MAMA/FAMA, Cyber Cycle, Super Smoother, Laguerre, Reflex.
Strategy Idea: Stacking for Crossovers Because this script is a "Universal Framework," you can use it to build custom crossover strategies by adding it to your chart twice:
Add Instance 1: Set it to a fast, responsive type like Hull MA (Length 14).
Add Instance 2: Set it to a smooth, stable type like KAMA (Length 50).
Trade the Cross: Use the intersection of these two distinct mathematical models as a high-quality trend entry trigger.
Disclaimer: This tool is for educational analysis only. Trading involves risk.
Malama's Universal anchored M.A.Malama's Universal Anchored M.A. (UMA+) consolidates over 28 different moving average calculation methods into a single, unified framework. It introduces a unique "Anchored Mode" that allows traders to apply advanced smoothing algorithms—normally reserved for rolling windows—to specific fixed starting points in time.
Justification for this Combination (The Mashup): Standard platforms force traders to switch between dozens of separate indicators to compare different moving averages (e.g., swapping an EMA script for a Hull MA script). Furthermore, most "Anchored" tools are limited to VWAP. This script solves these limitations by:
Unifying Calculations: It houses the math for 28+ MA types (Simple, Exponential, Adaptive, and Ehlers filters) in one engine.
Universal Anchoring: It applies a custom anchoring logic to all these types, allowing you to anchor a Hull MA or a Kalman Filter to a specific news event—something impossible with standard tools.
How the Components Work Together:
Selection Layer: The user selects a calculation method (e.g., "KAMA") and a length.
Calculation Layer: The script computes the raw moving average value for the current bar based on the selected formula.
Anchor Layer: If "Anchored Mode" is enabled, the script detects the start condition (Time, Bar Index, or First Bar). It resets the calculation arrays at that specific point, treating it as the "zero" bar for the moving average math.
Visualization Layer: The final output is dynamically colored based on price position (Price > MA = Bullish) and displayed with an optional trend fill.
Included MA Types:
Standard: SMA, EMA, WMA, TMA, VWMA, SMMA.
Low Lag: HMA (Hull), ZLEMA (Zero-Lag), DEMA, TEMA, T3.
Adaptive: KAMA (Kaufman), VIDYA (Chande), FRAMA (Fractal), McGinley Dynamic, Kalman Filter.
Ehlers: MAMA/FAMA, Cyber Cycle, Super Smoother, Laguerre, Reflex.
Strategy Idea: Stacking for Crossovers Because this script is a "Universal Framework," you can add it to your chart twice to build custom strategies:
Add UMA+ Twice.
Set Instance 1 (Fast): Select a responsive type like Hull MA (Length 14).
Set Instance 2 (Slow): Select a smooth type like KAMA (Length 50).
Trade the Cross: Use the intersection of these two distinct mathematical models as a trend entry trigger.
Disclaimer: This tool is for educational analysis only. Trading involves risk.
Livermore AI EMA S/R Channel with VWAP Malama's Livermore AI EMA S/R Channel is a comprehensive trend-following and reversal detection system inspired by Jesse Livermore's legendary trading principles, modernized with advanced algorithmic filtering. This enhanced version integrates multiple layers of confirmation to filter noise and identify high-probability setups.
Why this is useful: Trading purely on price action or basic moving averages often leads to whipsaws. This script solves that by requiring Confluence. A signal is only generated when Trend (EMA/VWAP), Momentum (RSI/MACD), Volume (Spikes), and Structure (Pivots/Support & Resistance) all align.
Key Features:
Dynamic Support & Resistance Engine: Automatically identifies key levels using a cluster of significant EMAs (9, 24, 50, 200) and VWAP. The script actively monitors price interaction with these levels to detect "Bounces" and "Breakouts."
Smart Pivot Detection: Uses a customizable lookback to find significant swing highs and lows, marking them as breakout triggers.
Multi-Layered Filtering:
Trend: Checks alignment with the 9/24 EMA Channel and optional Single EMA/VWAP filters.
Momentum: Optional "Enhanced Signal Processing" uses RSI and MACD to confirm trend strength.
Volume: Detects volume spikes relative to a moving average to ensure institutional participation.
ADX: Filters out choppy, low-momentum markets.
Live Intelligence Dashboards:
Debug Table: Shows the real-time status of every filter (ADX strength, RSI zone, Volume spike status, and nearest S/R levels).
Alert Table: Logs recent signals and bounces directly on the chart, so you never miss a historical setup.
How to Use:
Trend Following: Look for "BUY" or "SELL" labels. These appear when price breaks a pivot in the direction of the trend with volume and momentum confirmation.
Reversal Trading: Monitor the "Bounce" alerts in the table. These indicate price is respecting a key EMA or VWAP level, offering a low-risk entry point.
Risk Management: Use the EMA Channel (Green/Red fill) as a dynamic trailing stop zone.
Settings:
Filters: Toggle specific filters (ADX, Volume, Enhanced Signals) on or off to adjust sensitivity.
Display: Customize which EMAs and tables are visible to keep your chart clean.
Disclaimer: This indicator is a tool for analysis, not a guarantee of future performance. Always use proper risk management.
Malama's Quantum Fusion Malama's Quantum Fusion is a unified trading system that integrates swing-based probability zones, multi-timeframe trend confirmation, and a reversal signal engine into a single indicator.
Originality & Concept: Unlike standard indicators that fire signals based on a single condition (like an RSI cross), this script uses a Weighted Superposition Model. It normalizes multiple independent data streams—Momentum, Volume, Trend, and Volatility—into a single 0-100% "Confidence Score." A signal is only generated when this score exceeds a statistical threshold, effectively filtering out false signals in choppy markets.
Underlying Calculations & Logic:
1. The "Probability Zone" Engine (The Context) The script calculates a dynamic probability score for every bar based on three weighted components:
Regime-Adjusted Oscillators: It calculates RSI (14) and MFI (14). Crucially, the script uses ADX to detect the market regime.
In Trends (ADX > 25): Oscillators are weighted for momentum (buying strength).
In Ranges (ADX < 20): Oscillators are weighted for mean reversion (buying oversold).
Wave Deviation: It measures the distance of price from a central 50-period EMA Wave. The further price deviates, the higher the "Reversion Probability" score.
Swing Pivots: It identifies local tops and bottoms (10-bar lookback). Proximity to these pivots adds to the Zone Score.
2. The Reversal Signal Engine (The Trigger) The "BUY" and "SELL" diamonds are not random; they require a strict confluence of events:
Candle Pattern: Price must close above the Fast EMA (9) while the Candle High > Previous High.
Trend Cloud: The move must align with the Dual-Supertrend Cloud (Fast Factor 1.5, Slow Factor 3.0).
3. Signal Filters (Safety Mechanisms) To prevent trading in poor conditions, the script applies five specific filters (customizable in settings):
Volume Spike Filter: Signals are blocked unless current Volume > (Average Volume * 1.5). This ensures institutional participation.
Chop Filter (ADX): Signals are blocked if ADX < 20, preventing trades during sideways "noise."
Risk Filter: Signals are blocked if the candle range (High - Low) exceeds a user-defined point threshold, preventing entries on overextended "exhaustion" candles.
Cloud Alignment: Trades must align with the Supertrend Cloud color (Green for Buys, Red for Sells).
Zone Proximity: Signals are only valid if price is within 2.0x ATR of a Key Support/Resistance Zone.
4. Multi-Timeframe (MTF) Trend Alignment To prevent trading against the dominant trend, the script pulls data from higher timeframes (e.g., Weekly trend for Daily charts) using non-repainting security calls. Signals are suppressed if they contradict the higher-timeframe Supertrend direction.
How to Use:
The Dashboard: Monitor the "Prob" (Probability) and "Conf" (Confidence) columns. A score > 75% indicates a high-probability reversal zone.
The Signal: Wait for a Diamond (◆) signal.
Green Diamond: Bullish Entry (Price broke resistance + Trend Aligned + High Probability Zone).
Red Diamond: Bearish Entry (Price broke support + Trend Aligned + High Probability Zone).
Risk Management: Use the dotted Stop Loss lines drawn at the recent Swing High/Low for trade invalidation.
Disclaimer: This script uses request.security for MTF data with lookahead=barmerge.lookahead_off to ensure no repainting occurs. All calculations are performed on confirmed closed bars.
Kuber Zones and LevelsKuber Zones and Levels is a professional market-structure and level-mapping indicator designed for traders who focus on price behavior, balance zones, and higher-timeframe context.
The indicator dynamically maps key price areas, market equilibrium regions, and extended levels using completed market cycles, helping traders identify important reaction zones across intraday and positional timeframes.
Key Highlights
Multi-Timeframe Market Zones
Automatically plots important bullish, bearish, and equilibrium regions derived from completed market cycles.
Confirmed & Stable Levels
All zones and levels are calculated using confirmed data only. Once formed, they remain stable and do not repaint.
Advanced Level Mapping
Displays extended price levels aligned with the same market cycle used for zones, maintaining structural consistency.
Dynamic Price Channels
Adaptive bands that respond to changing market conditions and volatility.
Trend Structure Visualization
Clean, smoothed price representation to help identify directional bias and market rhythm.
Crandall CrossThe Crandall Cross indicator is an Exponential Moving Average (EMA) and Stop And Reverse (SAR) combination indicator. It uses the EMA200, EMA20, and a unique SAR Projection. Typically, SAR indicators are represented as dots, but this SAR is a line that projects Parabolic Strength based on 3 time-period groupings. The indicator essentially implements a simple EMA cross strategy while using an SAR Projection as confirmation.
How to Use
A Buy Signal will most likely appear when the EMA20 (pink) crosses over the EMA200 (yellow) and the price is above the SAR Projection (blue).
A Sell Signal will most likely appear when the EMA20 (pink) crosses under the EMA200 (yellow) and the price is below the SAR Projection (blue).
The Buy/Sell Signals can appear later because they require SAR confirmation.
Note This indicator neither gives financial advice nor does it guarantee investment success. Invest at your own discretion.
Multi-MA SuiteMulti-MA Suite - Customizable Moving Averages Indicator
Overview
Multi-MA Suite is a comprehensive moving average indicator that combines both Exponential Moving Averages (EMAs) and Simple Moving Averages (SMAs) in a single, highly customizable tool. Designed for traders who rely on multiple timeframe analysis, this indicator provides up to 9 moving averages (5 EMAs + 4 SMAs) with full control over visibility, color schemes, and parameters.
Key Features
✓ Dual MA Types:
5 Exponential Moving Averages (EMAs) - Responsive to recent price action, ideal for short to medium timeframes
4 Simple Moving Averages (SMAs) - Slow and stable, specifically designed for long timeframe analysis
✓ Full Customization:
Individual toggle switches to show/hide each moving average
Custom color picker for each MA line
Adjustable length and source for all moving averages
Progressive line width (thicker lines for longer periods)
✓ Pre-configured Defaults:
EMA: 9, 21, 50, 100, 200 (common swing trading periods)
SMA: 50, 100, 200, 300 (institutional reference levels for long-term trends)
Color-coded scheme: Warm colors (yellow-orange) for EMAs, Cool colors (blue-purple) for SMAs
✓ Clean Interface:
Organized input groups for easy navigation
Clear labeling and logical parameter ordering
Minimal chart clutter with toggle controls
Key Difference - Speed & Timeframe:
EMAs: Fast and reactive → Best for short to medium timeframes (1-min to 4-hour charts)
SMAs: Slow and smooth → Best for long timeframes (daily, weekly, monthly charts)
Recommended Settings
Day Trading (Short Timeframes):
Focus on EMAs: 9, 21, 50
Use 1-minute to 15-minute charts
SMAs react too slowly for intraday timeframes
Swing Trading (Medium Timeframes):
Use all EMAs with SMA 50 and 200
1-hour to daily charts work best
Mix of EMAs for entries, SMAs for trend context
Position Trading (Long Timeframes):
Focus primarily on SMAs: 50, 100, 200, 300
Daily to weekly charts recommended
SMAs excel here due to their slow, stable nature
Can add EMA 200 for comparison
Investment Analysis (Very Long Timeframes):
SMAs only: 100, 200, 300
Weekly to monthly charts
SMA's slow calculation filters noise perfectly for long-term trends
EMA Timeframe-Specific Recommendations
📌 Important Notes on EMA Usage by Timeframe:
Small Timeframes (5-minute and 15-minute charts):
Use 9 EMA and 21 EMA
These fast EMAs respond quickly to price changes
Perfect for scalping and day trading
The 9/21 EMA crossover is a popular day trading strategy
Medium Timeframes (1-hour to 4-hour charts):
Use 21 EMA and 50 EMA
Balances responsiveness with trend reliability
Ideal for swing trading and intraday position holding
The 21/50 EMA combination filters out noise while staying responsive
Long Timeframes (Daily and Weekly charts):
Use 50 EMA and 200 EMA
The classic trend-following combination
50 EMA for medium-term trend, 200 EMA for major trend
The 50/200 EMA crossover is known as the "Golden Cross" (bullish) or "Death Cross" (bearish)
For very long-term analysis on these timeframes, consider using SMAs instead
Quick Reference Guide:
5m / 15m: EMA 9 & 21
1h / 4h: EMA 21 & 50
1D / 1W: EMA 50 & 200 (or switch to SMAs for even smoother signals)
Practical Trading Strategy with EMAs
📌 Why Use EMAs for Active Trading:
For active trading, use EMAs because they have faster movement compared to SMAs. This faster response to price changes allows you to catch trends earlier and exit trades before major reversals occur.
Three-EMA Trading System:
1. 9 EMA - Quick Trend Recognition:
Use the 9 EMA to understand the trend quickly
When price is above 9 EMA = Short-term uptrend
When price is below 9 EMA = Short-term downtrend
The 9 EMA reacts immediately to price momentum changes
Perfect for entry timing and quick trend identification
2. 21 EMA - Exit Signal and Trend Confirmation:
When the 21 EMA breaks (price crosses it), exit your trade
This is critical because when the 21 EMA breaks, the trend will likely reverse
The 21 EMA acts as your "stop-loss line"
Breaking the 21 EMA signals that the short-term momentum has shifted
Example: In an uptrend, when price crosses below 21 EMA, exit longs immediately
Example: In a downtrend, when price crosses above 21 EMA, exit shorts immediately
3. 50 EMA - Full Correction Understanding:
Use the 50 EMA to understand the complete correction
The 50 EMA shows where the full pullback or correction might end
When price reaches the 50 EMA, it often bounces (in a strong trend)
Breaking the 50 EMA indicates a deeper correction or potential trend reversal
Use it to gauge the strength of the overall trend
Customization Tips
Toggle unnecessary MAs off to reduce chart clutter based on your trading style and timeframe
For the 3-EMA trading strategy, enable only 9, 21, and 50 EMAs
For long timeframes (daily+), disable EMAs and use only SMAs to avoid over-reactive signals
Match your EMA selection to your timeframe using the guide above
Adjust colors to match your chart theme or to highlight specific MAs
Modify lengths to fit specific market conditions or asset volatility
Change source from close to high/low/HL2 for alternative perspectives
Use thicker lines for key decision MAs (edit linewidth in settings)
Color Scheme Rationale
EMAs (Warm Colors):
Yellow → Orange progression represents increasing timeframes while maintaining visual cohesion. The warm palette signals "active" or "fast-reacting" nature of EMAs, perfect for shorter timeframes and active trading.
SMAs (Cool Colors):
Blue → Purple progression provides clear visual distinction from EMAs. The cool palette suggests "stable," "slow," and "smooth" characteristics of SMAs, ideal for long timeframe analysis.
What Makes This Different?
Unlike basic MA indicators, Multi-MA Suite provides:
Both EMA and SMA in one indicator (saves indicator slots)
Optimized MA selection based on speed characteristics - fast EMAs for short timeframes, slow SMAs for long timeframes
Clear timeframe-specific EMA recommendations for immediate use
Practical trading strategy included - 9 EMA for trend, 21 EMA for exit, 50 EMA for corrections
Individual control over each MA (toggle, color, parameters)
Thoughtful default settings based on widely-used trading periods
Color-coded system for instant visual differentiation
Clean, organized interface for efficient workflow
Installation & Usage
Add the indicator to your chart
Open indicator settings to customize
For active trading: Enable 9, 21, and 50 EMAs (the recommended trading system)
Select appropriate MAs for your timeframe (use the EMA timeframe guide above)
Toggle MAs on/off based on your analysis needs
Adjust colors if desired to match your chart theme
Modify lengths and sources as needed for your strategy
⚠️ IMPORTANT DISCLAIMER
EDUCATIONAL AND INFORMATIONAL PURPOSES ONLY
This indicator and its accompanying documentation are provided for educational and informational purposes only. The content does not constitute financial advice, investment advice, trading advice, or any other sort of advice, and you should not treat any of the indicator's content as such.
NO GUARANTEE OF RESULTS
Past performance is not indicative of future results. The strategies, techniques, and concepts discussed herein are provided "as is" without any warranty of any kind. Trading and investing in financial markets involves substantial risk of loss and is not suitable for every investor.
RISK ACKNOWLEDGMENT
You can lose money trading: Trading stocks, forex, futures, options, cryptocurrencies, and other financial instruments carries a high level of risk and may not be suitable for all investors. You may sustain a total loss of your investment.
No guaranteed profits: The use of moving averages or any technical indicator does not guarantee profitable trades. Markets can remain irrational longer than you can remain solvent.
Lagging indicators: All moving averages are lagging indicators based on historical price data and may not predict future price movements.
False signals: Moving averages can produce false signals, especially in choppy, sideways, or low-volume market conditions.
YOUR RESPONSIBILITY
Do your own research: Before making any trading or investment decision, you should conduct your own research and due diligence.
Consult professionals: Consider seeking advice from qualified financial advisors, certified public accountants, or licensed professionals before making financial decisions.
Risk management: Always use proper risk management, including stop-losses, position sizing, and diversification.
Demo trading: Test any strategy on a demo account before risking real capital.
Understand the markets: Ensure you fully understand the markets you're trading and the risks involved.
PERSONAL TRADING DECISIONS
All trading decisions are made at your own discretion and at your own risk. You are solely responsible for all trading decisions you make. The strategies mentioned (including the 9/21/50 EMA system) are examples only and should not be followed blindly without proper testing and risk assessment.
MARKET CONDITIONS VARY
Market conditions change constantly. What works in one market condition may not work in another. Trending strategies (like the ones discussed) typically perform poorly in ranging markets. Adapt your approach based on current market conditions.
USE AT YOUR OWN RISK
By using this indicator, you acknowledge that you have read this disclaimer and agree to be bound by its terms. If you do not agree with any part of this disclaimer, do not use this indicator.
CM's Multi Moving AverageMulti interval and timeframe moving averages in a single indicator, plus VWAP.
CloverKnight## CloverKnight (4H Inside Bar Breakout) — Description for Publishing
**CloverKnight** is a 4H-only inside-bar breakout indicator that identifies **Nested** or **Chained** inside-bar patterns (children candles inside a “mother” candle), then suggests a breakout entry with **EP / SL / TP** and shows a performance summary (Win/Draw/Loss, Win Rate, and ORPT) for a selected backtest window.
This script is designed for traders who want a clean, rule-based inside-bar breakout with optional filters and risk sizing calculations.
---
## What it does
### 1) Inside Bar Pattern Detection
CloverKnight detects inside-bar structures with two pattern styles:
* **Nested**: all child candles must be inside the same mother candle
* **Chained**: each child candle must be inside the previous candle
You control how many child candles are required via **Inside Bar Count**.
### 2) Direction Logic (Buy/Sell)
Direction can be determined by:
* **Last** candle direction
* **Mother** candle direction
* **Vote** (majority of bull/bear candles across mother + children)
You can also restrict trading signals via **Trade Side**:
* Both / Buy Only / Sell Only
### 3) Optional EMA200 Direction Filter
If enabled:
* Buy signals only when price is above EMA
* Sell signals only when price is below EMA
### 4) Day-of-Week Filter
You can allow or block signals by weekday (Mon–Sun).
### 5) Risk & Position Size Estimation
For each valid signal, the script calculates:
* **SL distance (pips)** based on mother range
* **Lot size** based on:
* Account Balance
* Risk per Trade (%)
* Pip Value per 1.0 lot (user input)
> Note: This is an estimation tool. Pip value depends on broker/symbol/contract size.
### 6) Trade Simulation & Outcome Tracking (Simple Backtest)
The script simulates a simplified trade lifecycle:
* Signal creates a **pending** breakout order
* Trade triggers when price hits EP
* Outcomes:
* **Win** if TP hit
* **Loss** if SL hit
* **Draw (BE)** if price reaches **+1R**, then returns to EP
### 7) Summary Table (Top Right)
A compact table shows:
* **W / D / L**
* **WR** (Win Rate)
* **MCL** (Max Consecutive Losses)
* **ORPT** (Optimized Risk Per Trade)
---
## Backtest Modes
### A) Years Mode
Backtest only within the last **X years** (default 5, max 10).
Stats reset when a new “Years window” begins.
### B) Trades Mode
Backtest based on last **N completed trades** (default 100, max 500).
This mode uses a rolling array of outcomes.
---
## Inputs (Quick Guide)
**Pattern**
* Inside Bar Count (Only Children)
* Inside Pattern Type: Nested / Chained
* Direction Source: Last / Mother / Vote
* Trade Side: Both / Buy Only / Sell Only
**Backtest**
* Backtest Mode: Years / Trades
* Lookback (Years) / Lookback (Trades)
**Filters**
* Max SL distance (pips): ignore signals with SL larger than this (0 = no limit)
* EMA200 filter: show line + enable/disable filter
* Day-of-Week filter: allow selected days only
**Risk & Sizing**
* Account Balance
* Risk per Trade (%)
* Maximum Drawdown (%) for ORPT
* Pip Value per 1.0 Lot (adjust per symbol)
**UI**
* Font Size: Tiny / Small / Normal / Large / Huge
* Label Offset Multiplier: controls label distance from pattern range
---
## How to use
1. Apply the indicator on **4H timeframe** (required).
2. Tune **Inside Bar Count** and pattern type to match your style.
3. Enable filters (EMA / Day-of-Week) if you want cleaner signals.
4. Set your **Account Balance**, **Risk %**, and **Pip Value per Lot** for realistic sizing.
5. Use the label output (EP/SL/TP) and the summary table to evaluate behavior over your selected backtest window.
---
## Alerts
The script triggers an alert when a valid signal is found (once per bar), including:
* Buy Stop / Sell Stop
* EP / SL / TP
* RRR and estimated lot sizing
---
## Important Notes / Limitations
* **Timeframe restriction**: This script is intended for **4H only**. It will not operate correctly on other timeframes.
* **Simulation limitation**: This is not a broker-grade backtest engine. It uses candle-based logic (high/low) and simplified assumptions.
* **Lot sizing is approximate**: Pip value varies by symbol and broker contract settings. Always verify before trading.
* This indicator **does not place real orders** (not a strategy, not an EA).
Advanced Algo [From India]Here is a **shortened, more concise, and TradingView-ready version** of the description, with
**“TG – SWIFT Algo V1.1” replaced by “Advanced Algo ”** and explanations tightened while keeping clarity and professionalism.
---
🙏 Introduction & Gratitude
> *I have taken so much from this TradingView community over the years — ideas, learning, and inspiration.
> It’s time to give back a small contribution with gratitude.*
**Advanced Algo ** is a **non-repainting, rule-based intraday indicator** designed primarily for **crypto markets**, optimized for **5-minute and 15-minute timeframes**.
The goal is to provide **clean signals, disciplined trade structure, and consistent execution logic**.
---
📌 Indicator Overview
**Advanced Algo **:
* Generates **confirmed BUY / SELL signals**
* Automatically plots **Entry, Take-Profit, and Stop-Loss levels**
* Maintains **one active trade at a time** to avoid over-trading
* Tracks results via a **lightweight statistics table**
This is a **decision-support tool**, not a prediction system or financial advice.
---
## ⚙️ High-Level Logic
### 1️⃣ Adaptive Moving Average Engine
The indicator compares two adaptive moving averages:
* **Fast MA** (close-based)
* **Slow MA** (open-based)
Selectable MA types:
* **TEMA**
* **Hull MA**
* **ALMA** (default – low lag & smooth)
A small **price delay** is applied to ensure **true non-repainting behavior**.
---
### 2️⃣ Signal Generation (Confirmed Bars Only)
* **BUY** → Fast MA crosses above Slow MA
* **SELL** → Fast MA crosses below Slow MA
Signals are generated **only after candle confirmation**.
---
### 3️⃣ Trade Lifecycle Control
Once a trade starts:
* Entry price is fixed
* TP & SL are calculated using percentage inputs
* No new trades are allowed until the current trade exits
This prevents signal clustering and emotional over-trading.
---
### 4️⃣ Intrabar TP & SL Handling
Although entries are bar-confirmed:
* **Take-Profit and Stop-Loss execute intrabar**
* Trades exit immediately when price is touched
This closely matches real-market behavior on lower timeframes.
---
## 📊 Visuals & Statistics
* **Blue** → Entry
* **Purple** → Take Profit
* **Maroon** → Stop Loss
* Green & red fills show reward and risk zones
Optional labels mark:
* Entries
* TP hits
* SL hits
A simple stats table tracks:
* Buy TP / Sell TP
* Buy SL / Sell SL
---
## ⏱ Recommended Usage
**Best suited for:**
* Crypto markets (BTC, ETH, liquid altcoins)
* **5m and 15m timeframes**
* Trending or moderately volatile conditions
**Tips:**
* Start with default settings
* Adjust TP & SL based on volatility
* Avoid low-volume or highly ranging markets
---
## 🔔 Alerts & Automation
The script includes structured alerts for:
* Entries
* TP & SL exits
These can be used for **manual alerts or automated execution workflows**.
---
## ⚠️ Disclaimer
* No indicator guarantees profits
* Always backtest and forward-test before live trading
* Proper risk management is essential
This script is shared **for educational and analytical purposes only**.
---
## 🤝 Closing Note
If this tool adds structure or clarity to your trading, then it has fulfilled its purpose.
Feedback and constructive suggestions are always welcome.
**Trade responsibly and stay disciplined.**
High-Probability Scalper (Market Open)Market open is where volatility is real, spreads are tight, and momentum shows itself early. This scalping strategy is built specifically to operate during that window, filtering out low-quality signals that usually appear later in the session.
Instead of trading all day, the logic is restricted to the first 90 minutes after market open, where continuation moves and fast pullbacks are more reliable.
What This Strategy Does
This script looks for short-term momentum alignment using:
Fast vs slow EMA structure
RSI confirmation to avoid chasing extremes
ATR-based risk control
Session-based filtering to trade only when volume matters
It’s designed for intraday scalping, not swing trading.
Core Trading Logic
1. Market Open Filter
Trades are allowed only between 09:30 – 11:00 exchange time.
This avoids low-liquidity chop and focuses on the period where most breakouts and reversals form.
2. Trend Confirmation
Bullish bias: 9 EMA crosses above 21 EMA
Bearish bias: 9 EMA crosses below 21 EMA
This keeps trades aligned with short-term direction instead of random entries.
3. Momentum Check (RSI)
RSI is used as a quality filter, not as an overbought/oversold signal.
Long trades only when RSI is strong but not extended
Short trades only when RSI shows weakness without exhaustion
This removes late entries and reduces whipsaws.
Entries & Exits
Entries
Executed only on confirmed candles
No intrabar repainting
One position at a time
Risk Management
Stop-loss based on ATR
Take-profit calculated using a fixed risk–reward ratio
Same structure for both long and short trades
This keeps risk consistent across different symbols and volatility levels.
Why This Strategy Works Better at Market Open
Volume is highest
False breakouts are fewer
EMA crosses have follow-through
RSI behaves more cleanly
By not trading all day, the strategy avoids most of the noise that kills scalpers.
Best Use Cases
Index futures
High-liquidity stocks
Major crypto pairs during active sessions
1m to 5m timeframes
What This Strategy Is NOT
Not a martingale
Not grid-based
Not designed for ranging markets
Not a “set and forget” system
It’s a controlled scalping template meant for disciplined execution.
How to Use It Properly
Test on multiple symbols
Adjust ATR length for volatility
Tune RSI ranges per market
Always forward-test before live alerts
Final Note
This strategy focuses on structure, timing, and risk, not indicator stacking.
If you trade the open, this gives you a clear framework instead of emotional entries.
If you want:
Alerts
Session customization
News filters
Partial exits
You can extend this logic without breaking the core system.
Trade Secrets by Pratik - Dual Intraday StrategyThe "Trade Secrets by Pratik" strategy is a high-momentum, dual-direction trading system designed to capture explosive moves after brief market pullbacks. It relies on a rigorous combination of trend-following moving averages and a strength filter.
1. Core Concept
The strategy identifies "Clean Pullbacks"—brief pauses in a strong trend where the price stays strictly away from the short-term average (10 EMA). This indicates extreme momentum, as buyers (in an uptrend) or sellers (in a downtrend) are too aggressive to allow a deeper correction.
2. Technical Filters
Trend Direction: Price must be above both 10 and 35 EMAs for Buys, and below both for Sells.
Strength Filter (RSI): Requires an RSI > 60 for Longs (to ensure high demand) and RSI < 40 for Shorts (to ensure heavy selling pressure).
3. Trade Execution
The Setup: Look for a "Floating Candle"—a Red candle for Buys or a Green candle for Sells that does not touch the 10 EMA.
The Trigger: A trade is entered only if the very next candle breaks the "Setup Candle's" high (Buy) or low (Sell).
Risk-Reward: Aim for a fixed 1:3 Ratio, ensuring that one winner covers three losing trades.
4. Safety Logic
The system includes a "No-Same-Candle-Exit" rule, preventing the script from triggering a Stop Loss on the same bar as the Entry. This filters out immediate price "whipsaws" and ensures the trade has room to develop.
Instant Start EMA RibbonHave you noticed that EMAs on Tradingview start to appear on chart after the number of candles required by the EMA has fulfilled?
Example, 200 EMA shows up only when 200 candles have been printed on the canvas irrespective of the timeframe.
You might also have noticed that in some other charting software, the EMAs start from the very first candle of the instrument/asset class, a good example is a newly listed stock. And then the EMA automatically aligns itself once the amount of candles required by the EMA is fulfilled.
So if you want similar behavior of EMAs on Tradingview, you can use this "Instant Start EMA Ribbon" specifically coded in Pinescript to exactly and accurately mimic the behavior of EMAs like the other software. You can check that EMAs with this custom indicator start from the very first candles after listing of the instrument/asset class. This indicator will optimize the EMAs and work as a normal EMA once the amount of candles required are fulfilled, until then, it will use custom parameters to calculate the EMAs (that is the available current candle data).
Tip: You can change the values and colors of EMAs from the indicator settings.
Disclaimer/Warning: This indicator does not provide Buy/Sell signals or nor is an investment advice. This indicator solely for the purpose of study of price and Exponential Moving Averages. Users are responsible for their own actions, profit/loss of the users is not the liability of author.
S&D Trend Pullback StrategyThis is simple indicator for myself to alert me when in trend pullback and entry.
Use in M5 chart.
SL put 30-50pips
TP can set 30-90pips
Peace of Mind Trader: MA Trend SystemPeace of Mind Trader: MA Trend System
ระบบนี้ถูกออกแบบมาเพื่อให้การดูเทรนด์เป็นเรื่องง่ายและ "สบายใจ" ที่สุด (Peace of Mind) โดยลดความซับซ้อนของการตีเส้นกราฟ ช่วยให้คุณโฟกัสกับภาพใหญ่ของตลาดได้ทันที ด้วยหลักการ EMA Cross ที่เรียบง่ายแต่ทรงพลัง
ฟีเจอร์หลัก:
- Trend Ribbon (แถบสีบอกเทรนด์): แสดงพื้นที่ระบายสีระหว่างเส้น EMA สองเส้น เปลี่ยนสีเขียว/แดงตามแนวโน้ม ช่วยให้มองแวบเดียวก็รู้ว่าตลาดเป็นขาขึ้นหรือขาลง
- สัญญาณซื้อขายที่ชัดเจน:
ขึ้นป้าย "🟢 BULL" เมื่อเริ่มเข้าสู่เทรนด์ขาขึ้น
ขึ้นป้าย "🔴 BEAR" เมื่อเริ่มเข้าสู่เทรนด์ขาลง
- พิเศษ: มีฟังก์ชัน "Show Signal History" สามารถเลือกปิดประวัติเก่าๆ เพื่อให้โชว์แค่ "สัญญาณล่าสุด" เพียงอันเดียวได้ (ทำให้กราฟสะอาดตามาก)
- Dashboard สถานะ: ตารางสรุปมุมขวาล่าง (ปรับตำแหน่งได้) บอกสถานะปัจจุบันทันทีว่าควร Buy หรือ Sell
- เปลี่ยนสีแท่งเทียนอัตโนมัติ: ระบบจะย้อมสีแท่งเทียนให้เป็นสีเขียว/แดงตามเทรนด์ เพื่อลดความสับสนช่วงที่กราฟย่อตัว
วิธีใช้งาน:
🟢 โซนสีเขียว: โฟกัสหน้า Buy หรือถือรันเทรนด์ต่อไป
🔴 โซนสีแดง: โฟกัสหน้า Sell หรือถือเงินสดรอจังหวะ
การตั้งค่า: สามารถปรับค่า EMA และสีต่างๆ ได้ตามสไตล์การเทรดของคุณ
ขอให้มีความสุขกับการเทรดแบบ Peace of Mind ครับ
พีร์ Peace of Mind Trader
-------------
English Description
Peace of Mind Trader: MA Trend System
This indicator is designed to simplify your trading routine by visualizing the market trend clearly and effectively. Built on the classic logic of Moving Average crossovers (EMA), it helps you stay on the right side of the market without the noise.
Key Features:
Trend Ribbon: A visual fill between the Fast and Slow EMA that changes color based on the trend (Green for Bullish, Red for Bearish). This makes it easy to spot the strength and direction of the trend at a glance.
Clear Buy/Sell Signals:
Displays "🟢 BULL" labels when the Fast EMA crosses above the Slow EMA.
Displays "🔴 BEAR" labels when the Fast EMA crosses below the Slow EMA.
New Feature: You can toggle "Show Signal History". Uncheck this option to keep your chart clean by showing only the latest active signal.
Status Dashboard: A customizable panel on the chart (position adjustable) that tells you the current market status immediately (BULL or BEAR).
Trend-Colored Candles: Automatically colors the candlesticks to match the trend, helping you filter out noise during corrections.
How to Use:
Green Zone (Bullish): Look for buying opportunities or hold your position (Run Trend).
Red Zone (Bearish): Look for selling opportunities or stay in cash.
Settings: You can adjust the EMA lengths and all visual colors to fit your personal trading style.
Trade with Logic, Profit with Peace.
Val FXIndicator combining 3 moving averages (SMA/EMA selectable) and Bollinger Bands. Default lengths: 20, 50, 200. All parameters are customizable.
EMA 50 Cross Alert“You can set an alert when price crosses the EMA, and you can also choose which EMA length you want to use.”
EMA Trend Following Strategy🎯 EMA TREND FOLLOWING STRATEGY
A simple yet powerful trend-following strategy designed for 1-hour timeframes across multiple markets including cryptocurrencies, commodities, indices, and forex pairs.
📊 STRATEGY LOGIC
This strategy is based on the classic moving average crossover technique, one of the most reliable trend-following methods in technical analysis:
- LONG ENTRIES: When the fast EMA crosses above the slow EMA, indicating the beginning of an uptrend
- SHORT ENTRIES: When the fast EMA crosses below the slow EMA, indicating the beginning of a downtrend
- EXITS: Positions are closed when the opposite crossover occurs, capturing the trend reversal
🛡️ RISK MANAGEMENT
The strategy includes professional risk management features:
- Dynamic stop-loss based on market volatility
- Automatic position sizing to risk only a fixed percentage per trade
- Optional take-profit levels for securing gains
- Customizable risk parameters to fit your trading style
⚙️ RECOMMENDED SETTINGS
- Timeframe: 1 Hour (H1)
- Fast EMA: 20 periods
- Slow EMA: 50 periods
- Risk per trade: 1-2% of capital
- Stop-loss: 2x ATR (Average True Range)
💡 BEST USE CASES
This strategy works particularly well on:
✅ BTC/USD and major cryptocurrencies
✅ GOLD and precious metals
✅ S&P 500, NASDAQ, and major indices
✅ EUR/USD, GBP/USD and major forex pairs
⚠️ IMPORTANT NOTES
- Always backtest on your specific market before live trading
- Past performance does not guarantee future results
- Use appropriate position sizing and never risk more than you can afford to lose
- This strategy works best in trending markets
📈 Perfect for swing traders and those looking for a systematic approach to capture market trends!






















