MTF Ichimoku Conversion Line SMA with H/L mirrored levelsWelcome to MTF Ichimoku Conversion Line with SMA Highs/Lows Extended Lines!
1. Overview
It is designed to provide a multi-timeframe view of market trends and potential support/resistance levels by obtaining a Simple Moving Average (SMA) of the Conversion Line of Ichimoku Equibilium (Ichimoku Kinko-Hyo), which acts as a substantial trend line on the candlestick chart. The SMA of the conversion line smooths out price fluctuations and indicates the overall trend direction—if the candles are above it, the trend can be read as an uptrend, while below it, the trend can be read as a downtrend.
2. Calculation
The indicator first calculates the Conversion Line (see the description of Ichimoku theory anywhere, e.g., Wikipedia), as the average of the highest high and lowest low over a user-defined period (Conversion Line Length, default is 9, also recommended is 9).
It then retrieves this Conversion Line from a higher timeframe (MTF Timeframe) to add a broader perspective. Using a specified period (SMA Length)., an SMA is computed on this multi-timeframe conversion line. This SMA serves as a trend line that visually represents the prevailing price trend, making it easier to assess market direction.
3. Pivot Highs/low detection and drawing their extensions
In addition, the indicator identifies pivot highs and lows from the SMA data using a defined pivot length. When these pivots occur, horizontal lines are drawn and extended across the chart. These extended lines (drawn in a yellowish color by default) include a full extension, a half extension, and a middle extension line representing the midpoint between the high and low pivot.
4. Mirror lines
The indicator also offers optional mirror line features. When the Mirror Upside option is enabled, five additional lines are drawn above the highest extended yellow line at equal intervals. Similarly, when the Mirror Downside option is enabled, five lines are drawn below the lowest extended yellow line. These light gray mirror lines serve as extra reference levels, which can help identify potential support or resistance zones.
5. Parameters
User parameters include:
- Conversion Line Length: The period used to calculate the conversion line.
- MTF Timeframe: The higher timeframe from which the conversion line is obtained.
- SMA Length: The period over which the SMA is calculated on the conversion line.
- SMA Mode: A toggle to display either the SMA or the raw conversion line (SMA recommended).
- SMA Line Width: The thickness of the SMA line.
- Pivot Length for SMA Highs/Lows: The period used to detect pivot highs and lows in the SMA.
- Horizontal Extension: Number of bars by which the pivot and extended lines are drawn across the chart
- Colors for High and Low Pivot Lines and Extended Lines: Customizable colors are used to draw the lines.
Mirror Upside and Mirror Downside: These options enable drawing additional mirror lines above and below the extended lines.
- Hide Old Lines: An option to hide previous pivot lines once new ones are drawn for a cleaner chart. Turned on by default.
6. Conclusion
Overall, the Conversion Line SMA in this indicator smooths out the conversion line data and effectively functions as a trend line for the candlestick chart, helping traders visually interpret the underlying market trend. The extended and mirror lines provide further context for potential price reversal or continuation areas, making this a powerful tool for multi-timeframe technical analysis.
Analizy Trendu
Market Phase MAMarket Phase MA is an advanced trend-following indicator designed to provide traders with a dynamically colored moving average that adapts to market conditions. It uses a powerful combination of Average True Range (ATR) and Average Directional Index (ADX) to classify market trends in real-time. The indicator integrates a fully customizable moving average (SMA or EMA) to highlight trend phases clearly and effectively.
Key Features & Advantages:
✔ Adaptive Trend Classification: Detects uptrends, downtrends, and sideways markets using a refined mix of ATR and ADX for more precise trend identification.
✔ Color-Coded Moving Average: The moving average dynamically changes color based on trend classification, providing a clean visual representation of market sentiment.
✔ Advanced ATR & ADX Filtering:
- ATR measures market volatility and identifies ranging periods.
- ADX confirms trend strength, reducing false signals.
- A weighted approach balances ATR and ADX, ensuring reliability.
✔ Fully Customizable Moving Average: Traders can select between SMA and EMA while adjusting the moving average length directly from the settings panel.
✔ Smooth & Responsive Adjustments: The smoothing factor can be fine-tuned to control signal sensitivity and noise reduction, making it suitable for scalping, swing trading, and long-term trend monitoring.
What Makes It Unique:
- Unlike traditional trend indicators, Market Phase MA provides **direct visual feedback** on a moving average rather than using a separate oscillator.
- It **adapts dynamically** to market conditions instead of relying on fixed thresholds.
- The combination of **volatility and trend strength analysis** enhances precision in identifying valid trends.
- Users can optimize **reaction speed vs. reliability** with adjustable parameters for better decision-making.
How to Use It:
- Identify Market Phases: The moving average color shifts based on trend type—**teal** for uptrends, **red** for downtrends, and **gray** for sideways markets.
- Confirm Trend Strength: Persistent color shifts indicate strong trends, while frequent changes may suggest market indecision.
- Use as a Trade Confirmation Tool: Complement it with **support & resistance zones, price action analysis, and volume indicators** for stronger confirmation signals.
Market Phase MA is designed for traders seeking a clear, efficient, and highly adaptable moving average trend detection system. Whether you are a day trader, swing trader, or long-term investor, this indicator will help you identify and follow trends with confidence.
Smoothed Low-Pass Butterworth Filtered Median [AlphaAlgos]Smoothed Low-Pass Butterworth Filtered Median
This indicator is designed to smooth price action and filter out noise while maintaining the dominant trend. By combining a Butterworth low-pass filter with a median-based smoothing approach , it effectively reduces short-term fluctuations, allowing traders to focus on the true market direction.
How It Works
Median Smoothing: The indicator calculates the 50th percentile (median) of closing prices over a customizable period , making it more robust against outliers compared to traditional moving averages.
Butterworth Filtering: A low-pass filter is applied using an approximation of the Butterworth formula , controlled by the Cutoff Frequency , helping to eliminate high-frequency noise while preserving trends.
EMA Refinement: A 7-period EMA is applied to further smooth the signal, providing a more reliable trend representation.
Features
Trend Smoothing: Reduces market noise and highlights the dominant trend.
Dynamic Color Signals: The EMA line changes color to indicate trend strength and direction.
Configurable Parameters: Customize the median length, cutoff frequency, and EMA length to fit your strategy.
Versatile Use Case: Suitable for both trend-following and mean-reversion strategies.
How to Use
Bullish Signal: When the EMA is below the price and rising , indicating upward momentum.
Bearish Signal: When the EMA is above the price and falling , signaling a potential downtrend.
Reversal Zones: Monitor for trend shifts when the color of the EMA changes.
This indicator provides a clear, noise-free view of market trends , making it ideal for traders seeking improved trend identification and entry signals .
Blockchain Fundamentals: Liquidity & BTC YoYLiquidity & BTC YoY Indicator
Overview:
This indicator calculates the Year-over-Year (YoY) percentage change for two critical metrics: a custom Liquidity Index and Bitcoin's price. The Liquidity Index is derived from a blend of economic and forex data representing the M2 money supply, while the BTC price is obtained from a reliable market source. A dedicated limit(length) function is implemented to handle limited historical data, ensuring that the YoY calculations are available immediately—even when the chart's history is short.
Features Breakdown:
1. Limited Historical Data Workaround
- Functionality: limit(length) The function dynamically adjusts the lookback period when there isn’t enough historical data. This prevents delays in displaying YoY metrics at the beginning of the chart.
2. Liquidity Calculation
- Data Sources: Combines multiple data streams:
USM2, ECONOMICS:CNM2, USDCNY, ECONOMICS:JPM2, USDJPY, ECONOMICS:EUM2, USDEUR
- Formula:
Liquidity Index = USM2 + (CNM2 / USDCNY) + (JPM2 / USDJPY) + (EUM2 / USDEUR)
[b3. Bitcoin Price Calculation
- Data Source: Retrieves Bitcoin's price from BITSTAMP:BTCUSD on the user-selected timeframe for its historical length.
4. Year-over-Year (YoY) Percent Change Calculation
- Methodology:
- The indicator uses a custom function, to autodetect the proper number of bars, based on the selected timeframe.
- It then compares the current value to that from one year ago for both the Liquidity Index and BTC price, calculating the YoY percentage change.
5. Visual Presentation
- Plotting:
- The YoY percentage changes for Liquidity (plotted in blue) and BTC price (plotted in orange) are clearly displayed.
- A horizontal zero line is added for visual alignment, making it easier to compare the two copies of the metric. You add one copy and only display the BTC YoY. Then you add another copy and only display the M2 YoY.
-The zero lines are then used to align the scripts to each other by interposing them. You scale each chart the way you like, then move each copy individually to align both zero lines on top of each other.
This indicator is ideal for analysts and investors looking to monitor macroeconomic liquidity trends alongside Bitcoin's performance, providing immediate insights.
Multi-Moving Average Buy/Sell IndicatorThis Multi-Moving Average Buy/Sell Indicator is a powerful and customizable tool designed to help traders identify potential buy and sell signals based on the interaction between price and multiple moving averages. Whether you're a day trader, swing trader, or long-term investor, this indicator provides clear visual cues and alerts to help you make informed trading decisions.
Key Features
1. Multiple Moving Averages
The indicator calculates four key moving averages:
9-period MA
20-period MA
50-period MA
180-period MA
You can choose the type of moving average:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
2. Custom Timeframe
Select a custom timeframe from a user-friendly dropdown menu:
1 Minute
5 Minutes
15 Minutes
30 Minutes
1 Hour
4 Hours
Daily
Weekly
The indicator dynamically adjusts to the selected timeframe, making it suitable for all trading styles.
3. Buy/Sell Signals
Buy Signal: Triggered when the price crosses above any of the moving averages.
Sell Signal: Triggered when the price crosses below any of the moving averages.
Signals are displayed as labels on the chart:
Green "BUY" Label: Below the bar when a buy signal is triggered.
Red "SELL" Label: Above the bar when a sell signal is triggered.
4. Visualization
Toggle the visibility of all moving averages using the showAllMAs input.
Moving averages are plotted with distinct colors for easy identification:
9 MA: Blue
20 MA: Orange
50 MA: Purple
180 MA: Teal
5. Alerts
The indicator generates alerts for buy and sell signals, which can be used for notifications or automated trading.
How to Use
Add the Indicator:
Open TradingView and go to the Pine Script Editor.
Copy and paste the script into the editor.
Click Add to Chart.
Configure Inputs:
maType: Choose the type of moving average (SMA, EMA, WMA).
timeframe: Select a custom timeframe (e.g., "1 Minute", "Daily").
showSignals: Toggle to show or hide buy/sell signals.
showAllMAs: Toggle to show or hide all moving averages.
Interpret the Signals:
Look for green "BUY" labels below the bars for potential buy opportunities.
Look for red "SELL" labels above the bars for potential sell opportunities.
Set Alerts:
Use the built-in alert system to get notified when buy or sell signals are triggered.
Example Use Cases
Day Trading
Use a 1-minute or 5-minute timeframe with an EMA for quick signals.
Example Inputs:
maType = "EMA"
timeframe = "5 Minutes"
showAllMAs = true
Swing Trading
Use a daily timeframe with an SMA for longer-term signals.
Example Inputs:
maType = "SMA"
timeframe = "Daily"
showAllMAs = false
Why Use This Indicator?
Versatility: Suitable for all trading styles and timeframes.
Customization: Choose your preferred moving average type and timeframe.
Clear Signals: Easy-to-read buy/sell labels and moving averages.
Alerts: Never miss a trading opportunity with built-in alerts.
Limitations
False Signals:
The indicator may generate false signals in choppy or sideways markets. Always combine it with other tools (e.g., RSI, volume analysis) for better accuracy.
Timeframe Dependency:
The effectiveness of the signals depends on the selected timeframe. Shorter timeframes may produce more signals but with higher noise.
No Backtesting:
The script does not include backtesting functionality. Test the strategy manually on historical data.
Customization Options
Add More Moving Averages: Modify the script to include additional moving averages (e.g., 200 MA).
Change Signal Logic: Adjust the conditions for buy/sell signals (e.g., require confirmation from multiple moving averages).
Add Alerts for Specific MAs: Create separate alerts for signals based on specific moving averages (e.g., only 9 MA or 50 MA).
On-chain Zscore | QuantumResearchQuantumResearch On-chain Zscore Indicator
The On-chain Zscore Indicator by QuantumResearch is a cutting-edge tool designed for traders and analysts who leverage on-chain metrics to assess Bitcoin’s market conditions. This indicator calculates a composite Z-score using three key on-chain metrics: NUPL (Net Unrealized Profit/Loss), SOPR (Spent Output Profit Ratio), and MVRV (Market Value to Realized Value). By normalizing these values through standard deviations, the indicator provides a dynamic, data-driven approach to identifying overbought and oversold conditions, improving market timing and decision-making.
1. Overview
This indicator integrates multiple on-chain metrics to:
Assess Market Cycles – Utilize Z-score normalization to detect potential tops and bottoms.
Smooth Volatility – Apply EMA and standard deviation filtering to refine signals.
Identify Buy & Sell Signals – Use adaptive thresholds to highlight market extremes.
Provide Visual Clarity – Color-coded bar signals and background fills for intuitive analysis.
2. How It Works
A. Z-score Calculation
What is a Z-score? – The Z-score measures how far a data point deviates from its historical mean in terms of standard deviations. This helps in identifying statistical extremes.
Zscore(source,mean,std)=>
zscore = (source-mean)/std
zscore
Standard Deviation Normalization – Each on-chain metric (NUPL, SOPR, MVRV) is individually standardized before being combined into a final score.
B. On-Chain Components
NUPL Z-score – Measures unrealized profits and losses relative to market cycles.
SOPR Z-score – Evaluates profit-taking behavior on spent outputs.
MVRV Z-score – Assesses whether Bitcoin is overvalued or undervalued based on market cap vs. realized cap.
C. Composite On-chain Score
The indicator computes an average Z-score of the three on-chain metrics to create a composite market assessment.
Adaptive thresholds (default: 0.73 for bullish signals, -0.44 for bearish signals) dynamically adjust based on market conditions.
3. Visual Representation
This indicator features color-coded elements and dynamic threshold visualization:
Bar Colors
Green Bars – Bullish conditions when Z-score exceeds the upper threshold.
Red Bars – Bearish conditions when Z-score drops below the lower threshold.
Gray Bars – Neutral market conditions.
Threshold Bands & Background Fill
Upper Band (Overbought) – Default threshold set at 0.73.
Middle Band – Neutral zone at 0.
Lower Band (Oversold) – Default threshold set at -0.44.
4. Customization & Parameters
This indicator is highly configurable, allowing traders to fine-tune settings based on their strategy:
On-Chain Z-score Settings
NUPL Z-score Length – Default: 126 periods
SOPR Z-score Length – Default: 111 periods
MVRV Z-score Length – Default: 111 periods
Signal Thresholds
Upper Threshold (Bullish Zone) – Default: 0.73
Lower Threshold (Bearish Zone) – Default: -0.44
Color & Visual Settings
Choose from eight customizable color modes to suit personal preferences.
5. Trading Applications
The On-chain Zscore Indicator is versatile and can be applied in various market scenarios:
Macro Trend Analysis – Identify long-term market tops and bottoms using normalized on-chain metrics.
Momentum Confirmation – Validate price action trends with SOPR & MVRV behavior.
Market Timing – Use deviation thresholds to enter at historically significant price zones.
Risk Management – Avoid overextended markets by watching for extreme Z-score readings.
6. Final Thoughts
The QuantumResearch On-chain Zscore Indicator provides a unique approach to market evaluation by combining three critical on-chain metrics into a single, normalized score.
By standardizing Bitcoin’s market behavior, this tool helps traders and investors make informed decisions based on historical statistical extremes.
Backtesting and validation are essential before using this indicator in live trading. While it enhances market analysis, it should be used alongside other tools and strategies.
Disclaimer: No indicator can guarantee future performance. Always use appropriate risk management and perform due diligence before trading.
Combo Gama Exposure + EMA + SMA 1.0Gamma Exposure (GEX) for the CBOE Volatility Index ( TVC:VIX ) is an estimate of how much option sellers need to hedge for every 1% change in the underlying asset's price. It's also known as Gamma Levels.
How is GEX calculated?
GEX is calculated based on a 1% move of the underlying security
It's calculated and updated throughout the day
It's based on market positioning and open interest
These regions are important because they show the regions where players can act more aggressively to defend their positions. When inserting the indicator on the chart, a popup will open requesting the GEX levels (Put wall, Vix Call Wall 0DTE, etc.)
In addition, 3 moving averages will be inserted into the chart. A 9-period exponential moving average, a 20-period arithmetic moving average, and a 200-period arithmetic moving average. These moving averages aim to indicate the possible trend of the asset, where pullbacks in these averages can signal a possible entry in favor of the trend.
NFP High/Low LevelsThis indicator plots high and low levels with horizontal lines for the last 12 NFP Days
NFP Days are input in the indicator settings
Labels are placed according to the Month and if it is a High or Low price for the NFP Day
Price tracking on each NFP day starts 30 min before market open until market close (0830-1559 EST)
NFP hours are marked at the bottom of the chart to verify the NFP session visually, adjustable in settings
Works for 1H and below timeframes and on Futures
Here is an example of the indicator on NQ1! chart
Adaptive Supply and Demand [EdgeTerminal]Adaptive Supply and Demand is a dynamic supply and demand indicator with a few unique twists. It considers volume pressure, volatility-based adjustments and multi-time frame momentum for confidence scoring (multi-step confirmation) to generate dynamic lines that adjust based on the market and also to generate dynamic support/resistance levels for the supply and demand lines.
The dynamic support and resistance lines shown gives you a better situational awareness of the current state of the market and add more context to why the market is moving into a certain direction.
> Trading Scenarios
When the confidence score is over 80%, strong volume pressure in trend direction (up or down), volatility is low and momentum is aligned across timeframes, there is an indication of a strong upward or downward trend.
When the supply and demand line crossover, the confidence score is over 75% and the volume pressure is shifting, this can be an indicator of trend reversal. Use tight initial stops, scale into position as trend develops, monitor the volume pressure for continuation and wait for confidence confirmation.
When the confiance score is below 60%, the volume pressure is choppy, volatility is high, you want to avoid trading or reduce position size, wait for confidence improvements, use support and resistance for entries/exits and use tighter stops due to market conditions. This is an indication of a ranging market.
Another scenario is when there is a sudden volume pressure increase, and a raising confidence score, the volatility is expanding and the bar momentum is aligning the volatility direction. This can indicate a breakout scenario.
> How it Works
1. Volume Pressure Analysis
Volume Pressure Analysis is a key component that measures the true buying and selling force in the market. Here's a detailed breakdown. The idea is to standardize volume to prevent large spikes from skewing results.
The indicator employs an adaptive volume normalization technique to detect genuine buying and selling pressure.
It takes current volume and divides it by average volume.
If normVol > 1: Current volume is above average
If normVol < 1: Current volume is below average
An example if this would be If current volume is 1500 and average is 1000, normVol = 1.5 (50% above average)
Another component of the volume pressure analysis is the Price Change Calculation sub-module. The purpose of this is to measure price movement relative to recent average.
It works by subtracting the average price from the current price. If the value is positive, price is average and if negative, price is below average.
Finally, the volume pressure is calculated to combine volume and price for true pressure reading.
2. Savitzky-Golay Filtering
SG filtering implements advanced signal smoothing while preserving important trend features. It uses weighted moving average approximation, preserves higher moments of data and reduces noise while maintaining signal integrity.
This results in smoother signal lines, reduced false crossovers and better trend identification. Traditional moving averages tend to lag and smooth out important features. Additionally, simple moving averages can miss critical turning points and regular smoothing can delay signal generation.
SG filtering preserves higher moments such as peaks, valleys and trends, reduces noise while maintaining signal sharpness.
It works by creating a symmetric weighting scheme. This way center points get the highest weights while edge points get the lowest weight.
3. Parkinson's Volatility
Parkinson's Volatility is an advanced volatility measurement formula using high-low range data. It uses high-low range for volatility calculation, incorporates logarithmic returns and annualized the volatility measure.
This results in more accurate volatility measurement, better risk assessment and dynamic signal sensitivity.
4. Multi-timeframe Momentum
This combines signals from each module for each timeframe to calculate momentum across three timeframes. It also applies weighted importance to each timeframe and generates a composite momentum signal.
This results in a more comprehensive trend analysis, reduced timeframe bias and better trend confirmation.
> Indicator Settings
Short-term Period:
Lower values makes it more sensitive, meaning it will generate more signals. Higher values makes it less sensitive, resulting in fewer signals. We recommend a 5 to 15 range for day trading, and 10 to 20 for swing trading
Medium-term Period:
Lower values result in faster trend confirmation and higher values show slower and more reliable confirmation. We recommend a range of 15-25 for day trading and 20-30 for swing trading.
Long-term Period:
Lower values makes it more responsive to trend changes and higher values are better for major trend identification. We recommend a range of 40-60 for day trading and 50-100 for swing trading.
Volume Analysis Window:
Lower values result in more sensitivity to volume changes and higher values result in smoother volume analysis. The optimal range is 15-25 for most trading styles.
Confidence Threshold:
Lower values generate more signals but quality decreases. Higher values generate fewer signals but accuracy increases.The optimal range is 0.65-0.8 for most trading conditions.
Reversal Probability Zone & Levels [LuxAlgo]The Reversal Probability Zone & Levels tool allows traders to identify a zone starting from the last detected reversal to highlight the probability of where the next reversal would be from a price and time perspective.
Price and time levels within the zone are displayed for up to 4 percentiles defined by the user.
🔶 USAGE
By default, the tool displays a zone with the 25th, 50th, 75th and 90th percentiles on both the price and time axis, indicating where, when and how many of the past reversals have occurred.
Traders can select the length for swing detection and the maximum number of reversals for probability calculations. The tool considers both bullish and bearish reversals separately, which means that if the last reversal was a swing high, the zone would show the probabilities for the last defined Maximum reversals
The Maximum reversals value has a direct impact on the probabilities, the more data traders use the more significant the result, probabilities over 10 occurrences are far weak compared to probabilities over 1000 occurrences.
🔹 Percentiles
Traders can fine-tune the percentile parameters in the settings panel.
A given percentile means that the number of occurrences in the data set is less than or equal to the percentile.
In English, this means
Percentile 20th: 20% of the occurrences are less than or equal to this value, so 80% of the occurrences are greater than this value.
Percentile 50th: 50% of the occurrences are below and 50% are above this value.
Percentile 80th: 80% of occurrences are lower than or equal to this value, so 20% of occurrences are greater than this value.
🔹 Normalize data
The Normalize Data feature allows traders to make an apples to apples comparison when we have a lot of historical data on high timeframe charts, using returns between swings instead of raw price.
🔹 Display Style
By default, the tool has the No overlapping feature enabled to display a clean chart, traders can turn it off, but this can fill the chart with too much information and barely see the price.
Traders can enable/disable settings to show only the last zone and the swing markers on the chart.
🔶 SETTINGS
Swing Length: The maximum length in bars used to identify a swing
Maximum Reversals: Maximum number of reversals included in calculations
Normalize Data: Use returns between swings instead of raw price
Percentiles: Enable/disable each of the four percentiles and select the percentile number, line style, colors, and size
🔹 Style
No Overlapping Zones: Enable or disable the No overlap between zones feature
Show Only Last Zone: Enable/disable display of last zone only
Show Marks: Enable/disable reversal markers
Emotion Line with Volume Confirmation by langshenHow to Use It?
Add the Indicator:
Copy the code into TradingView's Pine Script editor.
Save and add the indicator to your chart.
Understand the Lines:
Emotion Line (Green): Represents the current market sentiment.
MA Emotion Line (Red): A smoothed version of the Emotion Line.
Horizontal Lines:
20% (Gray): Indicates potential positive sentiment (Attention Zone).
40% (Orange): Suggests strong market sentiment (Entry Zone).
80% (Red): Signals overly optimistic sentiment (Reduce Position Zone).
Interpret the Signals:
When the Emotion Line crosses above 20%, it may indicate a positive shift in sentiment.
When the Emotion Line crosses above 40%, it suggests a strong market sentiment, which could be a potential entry point.
When the Emotion Line crosses above 80%, it may indicate an overbought market, signaling a potential reduction in positions.
When the Emotion Line crosses below the MA Emotion Line, it may indicate a weakening sentiment, signaling an exit.
Customize the Inputs:
N Period: Adjust the period for calculating the Emotion Line (default is 7).
MA Period: Adjust the period for the moving average of the Emotion Line (default is 6).
Logic Explanation
Ray Calculation:
The Ray is a smoothed price value calculated as the simple moving average (SMA) of (2 * close + high + low) / 4.
Close Line (CL):
The CL is derived from the Ray and represents the core price trend.
Directional Change (DlR1):
Measures the absolute difference between the current CL and its value two bars ago (CL ).
Volume in Range (VlR1):
Sums the absolute differences between the current CL and its previous value (CL ) over a specified period.
Efficiency Ratio (ER1):
Calculates the ratio of directional change (DlR1) to volume in range (VlR1), representing the efficiency of price movement.
Cumulative Strength (CS1):
Simplified as the efficiency ratio (ER1).
Cumulative Quotient (CQ1):
Squares the cumulative strength (CS1) to amplify its effect.
Adjusted Moving Average (AMA5):
A dynamic moving average that adjusts based on the CQ1 value, simulating a responsive trend line.
Cost (7-day SMA of AMA5):
The 7-period SMA of the AMA5.
Composite Line (CLX):
The average of AMA5 and Cost.
Emotion Line:
Calculated as the percentage of days where the CLX is higher than its previous value over the last N periods.
MA Emotion Line:
The moving average of the Emotion Line, smoothing out its fluctuations.
Key Features
Trend Identification: Helps identify shifts in market sentiment.
Customizable Periods: Adjust N and M to fit your trading style.
Visual Cues: Horizontal lines provide clear levels for attention, entry, and reduce position signals.
Best Practices
Use this indicator in conjunction with other tools (e.g., RSI, MACD) for confirmation.
Adjust the N and M periods based on your trading timeframe (e.g., shorter periods for scalping, longer periods for swing trading).
Combine the indicator with volume analysis to confirm signals.
This indicator is designed to be simple yet powerful, providing clear insights into market sentiment while adhering to TradingView's coding standards.
Blackflag FTS (1H Trailing) + MSB-OB FibThis indicator combines a 1-hour trailing stop system with multi-timeframe Fibonacci retracement levels and ZigZag structure detection to assist traders in identifying trend direction and potential reversal zones.
Features:
✅ 1-Hour Trailing Stop: Uses an ATR-based trailing stop mechanism to track trend direction and dynamic support/resistance.
✅ Multi-Timeframe Approach: The trailing stop is calculated on the 1-hour timeframe, while the ZigZag and Fibonacci retracement levels are based on the 15-minute chart.
✅ ZigZag Structure Detection: Helps filter market swings and trend reversals dynamically.
✅ Fibonacci Levels (0.5 & 0.786): Key retracement levels to watch for price reactions.
✅ Alerts for Key Levels: Get notified when the price crosses important levels (1H trailing stop, Fib 0.5, Fib 0.786).
How It Works:
The trailing stop adapts dynamically based on ATR values and determines trend direction.
ZigZag detection filters out minor price movements to highlight major swing points.
Fibonacci levels are calculated based on ZigZag swings, helping traders spot potential reversal zones.
This tool is useful for trend-following traders, breakout traders, and Fibonacci-based strategies.
Let me know if you'd like any modifications! 🚀
Opening Range, Initial Balance, Opening Price, Pre-market Levels### Description of the Indicator: **Opening Range, Initial Balance, Opening Price, Pre-market Levels**
This custom TradingView indicator provides a comprehensive view of key price levels for intraday trading, specifically designed to track important levels from the Opening Range (OR), Initial Balance (IB), Opening Price (OP), and Pre-market session (PM). These levels are essential for traders to gauge potential market movements and identify critical areas of support and resistance.
#### **Features:**
1. **Opening Range (OR):**
- This is the high and low of the first 30 minutes of the regular market session (09:30 - 10:00 EST).
- The OR high and low act as significant levels that may influence price movement for the rest of the day.
- The mid-level of the Opening Range (OR Mid) is also plotted to give a more detailed view of potential price action.
2. **Initial Balance (IB):**
- The Initial Balance is the range created during the first hour of market activity (09:30 - 10:30 EST).
- This range often sets the tone for the market's direction. The IB high and low, along with the IB midline, are plotted for quick reference.
3. **Opening Price (OP):**
- The opening price of the market is marked as a circle and labeled "OP."
- This level provides context for market sentiment when compared to the high and low levels.
4. **Pre-market Levels (PM):**
- The pre-market session (04:00 - 09:30 EST) has its own important levels that are calculated for the high, low, and mid range (PM High, PM Low, and PM Mid).
- These levels are plotted and are useful for traders to understand where the market stood before the regular session opened.
#### **Customization Options:**
- **Exchange Timezone:** You can choose whether to display the times in the exchange's local timezone or in your own preferred timezone.
- **Mid Levels Display:** You can toggle whether the mid levels for each range (OR, IB, PM) should be shown on the chart.
- **Level Color Change:** The colors of the plotted levels (high, low, mid) change based on whether the price is above or below the respective level, making it easy to visualize potential support and resistance.
- **Label Positions:** The position of the labels (OR, IB, OP, PM) on the chart can be customized to avoid overlap with other data points.
#### **Key Use Cases:**
- **Intraday Trend Analysis:** Use the OR and IB to identify key levels for the day, providing insights into the possible trend or range for the day.
- **Pre-market Insights:** The PM levels are crucial for understanding where the market stood during the pre-market hours and can be used as reference points during the regular session.
- **Potential Support and Resistance:** The high and low levels of the OR, IB, and PM sessions can act as potential support or resistance, which are useful for setting stop-loss and take-profit levels.
#### **How to Use:**
- Pay attention to the levels provided for OR, IB, and PM as potential entry and exit points.
- Watch for breakouts or reversals around these levels, especially when combined with other technical indicators or price action patterns.
- The mid levels offer an additional reference to assess price direction or identify possible areas of consolidation.
This indicator is perfect for day traders who rely on key intraday levels and pre-market activity to make informed trading decisions. It helps to streamline the process of identifying potential breakouts, reversals, and ranges in the market.
Momentum Edge Strategy - 1D BTC OptimizedMomentum Edge Strategy - 1D BTC Optimized
Description
The Momentum Edge Strategy - 1D BTC Optimized is a trend-following and momentum-based trading strategy specifically designed and optimized for Bitcoin (BTC) on the Daily (1D) timeframe. This strategy leverages a confluence of proven technical indicators, including the Ichimoku Cloud, MACD Histogram, and Bollinger Band Width, to identify high-probability trading opportunities in trending markets.
By incorporating multi-timeframe analysis (Weekly trend confirmation) and adaptive risk management using ATR-based stop-loss levels, this strategy ensures robust performance with minimal drawdowns. It is ideal for swing traders looking to capture significant price movements while maintaining strong capital preservation.
Key Features
Trend Detection with Ichimoku Cloud:
Determines whether the market is trending bullish or bearish by analyzing price action relative to the Ichimoku Cloud.
Momentum Confirmation with MACD Histogram:
Confirms trade entries by analyzing bullish or bearish momentum using the MACD histogram.
Volatility Filtering with Bollinger Band Width:
Ensures trades are only executed in sufficiently volatile markets, reducing false signals in low-volatility conditions.
Multi-Timeframe Trend Confirmation:
Aligns entries on the Daily (1D) chart with the broader Weekly (1W) trend for enhanced signal reliability.
Dynamic Risk Management:
Uses ATR-based stop-loss levels that adapt to market volatility, ensuring tight risk control while allowing trades to breathe.
Strong Backtesting Results:
Optimized for Bitcoin on the Daily timeframe, achieving:
Net Profit: +10.80%.
Profit Factor: 2.593.
Percent Profitable: 50.70%.
Max Drawdown: -1.47%.
How It Works
Long Entry Conditions:
Price is above the Ichimoku Cloud.
MACD histogram is greater than -0.05.
Weekly trend confirmation (price above 50-period SMA on Weekly chart).
Bollinger Band Width exceeds the threshold (> 0.02).
Short Entry Conditions:
Price is below the Ichimoku Cloud.
MACD histogram is less than 0.
Weekly trend confirmation indicates bearish conditions (price below 50-period SMA on Weekly chart).
Bollinger Band Width exceeds the threshold (> 0.02).
Stop-Loss Logic:
Stop-loss levels are dynamically adjusted based on ATR and Bollinger Band Width:
In low-volatility conditions, stop-loss is set at recent highs/lows.
In high-volatility conditions, stop-loss is set using ATR multipliers.
Recommended Timeframe and Asset
Optimized for Bitcoin (BTC) on the Daily (1D) timeframe.
While designed for BTC, it may also perform well on other cryptocurrencies with similar trend-driven characteristics after proper backtesting and optimization.
Disclaimers
Not Financial Advice:
This script is provided for educational purposes only and should not be considered financial or investment advice. Always consult a qualified financial advisor before making trading decisions.
Use at Your Own Risk:
Trading involves significant risk, including the potential loss of all invested capital. Past performance is not indicative of future results.
Backtesting Limitations:
Backtesting results are based on historical data and do not account for slippage, spreads, or execution delays in live trading environments.
Timeframe-Specific Optimization:
This strategy has been specifically optimized for Bitcoin on the Daily timeframe. Performance may vary significantly on other assets or timeframes.
User Responsibility:
Users are encouraged to backtest and optimize this strategy for their specific use case before deploying it in live trading.
Users can adjust key parameters such as:
1. ATR Length (`atrLength`) and Multiplier (`atrMultiplier`) to fine-tune risk management.
2. Bollinger Band Width Threshold (`bbWidthThreshold`) to adapt volatility filtering to different assets or market conditions.
Final Thoughts
The Momentum Edge Strategy - 1D BTC Optimized has demonstrated elite-level performance metrics during backtesting on Bitcoin on the 1D timeframe. But backtesting doesn't tell the future, so study how it works, use at your own risk and enjoyment, and let me know any recommendations.
Refined Ichimoku with MACD and RSI Strategy - HTF OptimizedIndicator Summary: Refined Ichimoku with MACD and RSI Strategy
Philosophy and Approach
The "Refined Ichimoku with MACD and RSI Strategy" is designed as a hybrid trend-following and range-bound trading strategy. It leverages the Ichimoku Cloud for market regime detection, MACD for momentum confirmation, RSI for overbought/oversold conditions, and ATR for dynamic stop-loss placement. The strategy seeks to capture trends in trending markets while also identifying reversal opportunities in range-bound conditions.
Core Philosophy:
Use the Ichimoku Cloud as the foundation for detecting trending vs. range-bound markets.
Combine multiple indicators (MACD, RSI, Stochastic RSI) to improve signal quality and reduce false entries.
Implement robust risk management using ATR-based stop-loss levels.
Approach:
Trending Markets: Enter long trades when price is above the Ichimoku Cloud with bullish momentum (e.g., RSI > 55, MACD histogram > 0). Enter short trades when price is below the cloud with bearish momentum.
Range-Bound Markets: Enter mean-reversion trades at overbought/oversold levels (e.g., RSI < 30 or > 70, Stochastic RSI extremes).
Strengths
Robust Market Regime Detection:
The Ichimoku Cloud effectively distinguishes between trending and range-bound markets, allowing the strategy to adapt dynamically.
Confluence of Indicators:
The use of MACD, RSI, and Stochastic RSI ensures that trades are only taken when multiple conditions align, reducing false signals.
Dynamic Risk Management:
ATR-based stop-loss levels adapt to market volatility, minimizing drawdowns while allowing trades to breathe.
Visualization:
Highlights trending markets (green background) and range-bound markets (red background) for easy interpretation.
Plots the Ichimoku Cloud for visual confirmation of market structure.
Performance on Higher Timeframes:
Backtesting results show strong performance on daily (D1) charts, with a profit factor of 2.159 and a net profit of +10.71% over the testing period.
Weaknesses
Low Percent Profitable:
Across all timeframes, the percent profitable is below 40%, indicating that many trades are unprofitable.
This suggests that the entry/exit logic may need further refinement.
Overtrading on Lower Timeframes:
On H4 charts, the strategy executed 430 trades with a profit factor of only 1.219, indicating overtrading and reduced efficiency.
Missed Opportunities in Range-Bound Markets:
While designed to trade reversals in range-bound conditions, the strategy's filters may be too restrictive, leading to missed opportunities.
Complexity:
The combination of multiple indicators (Ichimoku Cloud, MACD, RSI, Stochastic RSI) increases complexity, which may make it harder for users to understand or optimize.
Recommended Timeframes
Daily (D1):
Best performance observed during backtesting.
Strong profit factor (2.159) and manageable drawdowns (-2.10%) make it ideal for swing traders looking to capture long-term trends.
4-Hour (H4):
Marginal profitability observed during backtesting (profit factor of 1.219).
Suitable for traders willing to refine filters to reduce overtrading and improve signal quality.
Avoid Lower Timeframes (e.g., M15):
High noise levels lead to frequent false signals and poor profitability.
Performance Metrics from Backtesting (BTCUSDT)
Timeframe Net Profit Profit Factor Total Trades Percent Profitable Max Drawdown
Daily (D1) +10.71% 2.159 58 37.93% 2.10%
4-Hour (H4) +6.16% 1.219 430 32.56% 2.47%
Final Thoughts
The "Refined Ichimoku with MACD and RSI Strategy" is a versatile tool for traders who prefer higher timeframes like D1 or H4 charts. While it excels in capturing long-term trends with robust risk management, it struggles with low percent profitable rates and overtrading on lower timeframes. By focusing on simplicity and refining entry/exit logic, this strategy has the potential to deliver consistent results for swing traders seeking a balance between trend-following and mean-reversion approaches. By making the code open, it is hoped that experts might be able to adjust the variables within the script to their liking while still benefiting from the overall approach and philosophy of the strategy.
Regarding the three Strategy Indicator Settings:
1. Conversion Line Length (Default: 9)
What It Does:
The Conversion Line (Tenkan-sen) is a short-term moving average that represents the midpoint of the highest high and lowest low over the specified period (default: 9).
It acts as a fast-moving signal line, similar to a short-term moving average.
Recommendations:
Default Setting (9): Works well for most timeframes, especially higher timeframes like Daily (D1) or Weekly, as it captures short-term momentum effectively.
Shorter Timeframes (M15, H1): Consider reducing this value to 6 or 7 to make the Conversion Line more responsive to rapid price changes.
Higher Timeframes (D1, Weekly): Stick with the default value of 9 to avoid excessive noise.
When to Adjust:
Decrease if you want faster signals for scalping or intraday trading.
Increase slightly (e.g., to 10 or 12) if you want smoother signals for swing trading.
2. Base Line Length (Default: 26)
What It Does:
The Base Line (Kijun-sen) is a medium-term moving average that represents the midpoint of the highest high and lowest low over the specified period (default: 26).
It serves as a key support/resistance level and a trend confirmation signal when crossed by the Conversion Line.
Recommendations:
Default Setting (26): Standard for most markets and timeframes. It balances responsiveness with stability.
Shorter Timeframes: Reduce to 20–22 for faster signals in volatile markets.
Higher Timeframes: Stick with the default value of 26 or increase slightly to 30 for smoother trend confirmation.
When to Adjust:
Decrease for quicker trend signals in fast-moving markets.
Increase for long-term trading strategies where you want stronger support/resistance levels.
3. Lagging Span Length (Default: 52)
What It Does:
The Lagging Span (Chikou Span) plots the current closing price shifted backward by the specified number of periods (default: 52).
It helps confirm trends by comparing current price action to past price levels.
Recommendations:
Default Setting (52): Works well across most timeframes, as it aligns with traditional Ichimoku settings designed for long-term trends.
Shorter Timeframes: Reduce slightly to around 40–45 if you want quicker trend confirmations in intraday trading.
Higher Timeframes: Keep at the default value of 52, as it provides reliable confirmation of long-term trends.
When to Adjust:
Decrease for faster confirmation in high-volatility environments.
Increase only if you are focusing on very long-term trends, such as on Monthly charts.
General Disclaimer
Not Financial Advice:
This script is provided for educational and informational purposes only. It should not be considered financial or investment advice. Always consult with a qualified financial advisor before making trading decisions.
Use at Your Own Risk:
Trading involves significant risk, and past performance is not indicative of future results. Users are solely responsible for any losses incurred while using this strategy.
No Guarantee of Profitability:
While this strategy has been backtested on historical data, there is no guarantee that it will perform similarly in live market conditions due to differences in market behavior, slippage, and latency.
Technical Disclaimer
Indicator Limitations:
This strategy relies on technical indicators such as the Ichimoku Cloud, MACD, RSI, and ATR. These indicators are lagging or reactive by nature and may not accurately predict future price movements.
Timeframe-Specific Performance:
This strategy has shown better performance on higher timeframes (e.g., Daily). It may not perform well on lower timeframes (e.g., M15) due to increased market noise.
Customization Required:
The default settings (e.g., Conversion Line Length = 9, Base Line Length = 26, Lagging Span Length = 52) are optimized for general use but may require adjustment based on the user's trading style, asset class, or timeframe.
Market Risks Disclaimer
Market Conditions Matter:
The effectiveness of this strategy depends heavily on market conditions. It performs best in trending markets and may struggle in highly volatile or range-bound environments without adjustments.
Slippage and Execution Risks:
Backtesting results do not account for slippage, spreads, or order execution delays that occur in live trading environments.
No Adaptation to News Events:
This strategy does not incorporate fundamental analysis or news events that can significantly impact price movements.
User Responsibility Disclaimer
Backtesting and Optimization:
Users are encouraged to backtest and optimize the strategy on their chosen assets and timeframes before deploying it in live trading.
Monitor Regularly:
This strategy is not a "set-and-forget" tool. Users should monitor trades regularly and adjust settings as needed to adapt to changing market conditions.
Risk Management Required:
Proper risk management practices (e.g., position sizing, stop-loss placement) are crucial when using this strategy to minimize potential losses.
EMA/SMA Ribbon Pro (AUTO HTF + Labels)This indicator is a multi-timeframe (MTF) moving average ribbon that dynamically adjusts to the next highest timeframe. It provides a visual representation of market trends by stacking multiple EMAs and SMAs with customizable color fills and labels.
Features
✅ Multi-Timeframe (MTF) Support: Automatically detects the next highest time frame or allows for manual selection
✅ Customizable Moving Averages: Supports EMA and SMA with different lengths for flexible configuration
✅ Ribbon Visualization: Smooth color transitions between different moving averages for better trend identification
✅ Crossover Labels: Detects bullish and bearish EMA/SMA crossovers and marks them on the chart
✅ Price Labels & Timeframe Display: Displays moving average values to the right of the price axis with customizable label padding and colors
How It Works
Select the HTF mode: Manual or automatic
Choose EMA/SMA lengths to create different ribbons
Enable/disable price labels for each moving average
Customize colors and transparency for ribbons and labels
Crossover labels appear when faster moving averages cross slower ones and vice versa
Use Cases
📌 Trend Identification: Identify bullish and bearish trends using multiple EMAs and SMAs
📌 Support & Resistance Zones: MAs can act as dynamic support and resistance levels
📌 Reversal & Confirmation Signals: Watch for MTF crossovers to confirm trend changes
Customization
🔹 Standard EMA Lengths: 6, 8, 13, 21, 34, 48, 100, 200, 300, 400
🔹 SMA Lengths: 48, 100, 200
🔹 Color Adjustments: Set custom colors for bullish/bearish ribbons
🔹 Crossovers: Enable/disable custom crossover pairs (e.g., 100/200 EMA, 200 EMA/SMA).
This indicator is perfect for traders who rely on multi-timeframe confluence while seeking to enhance their market analysis and decision-making process.
As always, by combining EMA/SMA Ribbon with other tools, traders ensure that they are not relying on a single indicator. This layered approach can reduce the likelihood of false signals and improve overall trading accuracy.
As always, be sure to use any indicator with price action and volume indicators for better trade confirmation!
Enhanced Momentum Divergence Radar+ [Alpha Extract]Enhanced Momentum Divergence Radar+
The AE's Enhanced Momentum Divergence Radar+ is designed to detect momentum shifts and divergence patterns, helping traders identify potential trend reversals and continuation points. By normalizing momentum readings and applying divergence detection, it enhances market timing for entries and exits.
🔶 CALCULATION
The indicator calculates normalized momentum using a combination of Detrended Price Oscillator (DPO) and volatility-adjusted smoothing techniques. It highlights overbought and oversold conditions while identifying bullish and bearish divergences.
Core Calculation:
ATR-based volatility adjustment ensures dynamic sensitivity.
DPO is derived from the price minus a simple moving average (SMA) to isolate cyclical movements.
Momentum score is normalized using historical max values for consistent scaling.
Thresholds are dynamically adjusted based on average absolute momentum.
dpo = close - ma
sd = (dpo / volatility) * 100
normalizedSD = sd / maxAbsSD
The momentum score is plotted as a histogram, where:
Green bars indicate strong upward momentum.
Red bars indicate strong downward momentum.
Neutral values fade into gray.
🔶 DETAILS
📊 Visual Features:
Histogram bars dynamically color-coded based on momentum strength.
Threshold bands provide reference points for overbought and oversold levels.
Divergence markers (Bullish/Bearish & Hidden Bullish/Bearish) highlight key reversal signals.
🛠 How Divergences Work:
Bullish Divergence (𝓞𝓢): Price makes a lower low while momentum makes a higher low.
Bearish Divergence (𝓞𝓑): Price makes a higher high while momentum makes a lower high.
Hidden Divergences confirm trend continuations rather than reversals.
📌 Example of Divergence Logic:
bullishDiv = (low == priceLow) and (sd > momentumLow)
bearishDiv = (high == priceHigh) and (sd < momentumHigh)
🔶 EXAMPLES
📍 The chart below illustrates price reacting to momentum divergences, identifying potential tops and bottoms before major price moves.
📌 Example snapshots:
A bullish divergence leading to a reversal in price.
A bearish divergence marking the beginning of a downtrend.
🔶 SETTINGS
🔹 Customization Options:
Lookback Period: Adjusts sensitivity to market cycles.
Smoothing Period: Controls signal clarity.
Color Options: Enables bar coloring based on momentum strength.
Divergence Sensitivity: Choose to display hidden divergences.
Fibonacci Cycle Finder🟩 Fibonacci Cycle Finder is an indicator designed to explore Fibonacci-based waves and cycles through visualization and experimentation, introducing a trigonometric approach to market structure analysis. Unlike traditional Fibonacci tools that rely on static horizontal levels, this indicator incorporates the dynamic nature of market cycles, using adjustable wavelength, phase, and amplitude settings to visualize the rhythm of price movements. By applying a sine function, it provides a structured way to examine Fibonacci relationships in a non-linear context.
Fibonacci Cycle Finder unifies Fibonacci principles with a wave-based method by employing adjustable parameters to align each wave with real-time price action. By default, the wave begins with minimal curvature, preserving the structural familiarity of horizontal Fibonacci retracements. By adjusting the input parameters, the wave can subtly transition from a horizontal line to a more pronounced cycle,visualizing cyclical structures within price movement. This projective structure extends potential cyclical outlines on the chart, opening deeper exploration of how Fibonacci relationships may emerge over time.
Fibonacci Cycle Finder further underscores a non-linear representation of price by illustrating how wave-based logic can uncover shifts that are missed by static retracement tools. Rather than imposing immediate oscillatory behavior, the indicator encourages a progressive approach, where the parameters may be incrementally modified to align wave structures with observed price action. This refinement process deepens the exploration of Fibonacci relationships, offering a systematic way to experiment with non-linear price dynamics. In doing so, it revisits fundamental Fibonacci concepts, demonstrating their broader adaptability beyond fixed horizontal retracements.
🌀 THEORY & CONCEPT 🌀
What if Fibonacci relationships could be visualized as dynamic waves rather than confined to fixed horizontal levels? Fibonacci Cycle Finder introduces a trigonometric approach to market structure analysis, offering a different perspective on Fibonacci-based cycles. This tool provides a way to visualize market fluctuations through cyclical wave motion, opening the door to further exploration of Fibonacci’s role in non-linear price behavior.
Traditional Fibonacci tools, such as retracements and extensions, have long been used to identify potential support and resistance levels. While valuable for analyzing price trends, these tools assume linear price movement and rely on static horizontal levels. However, market fluctuations often exhibit cyclical tendencies , where price follows natural wave-like structures rather than strictly adhering to fixed retracement points. Although Fibonacci-based tools such as arcs, fans, and time zones attempt to address these patterns, they primarily apply geometric projections. The Fibonacci Cycle Finder takes a different approach by mapping Fibonacci ratios along structured wave cycles, aligning these relationships with the natural curvature of market movement rather than forcing them onto rigid price levels.
Rather than replacing traditional Fibonacci methods, the Fibonacci Cycle Finder supplements existing Fibonacci theory by introducing an exploratory approach to price structure analysis. It encourages traders to experiment with how Fibonacci ratios interact with cyclical price structures, offering an additional layer of insight beyond static retracements and extensions. This approach allows Fibonacci levels to be examined beyond their traditional static form, providing deeper insights into market fluctuations.
📊 FIBONACCI WAVE IMPLEMENTATION 📊
The Fibonacci Cycle Finder uses two user-defined swing points, A and B, as the foundation for projecting these Fibonacci waves. It first establishes standard horizontal levels that correspond to traditional Fibonacci retracements, ensuring a baseline reference before wave adjustments are applied. By default, the wave is intentionally subtle— Wavelength is set to 1 , Amplitude is set to 1 , and Phase is set to 0 . In other words, the wave starts as “stretched out.” This allows a slow, measured start, encouraging users to refine parameters incrementally rather than producing abrupt oscillations. As these parameters are increased, the wave takes on more distinct sine and cosine characteristics, offering a flexible approach to exploring Fibonacci-based cyclicity within price action.
Three parameters control the shape of the Fibonacci wave:
1️⃣ Wavelength Controls the horizontal spacing of the wave along the time axis, determining the length of one full cycle from peak to peak (or trough to trough). In this indicator, Wavelength acts as a scaling input that adjusts how far the wave extends across time, rather than a strict mathematical “wavelength.” Lower values further stretch the wave, increasing the spacing between oscillations, while higher values compress it into a more frequent cycle. Each full cycle is divided into four quarter-cycle segments, a deliberate design choice to minimize curvature by default. This allows for subtle oscillations and smoother transitions, preventing excessive distortion while maintaining flexibility in wave projections. The wavelength is calculated relative to the A-B swing, ensuring that its scale adapts dynamically to the selected price range.
2️⃣ Amplitude Defines the vertical displacement of the wave relative to the baseline Fibonacci level. Higher values increase the height of oscillations, while lower values reduce the height, Negative values will invert the wave’s initial direction. The amplitude is dynamically applied in relation to the A-B swing direction, ensuring that an upward swing results in upward oscillations and a downward swing results in downward oscillations.
3️⃣ Phase Shifts the wave’s starting position along its cycle, adjusting alignment relative to the swing points. A phase of 0 aligns with a sine wave, where the cycle starts at zero and rises. A phase of 25 aligns with a cosine wave, starting at a peak and descending. A phase of 50 inverts the sine wave, beginning at zero but falling first, while a phase of 75 aligns with an inverted cosine , starting at a trough and rising. Intermediate values between these phases create gradual shifts in wave positioning, allowing for finer alignment with observed market structures.
By fine-tuning these parameters, users can adapt Fibonacci waves to better reflect observed market behaviors. The wave structure integrates with price movements rather than simply overlaying static levels, allowing for a more dynamic representation of cyclical price tendencies. This indicator serves as an exploratory tool for understanding potential market rhythms, encouraging traders to test and visualize how Fibonacci principles extend beyond their traditional applications.
🖼️ CHART EXAMPLES 🖼️
Following this downtrend, price interacts with curved Fibonacci levels, highlighting resistance at the 0.236 and 0.382 levels, where price stalls before pulling back. Support emerges at the 0.5, 0.618, and 0.786 levels, where price finds stability and rebounds
In this Fibonacci retracement, price initially finds support at the 1.0 level, following the natural curvature of the cycle. Resistance forms at 0.786, leading to a pullback before price breaks through and tests 0.618 as resistance. Once 0.618 is breached, price moves upward to test 0.5, illustrating how Fibonacci-based cycles may align with evolving market structure beyond static, horizontal retracements.
Following this uptrend, price retraces downward and interacts with the Fibonacci levels, demonstrating both support and resistance at key levels such as 0.236, 0.382, 0.5, and 0.618.
With only the 0.5 and 1.0 levels enabled, this chart remains uncluttered while still highlighting key price interactions. The short cycle length results in a mild curvature, aligning smoothly with market movement. Price finds resistance at the 0.5 level while showing strong support at 1.0, which follows the natural flow of the market. Keeping the focus on fewer levels helps maintain clarity while still capturing how price reacts within the cycle.
🛠️ CONFIGURATION AND SETTINGS 🛠️
Wave Parameters
Wavelength : Stretches or compresses the wave along the time axis, determining the length of one full cycle. Higher values extend the wave across more bars, while lower values compress it into a shorter time frame.
Amplitude : Expands or contracts the wave along the price axis, determining the height of oscillations relative to Fibonacci levels. Higher values increase the vertical range, while negative values invert the wave’s initial direction.
Phase : Offsets the wave along the time axis, adjusting where the cycle begins. Higher values shift the starting position forward within the wave pattern.
Fibonacci Levels
Levels : Enable or disable specific Fibonacci levels (0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0) to focus on relevant price zones.
Color : Modify level colors for enhanced visual clarity.
Visibility
Trend Line/Color : Toggle and customize the trend line connecting swing points A and B.
Setup Lines : Show or hide lines linking Fibonacci levels to projected waves.
A/B Labels Visibility : Control the visibility of swing point labels.
Left/Right Labels : Manage the display of Fibonacci level labels on both sides of the chart.
Fill % : Adjust shading intensity between Fibonacci levels (0% = no fill, 100% = maximum fill).
A and B Points (Time/Price):
These user-defined anchor points serve as the basis for Fibonacci wave calculations and can be manually set. A and B points can also be adjusted directly on the chart, with automatic synchronization to the settings panel, allowing for seamless modifications without needing to manually input values.
⚠️ DISCLAIMER ⚠️
The Fibonacci Cycle Finder is a visual analysis tool designed to illustrate Fibonacci relationships and serve as a supplement to traditional Fibonacci tools. While the indicator employs mathematical and geometric principles, no guarantee is made that its calculations will align with other Fibonacci tools or proprietary methods. Like all technical and visual indicators, the Fibonacci levels generated by this tool may appear to visually align with key price zones in hindsight. However, these levels are not intended as standalone signals for trading decisions. This indicator is intended for educational and analytical purposes, complementing other tools and methods of market analysis.
🧠 BEYOND THE CODE 🧠
Fibonacci Cycle Finder is the latest indicator in the Fibonacci Geometry Series. Building on the concepts of the Fibonacci Time-Price Zones and the Fibonacci 3-D indicators, this tool introduces a trigonometric approach to market structure analysis.
The Fibonacci Cycle Finder indicator, like other xxattaxx indicators , is designed to encourage both education and community engagement. Your feedback and insights are invaluable to refining and enhancing the Fibonacci Cycle Finder indicator. We look forward to the creative applications, observations, and discussions this tool inspires within the trading community.
Midnight Opening Ranges[TDL]Midnight Opening Range Indicator for TradingView
Description:
The Midnight Opening Range Indicator as taught by Micheal J. Huddleston is a powerful tool designed for traders who want to analyze price action during the critical midnight to 00:30 timeframe. This indicator highlights the opening range for both the current day and previous days, providing valuable insights into market behavior during this specific period. It also calculates and displays deviations from the opening range, as well as allows for custom opening prices to be set, making it highly adaptable to your trading strategy.
Key Features:
Today's Opening Range (00:00 - 00:30):
The indicator plots the high and low of the price range between 00:00 and 00:30 for the current day.
This range is highlighted on the chart, making it easy to identify the initial market movement and potential support/resistance levels.
Previous Days' Opening Ranges:
The indicator also displays the opening ranges for previous days, allowing you to how price reacts off of previous days ranges not just todays.
This feature helps in identifying patterns or recurring behaviors in the market in which price uses this range and previous days ranges throughout the trading day.
Deviations from the Opening Range:
The indicator calculates and plots deviations from the opening range, both above and below the high and low of the range.
These deviations can be used to identify potential breakout or reversal points, giving you an edge in anticipating market moves.
Custom Opening Prices:
The indicator allows you to set custom opening prices, which can be useful if you want to analyze the market based on a specific reference point rather than the default midnight opening.
This feature is particularly useful for traders who follow alternative trading sessions or have specific entry criteria.
Customizable Visuals:
The indicator offers customizable colors and styles for the opening range, deviations, and custom opening prices, allowing you to tailor the visual representation to your preferences.
How to Use:
Identify Key Levels: Use the highlighted opening range to identify key support and resistance levels for the day.
Monitor Deviations: Watch for price movements beyond the opening range deviations to spot potential breakouts or reversals.
Previous Range Data: Use previous days to identify areas of potential AMD.
Set Custom Prices: Adjust the custom opening price to align with your trading strategy or session preferences.
Ideal For:
Day Traders: Perfect for traders who focus on the early hours of the market to capture initial momentum.
Swing Traders: Useful for identifying key levels that could influence price action over several days.
Algorithmic Traders: Can be integrated into automated trading systems to trigger trades based on the opening range and deviations.
Conclusion:
The Midnight Opening Range Indicator is an essential tool for any trader looking to gain an edge in the market by focusing on the critical midnight to 00:30 timeframe. With its ability to highlight opening ranges, calculate deviations, and accommodate custom opening prices, this indicator provides a comprehensive view of market behavior during this pivotal period. Whether you're a day trader, swing trader, or algorithmic trader, this indicator will help you make more informed trading decisions.
Kalman Filter Trend BreakersThe Kalman filter is a recursive algorithm developed in 1960 by Rudolf E. Kálmán, a Hungarian-American engineer and mathematician, that provides optimal estimates of a system's state by combining noisy measurements with a predictive model. It is widely used in control systems, signal processing, and finance for tracking and forecasting.
In trading, KF might be a good replacement for a moving average, as it reacts to price changes in a different way. Not only it follows price direction, but can also track the velocity of price change. This specific behaviour of KF is used in this indicator to track changes in trends.
Trend is characterized by price moving directionally, however, any trend comes to pause or complete stop and reversal, as the price changes more slowly (a trend fades into a sideways movement for a while) or the price movement changes direction, thus making a reversal.
This indicator detects the points where such changes occur (trend breaker points), and produces signals, which serve as points of current trend pausing or reversing. By applying different settings for KF calculation, you can produce less or more signals that indicate change in trend character, and either detect only significant trends changes, or less and shorter trends changes as well.
The signals do not differentiate the exact type of a trend change (it can be a brief trend pause followed by a continuation, as well as a complete reversal). However, once you are in a trend, the significant velocity change indicates a change in trend structure. In this sense, trend breaker signals should not be followed blindly, and can be used only as trend (and subsequently, position) exit confirmations, but not the entry contrarian confirmations.
For better visual representation, you can use chart signals attached to bars, and additionally paint a vertical gradient at each signal which shows significant trend deceleration.
Kalman filter calculations used in this indicator are partially based on an open-source code from @loxx which was published in 2022 as Kalman filter overlay .
EMA Ribbon overlay with Trend-Based Color TransitionThis indicator visualizes an EMA Ribbon with a trend-based color transition. It helps traders quickly identify market trends and transitions between bullish and bearish movements.
How It Works
Exponential Moving Averages (EMAs)
The indicator calculates 8 EMAs based on user-defined lengths.
Default values range from 21 to 55 periods.
Trend Identification
A bullish trend is detected when all EMAs are stacked in an upward sequence (shorter EMAs above longer ones).
A bearish trend is detected when all EMAs are stacked in a downward sequence (shorter EMAs below longer ones).
Trend Reversal Detection
A trend shift to bullish occurs when a previously bearish trend turns bullish.
A trend shift to bearish occurs when a previously bullish trend turns bearish.
Color Transition Logic
Green when transitioning from a bearish to bullish trend.
Red when transitioning from a bullish to bearish trend.
Visualization
EMAs are plotted on the chart.
The area between EMAs is filled with green or red, depending on the trend shift.
Use Case
Identifying Trend Shifts: Traders can use color transitions to detect potential entry and exit points.
Confirming Market Direction: Helps confirm bullish and bearish trends before making trading decisions.
Enhanced Visual Clarity: The ribbon structure makes it easy to see trend momentum and potential reversals.
This indicator is useful for trend-following strategies and can be combined with other technical analysis tools for better decision-making. 🚀
Momentum Theory Quick BiasMomentum Theory Quick Bias is a watchlist screener tool for rapid multi-timeframe analysis. It displays a variety of information from higher timeframes in order to set a directional bias including: breakout levels, peak levels, previous bar closes, and swing points.
✅ 8 Symbol Watchlist Scanner
✅ Quickly Set Directional Bias
✅ For Scalpers, Day Traders, and Swing Traders
--- 📷 INDICATOR GALLERY ---
--- 🚀 QUICK LOOK ---
✔ Multi-Timeframe Analysis
Displays various higher timeframe information in order to read how an asset is moving with one quick glance. Utilizes icons and colors that serve as visual cues.
--- ⚡ FEATURES ---
✔ Breakout Bias
Shows if the current price is above or below the breakout level on the timeframe.
✔ Peak Bias
Shows if the current previous peak has been triggered and where price is relative to it.
✔ Previous Bar Close
Shows how the previous bar closed and whether it's bullish or bearish.
Breakout
Fakeout
Inside
Outside
✔ Swing Point
Shows if the timeframe has currently flipped its breakout level.
✔ Bias Alignment
Shows visual icons if there is bias alignment between the timeframes.
↗️↘️ Breakout Bias Alignment
🔼🔽 Peak Bias Alignment
🔀 Breakout and Peak Bias Alignment, but opposite
✅ Breakout and Peak Bias Alignment
✔ Quick Analysis
Hover over the symbol name to view which timeframe levels are bullish or bearish and if peak levels have been triggered.
--- 🔥 OTHER FEATURES ---
✔ Built-In Presets
Create your own custom watchlist or use one of the built-in ones (using Oanda charts)
It's recommended to use the same source for all assets in your watchlist whenever possible
✔ Customized Layouts
Display the watchlist in a variety of different column arrangements.
✔ Dark and Light Modes
Adjustable theme colors to trade your chart the way you want.
✔ Plug-and-Play
Automatically changes the relevant levels depending on the viewed timeframe. Just fill in your watchlist, add it to your chart, and start trading!
Set the indicator to the following timeframes to view those arrangements:
Month Timeframe - Y / 6M / 3M / M
Week Timeframe - 6M / 3M / M / W
Day Timeframe - 3M / M / W / D
H4 Timeframe - Y / M / W / D
M15 Timeframe - M / W / D / H8
M10 Timeframe - M / W / D / H4
M5 Timeframe - W / D / H8 / H2
M3 Timeframe - W / D / H4 / H1
M2 Timeframe - D / H8 / H2 / M30
M1 Timeframe - D / H4 / H1 / M15
--- 📝 HOW TO USE ---
1) Create your watchlist or use one of the built-in presets and place it on the timeframe you want to see. If no watchlist is created, it automatically sets to the current asset.
2) Alignments will trigger in real-time and push to the top of the column.
It is recommended to place the indicator in a different chart window, so it won't have to refresh every time the asset or timeframe changes.
Smart Money Index + True Strength IndexThe Smart Money Index + True Strength Index indicator is a combination of two popular technical analysis indicators: the Smart Money Index (SMI) and the True Strength Index (TSI). This combined indicator helps traders identify potential entry points for long and short positions based on signals from both indexes.
Main Components:
Smart Money Index (SMI):
The SMI measures the difference between the closing and opening price of a candle multiplied by the trading volume over a certain period of time. This allows you to assess the activity of large players ("smart money") in the market. If the SMI value is above a certain threshold (smiThreshold), it may indicate a bullish trend, and if lower, it may indicate a bearish trend.
True Strength Index (TSI):
The TSI is an oscillator that measures the strength of a trend by comparing the price change of the current bar with the previous bar. It uses two exponential moving averages (EMAS) to smooth the data. TSI values can fluctuate around zero, with values above the overbought level indicating a possible downward correction, and values below the oversold level signaling a possible upward correction.
Parameters:
SMI Length: Defines the number of candles used to calculate the average SMI value. The default value is 14.
SMI Threshold: A threshold value that is used to determine a buy or sell signal. The default value is 0.
Length of the first TSI smoothing (tsiLength1): The length of the first EMA for calculating TSI. The default value is 25.
Second TSI smoothing length (tsiLength2): The length of the second EMA for additional smoothing of TSI values. The default value is 13.
TSI Overbought level: The level at which the market is considered to be overbought. The default value is 25.
Oversold level TSI: The level at which it is considered that the market is in an oversold state. The default value is -25.
Logic of operation:
SMI calculation:
First, the difference between the closing and opening price of each candle (close - open) is calculated.
This difference is then multiplied by the trading volume.
The resulting product is averaged using a simple moving average (SMA) over a specified period (smiLength).
Calculation of TSI:
The price change relative to the previous bar is calculated (close - close ).
The first EMA with the length tsiLength1 is applied.
Next, a second EMA with a length of tsiLength2 is applied to obtain the final TSI value.
The absolute value of price changes is calculated in the same way, and two emas are also applied.
The final TSI index is calculated as the ratio of these two values multiplied by 100.
Graphical representation:
The SMI and TSI lines are plotted on the graph along with their respective thresholds.
For SMI, the line is drawn in orange, and the threshold level is dotted in gray.
For the TSI, the line is plotted in blue, the overbought and oversold levels are indicated by red and green dotted lines, respectively.
Conditions for buy/sell signals:
A buy (long) signal is generated when:
SMI is greater than the threshold (smi > smiThreshold)
TSI crosses the oversold level from bottom to top (ta.crossover(tsi, oversold)).
A sell (short) signal is generated when:
SMI is less than the threshold (smi < smiThreshold)
TSI crosses the overbought level from top to bottom (ta.crossunder(tsi, overbought)).
Signal display:
When the conditions for a long or short are met, labels labeled "LONG" or "SHORT" appear on the chart.
The label for the long is located under the candle and is colored green, and for the short it is above the candle and is colored red.
Notification generation:
The indicator also supports notifications via the TradingView platform. Notifications are sent when conditions arise for a long or short position.
This combined indicator provides the trader with the opportunity to use both SMI and TSI signals simultaneously, which can improve the accuracy of trading decisions.