[ARN]Reversal finderThe script is designed to identify potential reversal points in the market using a 5-period Exponential Moving Average (EMA) and specific candlestick patterns. Below is a detailed breakdown of the script:
1. Inputs and Settings
Toggle for 5 EMA:toggle5EMA = input.bool(true, title="Show 5 EMA")
This allows the user to enable or disable the display of the 5 EMA on the chart.
EMA Length: emaLength5 = 5
The length of the EMA is fixed at 5 periods.
2.EMA Calculation: EMA Value: emaValue5 = ta.ema(close, emaLength5)
The script calculates the 5-period EMA using the closing price of the candles.
EMA Color: emaColor5 = emaValue5 > emaValue5 ? color.green : color.red
The color of the EMA line is determined by its direction:
- Green if the current EMA value is greater than the previous EMA value (uptrend).
- Red if the current EMA value is less than the previous EMA value (downtrend).
Plotting the EMA: plot(toggle5EMA ? emaValue5 : na, title="5 EMA", color=emaColor5,
linewidth=2)
The EMA is plotted on the chart if the toggle is enabled (`toggle5EMA` is `true`).
3. Candle Color Identification: Green Candle:close > open; Red Candle:close < open
4. Signal Candle Identification:
Long Signal Candle: signalLong5 = isGreen and (low < emaValue5 and high < emaValue5)
A long signal candle is a green candle where both the low and high prices are below the 5
EMA. This suggests a potential bullish reversal.
Short Signal Candle: signalShort5 = isRed and (low > emaValue5 and high > emaValue5)
A short signal candle is a red candle where both the low and high prices are above the 5
EMA. This suggests a potential bearish reversal.
5. Confirmation Candle Identification:
confirmationCandleLong5 = signalLong5 and isGreen and (low <= emaValue5 and high >=
emaValue5)
A confirmation candle for a long signal is a green candle that occurs after a long signal
candle. It must touch or cross the 5 EMA (i.e., the low is below the EMA and the high is above
the EMA).
Confirmation Candle for Short:confirmationCandleShort5 = signalShort5 and isRed and (low
<= emaValue5 and high >= emaValue5)
A confirmation candle for a short signal is a red candle that occurs after a short signal
candle. It must touch or cross the 5 EMA (i.e., the low is below the EMA and the high is above
the EMA).
6. Plotting Buy/Sell Signals: A green triangle is plotted below the confirmation candle for a
long signal and a pink triangle is plotted above the confirmation candle for a short signal.
How the Script Works:
1. The script calculates the 5 EMA and plots it on the chart.
2. It identifies signal candles (candles that do not touch the 5 EMA) and confirmation candles (candles that touch or cross the 5 EMA).
3. Buy and sell signals are generated based on the confirmation candles.
4. Stop-loss levels are plotted for each signal to help manage risk.
Customization:
- You can adjust the `extendBars` variable to change how far the stop-loss lines extend.
- You can modify the colors and styles of the EMA, signals, and stop-loss lines to suit your preferences.
This script is a useful tool for traders looking to identify potential reversals using the 5 EMA and candlestick patterns. However, like any trading tool, it should be used in conjunction with other indicators and analysis techniques for better accuracy.
Chỉ báo và chiến lược
MACD Histogram Color Tabledisplaying the MACD Histogram color and divergences across multiple timeframes. Here's how it works step by step:
1. Setting the Table Position
The script allows the user to choose where the table will be placed using the positionOption input. The three options are:
Top Right
Top Left
Top Center
Depending on the selected option, the table is created at the corresponding position.
2. Creating the Table
A table (macdTable) is created with 8 columns (for different timeframes) and 3 rows (for different data points).
3. MACD Histogram Color Function (f_get_macd_color)
This function calculates the MACD line, signal line, and histogram for a given timeframe.
The histogram (histLine) is used to determine the cell background color:
Green if the histogram is positive.
Red if the histogram is negative.
4. Divergence Detection Function (f_detect_divergence)
This function looks for bullish and bearish divergences using the MACD histogram:
Bullish Divergence (🟢)
The price makes a lower low.
The MACD histogram makes a higher low.
Bearish Divergence (🔴)
The price makes a higher high.
The MACD histogram makes a lower high.
The function returns:
🟢 (green circle) for bullish divergence.
🔴 (red circle) for bearish divergence.
"" (empty string) if no divergence is detected.
5. Populating the Table
The table has three rows for each timeframe:
First row: Displays the timeframe labels (5m, 15m, 30m, etc.).
Second row: Shows MACD Histogram color (red/green).
Third row: Displays divergences (🟢/🔴).
This is done using table.cell() for each timeframe.
6. Final Result
A table is displayed on the chart.
Each column represents a different timeframe.
The color-coded row shows the MACD histogram status.
The bottom row shows detected divergences.
Swing Breakout System (SBS)The Swing Breakout Sequence (SBS) is a trading strategy that focuses on identifying high-probability entry points based on a specific pattern of price swings. This indicator will identify these patterns, then draw lines and labels to show confirmation.
How To Use:
The indicator will show both Bullish and Bearish SBS patterns.
Bullish Pattern is made up of 6 points: Low (0), HH (1), LL (2 | but higher than initial Low), New HH (3), LL (5), LL again (5)
Bearish Patten is made up of 6 points: High (0), LL (1), HH (2 | but lower than initial high), New LL (3), HH (5), HH again (5)
A label with an arrow will appear at the end, showing the completion of a successful sequence
Idea behind the strategy:
The idea behind this strategy, is the accumulation and then manipulation of liquidity throughout the sequence. For example, during SBS sequence, liquidity is accumulated during step (2), then price will push away to make a new high/low (step 3), after making a minor new high/low, price will retrace breaking the key level set up in step (2). This is price manipulating taking liquidity from behind high/low from step (2). After taking liquidity price the idea is price will continue in the original direction.
Step 0 - Setting up initial direction
Step 1 - Setting up initial direction
Step 2 - Key low/high establishing liquidity
Step 3 - Failed New high/low
Step 4 - Taking liquidity from step (2)
Step 5 - Taking liquidity from step 2 and 4
Pattern Detection:
- Uses pivot high/low points to identify swing patterns
- Stores 6 consecutive swing points in arrays
- Identifies two types of patterns:
1. Bullish Pattern: A specific sequence of higher lows and higher highs
2. Bearish Pattern: A specific sequence of lower highs and lower lows
Note: Because the indicator is identifying a perfect sequence of 6 steps, set ups may not appear frequently.
Visualization:
- Draws connecting lines between swing points
- Labels each point numerically (optional)
- Shows breakout arrows (↑ for bullish, ↓ for bearish)
- Generates alerts on valid breakouts
User Input Settings:
Core Parameters
1. Pivot Lookback Period (default: 2)
- Controls how many bars to look back/forward for pivot point detection
- Higher values create fewer but more significant pivot points
2. Minimum Pattern Height % (default: 0.1)
- Minimum required height of the pattern as a percentage of price
- Filters out insignificant patterns
3. Maximum Pattern Width (bars) (default: 50)
- Maximum allowed width of the pattern in bars
- Helps exclude patterns that form over too long a period
HTF EMA Pivot PointsHTF EMA Pivot Points - TradingView Indicator
📌 Overview
The HTF EMA Pivot Points indicator displays Exponential Moving Averages (EMAs) from higher timeframes (HTF) on your current chart. These EMAs act as dynamic support and resistance levels, helping traders identify key areas where price is likely to react.
⚡ Key Features
✅ Plots EMAs from multiple timeframes (1H, 4H, Daily)
✅ Works on any chart (1M, 5M, 15M, etc.)
✅ Acts as pivot points for price action, helping with trade entries & exits
✅ Customizable EMA lengths for flexibility
✅ Ideal for scalping, 0DTE options trading, and swing trading
🛠 How It Works
The script calculates EMAs from 1H, 4H, and Daily charts and overlays them on your current timeframe. These levels often act as support and resistance zones, where price tends to bounce or reject.
🎯 How to Use It for Trading
📍 Bullish Setup (Buy Calls)
• Price bounces off a higher timeframe EMA (e.g., 4H or Daily EMA)
• Confirmation with RSI or Fair Value Gaps (FVGs)
📍 Bearish Setup (Buy Puts)
• Price rejects from a higher timeframe EMA
• Confirmation with other indicators (RSI, MACD, Order Flow)
🚀 Why Use This Indicator?
• Filters out noise from lower timeframe EMAs
• Confirms trend direction using key moving averages
• Helps avoid false breakouts by identifying strong institutional levels
This is a must-have tool for traders who rely on higher timeframe confluence for scalping, options trading, or swing trading. 📈🔥
My auto dual avwap with Auto swing low/pivot low finderWelcome to My Auto Dual AVWAP with Auto Swing Low/Pivot Low Finder – an open-source TradingView indicator designed to enhance your technical analysis toolbox. This indicator is published under the Mozilla Public License 2.0 and is available for anyone to study, modify, and distribute.
Key Features
Auto Pivot/Swing Low Finder:
In addition to VWAP lines, the indicator incorporates an automatic detection mechanism for swing lows/pivot lows. This feature assists in identifying potential support areas and price reversals, further enhancing your trading strategy.
Dual VWAP Calculation with high/low range:
The indicator calculates two separate volume-weighted average price (VWAP) lines based on different price inputs (low and high prices) and defined time sessions. This allows traders to gain a more nuanced view of market activity during specific trading periods.
Customizable Time Sessions:
You can specify distinct start and end times for each VWAP calculation session. This flexibility helps you align the indicator with your preferred trading hours or market sessions, making it adaptable to various time zones and trading styles.
Easy to Customize:
With clear code structure and detailed comments, the script is designed to be accessible even for traders who want to customize or extend its functionality. Whether you're a seasoned coder or just starting out, the code is written with transparency in mind.
How It Works
Session Initialization:
The script sets up two distinct time sessions using user-defined start and end times. For each session, it detects the beginning of the trading period to reset cumulative values.
Cumulative Calculations:
During each session, the indicator accumulates the product of price and volume as well as the total volume. The VWAP is then computed as the ratio of these cumulative values.
Dual Data Sources:
Two separate data inputs (using low and high prices) are used to calculate two VWAP lines. This dual approach provides a broader perspective on market trends and can help in identifying dynamic support and resistance levels.
Visualization:
The calculated VWAP lines are plotted directly on your chart with distinct colors and thickness settings for easy visualization. This makes it simple to interpret the data at a glance.
Why Use This Indicator?
Whether you are a day trader, swing trader, or simply looking to refine your market analysis, My Auto Dual AVWAP with Auto Swing Low/Pivot Low Finder offers a robust set of features that can help you identify key price levels and improve your decision-making process. Its open-source nature invites collaboration and customization, ensuring that you can tailor it to fit your unique trading style.
Feel free to explore, modify, and share this indicator. Happy trading!
Kalman FilterKalman Filter Indicator Description
This indicator applies a Kalman Filter to smooth the selected price series (default is the close) and help reveal the underlying trend by filtering out market noise. The filter is based on a recursive algorithm consisting of two main steps:
Prediction Step:
The filter predicts the next state using the last estimated value and increases the uncertainty (error covariance) by adding the process noise variance (Q). This step assumes that the price follows a random walk, where the last known estimate is the best guess for the next value.
Update Step:
The filter computes the Kalman Gain, which determines the weight given to the new measurement (price) versus the prediction. It then updates the state estimate by combining the prediction with the measurement error (using the measurement noise variance, R). The error covariance is also updated accordingly.
Key Features:
Customizable Input:
Source: Choose any price series (default is the closing price) for filtering.
Measurement Noise Variance (R): Controls the sensitivity to new measurements (default is 0.1). A higher R makes the filter less responsive.
Process Noise Variance (Q): Controls the assumed level of inherent price variability (default is 0.01). A higher Q allows the filter to adapt more quickly to changes.
Visual Trend Indication:
The filtered trend line is plotted directly on the chart:
When enabled, the line is colored green when trending upward and red when trending downward.
If color option is disabled, the line appears in blue.
This indicator is ideal for traders looking to smooth price data and identify trends more clearly by reducing the impact of short-term volatility.
GOLD Volume-Based Entry StrategyShort Description:
This script identifies potential long entries by detecting two consecutive bars with above-average volume and bullish price action. When these conditions are met, a trade is entered, and an optional profit target is set based on user input. This strategy can help highlight momentum-driven breakouts or trend continuations triggered by a surge in buying volume.
How It Works
Volume Moving Average
A simple moving average of volume (vol_ma) is calculated over a user-defined period (default: 20 bars). This helps us distinguish when volume is above or below recent averages.
Consecutive Green Volume Bars
First bar: Must be bullish (close > open) and have volume above the volume MA.
Second bar: Must also be bullish, with volume above the volume MA and higher than the first bar’s volume.
When these two bars appear in sequence, we interpret it as strong buying pressure that could drive price higher.
Entry & Profit Target
Upon detecting these two consecutive bullish bars, the script places a long entry.
A profit target is set at current price plus a user-defined fixed amount (default: 5 USD).
You can adjust this target, or you can add a stop-loss in the script to manage risk further.
Visual Cues
Buy Signal Marker appears on the chart when the second bar confirms the signal.
Green Volume Columns highlight the bars that fulfill the criteria, providing a quick visual confirmation of high-volume bullish bars.
Works fine on 1M-2M-5M-15M-30M. Do not use it on higher TF. Due the lack of historical data on lower TF, the backtest result is limited.
75th-25th Percentile Momentum | QuantumResearchIntroducing QuantumResearch’s 75th-25th Percentile Momentum Indicator
The 75th-25th Percentile Momentum indicator is a cutting-edge tool that combines percentile rank analysis with ATR-based deviation to detect significant bullish and bearish momentum in the market. By analyzing price movements relative to the 75th and 25th percentiles of recent data, the indicator provides traders with clear and dynamic signals for long and short opportunities.
How It Works
Percentile Analysis:
The 75th and 25th percentiles are calculated over a user-defined lookback period, representing the upper and lower thresholds for price action.
ATR-Based Adjustment:
ATR (Average True Range) is used to account for market volatility, dynamically adjusting the thresholds with user-defined multipliers.
Signal Generation:
Long Signal: Triggered when the price exceeds the 75th percentile plus the ATR-based adjustment (default multiplier: 1.3).
Short Signal: Triggered when the price falls below the 25th percentile minus the ATR-based adjustment (default multiplier: 1.3).
Visual Representation
The indicator offers a clear and customizable visual interface:
Green Bars: Indicate a bullish trend, signaling a potential long opportunity when the price surpasses the adjusted 75th percentile.
Red Bars: Indicate a bearish trend, signaling a potential short opportunity when the price drops below the adjusted 25th percentile.
Additional visuals include:
A dynamically colored 54-period EMA line, representing trend direction:
Green Line: Indicates a bullish trend.
Red Line: Indicates a bearish trend.
A filled area between the EMA line and the midpoint (HL2), offering enhanced trend visibility.
Customization & Parameters
The 75th-25th Percentile Momentum indicator includes several adjustable parameters to suit different trading styles:
Source: Defines the input price (default: close).
Percentile Length: Default set to 25, determines the lookback period for percentile calculations.
ATR Length: Default set to 14, adjusts the sensitivity of volatility measurement.
Multiplier for 75th Percentile: Default set to 1.3, adjusts the threshold for long signals.
Multiplier for 25th Percentile: Default set to 1.3, adjusts the threshold for short signals.
Color Modes: Choose from eight visual themes to personalize the appearance of trend signals.
Trading Applications
This indicator is versatile and can be applied across various markets and strategies:
Momentum Trading: Highlights when price action demonstrates strong upward or downward momentum relative to recent percentiles.
Volatility-Adaptive Strategies: By incorporating ATR-based thresholds, the indicator adjusts dynamically to market conditions.
Reversal Detection: Identifies potential turning points when the price moves significantly beyond the 75th or 25th percentiles.
Final Note
QuantumResearch’s 75th-25th Percentile Momentum indicator is a powerful tool for traders looking to capture momentum and trend opportunities in the market.
Its combination of percentile analysis, volatility adjustment, and visual clarity offers a robust framework for making informed trading decisions. As with all indicators, it is recommended to backtest thoroughly and integrate this tool into a comprehensive trading strategy.
HTF Candle Range Box (Fixed to HTF Bars)### **Higher Timeframe Candle Range Box (HTF Box Indicator)**
This indicator visually highlights the price range of the most recently closed higher-timeframe (HTF) candle, directly on a lower-timeframe chart. It dynamically adjusts based on the user-selected HTF setting (e.g., 15-minute, 1-hour) and ensures that the box is displayed only on the bars that correspond to that specific HTF candle’s duration.
For instance, if a trader is on a **1-minute chart** with the **HTF set to 15 minutes**, the indicator will draw a box spanning exactly 15 one-minute candles, corresponding to the previous 15-minute HTF candle. The box updates only when a new HTF candle completes, ensuring that it does not change mid-formation.
---
### **How It Works:**
1. **Retrieves Higher Timeframe Data**
The script uses TradingView’s `request.security` function to pull **high, low, open, and close** values from the **previously completed HTF candle** (using ` ` to avoid repainting). It also fetches the **high and low of the candle before that** (using ` `) for comparison.
2. **Determines Breakout Behavior**
It compares the **last closed HTF candle** to the **one before it** to determine whether:
- It **broke above** the previous high.
- It **broke below** the previous low.
- It **broke both** the high and low.
- It **stayed within the previous candle’s range** (no breakout).
3. **Classifies the Candle & Assigns Color**
- **Green (Bullish)**
- Closes above the previous candle’s high.
- Breaks below the previous candle’s low but closes back inside the previous range **if it opened above** the previous high.
- **Red (Bearish)**
- Closes below the previous candle’s low.
- Breaks above the previous candle’s high but closes back inside the previous range **if it opened below** the previous low.
- **Orange (Neutral/Indecisive)**
- Stays within the previous candle’s range.
- Breaks both the high and low but closes inside the previous range without a clear bias.
4. **Box Placement on the Lower Timeframe**
- The script tracks the **bar index** where each HTF candle starts on the lower timeframe (e.g., every 15 bars on a 1-minute chart if HTF = 15 minutes).
- It **only displays the box on those bars**, ensuring that the range is accurately reflected for that time period.
- The box **resets and updates** only when a new HTF candle completes.
---
### **Key Features & Advantages:**
✅ **Clear Higher Timeframe Context:**
- The indicator provides a structured way to analyze HTF price action while trading in a lower timeframe.
- It helps traders identify **HTF support and resistance zones**, potential **breakouts**, and **failed breakouts**.
✅ **Fixed Box Display (No Mid-Candle Repainting):**
- The box is drawn **only after the HTF candle closes**, avoiding misleading fluctuations.
- Unlike other indicators that update live, this one ensures the trader is looking at **confirmed data** only.
✅ **Flexible Timeframe Selection:**
- The user can set **any HTF resolution** (e.g., 5min, 15min, 1hr, 4hr), making it adaptable for different strategies.
✅ **Dynamic Color Coding for Quick Analysis:**
- The **color of the box reflects the market sentiment**, making it easier to spot trends, reversals, and fake-outs.
✅ **No Clutter – Only Applies to the Relevant Bars:**
- Instead of spanning across the whole chart, the range box is **only visible on the bars belonging to the last HTF period**, keeping the chart clean and focused.
---
### **Example Use Case:**
💡 Imagine a trader is scalping on the **1-minute chart** but wants to factor in **HTF 15-minute structure** to avoid getting caught in bad trades. With this indicator:
- They can see whether the last **15-minute candle** was bullish, bearish, or indecisive.
- If it was **bullish (green)**, they may look for **buying opportunities** at lower timeframes.
- If it was **bearish (red)**, they might anticipate **a potential pullback or continuation down**.
- If the **HTF candle failed to break out**, they know the market is **ranging**, avoiding unnecessary trades.
---
### **Final Thoughts:**
This indicator is a **powerful addition for traders who combine multiple timeframes** in their analysis. It provides a **clean and structured way to track HTF price movements** without cluttering the chart or requiring constant manual switching between timeframes. Whether used for **intraday trading, swing trading, or scalping**, it adds an extra layer of confirmation for trade entries and exits.
🔹 **Best for traders who:**
- Want **HTF structure awareness while trading lower timeframes**.
- Need **confirmation of breakouts, failed breakouts, or indecision zones**.
- Prefer a **non-repainting tool that only updates after confirmed HTF closes**.
Let me know if you want any adjustments or additional features! 🚀
XAU/EUR Beginner-Friendly Strategy💡 Why This Strategy Sells Itself
3-in-1 Powerhouse: Merges institutional order flow analysis (Smart Money), trend mechanics, and built-in hedge alerts
Backtested Edge: 58.7% win rate on 2023 XAU/EUR data with 1:2 risk/reward
Beginner-Friendly: Auto-drawn entry boxes with stop loss/profit targets (no guesswork)
Market Proof: Generates returns in both trends and ranges via hedge alerts
🎯 Perfect For Traders Who...
Want to decode gold's institutional footprints
Need clear "green light/red light" trade signals
Struggle with emotional exits (auto-SL/TP built-in)
Missed the $200 gold rally in Q1 2024
📊 How It Works (In Simple Terms)
1. Institutional Radar
Spots "order blocks" where banks accumulate positions
Example: If gold plunges then reverses sharply, marks that zone
2. Trend Turbocharger
9/21 EMAs act as runway lights (green when trending)
Only trades in trend direction (bullish/bearish filters)
3. Hedge Shield
Flashes blue/orange alerts at extremes (RSI 30/70)
Lets you profit from pullbacks while holding core positions
4. Auto-Pilot Risk Mgmt
Stop loss at last swing low/high (protects capital)
Take profit = 2x risk (banker-grade money math)
📈 Client ROI Breakdown
Scenario Account Size Monthly Trades Expected Return*
Conservative $10,000 15 trades $1,800 (18%)
Aggressive $50,000 30 trades $9,000 (18%)
*Based on 58.7% win rate at 1:2 RR
🎁 What You Get Today ($997 Value)
Pro Strategy Code (Lifetime access)
VIP Setup Guide (15-minute install video)
XAU/EUR Session Cheat Sheet (Best times to trade)
24/7 Discord Support (Expert Q&A;)
✨ "Gold Standard" Bonuses
Hedging Masterclass ($297 Value) - Protect positions during ECB/Fed news
Smart Money Screener - Spot institutional moves across 20+ pairs
Live Trade Alerts - Mirror my personal XAU/EUR trades for 30 days
📲 How to Use It (3 Simple Steps)
Load & Go
Paste code into TradingView (5-minute setup)
Watch tutorial:
Read the Signals
🟢 Green Box = Buy with Entry/SL/TP
🔴 Red Box = Sell with Entry/SL/TP
💠 Blue Flash = Hedge Opportunity
Execute & Manage
Risk 1-2% per trade (auto-calculated)
Let profits run to target (no emotion)
⚠️ Warning: This Isn't For...
Get-rich-quick dreamers (requires discipline)
Indicator junkies (this replaces 5+ tools)
Bitcoin gamblers (gold moves differently)
Dynamic Median EMA | QuantEdgeBIntroducing Dynamic Median EMA by QuantEdgeB
Dynamic Median EMA | QuantEdgeB is an adaptive moving average indicator that blends median filtering, a volatility-based dynamic EMA, and customizable filtering techniques to create a responsive yet stable trend detection system. By incorporating Standard Deviation (SD) or ATR bands, this indicator dynamically adjusts to market conditions, making it a powerful tool for both traders and investors.
Key Features:
1. Dynamic EMA with Efficiency Ratio 🟣
- Adjusts smoothing based on market conditions, ensuring optimal responsiveness to price changes.
- Uses an efficiency ratio to dynamically modify the smoothing factor, making it highly adaptive.
2. Median-Based vs. Traditional EMA Source 📊
- Users can choose between a Median-based smoothing method (default: ✅ enabled ) or a traditional price source.
- The median filter provides better noise reduction in choppy markets.
3. Volatility-Based Filtering with Custom Bands 🎯
- Two filtering methods:
a. Standard Deviation (SD) Bands 📏 (default ✅) – Expands and contracts based on
historical deviation.
b. ATR Bands 📈 – Uses Average True Range (ATR) to adjust dynamic thresholds.
- The user can toggle between SD and ATR filtering, depending on market behavior.
4. Customizable Signal Generation ✅❌
- Long Signal: Triggered when the price closes above the selected upper filter band .
- Short Signal: Triggered when the price closes below the lower filter band .
- Dynamically adjusts based on the filtering method (SD or ATR).
5. Enhanced Visuals & Customization🎨
- Multiple color modes available (Default, Solar, Warm, Cool, Classic, X).
- Gradient filter bands provide a clearer view of volatility expansion/contraction.
- Candlestick coloring for instant visual confirmation of bullish/bearish conditions.
________
How It Works:
- Source Selection : Users can choose to use the median of price action or a traditional price feed as the base input for the Dynamic EMA.
- Dynamic EMA Calculation : The indicator applies a volatility-adjusted smoothing algorithm based on the efficiency ratio, ensuring that price trends are detected quickly in volatile markets and smoothly in stable ones.
- Filtering Mechanism : 🎯 Use can chose between two filtering options. Standard deviation to dynamically adjust based on market deviations or ATR Bands to determine trend strength through volatility expansions
- Signal Generation :
1. Bullish (🔵) is triggered when price crosses above the upper band.
2. Bearish (🔴) is generated when price drops below the lower band.
- The filtering method (SD/ATR) determines how the bands expand/contract, allowing for better trade adaptability.
________
Use Cases:
✅ For Trend Trading & Breakouts:
- Use SD bands (default setting) to capture trend breakouts and avoid premature entries.
- SD bands expand during high volatility, helping confirm strong breakouts, and contract during low volatility, helping confirm earlier trend exit.
- Consider increasing Dynamic EMA length (default 8) for longer-term trend detection.
✅ For Smoother Trend Filtering:
- Enable ATR bands for a more stable and gradual trend filter.
- ATR bands help reduce noise in choppy conditions while maintaining responsiveness to volatility.
- This setting is useful for traders looking to ride trends with fewer false exits.
✅ For Volatility Awareness:
- Watch the expansion and contraction of the filter bands:
- Wide SD bands = High volatility, breakout potential.
- Tight SD bands = Consolidation, potential trend exhaustion.
- ATR bands provide steadier adjustments, making them ideal for traders who prefer
smoother trend confirmation.
________
Customization Options:
- Source Selection 🟢 (Default: Median filtering enabled ✅)
- Dynamic EMA Length ⏳ (Default: 8 )
- Filtering Method🎯 (SD Bands ✅ by default, toggle ATR if needed)
- Standard Deviation Length 📏 (Default: 30 )
- ATR Length 📈 (Default: 14, ATR multiplier 1.3)
- SD Bands Weights:📌
- Default settings (Upper = 1.035, Lower = 1.02) are optimized for daily charts.
- For lower timeframes (e.g., hourly charts), consider using lighter weights such as Upper =
1.024 / Lower = 1.008 to better capture price movements.
- The optimal SD Band weights depend on the asset's volatility, so adjust accordingly to align
with market conditions.
- Multiple Color Themes 🎨 (Default, Solar, Warm, Cool, Classic, X)
________
Conclusion
The Dynamic Median EMA | QuantEdgeB is a powerful trend-following & filtering indicator designed to adapt dynamically to market conditions. By combining a volatility-responsive EMA, custom filter bands, and signal-based candlestick coloring, this tool provides clear and reliable trade signals across different market environments. 🚀📈
🔹 Disclaimer: Past performance is not indicative of future results. No trading indicator can guarantee success in financial markets.
🔹 Strategic Consideration: As always, backtesting and strategic adjustments are essential to fully optimize this indicator for real-world trading. Traders should consider risk management practices and adapt settings to their specific market conditions and trading style.
Tick Marubozu StrategyStrategy Concept:
This strategy identifies Marubozu candles on a tick chart (customizable pip size) with high volume to signal strong market momentum.
Bearish Marubozu → Strong selling pressure → Enter a SELL trade
Bullish Marubozu → Strong buying pressure → Enter a BUY trade
Entry Conditions:
Marubozu Definition:
Open price ≈ High for a bearish Marubozu (minimal wick at the top).
Open price ≈ Low for a bullish Marubozu (minimal wick at the bottom).
Customizable body size (in pips).
High Volume Confirmation:
The volume of the Marubozu candle must be above the moving average of volume (e.g., 20-period SMA).
Trade Direction:
Bearish Marubozu with High Volume → SELL
Bullish Marubozu with High Volume → BUY
Exit Conditions:
Time-Based Expiry: Since it's for binary options, the trade duration is pre-defined (e.g., 1-minute expiry).
Reversal Candle: If a strong opposite Marubozu appears, it may indicate a trend shift.
Stock Sector ETF with IndicatorsThe Stock Sector ETF with Indicators is a versatile tool designed to track the performance of sector-specific ETFs relative to the current asset. It automatically identifies the sector of the underlying symbol and displays the corresponding ETF’s price action alongside key technical indicators. This helps traders analyze sector trends and correlations in real time.
---
Key Features
Automatic Sector Detection:
Fetches the sector of the current asset (e.g., "Technology" for AAPL).
Maps the sector to a user-defined ETF (default: SPDR sector ETFs) .
Technical Indicators:
Simple Moving Average (SMA): Tracks the ETF’s trend.
Bollinger Bands: Highlights volatility and potential reversals.
Donchian High (52-Week High): Identifies long-term resistance levels.
Customizable Inputs:
Adjust indicator parameters (length, visibility).
Override default ETFs for specific sectors.
Informative Table:
Displays the current sector and ETF symbol in the bottom-right corner.
---
Input Settings
SMA Settings
SMA Length: Period for calculating the Simple Moving Average (default: 200).
Show SMA: Toggle visibility of the SMA line.
Bollinger Bands Settings
BB Length: Period for Bollinger Bands calculation (default: 20).
BB Multiplier: Standard deviation multiplier (default: 2.0).
Show Bollinger Bands: Toggle visibility of the bands.
Donchian High (52-Week High)
Daily High Length: Days used to calculate the high (default: 252, approx. 1 year).
Show High: Toggle visibility of the 52-week high line.
Sector Selections
Customize ETFs for each sector (e.g., replace XLU with another utilities ETF).
---
Example Use Cases
Trend Analysis: Compare a stock’s price action to its sector ETF’s SMA for trend confirmation.
Volatility Signals: Use Bollinger Bands to spot ETF price squeezes or breakouts.
Sector Strength: Monitor if the ETF is approaching its 52-week high to gauge sector momentum.
Enjoy tracking sector trends with ease! 🚀
Pivot Point+ Supertrend + EMA + Support/Resistance- LAXMANTAK98
Pivot Point Supertrend with EMA and Support/Resistance Indicator
This custom trading indicator combines the following key components to assist in market analysis and trade decision-making:
Pivot Points:
Pivot points are calculated based on a chosen price source (High, Low, Open, or Close). These levels are used to determine potential support and resistance zones.
Pivot Highs (Resistance) and Pivot Lows (Support) are plotted as labels on the chart for easy identification.
Supertrend Indicator:
The Supertrend is a trend-following indicator that helps to identify bullish or bearish trends.
It uses the Average True Range (ATR) to calculate dynamic support/resistance levels, with adjustable settings for ATR length and multiplier factor.
The trend direction is visually represented by green (bullish) and red (bearish) lines on the chart.
Exponential Moving Averages (EMA):
The indicator plots up to four EMAs with user-defined periods (e.g., 9, 21, 50, 200).
EMAs are commonly used to smooth out price data and identify trends over various timeframes.
Support and Resistance Levels:
Based on Pivot Points, support and resistance levels are plotted using crosses on the chart.
These levels indicate possible price reversal points, helping traders spot key zones for entry and exit.
Visual Alerts:
The indicator includes built-in alerts for trend changes and potential buy/sell signals based on the transition between uptrend and downtrend states.
This combined indicator allows traders to analyze trends, identify key levels for trading, and make more informed decisions by integrating Pivot Points, Supertrend, EMAs, and Support/Resistance in one cohesive system.
Dynamic 200 EMA with Trend-Based ColoringDescription:
This script plots the 200-period Exponential Moving Average (EMA) and dynamically changes its color based on the trend direction. The script helps traders quickly identify whether the price is above or below the 200 EMA, which is widely used as a long-term trend indicator.
How It Works:
The script calculates the 200 EMA based on the closing price.
If the price is above the EMA, it suggests a bullish trend, and the EMA line turns green.
If the price is below the EMA, it suggests a bearish trend, and the EMA line turns red.
An optional background color is added to enhance visual clarity, highlighting the current trend direction.
Use Cases:
Trend Confirmation: Helps traders determine if the overall trend is bullish or bearish.
Support and Resistance: The 200 EMA is often used as dynamic support/resistance.
Entry & Exit Signals: Traders can use crossovers with the 200 EMA as potential trade signals.
This script is designed for traders looking for a simple yet effective way to incorporate trend visualization into their charts. It is fully open-source and can be customized to fit individual trading strategies.
Candle Range Theory StrategyCandle Range Theory StrategyCandle Range Theory Strategy delves into the intricacies of price action analysis, focusing on the behavior of candlestick patterns within specific ranges. Traders employing this strategy aim to identify key support and resistance levels by analyzing the high and low points of significant candlesticks. The core principle lies in understanding that the range of a candle—defined by its opening, closing, high, and low prices—provides valuable insight into market sentiment and potential future movements.
To implement the Candle Range Theory Strategy effectively, one must first recognize the importance of different candle sizes. A long-bodied candle suggests strong momentum, pointing to a bullish or bearish bias, while a small-bodied candle indicates indecision or consolidation, often signaling potential reversals or breakouts. By plotting these candlesticks over a defined time frame, traders can ascertain whether the market is trending or range-bound.
Additionally, traders should consider the context in which these candles form. Analysis of the preceding price action can reveal whether current ranges are extensions of existing trends or indications of market fatigue. In particular, look for patterns such as engulfing candles, pin bars, or inside bars, as they often foreshadow forthcoming price fluctuations.
Moreover, combining the Candle Range Theory with other technical indicators, like moving averages or Fibonacci retracements, can offer a more comprehensive view of potential entry and exit points. By aligning candle patterns with broader market dynamics, traders can optimize their strategies, enhancing their probability of success while minimizing risk.
Lastly, maintaining a disciplined approach is crucial. Setting precise stop-loss and take-profit levels grounded in candle ranges can safeguard one's capital. Adhering to this framework allows traders to navigate the complexities of the market with greater confidence, ultimately leading to more informed and successful trading decisions. Embracing the nuances of Candle Range Theory not only sharpens analytical skills but also enriches one’s trading repertoire, paving the way for sustained profitability in the dynamic world of forex and equities.
Advanced 1-Minute Open Range Breakout IndicatorThis indicator is designed for the market on a 1-minute chart. It calculates the open range based on the first 5 minutes after the market open (09:30 – 09:35) and plots the high and low of this period as the daily resistance and support levels respectively. Additionally, the indicator displays the previous day’s high and low as blue horizontal lines, providing extra reference levels.
Trade signals are generated only during the active trading session (09:35 – 16:00). The advanced trade logic works as follows:
• For long entries:
- When the price first breaks above the open range high, the indicator enters a “breakout” state.
- If the price then retraces to (or below) the open range high, it moves to a “retest” state.
- Finally, if the price breaks above the open range high again, a long signal is issued.
• For short entries:
- When the price first breaks below the open range low, the indicator enters a “breakdown” state.
- If the price then retraces to (or above) the open range low, it moves to a “retest” state.
- Finally, if the price breaks below the open range low again, a short signal is issued.
All signals and the open range lines are only displayed during the trading session (09:35 to 16:00).
Use this indicator to help identify high-probability breakout setups in the early part of the trading day.
smolka Bayesian Volatile ChannelDescription in English and Russian.
Bayesian Volatile Channel
The script is a loose interpretation of Bayes' theorem, which allows calculating the probability of events given that another event related to it has occurred, the script analyzes volatility and detects anomalies in price charts using a Bayesian approach, updating the model parameters to accurately estimate market fluctuations and detect changes in trends.
How does it work?
1. The script sets the initial parameters (mean price and standard deviation), creating a "hypothesis" about the market behavior.
2. When a new price appears, the script calculates the probability of its compliance with previous expectations. If the new price differs from the forecast, the model parameters (mean and standard deviation) are updated.
3. After updating the model, the probability that the current price and volatility correspond to a normal distribution is calculated.
4. Based on the updated model, volatility channels are built (mean price ± two standard deviations). If the price goes beyond these limits, this signals a possible anomaly indicating changes in the market.
5. The moving averages in the script act as data smoothing and trend analysis, helping to identify the market direction and minimize the impact of random fluctuations. The script uses moving averages to identify uptrends and downtrends, and calculates the average between them to display the overall market balance. These moving averages make market analysis clearer and more resistant to short-term fluctuations.
******************************************************************
Описание на английском и русском языках.
Байесовский волатильный канал
Скрипт является вольной интерпретацией теоремы Байеса, которая позволяет расчитать вероятность событий при условии, что произошло связанное с ним другое событие, скрипт анализирует волатильность и обнаруживает аномалии в графиках цен, используя байесовский подход, обновляя параметры модели для точной оценки рыночных колебаний и обнаружения изменений в тенденциях.
Как это работает?
1. Скрипт устанавливает начальные параметры (среднюю цену и стандартное отклонение), создавая "гипотезу" о поведении рынка.
2. При появлении новой цены скрипт вычисляет вероятность её соответствия предыдущим ожиданиям. Если новая цена отличается от прогноза, параметры модели (среднее и стандартное отклонение) обновляются.
3. После обновления модели рассчитывается вероятность того, что текущая цена и волатильность соответствуют нормальному распределению.
4. На основе обновлённой модели строятся каналы волатильности (средняя цена ± два стандартных отклонения). Если цена выходит за эти пределы, это сигнализирует о возможной аномалии, указывающей на изменения на рынке.
5. Средние скользящие в скрипте выполняют роль сглаживания данных и анализа трендов, помогая выявить направление рынка и минимизировать влияние случайных колебаний. Скрипт использует скользящие средние для определения восходящего и нисходящего трендов, а также рассчитывает среднее значение между ними для отображения общего баланса рынка. Эти скользящие средние делают анализ рынка более чётким и устойчивым к краткосрочным флуктуациям.
PullBack_Level_HunterThis script creates an "Auto Fibonacci" indicator that automatically plots selected Fibonacci retracement levels on a chart, based on a defined lookback period. Users can choose from various Fibonacci levels (0.236, 0.382, 0.5, 0.618, or 0.786) via a dropdown input, allowing for quick adjustments to analysis.
**Key Features:**
1. **Fibonacci Level Selection:** Users can select from multiple Fibonacci levels (0.236, 0.382, 0.5, 0.618, and 0.786) for analysis.
2. **Lookback Period:** The script allows users to define a lookback period to determine the highest high and the lowest low for plotting Fibonacci levels.
3. **Fibonacci Level Calculation:** The Fibonacci levels are calculated using two functions:
- `fib_level`: Calculates the Fibonacci level based on the highest high and lowest low of the lookback period.
- `fib_level_from_current`: Calculates the Fibonacci level from the current candle’s high.
4. **Plotting:** The script plots the selected Fibonacci level on the chart, using a red line for the general Fibonacci level and a blue line for the level calculated from the current high.
5. **Dynamic Visualization:** The Fibonacci levels are drawn as step lines to clearly visualize price levels based on historical data and current price action.
This tool is ideal for traders who wish to quickly assess key Fibonacci levels for potential support or resistance within a customizable lookback period.
RSI XTR with selective candle color by Edwin KThis tradingView indicator named "RSI XTR with selective candle color", which modifies the candle colors on the chart based on RSI (Relative Strength Index) conditions. Here's how it works:
- rsiPeriod: Defines the RSI calculation period (default = 5).
- rsiOverbought: RSI level considered overbought (default = 70).
- rsiOversold: RSI level considered oversold (default = 30).
- These values can be modified by the user in the settings.
RSI Calculation
- Computes the RSI value using the ta.rsi() function on the closing price (close).
- The RSI is a momentum indicator that measures the magnitude of recent price changes.
Conditions for Candle Coloring
- when the RSI is above the overbought level.
- when the RSI is below the oversold level.
How It Works in Practice
- When the RSI is above 70 (overbought) → Candles turn red.
- When the RSI is below 30 (oversold) → Candles turn green.
- If the RSI is between 30 and 70, the candle keeps its default color.
This helps traders quickly spot potential reversal zones based on RSI momentum.
STRAW Volume Spike IndicatorThis is basically a:
High-Volume Impulse Detector
The High-Volume Impulse Detector is a refined tool designed to highlight key moments of explosive volume surges in the market, specifically calibrated for assets like Bitcoin on the 15-minute timeframe. Unlike generic volume-based indicators, this script doesn’t just flag high volume—it intelligently adapts to market dynamics by incorporating a custom-moving average baseline and highlighting instances where volume exceeds a significant threshold relative to the average.
Key Features
✅ Adaptive Volume Benchmark – Uses a dynamic moving average to filter out noise and pinpoint meaningful volume spikes.
✅ Impulse Confirmation – Only highlights volume bars that exceed the 50% threshold above the baseline, ensuring signals capture real liquidity shifts.
✅ Smart Color Coding – Differentiates high-impact bullish and bearish volume with distinct visual cues for easy market structure identification.
✅ Designed for Order Block Traders – Helps validate liquidity-driven price movements essential for refining order block and break-of-structure strategies.
Unlike conventional volume overlays, this tool helps traders connect volume surges to key structural shifts, making it an ideal companion for those navigating momentum shifts, market inefficiencies, and institutional footprints.
⚡ Best used on BTC 15m for tracking aggressive volume-driven moves in real-time.
ICT Concepts: MML, Order Blocks, FVG, OTECore ICT Trading Concepts
These strategies are designed to identify high-probability trading opportunities by analyzing institutional order flow and market psychology.
1. Market Maker Liquidity (MML) / Liquidity Pools
Idea: Institutional traders ("market makers") place orders around key price levels where retail traders’ stop losses cluster (e.g., above swing highs or below swing lows).
Application: Look for "liquidity grabs" where price briefly spikes to these levels before reversing.
Example: If price breaks a recent high but reverses sharply, it may indicate a liquidity grab to trigger retail stops before a trend reversal.
2. Order Blocks (OB)
Idea: Institutional orders are often concentrated in specific price zones ("order blocks") where large buy/sell decisions occurred.
Application: Identify bullish order blocks (strong buying zones) or bearish order blocks (strong selling zones) on higher timeframes (e.g., 1H/4H charts).
Example: A bullish order block forms after a strong rally; price often retests this zone later as support.
3. Fair Value Gap (FVG)
Idea: A price imbalance occurs when candles gap without overlapping, creating an area of "unfair" price that the market often revisits.
Application: Trade the retracement to fill the FVG. A bullish FVG acts as support, and a bearish FVG acts as resistance.
Example: Three consecutive candles create a gap; price later returns to fill this gap, offering a entry point.
4. Time-Based Analysis (NY Session, London Kill Zones)
Idea: Institutional activity peaks during specific times (e.g., 7 AM – 11 AM New York time).
Application: Focus on trades during high-liquidity periods when banks and hedge funds are active.
Example: The "London Kill Zone" (2 AM – 5 AM EST) often sees volatility due to European market openings.
5. Optimal Trade Entry (OTE)
Idea: A retracement level (similar to Fibonacci retracement) where institutions re-enter trends after a pullback.
Application: Look for 62–79% retracements in a trend to align with institutional accumulation/distribution zones.
Example: In an uptrend, price retraces 70% before resuming upward—enter long here.
6. Stop Hunts
Idea: Institutions manipulate price to trigger retail stop losses before reversing direction.
Application: Avoid placing stops at obvious levels (e.g., above/below recent swings). Instead, use wider stops or wait for confirmation.
LRLR [TakingProphets]LRLR (Low Resistance Liquidity Run) Indicator
This indicator identifies potential liquidity runs in areas of low resistance, based on ICT (Inner Circle Trader) concepts. It specifically looks for a series of unmitigated swing highs in a downtrend that form without any bearish fair value gaps (FVGs) between them.
What is an LRLR?
- A Low Resistance Liquidity Run occurs when price creates a series of lower highs without any bearish fair value gaps in between
- The absence of bearish FVGs indicates there is no significant resistance in the area
- These formations often become targets for smart money to collect liquidity above the swing highs
How to Use the Indicator:
1. The indicator will draw a diagonal line connecting a series of qualifying swing highs
2. A small "LRLR" label appears to mark the pattern
3. These areas often become targets for future price moves, as they represent zones of accumulated liquidity with minimal resistance
Key Points:
- Minimum of 4 consecutive lower swing highs
- No bearish fair value gaps can exist between these swing highs
- The diagonal line helps visualize the liquidity run formation
- Can be used for trade planning and identifying potential reversal zones
Settings:
- Show Labels: Toggle the "LRLR" label visibility
- LRLR Line Color: Customize the appearance of the diagonal line
Best Practices:
1. Use in conjunction with other ICT concepts and market structure analysis
2. Pay attention to how price reacts when returning to these levels
3. Consider these areas as potential targets for smart money liquidity grabs
4. Most effective when used on higher timeframes (4H and above)
Note: This is an educational tool and should be used as part of a complete trading strategy, not in isolation.