BXY & DXY Cross (Perfectly Balanced)If you deal with Usd and their pairs and need necssary confirmation You might need this
Bxy and Dxy Index Crossings (GBP Index and Usd Index Crossing)
تحليل الاتجاه
EXY & DXY Cross (Perfectly Balanced)If you deal with Usd and their pairs and need necssary confirmation You might need this
Exy and Dxy Index Crossings
SMA High & LowThis Pine Script indicator plots two Simple Moving Averages (SMA) based on high and low prices over a specified length. It also references the H4 (4-hour) timeframe SMA to determine the color of the lines:
- Green if the current price is above the H4 SMA High.
- Red if the current price is below the H4 SMA Low.
- Orange if the price is between the H4 SMA High and Low.
This helps traders visualize market trends based on higher timeframe SMA levels.
SMA High & LowThis script is written in Pine Script v5 for TradingView and is used to plot two Simple Moving Averages (SMA) based on the highest and lowest prices over a specified number of bars.
WAGMI LAB Bitcoin SCALPING TREND REV + VOL FILTER WAGMI LAB Bitcoin SCALPING TREND REV + VOL FILTER is a powerful scalping indicator designed for Bitcoin (BTC) on M1, M5, and M15 timeframes. It helps traders identify trend reversals with volume confirmation, making it an effective tool for short-term trading.
Key Features:
✅ Hull Moving Average (HMA) – A fast-reacting trend filter to determine bullish or bearish momentum.
✅ MACD Confirmation – Ensures momentum shift alignment for stronger entry signals.
✅ Volume-Based Filtering – Uses a moving average of volume to filter out weak signals and avoid false breakouts.
✅ Clear Buy & Sell Signals – Plots green arrows for buy signals and red arrows for sell signals, making decision-making easier.
This indicator is ideal for scalpers looking to trade Bitcoin's rapid price movements efficiently while minimizing noise. 🚀💰
👉 Recommended Timeframes: M1, M5, M15
👉 Best Used With: Additional support/resistance levels or order flow analysis for enhanced accuracy.
Try it now and take your Bitcoin scalping to the next level! 🚀🔥
EMA Alignment & Spread Monitor (Sang Youn)Overview
The EMA Alignment & Spread Monitor is a dynamic trading script designed to monitor EMA (Exponential Moving Average) alignments, track spread deviations, and provide real-time alerts when significant conditions are met. This script allows traders to customize their EMA periods, analyze market trends based on EMA positioning, and receive visual and audio alerts when key spread conditions occur.
🔹 Key Features
✅ Customizable EMA Periods – Users can input their own EMA lengths to adapt the script to various market conditions. (Default: 5, 10, 20, 60, 120)
✅ EMA Alignment Detection – Identifies bullish alignment (all EMAs in ascending order) and bearish alignment (all EMAs in descending order).
✅ Spread Calculation & Monitoring – Computes the spread difference between each EMA and tracks the average spread over a user-defined period.
✅ Deviation Alerts – Notifies traders when:
Bullish Trend: The spread exceeds its average, indicating a potential strong uptrend.
Bearish Trend: The spread falls below its average, signaling a possible downtrend.
✅ Chart Annotations – Displays 📈 (green triangle) when bullish spread exceeds average and 📉 (red triangle) when bearish spread drops below average for easy visualization.
✅ Real-time Alerts – Sends alerts when spread conditions are met, helping traders react to market shifts efficiently.
✅ Spread Histogram – Visual representation of bullish and bearish spread levels for trend analysis.
🔹 How It Works
1️⃣ Set your EMA periods in the script settings (default: 5, 10, 20, 60, 120).
2️⃣ Define the spread average calculation length (default: 50 candles).
3️⃣ The script tracks EMA alignment to determine bullish or bearish trends.
4️⃣ If the spread deviates significantly from its average, the script:
Places a 📈 green triangle above candles in a bullish trend when spread > average.
Places a 📉 red triangle below candles in a bearish trend when spread < average.
Triggers an alert for timely decision-making.
5️⃣ Use the histogram & real-time alerts to stay ahead of market movements.
Long Trend Linelong trend lines How to Use:
Open TradingView and go to the chart you want to add the trendline to.
In the top menu, click on Pine Editor.
Copy and paste the script into the editor.
Click Add to Chart.
This will display a long trend line between your specified points.
Feel free to modify this script for your needs, and let me know if you'd like more advanced features!
Gaussian Swing 1H strategyEnglish Description:
The "Gaussian Swing 1H strategy" is a trend-following trading strategy designed for swing trading on mid-term timeframes, specifically recommended for 30-minute to 1-hour charts. This strategy utilizes a Gaussian Filter to smooth price data and effectively identify trend directions. It helps traders to enter long positions during uptrends and short positions during downtrends, while efficiently filtering out market noise.
Core Features:
Gaussian Filter Smoothing:
– The strategy uses a Gaussian Filter to smooth price movements and eliminate minor fluctuations.
– It effectively detects trend changes by analyzing four consecutive rising or falling values.
Default Parameters:
– Length = 100: Determines the smoothing period.
– Sigma = 30: Controls the level of smoothing applied.
Trend Detection and Trading Logic:
– Long Entry: When the Gaussian Filter rises for four consecutive periods.
– Short Entry: When the Gaussian Filter falls for four consecutive periods.
– Position Reversal: Automatically closes the opposite position when a trend change is detected.
Risk Management:
The strategy includes customizable Stop-Loss and Take-Profit levels.
– Stop-Loss: Protects capital by setting a maximum loss limit as a percentage of the entry price.
– Default = 5%
– Take-Profit: Locks in profits by setting a target gain as a percentage of the entry price.
– Default = 15%
If both Stop-Loss and Take-Profit are disabled, the strategy closes positions upon trend reversal.
Swing Trading Recommendation:
This strategy is ideal for swing trading and is recommended for mid-term timeframes:
– 30-minute (30M) to 1-hour (1H) charts.
It is designed to capture larger market movements, making it suitable for traders looking to hold positions for several hours to a few days.
How to Use:
– Apply the strategy on 30M or 1H charts for best results in swing trading.
– Adjust the Length and Sigma parameters to optimize trend detection for your preferred instrument.
– Set Stop-Loss and Take-Profit levels according to your risk tolerance and trading goals.
– Enable "Candles Color" to visually distinguish trend directions on the chart.
Advantages:
– Noise Reduction: The Gaussian Filter smooths out minor fluctuations and focuses on the primary trend.
– Dynamic Trend Following: Automatically enters and exits positions based on trend changes.
– Versatile Risk Management: Customizable Stop-Loss and Take-Profit settings.
Conclusion:
The "Gaussian Swing 1H strategy" is a powerful and reliable trend-following tool suitable for swing traders aiming to capture medium-term market moves. By leveraging the Gaussian Filter, it provides clear entry and exit signals, enhancing decision-making and risk management. Its flexibility in parameter settings allows traders to adapt the strategy to various financial instruments and market conditions.
Описание на русском языке:
"Gaussian Swing 1H strategy" — это трендовая торговая стратегия, разработанная для среднесрочной торговли (swing-трейдинга) на таймфреймах от 30 минут до 1 часа. Стратегия использует Гауссов фильтр для сглаживания ценовых данных и эффективного определения направлений тренда. Она помогает трейдерам входить в лонг при восходящем тренде и в шорт при нисходящем тренде, одновременно фильтруя рыночный шум.
Основные характеристики:
Сглаживание с использованием Гауссова фильтра:
– Стратегия применяет Гауссов фильтр для сглаживания колебаний цены и устранения незначительных колебаний.
– Эффективно определяет изменения тренда, анализируя четыре последовательных значения роста или падения.
Настройки по умолчанию:
– Length = 100: Определяет период сглаживания.
– Sigma = 30: Регулирует степень сглаживания.
Обнаружение тренда и логика торговли:
– Вход в лонг: При четырех последовательных повышениях значения Гауссова фильтра.
– Вход в шорт: При четырех последовательных понижениях значения Гауссова фильтра.
– Переворот позиции: Автоматически закрывает противоположную позицию при обнаружении изменения тренда.
Управление рисками:
В стратегии предусмотрены Stop-Loss и Take-Profit с возможностью настройки.
– Stop-Loss: Ограничивает убыток в процентах от цены входа.
– По умолчанию = 5%
– Take-Profit: Фиксирует прибыль в процентах от цены входа.
– По умолчанию = 15%
Если Stop-Loss и Take-Profit отключены, стратегия закрывает позиции при смене тренда.
Рекомендации по применению для swing-трейдинга:
Стратегия идеально подходит для среднесрочной торговли (swing-трейдинга) и рекомендуется для следующих таймфреймов:
– 30 минут (30M) и 1 час (1H).
Разработана для захвата более крупных рыночных движений, что делает её подходящей для удержания позиций от нескольких часов до нескольких дней.
Как использовать:
– Применяйте стратегию на таймфреймах 30M или 1H для достижения наилучших результатов в swing-трейдинге.
– Настройте параметры Length и Sigma в зависимости от вашего торгового инструмента.
– Установите Stop-Loss и Take-Profit в соответствии с вашими целями и уровнем риска.
– Включите "Candles Color" для визуального отображения направлений тренда на графике.
Преимущества:
– Фильтрация шума: Гауссов фильтр устраняет незначительные колебания, выделяя основной тренд.
– Динамическое следование за трендом: Автоматически входит и выходит из позиций при смене тренда.
– Гибкое управление рисками: Возможность настройки уровней Stop-Loss и Take-Profit.
Заключение:
"Gaussian Swing 1H strategy" — это мощный и надежный инструмент для swing-трейдинга, который помогает захватывать среднесрочные рыночные движения. Благодаря использованию Гауссова фильтра, стратегия генерирует четкие сигналы на вход и выход, повышая эффективность принятия торговых решений и управления рисками. Гибкость в настройках параметров позволяет адаптировать стратегию к различным финансовым инструментам и рыночным условиям.
Crypto 40 PulseCrypto 40 Pulse – Indicator Overview
The Crypto 40 Pulse is a market-tracking indicator designed to measure how many of up to 40 selected assets (initially the top 40 cryptocurrencies by market cap at the time of creation) are currently trading above a chosen Moving Average (MA). By default, it monitors popular crypto pairs, but you can customize it to track stocks, forex pairs, or any other assets you prefer.
How It Works
Symbol Selection & Customization
The indicator provides 40 slots, each representing a different asset.
You can enable or disable each symbol using checkboxes—disabled symbols are excluded from the calculation.
Moving Average Options
You can choose between SMA, EMA, WMA, or SMMA in the settings.
By default, the indicator uses a 200-period EMA, a widely used metric for identifying long-term trends.
Oscillator Logic
The script checks whether the closing price of each active symbol is above the selected Moving Average.
Every asset that meets this condition contributes +1 to the total count (countAbove).
This count is then displayed as an oscillator, ranging from 0 to the number of enabled assets.
Dynamic Overbought & Oversold Levels
The overbought threshold is set at 80% of enabled symbols, while the oversold threshold is at 20%.
A midline (50%) helps visualize the balance between bullish and bearish sentiment.
These levels adjust automatically based on the number of symbols enabled.
Who Can Use It?
While the indicator is preloaded with top 40 crypto assets, you can replace these with stocks, indices, forex pairs, or any other market symbols.
The time frame aligns with your chart—on a daily chart, for example, it evaluates each asset’s daily closing price against the selected MA.
Additional Notes
Free & Open-Source: You can use, study, and modify this script for non-commercial purposes.
Attribution: If you modify and share an updated version, please credit the original creator @PROTON_24
TradingView Limitations: Due to script constraints, only 40 symbols can be tracked at a time using request.security().
Final Thoughts
The Crypto 40 Pulse is a powerful tool for monitoring multi-asset market momentum. Customize it to fit your strategy and gain deeper insights into broader market trends!
Fair Value Gap Detector**ICT Fair Value Gap Detector** draws color-coded boxes on your chart to highlight potential Fair Value Gaps (FVG) using the ICT method. It checks three consecutive candles—Candle #2, Candle #1, and Candle #0—and identifies gaps between Candle #2’s high/low and the lows/highs of the next two candles. The boxes extend from Candle #2 forward, ensuring the gap “touches” the first candle. Customize the right offset and transparency to suit your trading style.
Ragi's Divergence HelperThis is Ragi's Divergence Helper is a TradingView indicator designed to track bullish and bearish divergences across multiple timeframes. It provides a clear, structured dashboard that remains fixed in a chosen corner of the chart for easy visibility.
Recommendations:
Put dashboard on lower left corner is less obstructive.
Use along with any RSI indicator for confirmations of bullish and bearish divergences.
Key Features:
✅ Timeframe Coverage: Monitors 5m, 10m, 15m, 30m, 1H, 2H, 4H, and Daily timeframes.
✅ Divergence Detection: Identifies whether a bullish (green) or bearish (red) divergence is present on each timeframe, displaying "None" if no divergence is detected.
✅ Divergence Lineup: Summarizes the overall market direction by checking if multiple timeframes align bullish or bearish.
✅ Customizable Settings: Users can adjust colors, panel position (Top Right, Bottom Right, Bottom Left, Top Left), and background color for better chart integration.
✅ Fixed & Readable Panel: Ensures the information is always visible without interfering with price action analysis.
How to Use It:
If multiple timeframes show bullish divergences, it may indicate a potential trend reversal or continuation to the upside.
If multiple timeframes show bearish divergences, it may signal a possible price drop or reversal downward.
When no divergences are present, it suggests no immediate divergence-based trading opportunity.
This indicator is ideal for traders looking for quick divergence insights across different timeframes without needing to analyze multiple indicators manually. 🚀
Coinbase Premium ($)The script prints the difference between Coinbase spot and Binance spot price in dollars
RSI & EMA IndicatorMulti-Timeframe EMA & RSI Analysis with Trend Merging Detection
Overview
This script provides traders with a multi-timeframe analysis tool that simplifies trend detection, momentum confirmation, and potential trend shifts. It integrates Exponential Moving Averages (EMAs) and the Relative Strength Index (RSI) across Daily, Weekly, and Monthly timeframes, helping traders assess both long-term and short-term market conditions at a glance.
This script is a simplification and modification of the EMA Cheatsheet by MarketMoves, reducing chart clutter while adding EMA merging detection to highlight potential trend reversals or breakouts.
Originality and Usefulness
Unlike traditional indicators, which focus on a single timeframe, this script combines multiple timeframes in a single view to offer a comprehensive market outlook.
What Makes This Indicator Unique?
This Indicator to Combine RSI and EMA Clouds for Multiple Timeframes
Multi-Timeframe Trend Analysis in One Visual Tool
EMA Merging Detection to Spot Trend Shifts Early
Momentum Validation Using RSI Across Daily, Weekly, and Monthly Timeframes
Reduces Chart Clutter While Providing Actionable Trade Signals
I couldn't find a TradingView indicator that displayed RSI and EMA clouds together across Daily, Weekly, and Monthly timeframes. This tool bridges that gap, allowing traders to see trend strength and momentum shifts across key timeframes without switching charts.
How the Script Works
1. Trend Direction via EMAs
The script tracks Short-term (5 & 12-period), Medium-term (34 & 50-period), and Long-term (72 & 89-period) EMAs across Daily, Weekly, and Monthly timeframes.
Bullish trend: When faster EMAs are above slower EMAs.
Bearish trend: When faster EMAs are below slower EMAs.
A visual table simplifies trend recognition with:
Green cells for bullish alignment.
Red cells for bearish alignment.
This color-coded system allows traders to quickly assess market momentum across different timeframes without excessive manual analysis.
2. Momentum Confirmation with RSI
The RSI(14) values for Daily, Weekly, and Monthly timeframes are displayed alongside the EMAs.
RSI above 70 suggests overbought conditions.
RSI below 30 suggests oversold conditions.
By combining RSI with EMA trends, traders can confirm whether momentum supports the trend direction or if the market is losing strength.
3. Trend Shift Detection (EMA Merging Mechanism)
A unique feature of this script is EMA merging detection, which occurs when:
The short, medium, and long-term EMAs come within 0.5% of the price.
This often signals trend reversals, breakouts, or consolidations.
When this condition is met, a warning signal appears, alerting traders to potential market shifts.
Who This Indicator Is For?
This script is designed for traders who want to track trends across multiple timeframes while keeping a clean and simplified chart.
Swing & Position Traders – Identify strong trends and potential momentum shifts for longer-term trades.
Trend Followers – Stay aligned with major market trends and avoid trading against momentum.
Day Traders – Use the Daily timeframe for entries while referencing higher timeframes for confirmation.
How to Use the Indicator
Add the indicator to any chart.
Check the trend table in the top-right corner:
Green cells indicate a bullish trend.
Red cells indicate a bearish trend.
Look at RSI values to confirm momentum:
RSI above 70 = Overbought.
RSI below 30 = Oversold.
Watch for the "Merge" alert to spot potential reversals or consolidations.
Combine signals from multiple timeframes for stronger trade decisions.
Why This Indicator is Unique on TradingView?
Before this script, no TradingView indicator displayed RSI and EMA clouds together across multiple timeframes (Daily, Weekly, Monthly).
This tool eliminates the need to:
Manually check multiple timeframes for trend alignment.
Add multiple EMA and RSI indicators to the same chart, creating clutter.
Constantly switch between different timeframes to confirm momentum and trend direction.
With this indicator, traders can see trend strength and momentum shifts instantly, improving their decision-making process.
Chart Guidelines
The script is designed for use on a clean chart to maximize clarity.
The trend alignment table is displayed in a non-intrusive manner so traders can focus on price action.
No additional indicators are required, but users may combine this script with volume-based indicators for further confirmation.
The script name and timeframe should always be visible on published charts to help traders understand the analysis.
Final Notes
This script is a simplification and modification of the EMA Cheatsheet by MarketMoves, improving trend detection, momentum confirmation, and EMA merging detection.
It is designed to help traders quickly identify trend direction, confirm momentum, and detect potential trend shifts, reducing the need for excessive manual analysis.
Disclaimer: This indicator is for educational purposes only and does not constitute financial advice. Trading involves risk; always use proper risk management when applying this tool in live markets.
Mayer Multiple Zones (Crypto)Enhanced Mayer Multiple Zones
Advanced crypto valuation zones with ETH/BTC context
Key Features
Shows 6 price zones based on MA200 multiples (bubble, take profit, fair value, accumulation, value buy, strong buy)
Adds ETH/BTC ratio context for stronger signals
Works on any crypto with sufficient price history ( ETH , SOL , AAVE , etc)
Color intensity changes based on market conditions
How to Read
Color Zones : Price relative to its MA200 history
Zone Opacity : Stronger color = stronger signal (influenced by ETH/BTC context)
Status Box : Shows current "Enhanced Status" combining price level with ETH/BTC context
Context Line : Explains why the signal is strong or weak
Buy/Sell Signals
Strong Buy Signals :
• " EXTREME VALUE " (blue zone + BTC dominance)
• " STRONG VALUE BUY " (cyan zone + BTC preference)
Take Profit Signals :
• " CONFIRMED BUBBLE " (purple zone + altcoin dominance)
• " APPROACHING BUBBLE " (red zone + rising altcoin strength)
Customization
Adjust multiple thresholds (0.6x, 0.8x, 2.0x, 2.5x, 3.0x)
Toggle ETH/BTC context analysis
Configure ETH/BTC thresholds for market bias
Change MA length from default 200
This indicator helps identify optimal entry and exit points by watching the vertical color streaks on your chart. Look for deep blue/cyan zones with high opacity for strong buying opportunities, and intense purple/red zones for potential exits. The darker the color intensity, the stronger the signal—no complex interpretation needed!
Consecutive Bullish/Bearish Candles🔍 Overview:
This indicator detects market manipulation and deception by identifying sequences of consecutive bullish or bearish candles. It highlights potential reversal zones where trends may exhaust or trap traders before reversing.
📌 How It Works:
The user can set a custom number of consecutive bullish or bearish candles (default: 5).
If the set number of consecutive green (bullish) or red (bearish) candles appears, the indicator plots a signal on the chart.
This pattern often signals exhaustion, stop hunts, or market traps, making it useful for traders looking for reversal opportunities.
📊 Features:
✅ Customizable candle count for detection
✅ Visual signals (✅ for bullish, ❌ for bearish)
✅ Alerts support for automated notifications
✅ Works on all timeframes and all markets (crypto, stocks, forex)
⚠️ Note:
This indicator does not guarantee reversals but helps identify areas where traders may be trapped and a trend shift is likely. Always use it with other confluence factors like volume, support/resistance, and market sentiment.
🚀 Use this tool to spot market deception and trade smart!
Budicon Market StructureThe Budicon Market Structure Indicator provides a clear and structured view of price action, making it easier to follow trends, identify breakouts, and avoid false moves.
How It Helps Traders
🔹 Break of Structure (BoS): Confirms trend continuation after price breaks a previous high/low.
🔹 Change of Character (ChoCh): Identifies early signs of trend reversals.
🔹 Liquidity Grabs & Fakeouts: Detects manipulations before big moves.
🔹 Key Support/Resistance Levels: Helps refine entry and exit points with precision
✅ Works on All Timeframes – Ideal for scalping, day trading, and swing trading.
Its designed by Budicon Technology
Candle Size Compared to ATRThe "Candle Size Compared to ATR" indicator compares each candle's range to the ATR and colors it based on the strength of its close. Key features include:
Strong Candles & ATR Comparison: If a candle's range exceeds the ATR threshold, it is highlighted to indicate potential significant price movement.
Double Candle Covering Previous Plot: This feature identifies cases where a two-candle formation covers the previous range and meets ATR conditions, helping spot potential trend continuation or reversal signals.
Continuous Reversing Patterns: The indicator tracks reversal attempts by monitoring whether recent strong bullish or bearish candles are reversing previous highs or lows. If a reversal is in progress, it is marked with a colored circle, and an arrow appears when a new reversal starts.
This indicator helps traders quickly spot strong price moves, reversals, and trend continuations based on ATR dynamics.
Market Trend Levels Detector [BigBeluga]Market Trend Levels Detector is an trend-following tool that utilizes moving average crossovers to identify key market trend levels. By detecting local highs and lows after EMA crossovers, the indicator helps traders track significant price zones and trend strength.
🔵 Key Features:
EMA Crossover-Based Trend Levels Detection:
Uses a fast and slow EMA to detect market flow shifts.
When the fast EMA crosses under the slow EMA, the indicator searches for the most recent local top and marks it with a label and horizontal level.
When the fast EMA crosses over the slow EMA, it searches for the most recent local low and marks it accordingly.
Dynamic Zone Levels:
Each detected high or low is plotted as a horizontal level, highlighting important price zones.
Traders can extend these levels to observe how price interacts with them over time.
If price crosses a level, its extension stops. Uncrossed levels continue expanding.
Gradient Trend Band Visualization:
The trend band is formed by shading the area between the two EMAs.
Color intensity varies based on volatility and trend strength.
Strong trends and high volatility areas appear with more intense colors, making trend shifts visually distinct.
🔵 Usage:
Trend Identification: Use EMA crossovers and trend bands to confirm bullish or bearish momentum.
Key Zone Mapping: Observe local high/low levels to track historical reaction points.
Breakout & Rejection Signals: Monitor price interactions with extended levels to assess potential breakouts or reversals.
Volatility Strength Analysis: Use color intensity in the trend band to gauge trend power and possible exhaustion points.
Scalping & Swing Trading: Ideal for both short-term scalping strategies and larger swing trade setups.
Market Trend Levels Detector is a must-have tool for traders looking to track market flow, key price levels, and trend momentum with dynamic visual cues. It provides a comprehensive approach to identifying high-probability trade setups using EMA-based flow detection and trend analysis.
HTF Traffic Light Indicator 3/10 OscillatorThe Traffic Light 3/10 Indicator is based on the 3/10 Oscillator and allows trend evaluation across two freely selectable higher timeframes. The traffic light signaling is determined by individually defined rules for different states of the oscillator.
The color of the EMA (Exponential Moving Average) acts as a traffic light.
Currently, there is still a small bug:
The color of the EMA does not update correctly when a new candle forms. The correct color is only displayed after manually reloading the window. If anyone from the community finds a solution for this, a fix would be highly appreciated! Maybe this function could help with the solution: Higher-timeframe requests
100 Point Scaled EMA100 Point Scaled EMA is a distinctive indicator that standardizes trend analysis by normalizing price data. Here’s a breakdown of its technical features:
Normalized Exponential Moving Averages (EMAs):
Dual EMAs: Configurable lengths (typically 9 and 21) are applied to calculate EMAs.
Scaling Mechanism: The EMAs are normalized to a fixed 0–100 range using the highest and lowest prices over the last 100 bars, enabling consistent analysis regardless of market volatility.
Integrated Relative Strength Index (RSI):
A 14-period RSI is incorporated to provide additional momentum and overbought/oversold insights.
Dynamic Visual Cues:
Gradient Fills: Visual gradients highlight overbought and oversold regions, enhancing the readability of trend shifts.
Crossover Signals:
The script detects EMA crossovers with specific conditions—crossover events occurring below 25 and above 75—to mark potential trade setups.
This technical approach makes the 100 Point Scaled EMA a powerful tool for traders, offering a simple unique and standardized perspective on market trends.
Enhanced KLSE Banker Flow Oscillator# Enhanced KLSE Banker Flow Oscillator
## Description
The Enhanced KLSE Banker Flow Oscillator is a sophisticated technical analysis tool designed specifically for the Malaysian stock market (KLSE). This indicator analyzes price and volume relationships to identify potential smart money movements, providing early signals for market reversals and continuation patterns.
The oscillator measures the buying and selling pressure in the market with a focus on detecting institutional activity. By combining money flow calculations with volume filters and price action analysis, it helps traders identify high-probability trading opportunities with reduced noise.
## Key Features
- Dual-Timeframe Analysis: Combines long-term money flow trends with short-term momentum shifts for more accurate signals
- Adaptive Volume Filtering: Automatically adjusts volume thresholds based on recent market conditions
- Advanced Divergence Detection: Identifies potential trend reversals through price-flow divergences
- Early Signal Detection: Provides anticipatory signals before major price movements occur
- Multiple Signal Types: Offers both early alerts and strong confirmation signals with clear visual markers
- Volatility Adjustment: Adapts sensitivity based on current market volatility for more reliable signals
- Comprehensive Visual Feedback: Color-coded oscillator, signal markers, and optional text labels
- Customizable Display Options: Toggle momentum histogram, early signals, and zone fills
- Organized Settings Interface: Logically grouped parameters for easier configuration
## Indicator Components
1. Main Oscillator Line: The primary banker flow line that fluctuates above and below zero
2. Early Signal Line: Secondary indicator showing potential emerging signals
3. Momentum Histogram: Visual representation of flow momentum changes
4. Zone Fills: Color-coded background highlighting positive and negative zones
5. Signal Markers: Visual indicators for entry and exit points
6. Reference Lines: Key levels for strong and early signals
7. Signal Labels: Optional text annotations for significant signals
## Signal Types
1. Strong Buy Signal (Green Arrow): Major bullish signal with high probability of success
2. Strong Sell Signal (Red Arrow): Major bearish signal with high probability of success
3. Early Buy Signal (Blue Circle): First indication of potential bullish trend
4. Early Sell Signal (Red Circle): First indication of potential bearish trend
5. Bullish Divergence (Yellow Triangle Up): Price making lower lows while flow makes higher lows
6. Bearish Divergence (Yellow Triangle Down): Price making higher highs while flow makes lower highs
## Parameters Explained
### Core Settings
- MFI Base Length (14): Primary calculation period for money flow index
- Short-term Flow Length (5): Calculation period for early signals
- KLSE Sensitivity (1.8): Multiplier for flow calculations, higher = more sensitive
- Smoothing Length (5): Smoothing period for the main oscillator line
### Volume Filter Settings
- Volume Filter % (65): Minimum volume threshold as percentage of average
- Use Adaptive Volume Filter (true): Dynamically adjusts volume thresholds
### Signal Levels
- Strong Signal Level (15): Threshold for strong buy/sell signals
- Early Signal Level (10): Threshold for early buy/sell signals
- Early Signal Threshold (0.75): Sensitivity factor for early signals
### Advanced Settings
- Divergence Lookback (34): Period for checking price-flow divergences
- Show Signal Labels (true): Toggle text labels for signals
### Visual Settings
- Show Momentum Histogram (true): Toggle the momentum histogram display
- Show Early Signal (true): Toggle the early signal line display
- Show Zone Fills (true): Toggle background color fills
## How to Use This Indicator
### Installation
1. Add the indicator to your TradingView chart
2. Default settings are optimized for KLSE stocks
3. Customize parameters if needed for specific stocks
### Basic Interpretation
- Oscillator Above Zero: Bullish bias, buying pressure dominates
- Oscillator Below Zero: Bearish bias, selling pressure dominates
- Crossing Zero Line: Potential shift in market sentiment
- Extreme Readings: Possible overbought/oversold conditions
### Advanced Interpretation
- Divergences: Early warning of trend exhaustion
- Signal Confluences: Multiple signal types appearing together increase reliability
- Volume Confirmation: Signals with higher volume are more significant
- Momentum Alignment: Histogram should confirm direction of main oscillator
### Trading Strategies
#### Trend Following Strategy
1. Identify market trend direction
2. Wait for pullbacks shown by oscillator moving against trend
3. Enter when oscillator reverses back in trend direction with a Strong signal
4. Place stop loss below/above recent swing low/high
5. Take profit at previous resistance/support levels
#### Counter-Trend Strategy
1. Look for oscillator reaching extreme levels
2. Identify divergence between price and oscillator
3. Wait for oscillator to cross Early signal threshold
4. Enter position against prevailing trend
5. Use tight stop loss (1 ATR from entry)
6. Take profit at first resistance/support level
#### Breakout Confirmation Strategy
1. Identify stock consolidating in a range
2. Wait for price to break out of range
3. Confirm breakout with oscillator crossing zero line in breakout direction
4. Enter position in breakout direction
5. Place stop loss below/above the breakout level
6. Trail stop as price advances
### Signal Hierarchy and Reliability
From highest to lowest reliability:
1. Strong Buy/Sell signals with divergence and high volume
2. Strong Buy/Sell signals with high volume
3. Divergence signals followed by Early signals
4. Strong Buy/Sell signals with normal volume
5. Early Buy/Sell signals with high volume
6. Early Buy/Sell signals with normal volume
## Complete Trading Plan Example
### KLSE Market Trading System
#### Pre-Trading Preparation
1. Review overall market sentiment (bullish, bearish, or neutral)
2. Scan for stocks showing significant banker flow signals
3. Note key support/resistance levels for watchlist stocks
4. Prioritize trade candidates based on signal strength and volume
#### Entry Rules for Long Positions
1. Banker Flow Oscillator above zero line (positive flow environment)
2. One or more of the following signals present:
- Strong Buy signal (green arrow)
- Bullish Divergence signal (yellow triangle up)
- Early Buy signal (blue circle) with confirming price action
3. Entry confirmation requirements:
- Volume above 65% of 20-day average
- Price above short-term moving average (e.g., 20 EMA)
- No immediate resistance within 3% of entry price
4. Entry on the next candle open after signal confirmation
#### Entry Rules for Short Positions
1. Banker Flow Oscillator below zero line (negative flow environment)
2. One or more of the following signals present:
- Strong Sell signal (red arrow)
- Bearish Divergence signal (yellow triangle down)
- Early Sell signal (red circle) with confirming price action
3. Entry confirmation requirements:
- Volume above 65% of 20-day average
- Price below short-term moving average (e.g., 20 EMA)
- No immediate support within 3% of entry price
4. Entry on the next candle open after signal confirmation
#### Position Sizing Rules
1. Base risk per trade: 1% of trading capital
2. Position size calculation: Capital × Risk% ÷ Stop Loss Distance
3. Position size adjustments:
- Increase by 20% for Strong signals with above-average volume
- Decrease by 20% for Early signals without confirming price action
- Standard size for all other valid signals
#### Stop Loss Placement
1. For Long Positions:
- Place stop below the most recent swing low
- Minimum distance: 1.5 × ATR(14)
- Maximum risk: 1% of trading capital
2. For Short Positions:
- Place stop above the most recent swing high
- Minimum distance: 1.5 × ATR(14)
- Maximum risk: 1% of trading capital
#### Take Profit Strategy
1. First Target (33% of position):
- 1.5:1 reward-to-risk ratio
- Move stop to breakeven after reaching first target
2. Second Target (33% of position):
- 2.5:1 reward-to-risk ratio
- Trail stop at previous day's low/high
3. Final Target (34% of position):
- 4:1 reward-to-risk ratio or
- Exit when opposing signal appears (e.g., Strong Sell for long positions)
#### Trade Management Rules
1. After reaching first target:
- Move stop to breakeven
- Consider adding to position if new confirming signal appears
2. After reaching second target:
- Trail stop using banker flow signals
- Exit remaining position when:
- Oscillator crosses zero line in opposite direction
- Opposing signal appears
- Price closes below/above trailing stop level
3. Maximum holding period:
- 20 trading days for trend-following trades
- 10 trading days for counter-trend trades
- Re-evaluate if targets not reached within timeframe
#### Risk Management Safeguards
1. Maximum open positions: 5 trades
2. Maximum sector exposure: 40% of trading capital
3. Maximum daily drawdown limit: 3% of trading capital
4. Mandatory stop trading rules:
- After three consecutive losing trades
- After reaching 5% account drawdown
- Resume after two-day cooling period and strategy review
#### Performance Tracking
1. Track for each trade:
- Signal type that triggered entry
- Oscillator reading at entry and exit
- Volume relative to average
- Price action confirmation patterns
- Holding period
- Reward-to-risk achieved
2. Review performance metrics weekly:
- Win rate by signal type
- Average reward-to-risk ratio
- Profit factor
- Maximum drawdown
3. Adjust strategy parameters based on performance:
- Increase position size for highest performing signals
- Decrease or eliminate trades based on underperforming signals
## Advanced Usage Tips
1. Combine with Support/Resistance:
- Signals are more reliable when they occur at key support/resistance levels
- Look for banker flow divergence at major price levels
2. Multiple Timeframe Analysis:
- Use the oscillator on both daily and weekly timeframes
- Stronger signals when both timeframes align
- Enter on shorter timeframe when confirmed by longer timeframe
3. Sector Rotation Strategy:
- Compare banker flow across different sectors
- Rotate capital to sectors showing strongest positive flow
- Avoid sectors with persistent negative flow
4. Volatility Adjustments:
- During high volatility periods, wait for Strong signals only
- During low volatility periods, Early signals can be more actionable
5. Optimizing Parameters:
- For more volatile stocks: Increase Smoothing Length (6-8)
- For less volatile stocks: Decrease KLSE Sensitivity (1.2-1.5)
- For intraday trading: Reduce all length parameters by 30-50%
## Fine-Tuning for Different Markets
While optimized for KLSE, the indicator can be adapted for other markets:
1. For US Stocks:
- Reduce KLSE Sensitivity to 1.5
- Increase Volume Filter to 75%
- Adjust Strong Signal Level to 18
2. For Forex:
- Increase Smoothing Length to 8
- Reduce Early Signal Threshold to 0.6
- Focus more on divergence signals than crossovers
3. For Cryptocurrencies:
- Increase KLSE Sensitivity to 2.2
- Reduce Signal Levels (Strong: 12, Early: 8)
- Use higher Volume Filter (80%)
By thoroughly understanding and properly implementing the Enhanced KLSE Banker Flow Oscillator, traders can gain a significant edge in identifying institutional money flow and making more informed trading decisions, particularly in the Malaysian stock market.
+ Stochastic S/R ZonesHey, all. I have a new indicator here that displays zones on your price chart where the stochastic oscillator has moved out of overbought or oversold back into the range of the indicator that is bounded by those two levels.
I know there are many support and resistance indicators on TradingView already, at least a couple of which use the RSI in a similar way as I am using the stochastic here, but I still believe this is a fairly novel interpretation of the stochastic, and it is, in my opinion, a better oscillator than the RSI to be used in this way.
In addition to the zones being plotted on the chart, the indicator also, optionally, can color candles or plot shapes above candles when the 50 line is crossed, so if you want to use this as a simple momentum indicator without desire of having the below chart indicator taking up screen space, you're pretty much covered on the typical signals you might want from it (with the exception of %K / %D crosses, but there are alerts for that).
Visually, it is a simple, clean indicator. There are the zones, and then candle colors or shapes if you opt to add those. These zones are actually drawn from the candle preceding the cross over or cross under. Reason for that is often times the candle of the cross is fairly impulsive and exiting a consolidation. That period of consolidation is what is important to highlight, at least as far as I am concerned. The zones themselves extend until they are broken by a candle. A support zone stops at the candle that closes below its low. Vice versa for a resistance zone.
Usage is fairly simple. All the standard stochastic inputs are available for you to adjust to your heart's content. Additionally, you can choose either the %K or %D line to use as the source from which the zones are drawn, candles are colored, and shapes are plotted. Not sure if this will matter to most people, but I figured it should be made available.
This should be obvious, but I feel it must be said, just because an oscillator (any oscillator) has exited overbought or oversold does not mean that there must be a reversal (or in the case of a trend pullback, continuation). The oscillator can always simply immediately move back into overbought/sold. Just because a support box prints does not mean you should mortgage your house on a long trade. In strong trends, and depending on your oscillator settings, the indicator might draw a box then only a couple of candles later break it, continuing on with the trend. This of course is telling you something, and you would be wise to listen. As with all things trading, context is important.
Here are a few extra screens for you.
I really hope you all like this. It's been ages since I've created anything new, and despite its simplicity and the few lines of code that make it up, it took a lot of work, as I am a poor coder.
Enjoy,
Scott