ניתוח מגמה
Range Fractal Filter Buy and Sell 5min By BossFXTraderRange Filter with Buy and Sell
Fractal confirmation with Confluence
Risk Reward is 1:3 best result.
Confluence with another indicator will work.
Median MACD - MattesThe Median Based MACD is a new-generation indicator created from old statistical Concepts. It combines a Median Calculation with a MACD to create a smoother signal with less noise and increased robustness.
In this case, the original calculation source of the MACD is replaced with a Median which can be calculated over user set X time.
- Why its good:
This "Phoenix" of sorts brings old concepts together to create a strong, new indicator which can frontrun & see trends from miles up front.
- How it can be used:
While this indicator can be used to follow trends, it can also be used to detect where a trend has weakened and is unlikely to continue. Please keep in mind that its unlikely but the chance is never 0.
In my personal opinion, i think that this indicator should NOT be used as a standalone indicator but rather as a compliment to analysis.
Enjoy!
[blackcat] L3 Top and Bottom Divine JudgmentOVERVIEW
The "Top and Bottom Divine Judgment" indicator is designed to identify potential tops and bottoms in the market using a combination of EMAs, SMAs, and custom calculations based on high and low prices. It provides multiple lines and plots to help traders visualize different market conditions and potential turning points.
FEATURES
Customizable EMA and SMA periods for various calculations.
Identification of bullish and bearish trends using EMAs.
Detection of overbought and oversold conditions.
Multiple lines and histograms to indicate specific market conditions and potential reversals.
Visual alerts with colored lines and shapes.
HOW TO USE
Add the script to your TradingView chart.
Customize Settings:
Adjust the short_ema_period, long_ema_period, sma_period, high_period, low_period, and other period inputs in the "Inputs" section.
Bullish and Bearish EMAs:
bullish_ema (yellow) and bearish_ema (fuchsia) are plotted to assess the overall market trend.
When bullish_ema is above bearish_ema, it suggests an uptrend.
When bullish_ema is below bearish_ema, it suggests a downtrend.
High-Low Boundary Line:
A horizontal line at 50 (yellow) represents a midpoint in the normalized price range, helping to identify overbought or oversold conditions.
Danger and Caution, Sell Signal, etc.:
These lines indicate specific conditions where the market might be overextended or due for a reversal.
Histograms for CZS1 and CZS4:
These histograms (aqua and purple) represent changes in certain indicators, possibly related to momentum or volatility, helping traders gauge the strength of trends.
Support Line Cross:
A shape ("●") is plotted when the close price crosses above a calculated support line, which could be a buy signal.
Generate Trading Signals:
Bullish and Bearish Trends:
Use the crossover of bullish_ema and bearish_ema to identify potential trend changes.
Overbought/Oversold Conditions:
Use the High-Low Boundary Line to identify overbought or oversold levels.
Specific Market Conditions:
Use the lines for "Danger and Caution," "Sell Signal," "Weak Out Strong Stay," "Opportunity," "Low Suck," and "High Sell" to identify specific market conditions and potential reversals.
Support Line Cross:
Use the plotted shape to identify potential buy signals when the close price crosses above the support line.
Risk Management:
Use the indicator in conjunction with other tools and risk management strategies to confirm trading signals and manage positions effectively.
LIMITATIONS
The script is based on historical data and does not guarantee future performance.
It is recommended to use the script in conjunction with other analysis tools.
The effectiveness of the strategy may vary depending on the market conditions and asset being traded.
NOTES
The script is designed for educational purposes and should not be considered financial advice.
Users are encouraged to backtest the strategy on a demo account before applying it to live trades.
THANKS
Special thanks to the TradingView community for their support and feedback.
Trend Detection with AlertsPurpose of the Script
The script identifies trends on a chart (uptrend, downtrend, or sideways trend) and provides both visual cues and alerts when a trend changes. It uses two methods for trend detection:
Moving Averages (MA): It compares a short-term moving average (fast) with a long-term moving average (slow).
An uptrend occurs when the short-term MA is above the long-term MA.
A downtrend occurs when the short-term MA is below the long-term MA.
Price Action:
Higher highs (HH) indicate bullish momentum.
Lower lows (LL) indicate bearish momentum.
When these methods align, the script determines the trend and notifies the user of any trend changes.
Key Features
Moving Average Calculation:
A short-term moving average and a long-term moving average are calculated to determine the overall trend direction.
Trend Determination:
An uptrend is detected when the short-term MA is above the long-term MA and higher highs are present.
A downtrend is detected when the short-term MA is below the long-term MA and lower lows are present.
Otherwise, the trend is classified as sideways.
Alerts for Trend Changes:
Alerts are triggered when the trend changes from one state to another (e.g., sideways to uptrend).
Custom messages indicate the type of trend detected.
Background Colors:
The script changes the chart’s background color based on the current trend:
Green for uptrends.
Red for downtrends.
Gray for sideways trends.
Visualization of Moving Averages:
The moving averages are plotted on the chart for visual reference.
How It Works
Inputs for Flexibility:
The user can configure the lengths of the short-term and long-term moving averages.
A lookback period is used to determine higher highs or lower lows for additional confirmation.
Trend Logic:
The script checks the relationship between the moving averages to identify general trends.
It also evaluates price action to confirm trend strength (e.g., whether a higher high or lower low occurred).
Alert System:
When the detected trend changes (e.g., from sideways to uptrend), an alert is triggered. This ensures the user is notified of important market movements.
Dynamic Background Coloring:
The background color of the chart changes to reflect the current trend, making it easy to interpret the trend visually.
Use Cases
Trend Identification: Helps traders quickly identify market trends for decision-making.
Alerts for Trend Changes: Notifies traders when a new trend begins, ensuring they don’t miss key opportunities.
Visual Assistance: Makes it easier to interpret trends through color-coded backgrounds and moving average overlays.
Customization Options
Adjust Moving Average Lengths: Users can modify the short-term and long-term moving averages to suit their trading strategies.
Change Lookback Period: The sensitivity of higher highs and lower lows can be adjusted.
Personalized Alerts: Alerts can be customized for different trading scenarios.
Summary
This script provides an intuitive way to detect and visualize market trends while offering real-time alerts for trend changes. It’s an excellent tool for traders who want to stay informed about market conditions and make data-driven decisions.
Dynamic Support and Resistance Pivot Strategy The Dynamic Support and Resistance Pivot Strategy is a flexible and adaptive tool designed to identify short-term support and resistance levels using the concept of price pivots.
### Key Elements of the Strategy
1. Pivot points as support and resistance levels
Pivots are significant turning points on the price chart, often marking local highs and lows where the price has reversed direction. A pivot high occurs when the price forms a local peak, while a pivot low occurs when the price forms a local trough. When a new pivot high is formed, it creates a resistance level. Conversely, when a new pivot low is formed, it creates a support level.
The strategy continuously updates these levels as new pivots are detected, ensuring they remain relevant to the current market conditions. By identifying these price levels, the strategy dynamically adjusts to market conditions, allowing it to adapt to both trending and ranging markets, since it has a long target and can perform reversal operations.
2. Entry Criteria
- Buy (Long): A long position is triggered when the price is near the support level and then crosses it from below to above. This suggests that the price has found support and may start moving upwards.
- Sell (Short): A short position is triggered when the price is near the resistance level and then crosses it from above to below. This indicates that the price may be reversing and moving downward.
3. Support/Resistance distance (%)
- This parameter establishes a percentage range around the identified support and resistance level. For example, if the Support Resistance Distance is 0.4% (default), the closing price must be within a range of 0.4% above support or below the resistance to be considered "close" and trigger a trade.
4. Exit criteria
- Take profit = 27 %
- Stop loss = 10 %
- Reversal if a new entry point is identified in the opposite direction
5. No Repainting
- The Dynamic Support and Resistance Pivot Strategy is not subject to repainting.
6. Position Sizing by Equity and risk management
- This strategy has a default configuration to operate with 35% of the equity. The stop loss is set to 10% from the entry price. This way, the strategy is putting at risk about 10% of 35% of equity, that is, around 3.5% of equity for each trade. The percentage of equity and stop loss can be adjusted by the user according to their risk management.
7. Backtest results
- This strategy was subjected to backtest and operations in replay mode on **1000000MOGUSDT.P**, with the inclusion of transaction fees at 0.12% and slipagge of 5 ticks, and the past results have shown consistent profitability. Past results are no guarantee of future results. The strategy's backtest results may even be due to overfitting with past data.
8. Chart Visualization
- Support and resistance levels are displayed as green (support) and red (resistance) lines.
- Pivot prices are displayed as green (pivot low) and red (pivot high) labels.
In this image above, the Support/Resistance distance (%) parameter was set to 0.8.
9. Default Configuration
Chart Timeframe: 1h
Pivot Lengh: 2
Support/Resistance distance (%): 0.4*
Stop Loss: 10 %
Take Profit: 27 %
* This parameter can alternatively be set to 0.8.
10. Alternative Configuration
Chart Timeframe: 20 min
Pivot Lengh: 4
Support/Resistance distance (%): 0.1
Stop Loss: 10 %
Take Profit: 25 %
BYBIT:1000000MOGUSDT.P
Pivot Market StructureDescription and Features
This script is designed to enhance technical analysis by identifying key market structure levels. It uses a price action trail (based on the last highest/lowest price) and pivot points to track market trends, offering insights into potential reversal zones or trend continuation signals.
How the Script Works
High/Low Trail Logic: The script includes a trail mechanism that compares the current price with the last highest and lowest price, determining whether the price has breached these levels. This helps pinpoint key price action events and potential trend shifts. Unlike pivot points the price action trail is more responsive changes within the market structure.
Step Size and Length for High/Low Trail:
- The Step Length parameter defines how many bars are used to compare the current price against the last highest/lowest price, providing a measure of price extremes.
- The Length parameter determines the number of bars considered for calculating the highest/lowest price since the last price action event (either price surpassing a previous high or dipping below a previous low).
Pivot Point Calculation: Pivot Point Highs are calculated by the number of bars with lower highs on either side of a Pivot Point High calculation. Similarly, Pivot Point Lows are calculated by the number of bars with higher lows on either side of a Pivot Point Low calculation. The script draws a line from/to every calculated pivot point to highlight market structure extremes. It can optionally extend these pivot lines to the left for added context, providing historical reference for decision-making.
Summary
By combining both pivot analysis and price action trailing techniques, the script provides a comprehensive view of a pivot point based market structure.
FTD & DD AnalyzerFTD & DD Analyzer
A comprehensive tool for identifying Follow-Through Days (FTDs) and Distribution Days (DDs) to analyze market conditions and potential trend changes, based on William J. O'Neil's proven methodology.
About the Methodology
This indicator implements the market analysis techniques developed by William J. O'Neil, founder of Investor's Business Daily and author of "How to Make Money in Stocks." O'Neil's research, spanning market data back to the 1880s, has successfully identified major market turns throughout history. His FTD and DD concepts remain crucial tools for institutional investors and serious traders.
Overview
This indicator helps traders identify two critical market conditions:
Distribution Days (DDs) - days of institutional selling pressure
Follow-Through Days (FTDs) - confirmation of potential market bottoms and new uptrends
The combination of these signals provides valuable insight into market health and potential trend changes.
Key Features
Distribution Day detection with customizable criteria
Follow-Through Day identification based on classical methodology
Market bottom detection using EMA analysis
Dynamic warning system for accumulated Distribution Days
Visual alerts with customizable labels
Advanced debug mode for detailed analysis
Flexible display options for different trading styles
Distribution Days Analysis
What is a Distribution Day?
A Distribution Day occurs when:
The price closes lower by a specified percentage (default -0.2%)
Volume is higher than the previous day
DD Settings
Price Threshold: Minimum price decline to qualify (default -0.2%)
Lookback Period: Number of days to analyze for DD accumulation (default 25)
Warning Levels:
First warning at 4 DDs
Severe warning (SOS - Sign of Strength) at 6 DDs
Display Options:
Show/hide DD count
Show/hide DD labels
Choose between showing all DDs or only within lookback period
Follow-Through Day Detection
What is a Follow-Through Day?
Following O'Neil's research, a Follow-Through Day confirms a potential market bottom when:
Occurs between day 4 and 13 after a bottom formation (optimal: days 4-7)
Shows significant price gain (default 1.5%)
Accompanied by higher volume than the previous day
Key Statistics:
FTDs followed by distribution on days 1-2 fail 95% of the time
Distribution on day 3 leads to 70% failure rate
Later distribution (days 4-5) shows only 30% failure rate
FTD Settings
Minimum Price Gain: Required percentage gain (default 1.5%)
Valid Window: Day 4 to Day 13 after bottom
Quality Rating:
🚀 for FTDs occurring within 7 days (historically most reliable)
⭐ for later FTDs
Market Bottom Detection
The indicator uses a sophisticated approach to identify potential market bottoms:
EMA Analysis:
Tracks 8 and 21-period EMAs
Monitors EMA alignment and momentum
Customizable tolerance levels
Price Action:
Looks for lower lows within specified lookback period
Confirms bottom with subsequent price action
Reset mechanism to prevent false signals
Visual Indicators
Label Types
📉 Distribution Days
⬇️ Market Bottoms
🚀/⭐ Follow-Through Days
⚠️ DD Warning Levels
Customization Options
Label size: Tiny, Small, Normal, Large
Label style: Default, Arrows, Triangles
Background colors for different signals
Dynamic positioning using ATR multiplier
Practical Usage
1. Monitor DD Accumulation:
Watch for increasing number of Distribution Days
Pay attention to warning levels (4 and 6 DDs)
Consider reducing exposure when warnings appear
2. Bottom Recognition:
Look for potential bottom formations
Monitor EMA alignment and price action
Wait for confirmation signals
3. FTD Confirmation:
Track days after potential bottom
Watch for strong price/volume action in valid window
Note FTD quality rating for additional context
Alert System
Built-in alerts for:
New Distribution Days
Follow-Through Day signals
High DD accumulation warnings
Tips for Best Results
Use multiple timeframes for confirmation
Combine with other market health indicators
Pay attention to sector rotation and market leadership
Monitor volume patterns for confirmation
Consider market context and external factors
Technical Notes
The indicator uses advanced array handling for DD tracking
Dynamic calculations ensure accurate signal generation
Debug mode available for detailed analysis
Optimized for real-time and historical analysis
Additional Information
Compatible with all markets and timeframes
Best suited for daily charts
Regular updates and maintenance
Based on O'Neil's time-tested market analysis principles
Conclusion
The FTD & DD Analyzer provides a systematic approach to market analysis, combining O'Neil's proven methodologies with modern technical analysis. It helps traders identify potential market turns while monitoring institutional participation through volume analysis.
Remember that no indicator is perfect - always use in conjunction with other analysis tools and proper risk management.
HKM - Renko Emulator with EMA TrendThis is a Renko based Emulator to plot on any chart type which prints the box as printed on a Renko charts and is a Non-Repaint version. You can use either Traditional or ATR Method on current chart Timeframe. Option to plot an EMA Line is provided with Trend indication.
Rich's DikFat Money-Counter - ITM/OTM Options Price ViewerScript Overview
This Pine Script is a custom indicator designed for use on the TradingView platform. It analyzes options contracts, extracting key information from the options symbol, and then visualizes the relationship between the current price of the underlying asset and the option's strike price. Here’s a detailed explanation of the script and its components:
Key Features
Symbol Format Validation: The script checks whether the current symbol matches the expected format of an options symbol (like TSLA250131C400.0).
Extraction of Option Components: It extracts the base symbol (e.g., TSLA), expiration date (e.g., 250131), option type (C for call, P for put), and strike price (e.g., 400.0) from the options symbol.
Price Difference Calculation: It calculates the difference between the current price of the base asset (e.g., TSLA) and the option's strike price. Depending on whether the option is a call or put, the calculation is adjusted.
Visualization: The result is plotted on the chart, with color-coded filling to indicate whether the price difference is positive (ITM) or negative (OTM).
Detailed Explanation of Code Components
1. Indicator Definition
indicator("Rich's DikFat Money-Counter - In the Money/Out of the Money Options Price Viewer", shorttitle="Options Price Viewer", overlay=true)
This line defines the indicator's name, short title, and specifies that it should be plotted on the price chart (with overlay=true).
2. Symbol Detection
currentSymbol = syminfo.ticker
This retrieves the symbol of the current asset being analyzed. The script expects this symbol to be an options contract, for example, TSLA250131C400.0.
3. Symbol Format Validation
isOptionSymbol = str.length(currentSymbol) >= 9 and str.match(currentSymbol, "^ + {6} +(\. +)?$") != ""
This checks whether the current symbol matches the expected format for an option:
The symbol must have at least 9 characters.
It must follow a specific pattern: a base symbol (letters), a 6-digit expiration date, an option type (C for Call or P for Put), and a strike price that could include decimals.
[/list>
4. Extracting Option Components
If the symbol is a valid option symbol, the following code extracts the components:
baseSymbol := str.match(currentSymbol, "^ +")
expirationDate := str.substring(currentSymbol, str.length(baseSymbol), str.length(baseSymbol) + 6)
optionType := str.substring(currentSymbol, str.length(baseSymbol) + 6, str.length(baseSymbol) + 7)
strikePrice := str.substring(currentSymbol, str.length(baseSymbol) + 7, str.length(currentSymbol))
baseSymbol: Extracts the letters representing the stock symbol (e.g., TSLA).
expirationDate: Extracts the expiration date in the form of a 6-digit number (e.g., 250131).
optionType: Extracts the option type (C for Call, P for Put).
strikePrice: Extracts the strike price, which is the value after the option type (e.g., 400.0).
[/list>
5. Fetching the Base Symbol Price
baseSymbolClose = request.security(baseSymbol, "1", close)
This line uses the request.security() function to get the most recent close price of the base symbol (e.g., TSLA) on a 1-minute chart.
6. Converting the Strike Price to a Float
strikePriceFloat = na(strikePrice) ? na : str.tonumber(strikePrice)
Converts the strike price string to a numerical value (float). If the strike price is not available (i.e., na), it will not proceed with calculations.
7. Price Difference Calculation
priceDifference = baseSymbolClose - strikePriceFloat
This calculates the difference between the base symbol's close price and the strike price. For a Call option, this represents how much the stock price is above or below the strike price.
8. Adjusting for Put Options
if optionType == "P"
priceDifference := strikePriceFloat - baseSymbolClose
If the option is a Put, the price difference is reversed because a Put option becomes valuable when the stock price is below the strike price.
9. Plotting the Price Difference
priceDiffPlot = plot(priceDifference, title="Price Difference (Strike - Base)", color=color.blue, linewidth=2, style=plot.style_line, offset=0)
This line plots the calculated price difference as a blue line.
10. Zero Line Plot
zeroLinePlot = plot(0, "Zero Midline", color=color.white, linewidth=1, style=plot.style_line, offset=0)
This plots a white line at the zero level. This helps visually separate when the price difference is positive or negative.
11. Filling the Area Between the Price Difference and Zero Line
fill(priceDiffPlot, zeroLinePlot, color=color.new(priceDifference > 0 ? color.green : color.red, 70))
This fills the area between the price difference plot and the zero line:
Green if the price difference is positive (indicating the option is In the Money for Calls or Out of the Money for Puts).
Red if the price difference is negative (indicating the option is Out of the Money for Calls or In the Money for Puts).
Final Thoughts
This script is useful for traders and options investors who want to track the status of an option relative to the current price of the underlying asset. The green and red fill colors provide an immediate visual cue for whether the option is ITM or OTM. By applying this indicator on TradingView, users can easily see whether a particular option is valuable (ITM) or worthless (OTM) based on the current market price of the underlying asset. This makes it a valuable tool for quick decision-making in options trading.
HTF CandlesHTF Candles, Plot of a Higher/Lower Timeframe Candles on any chart.
This HTF / LTF candle plot displays the previous 3 daily candles with the current update of the price with reference to a lower time frame.
Candles includes 3 Candles of HTF
last HTF candle includes 4 previous candles from LTF
Candle High Low Open Close are plotted.
these OHLC values act as Support and Resistance With reference to current Price.
very useful in making HTF and LTF analysis with reference to current timeframe.
Relative Performance Indicator by ComLucro - 2025_V01The "Relative Performance Indicator by ComLucro - 2025_V01" is a powerful tool designed to analyze an asset's performance relative to a benchmark index over multiple timeframes. This indicator provides traders with a clear view of how their chosen asset compares to a market index in short, medium, and long-term periods.
Key Features:
Customizable Lookback Periods: Analyze performance across three adjustable periods (default: 20, 50, and 200 bars).
Relative Performance Analysis: Calculate and visualize the difference in percentage performance between the asset and the benchmark index.
Dynamic Summary Label: Displays a detailed breakdown of the asset's and index's performance for the latest bar.
User-Friendly Interface: Includes customizable colors and display options for clear visualization.
How It Works:
The script fetches closing prices of both the asset and a benchmark index.
It calculates percentage changes over the selected lookback periods.
The indicator then computes the relative performance difference between the asset and the index, plotting it on the chart for easy trend analysis.
Who Is This For?:
Traders and investors who want to compare an asset’s performance against a benchmark index.
Those looking to identify trends and deviations between an asset and the broader market.
Disclaimer:
This tool is for educational purposes only and does not constitute financial or trading advice. Always use it alongside proper risk management strategies and backtest thoroughly before applying it to live trading.
Chart Recommendation:
Use this script on clean charts for better clarity. Combine it with other technical indicators like moving averages or trendlines to enhance your analysis. Ensure you adjust the lookback periods to match your trading style and the timeframe of your analysis.
Additional Notes:
For optimal performance, ensure the benchmark index's data is available on your TradingView subscription. The script uses fallback mechanisms to avoid interruptions when index data is unavailable. Always validate the settings and test them to suit your trading strategy.
Comprehensive Trading Toolkit [BigBeluga]Trading Toolkit is a comprehensive indicator inspired by the trading strategies of the renowned crypto influencer Michaël van de Poppe . This tool combines RSI divergences, correction zones, and advanced support/resistance levels to provide traders with a robust framework for analyzing market movements.
🔵 Key Features:
RSI Divergences on Chart:
Automatically identifies and plots RSI divergences (bullish and bearish) directly on the main price chart.
Green lines indicate bullish divergences, suggesting potential upward reversals.
Red lines indicate bearish divergences, signaling possible downward movements.
Correction Boxes:
Traders typically define a correction as a drop in value of 10% or more. This drop can happen over a few hours or a few days. Also, it can last for less than 24 hours or many months.
This indicator visualizes corrections with blue shaded boxes, triggered by a percentage decline defined in the settings.
The boxes highlight sharp price drops, helping traders identify significant market movements quickly.
Advanced Support and Resistance Levels:
Dynamically detects key support and resistance levels based on price pivots.
When the price is above a level, it plots a green shaded area from the cross point, marking support.
When the price drops below a level, it plots a red shaded area, highlighting resistance.
Dashed lines indicate weaker levels, while solid lines represent stronger, more reliable levels.
🔵 Usage:
Identify Divergences: Use plotted RSI divergences to detect potential market reversals and align them with price action.
Analyze Correction Zones: Utilize correction boxes to evaluate significant price declines and find potential buying opportunities during these corrections.
Leverage Support and Resistance Levels: Confirm breakouts, reversals, or consolidation zones with the color-coded areas.
Enhance Risk Management: Combine divergences and correction zones to set informed stop-loss or take-profit levels.
Trading Toolkit empowers traders with actionable insights into market trends, corrections, and support/resistance dynamics, making it an invaluable tool for crypto and forex markets.
Dabel MS + FVGThis script is designed to assist traders by identifying market structures, imbalances, and potential trade opportunities using Break of Structure (BOS) and Market Structure Shifts (MSS). It visually highlights imbalances in price action, key pivots, and market structure changes, providing actionable information for making trading decisions.
Key features:
Imbalances Detection: Highlights bullish and bearish price gaps (Fair Value Gaps) using colored boxes. Users can choose the line style (solid, dashed, or dotted) for imbalance midlines.
Market Structure Analysis: Tracks pivot highs and lows to identify BOS and MSS in two separate market structures with adjustable pivot strengths.
Customizable Visualization: Allows users to choose line styles, colors, and display options for both imbalances and market structures.
Alerts: Alerts traders when BOS or MSS occur, helping to monitor the market effectively.
Trading Strategy
Imbalance Trading:
Imbalances (gaps) represent areas where supply or demand was left unfilled. These gaps often act as magnet zones where the price revisits to fill.
Bullish Imbalance: Look for buying opportunities when price enters a green imbalance zone.
Bearish Imbalance: Look for selling opportunities when price enters a red imbalance zone.
Use the midline of the imbalance box as a key reference point for potential reversals.
Break of Structure (BOS) and Market Structure Shift (MSS):
BOS: Indicates a continuation of the existing trend. For example:
Bullish BOS: Look for continuation in the uptrend after a high is broken.
Bearish BOS: Look for continuation in the downtrend after a low is broken.
MSS: Suggests a potential reversal in market structure. For example:
Bullish MSS: Indicates a possible shift from a bearish to bullish market.
Bearish MSS: Indicates a potential shift from a bullish to bearish market.
Multiple Market Structures:
This script provide two sets of market structures, allowing traders to compare short-term and long-term trends.
Adjust the pivot strength to suit your trading style (lower for intraday trading, higher for swing or positional trading).
Entry and Exit:
Entry: Look for entries near imbalances or after confirmed BOS/MSS in line with the overall trend.
Exit: Place stop-loss below/above recent pivots and take profit at nearby support/resistance or imbalance zones.
For New Traders
Focus on Basics: Understand what BOS and MSS mean and how they signal trend direction or reversals.
Use Alerts: Rely on the script's alert system to catch important moments without staring at charts all day.
Start Small: Test this strategy on a demo account before using it live. You can understand it more with practice.
Smart Money Concepts (Advanced)Inspired and initially based on LuxAlgo's Smart Money Concepts Indicator I created a library lib_smc that started to convert every function and return objects. This allowed certain customizations like tracking the current fill level of FVGs or tracking the creation of Order Blocks, by monitoring consecutive bars against the current trend.
This indicator is provided as is, based on, but probably not always be up to date with my lib_smc that I am using for my projects.
WARNING: This indicator shows EXPERIMENTAL Order Blocks that are tracked LIVE. Unlike usual Order Blocks these are not just based on the last confirmed Swing Point (formed 50 bars before) but on consecutive candles opposing an unconfirmed trend. Blocks are confirmed by price movements relative to the unconfirmed block and unconfirmed swing points. This means that some Order Blocks will appear on pullbacks, as well as reversals.
Features
Swing Points (HH / LH / HL / LL), indicating support / resistance zones price might reject off of or want to push through
Market Structure (BOS / ChoCh), indicates confirmation for a continued / changing trend
live Order Blocks (OB), see warning above.
Fair Value Gaps (FVG), optional from higher timeframes
Equal Highs / Lows (EQH/EQL), indicates strong support / resistance zones, especially when the bars forming it have long wicks toward that zone
using my lib_no_delay all moving averages are working from bar 0, so it can be used on charts with limited bars
EMA/SMA + Multi-Timeframe Dashboard (Vertical)20/50 ema and 200 sma
The EMA SMA Trading Indicator combines the power of Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) to help traders identify trends, reversals, and key entry/exit points.
Features:
Dual Moving Averages: Tracks both EMA and SMA to provide a balanced view of short-term and long-term market trends.
Customizable Periods: Allows users to set unique periods for EMA and SMA to suit their trading style and timeframe (e.g., day trading, swing trading, or investing).
Cross Alerts: Highlights EMA and SMA crossover points, which often indicate potential buy or sell signals.
Color-Coded Lines: Visual differentiation between EMA (dynamic and responsive) and SMA (smooth and lagging) for better readability.
Multi-Timeframe Compatibility: Suitable for scalping, intraday trading, and long-term analysis.
Usage:
Trend Confirmation: When the EMA is above the SMA, it signals a bullish trend; when it is below the SMA, it signals a bearish trend.
Crossover Strategy: Use crossovers as potential buy (EMA crosses above SMA) or sell (EMA crosses below SMA) signals.
Dynamic Support/Resistance: EMA can act as short-term support/resistance, while SMA represents long-term levels.
This indicator is perfect for traders who want to combine EMA's speed with SMA's stability for improved decision-making in volatile markets. Customizable alerts and visual cues make it user-friendly for beginners and experienced traders.
Make informed decisions and take your trading to the next level with the EMA SMA Trading Indicator!
VPSA-VTDDear Sir/Madam,
I am pleased to present the next iteration of my indicator concept, which, in my opinion, serves as a highly useful tool for analyzing markets using the Volume Spread Analysis (VSA) method or the Wyckoff methodology.
The VPSA (Volume-Price Spread Analysis), the latest version in the family of scripts I’ve developed, appears to perform its task effectively. The combination of visualizing normalized data alongside their significance, achieved through the application of Z-Score standardization, proved to be a sound solution. Therefore, I decided to take it a step further and expand my project with a complementary approach to the existing one.
Theory
At the outset, I want to acknowledge that I’m aware of the existence of other probabilistic models used in financial markets, which may describe these phenomena more accurately. However, in line with Occam's Razor, I aimed to maintain simplicity in the analysis and interpretation of the concepts below. For this reason, I focused on describing the data using the Gaussian distribution.
The data I read from the chart — primarily the closing price, the high-low price difference (spread), and volume — exhibit cyclical patterns. These cycles are described by Wyckoff's methodology, while VSA complements and presents them from a different perspective. I will refrain from explaining these methods in depth due to their complexity and broad scope. What matters is that within these cycles, various events occur, described by candles or bars in distinct ways, characterized by different spreads and volumes. When observing the chart, I notice periods of lower volatility, often accompanied by lower volumes, as well as periods of high volatility and significant volumes. It’s important to find harmony within this apparent chaos. I think that chart interpretation cannot happen without considering the broader context, but the more variables I include in the analytical process, the more challenges arise. For instance, how can I determine if something is large (wide) or small (narrow)? For elements like volume or spread, my script provides a partial answer to this question. Now, let’s get to the point.
Technical Overview
The first technique I applied is Min-Max Normalization. With its help, the script adjusts volume and spread values to a range between 0 and 1. This allows for a comparable bar chart, where a wide bar represents volume, and a narrow one represents spread. Without normalization, visually comparing values that differ by several orders of magnitude would be inconvenient. If the indicator shows that one bar has a unit spread value while another has half that value, it means the first bar is twice as large. The ratio is preserved.
The second technique I used is Z-Score Standardization. This concept is based on the normal distribution, characterized by variables such as the mean and standard deviation, which measures data dispersion around the mean. The Z-Score indicates how many standard deviations a given value deviates from the population mean. The higher the Z-Score, the more the examined object deviates from the mean. If an object has a Z-Score of 3, it falls within 0.1% of the population, making it a rare occurrence or even an anomaly. In the context of chart analysis, such strong deviations are events like climaxes, which often signal the end of a trend, though not always. In my script, I assigned specific colors to frequently occurring Z-Score values:
Below 1 – Blue
Above 1 – Green
Above 2 – Red
Above 3 – Fuchsia
These colors are applied to both spread and volume, allowing for quick visual interpretation of data.
Volume Trend Detector (VTD)
The above forms the foundation of VPSA. However, I have extended the script with a Volume Trend Detector (VTD). The idea is that when I consider market structure - by market structure, I mean the overall chart, support and resistance levels, candles, and patterns typical of spread and volume analysis as well as Wyckoff patterns - I look for price ranges where there is a lack of supply, demand, or clues left behind by Smart Money or the market's enigmatic identity known as the Composite Man. This is essential because, as these clues and behaviors of market participants — expressed through the chart’s dynamics - reflect the actions, decisions, and emotions of all players. These behaviors can help interpret the bull-bear battle and estimate the probability of their next moves, which is one of the key factors for a trader relying on technical analysis to make a trade decision.
I enhanced the script with a Volume Trend Detector, which operates in two modes:
Step-by-Step Logic
The detector identifies expected volume dynamics. For instance, when looking for signs of a lack of bullish interest, I focus on setups with decreasing volatility and volume, particularly for bullish candles. These setups are referred to as No Demand patterns, according to Tom Williams' methodology.
Simple Moving Average (SMA)
The detector can also operate based on a simple moving average, helping to identify systematic trends in declining volume, indicating potential imbalances in market forces.
I’ve designed the program to allow the selection of candle types and volume characteristics to which the script will pay particular attention and notify me of specific market conditions.
Advantages and Disadvantages
Advantages:
Unified visualization of normalized spread and volume, saving time and improving efficiency.
The use of Z-Score as a consistent and repeatable relative mechanism for marking examined values.
The use of colors in visualization as a reference to Z-Score values.
The possibility to set up a continuous alert system that monitors the market in real time.
The use of EMA (Exponential Moving Average) as a moving average for Z-Score.
The goal of these features is to save my time, which is the only truly invaluable resource.
Disadvantages:
The assumption that the data follows a normal distribution, which may lead to inaccurate interpretations.
A fixed analysis period, which may not be perfectly suited to changing market conditions.
The use of EMA as a moving average for Z-Score, listed both as an advantage and a disadvantage depending on market context.
I have included comments within the code to explain the logic behind each part. For those who seek detailed mathematical formulas, I invite you to explore the code itself.
Defining Program Parameters:
Numerical Conditions:
VPSA Period for Analysis – The number of candles analyzed.
Normalized Spread Alert Threshold – The expected normalized spread value; defines how large or small the spread should be, with a range of 0-1.00.
Normalized Volume Alert Threshold – The expected normalized volume value; defines how large or small the volume should be, with a range of 0-1.00.
Spread Z-SCORE Alert Threshold – The Z-SCORE value for the spread; determines how much the spread deviates from the average, with a range of 0-4 (a higher value can be entered, but from a logical standpoint, exceeding 4 is unnecessary).
Volume Z-SCORE Alert Threshold – The Z-SCORE value for volume; determines how much the volume deviates from the average, with a range of 0-4 (the same logical note as above applies).
Logical Conditions:
Logical conditions describe whether the expected value should be less than or equal to or greater than or equal to the numerical condition.
All four parameters accept two possibilities and are analogous to the numerical conditions.
Volume Trend Detector:
Volume Trend Detector Period for Analysis – The analysis period, indicating the number of candles examined.
Method of Trend Determination – The method used to determine the trend. Possible values: Step by Step or SMA.
Trend Direction – The expected trend direction. Possible values: Upward or Downward.
Candle Type – The type of candle taken into account. Possible values: Bullish, Bearish, or Any.
The last available setting is the option to enable a joint alert for VPSA and VTD.
When enabled, VPSA will trigger on the last closed candle, regardless of the VTD analysis period.
Example Use Cases (Labels Visible in the Script Window Indicate Triggered Alerts):
The provided labels in the chart window mark where specific conditions were met and alerts were triggered.
Summary and Reflections
The program I present is a strong tool in the ongoing "game" with the Composite Man.
However, it requires familiarity and understanding of the underlying methodologies to fully utilize its potential.
Of course, like any technical analysis tool, it is not without flaws. There is no indicator that serves as a perfect Grail, accurately signaling Buy or Sell in every case.
I would like to thank those who have read through my thoughts to the end and are willing to take a closer look at my work by using this script.
If you encounter any errors or have suggestions for improvement, please feel free to contact me.
I wish you good health and accurately interpreted market structures, leading to successful trades!
CatTheTrader
Candle Counter by ComLucro - Multi-Timefram - 2025_V01Candle Counter by ComLucro - Multi-Timeframe - 2025_V01
The Candle Counter by ComLucro - Multi-Timeframe is a highly customizable tool designed to help traders monitor the number of candles across various timeframes directly on their charts. Whether you're analyzing trends or tracking specific market behaviors, this indicator provides a seamless and efficient way to enhance your technical analysis.
Key Features:
Flexible Timeframe Selection: Track candle counts on yearly, monthly, weekly, daily, or hourly intervals to suit your trading style.
Dynamic Label Positioning: Choose to display labels above or below candles, offering greater control over your chart layout.
Customizable Colors: Adjust label text colors to match your chart's aesthetics and improve visibility.
Clean and Organized Visualization: Automatically generates labels for each candle without overcrowding your chart.
How It Works:
Select a Timeframe: Choose from yearly, monthly, weekly, daily, or hourly intervals based on your analysis needs.
Automatic Counting: The indicator calculates and displays the number of candles for the selected period directly on your chart.
Label Customization: Adjust the position (above or below the candles) and color of the labels to align with your preferences.
Why Use This Indicator?
This script is perfect for traders who need a clear and visual representation of candle counts in specific timeframes. Whether you're monitoring trends, evaluating price action, or developing strategies, the Candle Counter by ComLucro adapts to your needs and helps you make informed decisions.
Disclaimer:
This script is intended for educational and informational purposes only. It does not constitute financial advice. Always practice responsible trading and ensure this tool aligns with your strategies and risk management practices.
About ComLucro:
ComLucro is dedicated to providing traders with practical tools and educational resources to improve decision-making in the financial markets. Discover other scripts and strategies developed to enhance your trading experience.
Enhanced HMA 5D standard Deviation - RickSimple hull moving average enhanced with standard deviation bands calculated over a 5 day period to account for volatility in ranging periods.
Possibility to choose the source of the hull calculation, as well as the source to use as threshold for long and short signal.
Two different types of visualization: candle coloring or moving average.
4Vietnamese 3x SupertrendThis strategy attempts to capture long positions in the Vietnamese stock market using a combination of three Supertrend indicators and additional filters. It utilizes pyramiding to enter up to three long positions with a 33.33% allocation each.
Key Elements:
Supertrend Indicators: Three Supertrend indicators are used with different lengths and multipliers to identify potential trend changes.
Entry Conditions:
The strategy looks for a downtrend on the slowest Supertrend (Supertrend3) followed by uptrends on the medium (Supertrend2) and fast (Supertrend1) Supertrends.
Alternatively, if Supertrend3 is still downtrending, but Supertrend1 is downtrending and a significant previous high (highestGreen) exists, an entry signal is generated.
An optional filter allows using the highest of the last two red candles for highestGreen calculation.
Entry Stop Loss:
An optional stop loss can be set based on the entry price of previous long positions, preventing further losses if the price falls below entry prices.
Exit Conditions:
Three exit options are available:
- All Downtrend Exit: Close all positions if all Supertrends turn uptrend and a bearish candlestick pattern (close price lower than open price) is formed.
- Average Price in Loss Exit: Close all positions if the average entry price of open positions is higher than the current closing price (indicating a loss).
- All Positions in Loss Exit: Close all positions if any of the following conditions are met:
A single open position exists, and its entry price is higher than the current close price.
Two open positions exist, and their entry prices are both higher than the current close price.
Three open positions exist, and their entry prices are all higher than the current close price.
Pyramiding: The strategy allows entering up to three long positions with a fixed allocation of 33.33% each.
Customization Options:
The strategy provides various input parameters to customize its behavior:
Supertrend lengths and multipliers for each indicator.
Option to use the highest of the last two red candles for highestGreen calculation.
Enabling/disabling Entry Stop Loss and different exit conditions.
Further Enhancements:
Explore additional entry and exit filters to refine trade signals.
Consider incorporating risk management techniques like position sizing and trailing stops.
Backtest the strategy with historical data to evaluate its effectiveness and identify potential areas for improvement.
Aura Vibes EMA Ribbon + VStop + SAR + Bollinger BandsThe combination of Exponential Moving Averages (EMA), Volatility Stop (VStop), Parabolic SAR (PSAR), and Bollinger Bands (BB) offers a comprehensive approach to technical analysis, each serving a distinct purpose:
Exponential Moving Averages (EMA): EMAs are used to identify the direction of the trend by smoothing price data. Shorter-period EMAs react more quickly to price changes, while longer-period EMAs provide a broader view of the trend.
Volatility Stop (VStop): VStop is a dynamic stop-loss mechanism that adjusts based on market volatility, typically using the Average True Range (ATR). This allows traders to set stop-loss levels that accommodate market fluctuations, potentially reducing the likelihood of premature stop-outs.
Parabolic SAR (PSAR): PSAR is a trend-following indicator that provides potential entry and exit points by plotting dots above or below the price chart. When the dots are below the price, it suggests an uptrend; when above, a downtrend.
Bollinger Bands (BB): BB consists of a middle band (typically a 20-period simple moving average) and two outer bands set at standard deviations above and below the middle band. These bands expand and contract based on market volatility, helping traders identify overbought or oversold conditions.
Integrating these indicators can enhance trading strategies:
Trend Identification: Use EMAs to determine the prevailing market trend. For instance, a short-term EMA crossing above a long-term EMA may signal an uptrend.
Entry and Exit Points: Combine PSAR and BB to pinpoint potential entry and exit points. For example, a PSAR dot appearing below the price during an uptrend, coinciding with the price touching the lower Bollinger Band, might indicate a buying opportunity.
Risk Management: Implement VStop to set adaptive stop-loss levels that adjust with market volatility, providing a buffer against market noise.
By thoughtfully combining these indicators, traders can develop a robust trading system that adapts to various market conditions.
[blackat] L1 Funding Bottom Wave█ OVERVIEW
The script "Funding Bottom Wave" is an indicator designed to analyze market conditions based on multiple smoothed price calculations and specific thresholds. It calculates several values such as B-value, VAR2-value, and additional signals like SK and SD to identify buy/sell levels and reversals, aiding traders in making informed decisions.
█ LOGICAL FRAMEWORK
The script consists of several main components:
• Input parameters that allow customization of calculation periods and thresholds.
• A custom function funding_wave that computes various financial metrics and conditions.
• Plotting commands to visualize different aspects of those computations.
Data flows from input parameters into the funding_wave function where calculations are performed. These results are then plotted according to specified conditions. The script uses conditional expressions to define when certain plots should appear based on the computed values.
█ CUSTOM FUNCTIONS
funding_wave Function:
This function takes six arguments: close_price, high_price, low_price, open_price, period_b, and period_var2. It performs several calculations including:
• Price range percentage normalized between lowest and highest prices over 60 bars.
• SMA of this value over periods defined by period_b and period_var2.
• Several moving averages (MA), EMAs, and extreme point markers (highest/lowest).
• Multiple condition checks involving these metrics leading to buy/high signal flags.
Returns: An array containing B-value, VAR2-value, SK-value, SD-value, along with various conditional signal indicators.
█ KEY POINTS AND TECHNIQUES
• Utilizes built-in TA functions (ta.highest, ta.lowest, ta.sma, ta.ema) for smoothing and normalization purposes.
• Implements extensive use of ternary operators and boolean logic to determine plot visibility based on specific criteria.
• Employs column-style plotting which highlights significant transitions in calculated metric levels visually.
• No explicit loops; computations utilize vectorized operations inherent to Pine Script's nature.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
Potential modifications/extensions include:
• Adding alerts for key threshold crossovers or meeting certain conditions.
• Customizing more sophisticated alert messages incorporating current time and symbol details.
• Incorporating stop-loss/take-profit strategies dynamically adjusted by indicator outputs.
Similar techniques can be applied in:
• Developing robust trend-following systems combining momentum oscillators.
• Enhancing basic price action rulesets with statistical filters derived from historical data behaviors.
• Exploring intraday breakout strategies predicated upon sudden changes in market sentiment captured via volatility spikes.
Related concepts/features:
• Using arrays to encapsulate complex return structures for reusability across scripts/functions.
• Leveraging na effectively within plotting constructs ensures cleaner chart presentation avoiding clutter from irrelevant points.
█ MARKET MEANING OF DIFFERENT COLORED COLUMNS
Red Columns ("B above Var2"):
• Market Interpretation: When the red columns appear, it indicates that the B-value is higher than the VAR2-value. This suggests a strengthening upward trend or consolidation phase where the market might be experiencing buying pressure relative to recent trends.
• Trading Implication: Traders may consider this as a potentially bullish sign, indicating strength in the underlying asset.
Green Columns ("B below Var2"):
• Market Interpretation: Green columns indicate that the B-value is lower than the VAR2-value. This could suggest downward trend acceleration or weakening buying pressure compared to recent trends.
• Trading Implication: Traders might interpret this as a bearish signal, suggesting a possible decline in the market.
Aqua Columns ("SK below SD"):
• Market Interpretation: Aqua columns show instances where the SK-value is below the SD-value. This typically signifies that the short-term stochastic oscillator (or similar measure) is signaling oversold conditions but not yet reaching extremes.
• Trading Implication: While not necessarily a strong sell signal, aqua columns might prompt traders to look for further confirmation before entering long positions.
Fuchsia Columns ("SK above SD"):
• Market Interpretation: Fuchsia columns represent situations where the SK-value exceeds the SD-value. This usually indicates overbought conditions in the near term.
• Trading Implication: Traders often view fuchsia columns as cautionary signs, possibly prompting them to exit existing long positions or refrain from adding new ones without further analysis.
Yellow Columns ("High Condition" and "High Condition Both"):
• Market Interpretation: Yellow columns occur when either the SK-value or B-value crosses above predefined high thresholds (e.g., 90). If both cross simultaneously, they form "High Condition Both."
• Trading Implication: Strongly bullish signals indicating overheated markets prone to corrections. Traders may see this as a good opportunity to take profits or prepare for a pullback/corrective move.
Blue Columns ("Low Condition" and "Low Condition Both"):
• Market Interpretation: Blue columns emerge when either the SK-value or B-value drops below predefined low thresholds (e.g., 10). Simultaneous crossing forms "Low Condition Both."
• Trading Implication: Potentially bullish reversal setups once the market starts showing signs of bottoming out after being significantly oversold. Traders might use blue columns as entry points for establishing long positions or hedging against anticipated rebounds.
Light Purple Columns ("Low Condition with Reversal" and "Low Condition Both with Reversal"):
• Market Interpretation: Light purple columns signify moments when the SK-value or B-value falls below their respective thresholds but has started reversing upwards immediately afterward. If both fall and reverse together, it's denoted as "Low Condition Both with Reversal."
• Trading Implication: Suggests a possible early-stage rebound from an extended downtrend or sideways movement. This could be seen as a highly reliable bulls' flag formation setup.
White Columns ("High Condition with Reversal" and "High Condition Both with Reversal"):
• Market Interpretation: White columns denote scenarios where the SK-value or B-value breaches high thresholds (e.g., 90) but begins descending shortly thereafter. Both simultaneously crossing leads to "High Condition Both with Reversal."
• Trading Implication: Indicative of peak overbought conditions followed quickly by exhaustion in buying interest. This warns traders about potential imminent retracements or pullbacks, prompting exits or short positions.
█ SUMMARY TABLE OF COLUMN COLORS AND THEIR MEANINGS
Color Type Market Interpretation Trading Implication
Red B above Var2 Strengthening upward trend/consolidation Bullish sign
Green B below Var2 Downward trend acceleration/weakening buying pressure Bearish sign
Aqua SK below SD Oversold conditions but not extreme Cautionary signal
Fuchsia SK above SD Overbought conditions Take profit/precaution
Yellow High Condition / High Condition Both Overheated market, likely correction coming Good time to exit/additional selling
Blue Low Condition / Low Condition Both Possible bull/rebound setup Entry point/hedging
Light Purple Low Condition with Reversal / Low Condition Both with Reversal Early-stage rebound from downtrend Reliable bulls' flag formation
White High Condition with Reversal / High Condition Both with Reversal Peak overbought with imminent retracement Exit positions/warning
Understanding these color-coded signals can help traders make more informed decisions, whether for entry, exit, or risk management in trading strategies. Each set of colors provides distinct insights into market dynamics and trends, aiding in effective execution of trade plans.
OCM Quarter Point Autopilot - A Multi-Timeframe Quarter TheoryDescription:
The OCM Quarter Point Autopilot indicator automates the application of Quarters Theory across multiple timeframes and instruments. It creates a comprehensive grid of support and resistance levels based on two user-defined price points (Monthly QTPs).
Key Features:
- Automatically calculates and displays quarter points across 5 timeframes:
• Monthly (Black lines)
• Weekly (Blue lines)
• Daily (Green lines)
• 4-Hour (Red lines)
• 1-Hour (Purple lines)
- Shows both upper and lower ranges, which can be toggled on/off
- Visual hierarchy through color-coding for easy timeframe identification
- Extends lines 2 years into the past and 6 months into the future
Usage:
1. Enter two Monthly Quarter Trading Points (QTPs)
2. The indicator automatically:
- Calculates midpoints (weekly)
- Quarter points (daily)
- Eighth points (4-hour)
- Further subdivisions (1-hour)
Benefits:
- Identifies potential support/resistance levels
- Helps spot key price targets
- Works on any instrument where psychological levels matter
- Provides multiple timeframe analysis in one view
Best suited for traders who:
- Follow multi-timeframe analysis
- Trade using support/resistance levels
- Want to identify potential price targets
- Need structured price levels for entries/exits
The indicator combines the systematic approach of Quarters Theory with automated calculation and visualization, making it easier to identify key price levels across multiple timeframes.