Adaptive DEMA Momentum Oscillator (ADMO)Overview:
The Adaptive DEMA Momentum Oscillator (ADMO) is an open-source technical analysis tool developed to measure market momentum using a Double Exponential Moving Average (DEMA) and adaptive standard deviation. By dynamically combining price deviation from the moving average with normalized standard deviation, ADMO provides traders with a powerful way to interpret market conditions.
Key Features:
Double Exponential Moving Average (DEMA):
The core calculation of the indicator is based on DEMA, which is known for being more responsive to price changes compared to traditional moving averages. This makes the ADMO capable of capturing trend momentum effectively.
Standard Deviation Integration:
A normalized standard deviation is used to adaptively weight the oscillator. This makes the indicator more sensitive to market volatility, enhancing responsiveness during high volatility and reducing sensitivity during calmer periods.
Oscillator Representation:
The final oscillator value is derived from the combination of the DEMA-based Z-score and the normalized standard deviation. This final value is visualized as a color-coded histogram, reflecting bullish or bearish momentum.
Color-Coded Histogram:
Bullish Momentum: Values above zero are colored using a customizable bullish color (default: light green).
Bearish Momentum: Values below zero are colored using a customizable bearish color (default: red).
How It Works:
Inputs:
DEMA Length: Defines the period used for calculating the Double Exponential Moving Average. It can be adjusted from 1 to 200 to suit different trading styles.
Standard Deviation Length: Sets the lookback period for standard deviation calculations, which influences the responsiveness of the oscillator.
Standard Deviation Weight (StdDev Weight): Controls the weight given to the normalized standard deviation, allowing customization of the oscillator's sensitivity to volatility.
Calculation Steps:
Double Exponential Moving Average Calculation:
The DEMA is calculated using two exponential moving averages, which helps in reducing lag compared to a simple moving average.
Z-score Calculation:
The Z-score is derived by comparing the difference between the DEMA and its smoothed average (LSMA) to the standard deviation. This indicates how far the current value is from the mean in units of standard deviation.
Normalized Standard Deviation:
The standard deviation is normalized by subtracting the mean standard deviation and dividing by the standard deviation of the values. This helps to make the oscillator adaptive to recent changes in volatility.
Final Oscillator Value:
The final value is calculated by multiplying the Z-score with a factor based on the normalized standard deviation, resulting in a momentum indicator that adapts to different market conditions.
Visualization:
Histogram: The oscillator is plotted as a histogram, with color-coded bars showing the strength and direction of market momentum.
Positive (bullish) values are shown in green, indicating upward momentum.
Negative (bearish) values are shown in red, indicating downward momentum.
Zero Line: A zero line is plotted to provide a reference point, helping users quickly determine whether the current momentum is bullish or bearish.
Example Use Cases:
Momentum Identification:
ADMO helps identify the current market momentum by dynamically adapting to changes in market volatility. When the histogram is above zero and green, it indicates bullish conditions, whereas values below zero and red suggest bearish momentum.
Volatility-Adjusted Signals:
The normalized standard deviation weighting allows the ADMO to provide more reliable signals during different market conditions. This makes it particularly useful for traders who want to be responsive to market volatility while avoiding false signals.
Trend Confirmation and Divergence:
ADMO can be used to confirm the strength of a trend or identify potential divergences between price and momentum. This helps traders spot potential reversal points or continuation signals.
Summary:
The Adaptive DEMA Momentum Oscillator (ADMO) offers a unique approach by combining momentum analysis with adaptive standard deviation. The integration of DEMA makes it responsive to price changes, while the standard deviation adjustment helps it stay relevant in both high and low volatility environments. It's a versatile tool for traders who need an adaptive, momentum-based approach to technical analysis.
Feel free to explore the code and adapt it to your trading strategy. The open-source nature of this tool allows you to adjust the settings and visualize the output to fit your personal trading preferences.
المؤشرات والاستراتيجيات
Zigzag3 -Invincible3Description:
Zigzag3 - Invincible3 is a powerful and flexible support and resistance indicator for TradingView. Utilizing an enhanced ZigZag algorithm and Dow Theory principles, it detects price pivots, higher highs (HH), lower highs (LH), higher lows (HL), and lower lows (LL). The indicator draws lines and labels to visualize these pivots, making it easier to identify market structure, trends, and potential reversal points.
The Length input allows traders to control the sensitivity of pivot detection.
Support and Resistance Lines:
Displays dotted and solid SR lines based on significant pivots to highlight key market zones.
Option to extend support/resistance lines dynamically with real-time progression for the latest pivot.
Labels for Dow Theory Points:
Mark higher highs, lower highs, higher lows, and lower lows with customizable colors.
Identifies market direction and potential breakout levels with visual clarity.
ZigZag Line Visualization:
Toggle the ZigZag lines to connect pivots for a better understanding of price movement.
Dynamic Dotted Line Progression:
A dotted line extends in real-time from the most recent significant pivot point, aiding in quick analysis.
This indicator is ideal for traders looking to analyze market structure, identify trends, and spot potential reversals. It can be used as a standalone tool or in combination with other strategies for enhanced precision.
Yakloft Support and Resistance LevelsYakloft Support and Resistance Levels Indicator
The Yakloft Support and Resistance Levels indicator is a powerful tool designed to help traders identify key support and resistance levels on a price chart. By leveraging advanced pivot point calculations and customizable settings, this indicator provides clear visual cues for potential price reversals and market trends.
Key Features
Automatic Support and Resistance Levels:
Dynamic Calculation: The indicator automatically identifies and plots significant support and resistance levels based on pivot highs and lows.
Customizable Strength: Adjust the S/R Strength parameter to filter levels according to their significance. Higher values display fewer but more robust levels.
Zones Around Levels:
Support and Resistance Zones: Create zones around each support and resistance level to highlight areas of interest rather than exact price points.
High/Low Zones: Plot zones around the highest and lowest price levels within a specified period, providing additional context for potential breakouts or reversals.
Zone Width Adjustment: Customize the width of the zones using the Zone Width % parameter, calculated as a percentage of the price range over the last 300 bars.
Line Styles and Fills:
Customizable Appearance: Modify line colors, styles (Solid, Dotted, Dashed), and widths to match your chart preferences.
Line Fills: Enhance visual clarity by filling zones with semi-transparent colors, making it easier to distinguish between support and resistance areas.
Dynamic Line Management:
Automatic Line Removal: To keep your chart uncluttered, the indicator removes a support or resistance line after the price crosses it twice. This feature helps you focus on the most relevant and current levels.
Expandable Lines:
Line Extension: Choose to extend lines both forward and backward in time with the Expand S/R Lines option, providing a comprehensive view of historical support and resistance.
How It Works
The indicator analyzes price data to identify pivot highs and lows over a specified lookback period. These pivot points are potential areas where the price may reverse or experience significant support or resistance. By filtering these points based on the S/R Strength parameter, the indicator ensures that only the most significant levels are displayed.
Once the levels are identified:
Support Levels: Plotted when the price shows potential to stop falling and possibly start rising.
Resistance Levels: Plotted when the price may stop rising and potentially start falling.
The indicator enhances these levels by:
Adding Zones: By creating a buffer around each level, traders can see areas where the price might interact with support or resistance, rather than focusing on a single price point.
Line Fills: The zones are filled with a semi-transparent color corresponding to support or resistance, improving visual distinction.
Input Parameters
Enable Support & Resistance: Toggle the entire indicator on or off.
Support Color: Choose the color for support lines and fills.
Resistance Color: Choose the color for resistance lines and fills.
S/R Strength: Set the sensitivity of level detection. Higher values result in fewer, more significant levels.
Line Style: Select the style of the support and resistance lines (Solid, Dotted, Dashed).
S/R Line Width: Adjust the thickness of the support and resistance lines.
Enable Zones: Toggle the display of zones around each level.
Enable High/Low Zones: Toggle the display of zones around the highest and lowest price levels.
Zone Width %: Define the width of the zones as a percentage of the price range over the last 300 bars.
Expand S/R Lines: Choose whether to extend the lines across the entire chart or limit them to recent data.
Using the Indicator
Identifying Key Levels:
Use the plotted support and resistance levels to identify potential entry and exit points.
Pay attention to the zones, as they represent areas where the price is more likely to react.
Monitoring Price Interaction:
Observe how the price behaves around the support and resistance levels.
The automatic removal of lines after two crossings helps focus on active levels.
Customizing for Clarity:
Adjust the visual settings to match your trading style and improve chart readability.
Experiment with the S/R Strength and Zone Width % to fine-tune the indicator to different market conditions.
Best Practices
Combine with Other Analysis Tools:
Use the indicator alongside other technical analysis tools like trend lines, moving averages, and oscillators for a more comprehensive market view.
Adjust for Different Timeframes:
The indicator works on various timeframes. Adjust the parameters when switching between short-term and long-term charts to maintain effectiveness.
Stay Updated with Market Conditions:
Market volatility can affect the significance of support and resistance levels. Regularly adjust the S/R Strength parameter to align with current market dynamics.
Limitations
Not a Standalone Solution:
While the indicator provides valuable insights, it should not be used in isolation. Always consider broader market analysis and risk management practices.
Historical Data Dependency:
The accuracy of the levels depends on the availability of sufficient historical data. Ensure your chart includes enough data for the indicator to perform effectively.
PSP Indicator [Elbaz]Precision Swing Point or PSP is a unique technical analysis tool designed to compare the price action of three tickers that are in sync.
It highlights moments when the price structure diverges between the markets, identifying ideal entry points for trades - We would like to enter a trade when we found PSP and one of the tickers took the wick while others didn't.
This strategy provides an edge by focusing on periods of desynchronization between the indices, where one index may be showing strength while another is lagging. The idea is to find the moments where the candle colors (bullish or bearish) differ across the markets, then wait for one of the tickers to "take" the wick of the PSP while other didn't and enter a trade.
Once a divergence is detected, the indicator plots an arrow on the chart, signaling a potential trade entry. To minimize risk, a good place to put stop loss will at the end of the wick of the PSP — the high or low wick of the candle where the divergence occurs.
The PSP Indicator allows for several custom inputs:
- Tickers: Customize the tickers to compare. The default values are S&P 500 E-mini, NASDAQ E-mini, and Dow Jones E-mini, if you trade Crypto you might want to use BTC, ETH, TOTAL3.
- Lookback Period: The lookback input defines how far back the indicator should evaluate to calculate the price structure point.
- Highlight Bar Times: Users can specify particular times during the trading day to highlight, such as the market open or significant news events. This helps traders focus on key trading windows.
Simple Moving Average with Regime Detection by iGrey.TradingThis indicator helps traders identify market regimes using the powerful combination of 50 and 200 SMAs. It provides clear visual signals and detailed metrics for trend-following strategies.
Key Features:
- Dual SMA System (50/200) for regime identification
- Colour-coded candles for easy trend visualisation
- Metrics dashboard
Core Signals:
- Bullish Regime: Price < 200 SMA
- Bearish Regime: Price > 200 SMA
- Additional confirmation: 50 SMA Cross-over or Cross-under (golden cross or death cross)
Metrics Dashboard:
- Current Regime Status (Bull/Bear)
- SMA Distance (% from price to 50 SMA)
- Regime Distance (% from price to 200 SMA)
- Regime Duration (bars in current regime)
Usage Instructions:
1. Apply the indicator to your chart
2. Configure the SMA lengths if desired (default: 50/200)
3. Monitor the color-coded candles:
- Green: Bullish regime
- Red: Bearish regime
4. Use the metrics dashboard for detailed analysis
Settings Guide:
- Length: Short-term SMA period (default: 50)
- Source: Price calculation source (default: close)
- Regime Filter Length: Long-term SMA period (default: 200)
- Regime Filter Source: Price source for regime calculation (default: close)
Trading Tips:
- Use bullish regimes for long positions
- Use bearish regimes for capital preservation or short positions
- Consider regime duration for trend strength
- Monitor distance metrics for potential reversals
- Combine with other systems for confluence
#trend-following #moving average #regime #sma #momentum
Risk Management:
- Not a standalone trading system
- Should be used with proper position sizing
- Consider market conditions and volatility
- Always use stop losses
Best Practices:
- Monitor multiple timeframes
- Use with other confirmation tools
- Consider fundamental factors
Version: 1.0
Created by: iGREY.Trading
Release Notes
// v1.1 Allows table overlay customisation
// v1.2 Update to v6 pinescript
alertsLibrary "alerts"
The library provides options to run alert() calls in loop without worrying about limitations of frequency options.
When an alert statement is called within a loop,
it will fire just once per bar irrespective of how many iterations allowed when fequency is set to alert.freq_once_per_bar or alert.freq_once_per_bar_close
it will fire continuously till it breaks when frequency is set to alert.freq_all
The function helps overcome this issue by using varip key array which resets on every bar
method alert(message, key)
Enhanced alert which can be used in loops
Namespace types: series string, simple string, input string, const string
Parameters:
message (string) : Alert message to be fired
key (string) : Key to be checked to avoid repetitive alerts
Returns: array containing id of already fired alerts
method updateAlertTemplate(this, template)
Updates alert template with given keys and values
Namespace types: map
Parameters:
this (map) : map containing key value pair
template (string) : Alert message template
Returns: updated alert message
ENIGMA UNLOCKEDENIGMA Indicator: A Comprehensive Market Bias & Success Tracker
The ENIGMA Indicator is a powerful tool designed for traders who aim to identify market bias, track price movements, and evaluate trade performance using multiple timeframes. It combines multiple indicators and advanced logic to provide real-time insights into market trends, helping traders make more informed decisions.
Key Features
1. Multi-Timeframe Bias Calculation:
The ENIGMA Indicator tracks the market bias across multiple timeframes—Daily (D), 4-Hour (H4), 1-Hour (H1), 30-Minute (30M), 15-Minute (15M), 5-Minute (5M), and 1-Minute (1M).
How the Bias is Created:
The Bias is a key feature of the ENIGMA Indicator and is determined by comparing the current price with previous price levels for each timeframe.
- Bullish Bias (1): The market is considered **bullish** if the **current closing price** is higher than the **previous timeframe’s high**. This suggests that the market is trending upwards, and buyers are in control.
- Bearish Bias (-1): The market is considered **bearish** if the **current closing price** is lower than the **previous timeframe’s low**. This suggests that the market is trending downwards, and sellers are in control.
- Neutral Bias (0): The market is considered **neutral** if the price is between the **previous high** and **previous low**, indicating indecision or a range-bound market.
This bias calculation is performed independently for each timeframe. The **Bias** for each timeframe is then displayed in the **Bias Table** on your chart, providing a clear view of market direction across multiple timeframes.
2. **Customizable Table Display:**
- The indicator provides a table that displays the bias for each selected timeframe, clearly marking whether the market is **Bullish**, **Bearish**, or **Neutral**.
- Users can choose where to place the table on the chart: top-left, top-right, bottom-left, bottom-right, or center positions, allowing for easy and personalized chart management.
3. **Win/Loss Tracker:**
- The table also tracks the **success rate** of **buy** and **sell** trades based on price retests of key bias levels.
- For each period (Day, Week, Month), it tracks how often the price has moved in the direction of the initial bias, counting **Buy Wins**, **Sell Wins**, **Buy Losses**, and **Sell Losses**.
- This helps traders assess the effectiveness of the market bias over time and adjust their strategies accordingly.
#### **How the Success Calculation Determines the Success Rate:**
The **Success Calculation** is designed to track how often the price follows the direction of the market bias. It does this by evaluating how the price retests key levels associated with the identified market bias:
1. **Buy Success Calculation**:
- The success of a **Buy Trade** is determined when the price breaks above the **previous high** after a **bullish bias** has been identified.
- If the price continues to move higher (i.e., makes a new high) after breaking the previous high, the **buy trade is considered successful**.
- The indicator tracks how many times this condition is met and counts it as a **Buy Win**.
2. **Sell Success Calculation**:
- The success of a **Sell Trade** is determined when the price breaks below the **previous low** after a **bearish bias** has been identified.
- If the price continues to move lower (i.e., makes a new low) after breaking the previous low, the **sell trade is considered successful**.
- The indicator tracks how many times this condition is met and counts it as a **Sell Win**.
3. **Failure Calculations**:
- If the price does not move as expected (i.e., it does not continue in the direction of the identified bias), the trade is considered a **loss** and is tracked as **Buy Loss** or **Sell Loss**, depending on whether it was a bullish or bearish trade.
The ENIGMA Indicator keeps a running tally of **Buy Wins**, **Sell Wins**, **Buy Losses**, and **Sell Losses** over a set period (which can be customized to Days, Weeks, or Months). These statistics are updated dynamically in the **Bias Table**, allowing you to track your success rate in real-time and gain insights into the effectiveness of the market bias.
#### **Customizable Period Tracking:**
- The ENIGMA Indicator allows you to set custom tracking periods (e.g., 30 days, 2 weeks, etc.). The performance metrics reset after each tracking period, helping you monitor your success in different market conditions.
5. **Interactive Settings:**
- **Lookback Period**: Define how many bars the indicator should consider for bias calculations.
- **Success Tracking**: Set the number of candles to track for calculating the win/loss performance.
- **Time Threshold**: Set a time threshold to help define the period during which price retests are considered valid.
- **Info Tooltip**: You can enable the information tool in the settings to view detailed explanations of how wins and losses are calculated, ensuring you understand how the indicator works and how the results are derived.
#### **How to Use the ENIGMA Indicator:**
1. **Install the Indicator**:
- Add the ENIGMA Indicator to your chart. It will automatically calculate and display the bias for multiple timeframes.
2. **Interpret the Bias Table**:
- The bias table will show whether the market is **Bullish**, **Bearish**, or **Neutral** across different timeframes.
- Look for alignment between the timeframes—when multiple timeframes show the same bias, it may indicate a stronger trend.
3. **Use the Win/Loss Tracker**:
- Track how well your trades align with the bias using the **Win/Loss Tracker**. This helps you refine your strategy by understanding which timeframes and biases lead to higher success rates.
- For example, if you see a high number of **Buy Wins** and a low number of **Sell Wins**, you may decide to focus more on buying during bullish trends and avoid selling during bearish retracements.
4. **Track Your Period Performance**:
- The indicator will automatically track your performance over the set period (Days, Weeks, Months). Use this data to adjust your approach and evaluate the effectiveness of your trading strategy.
5. **Position the Table**:
- Customize the placement of the table on your chart based on your preferences. You can choose from options like **Top Left**, **Top Right**, **Bottom Left**, **Bottom Right**, or **Center** to keep the chart uncluttered.
6. **Adjust Settings**:
- Modify the indicator settings according to your trading style. You can adjust the **Lookback Period**, **Number of Candles to Track**, and **Time Threshold** to match the pace of your trading.
7. **Use the Info Tooltip**:
- Enable the **Info Tool** in the settings to understand how the Buy/Sell Wins and Losses are calculated. The tooltip provides a breakdown of how the indicator tracks price movements and calculates the success rate.
**Conclusion:**
The **ENIGMA Indicator** is designed to help traders make informed decisions by providing a clear view of the market bias and performance data. With the ability to track bias across multiple timeframes and evaluate your trading success, it can be a powerful tool for refining your trading strategies.
Whether you're looking to focus on a single timeframe or analyze multiple timeframes for a stronger bias, the ENIGMA Indicator adapts to your needs, providing both real-time market insights and performance feedback.
Currency StrengthThis innovative Currency Strength Indicator is a powerful tool for forex traders, offering a comprehensive and visually intuitive way to analyze the relative strength of multiple currencies simultaneously. Here's what makes this indicator stand out:
Extensive Currency Coverage
One of the most striking features of this indicator is its extensive coverage of currencies. While many similar tools focus on just the major currencies, this indicator includes:
Major currencies: USD, EUR, JPY, GBP, CHF, CAD, AUD, NZD
Additional currencies: CNY, HKD, KRW, MXN, INR, RUB, SGD, TRY, BRL, ZAR, THB
This wide range allows traders to gain insights into a broader spectrum of the forex market, including emerging markets and less commonly traded currencies.
Unique Visual Presentation
The indicator boasts a clear and user-friendly interface:
Each currency is represented by a distinct colored line for easy identification
A legend is prominently displayed at the top of the chart, using color-coded labels for quick reference
Users can customize which currencies to display, allowing for a tailored analysis
This clean, organized presentation enables traders to quickly grasp the relative strengths of different currencies at a glance.
Robust Measurement Methodology
The indicator employs the True Strength Index (TSI) to calculate currency strength, which provides several advantages:
TSI is a momentum oscillator that shows both trend direction and overbought/oversold conditions
It uses two smoothing periods (fast and slow), which helps filter out market noise and provides more reliable signals
The indicator calculates TSI for each currency index (e.g., DXY for USD, EXY for EUR), ensuring a comprehensive strength measurement
By using TSI, this indicator offers a more nuanced and accurate representation of currency strength compared to simpler moving average-based indicators.
Customization and Flexibility
Traders can fine-tune the indicator to suit their needs:
Adjustable TSI parameters (fast and slow periods)
Ability to show/hide specific currencies
Customizable color scheme for each currency line
Practical Applications
This Currency Strength Indicator can be used for various trading strategies:
Identifying potential trend reversals when a currency reaches extreme overbought or oversold levels
Spotting divergences between currency pairs
Confirming trends across multiple timeframes
Enhancing multi-pair trading strategies
By providing a clear, comprehensive, and customizable view of currency strength across a wide range of currencies, this indicator equips traders with valuable insights for making informed trading decisions in the complex world of forex.
Flag Screener [QuantVue]Flag Screener is a screening tool that identify bull and bear flags in up to 40 different symbols.
The indicator takes a comma separated list of symbols and then scans the symbols in real time to detect bull or bear flags.
What are flags
Flags are continuation patterns that occur within the general trend of the security. A bull flag represents a temporary pause or consolidation before price resumes it's upward movement, while a bear flag occurs before price continues its downward movement.
Both flag patterns consist of two components:
The Pole
The Flag
The pole is the initial strong upward surge or decline that precedes the flag. The pole is usually a fast move accompanied by heavy volume signaling significant buying or selling pressure.
The flag is then formed as price consolidates after the initial surge or decline from the pole. For a bull flag price will drift slightly downward to sideways, a bear flag will drift upward to sideways. The best flags often see volume dry up during this phase of the pattern.
Indicator Settings
Both components are fully customizable in the indicator so the user can adjust for any time frame or volatility. Select the minimum and maximum accepted limits from the % gain loss required for the pole, the maximum acceptable flag depth or rally and the minimum and maximum number of bars for each component.
McCrayTrendTraders often rely on price breaking above or below the 50-day moving average (50D-MA) as a buy/sell signal. However, this approach frequently results in false breakouts, especially during low-volatility periods when price compression precedes major moves. To address this issue, we use an 8-day exponential moving average (8D-EMA) to represent price and focus on the crossovers between the 8D-EMA and the 48D-EMA as entry/exit signals. This method reduces noise in low-volatility conditions, enables earlier trend entries, and helps traders stay in trends longer.
The indicator incorporates a 111-day EMA (111D-EMA) to define market bias:
• Above the 111D-EMA: Bias is long, favoring buying and selling into cash.
• Below the 111D-EMA: Bias is short, favoring selling and buying into cash.
An exception to this rule occurs when a bullish cross happens within 40% of the 200-week moving average (200W-MA), as these conditions historically signal optimal times to acquire BTC.
Signals:
Buy signals:
• A bullish cross while price is above the 111D-EMA.
• A bullish cross near the 200W-MA threshold (optional setting).
Sell signals:
• A bearish cross while price is below the 111D-EMA.
Exit signals:
• Both EMAs turn red (for long trades) or green (for short trades).
• The shading between the 111D-EMA and 200W-MA turns red (for longs) or green (for shorts), if enabled.
Reversal opportunities:
• A buy or sell label during an exit signal may indicate a reversal point, allowing traders to take profit and reopen positions in the opposite direction.
The methodology behind this indicator has generated 132% alpha since October 6, 2015. Special thanks to Anurag Parashar for refining the stylistic elements of the indicator.
Buy vs Sell VolumeHow It Works:
BuyVol: Estimates buying volume by calculating the proportion of volume attributed to the upward price movement within each bar.
SellVol: Estimates selling volume by calculating the proportion of volume attributed to the downward price movement within each bar.
Customization:
length: You can adjust the length input parameter to change the period over which the average is calculated.
Visualization:
The buy trendline is plotted in Green and represents the average net buying vs. selling volume over the specified period.
The sell trendline is plotted in Red and represents the average net selling vs. buying volume over the specified period.
Note: This script provides an approximation and should be used in conjunction with other analysis tools to make informed trading decisions.
First 15-Min Candle Detector [With Breakout Alerts]Indicator: First 15-Minute Candle Detector
Purpose
This indicator helps traders by identifying and marking the high, low, and mid-point of the first 15-minute candle of the market session. It also provides visual aids and alerts for price breakouts above or below these levels, making it ideal for intraday trading strategies.
This script is suitable for traders focusing on early session momentum or reversal strategies.
Key Features
Market Start Customization: Configure the market start time (hour and minute) to align with your trading session or exchange timezone.
Visual Aids:
Horizontal lines to mark the High , Low , and Mid-point of the first 15-minute candle.
Background highlighting to identify the first 15-minute candle.
Configurable colors and line widths for clear visuals.
Breakout Alerts:
Real-time alerts for breakouts above the high or below the low of the first 15-minute candle.
Customizable alert messages.
Alerts configured using alertcondition .
Dynamic Adjustments:
Adapts dynamically to timeframes of 15 minutes or lower.
Resets and recalculates at the start of each new session.
Inputs and Configurations
Market Settings:
Market Start Hour: Default is 9.
Market Start Minute: Default is 30.
Visual Settings:
Enable/disable background highlighting.
Set colors for the background, high line, low line, and mid-line.
Adjust line width (1 to 5).
Toggle the visibility of the mid-line.
Alert Settings:
Enable breakout alerts.
Set custom alert messages for high and low breakouts.
How It Works
// First 15-Minute Candle Detection
The indicator monitors the first 15-minute candle after the market opens based on the configured start time. It records the high , low , and calculates the mid-point of this candle.
// Visual Markings
Horizontal lines are drawn at the high, low, and mid-point of the first 15-minute candle, extending to the right for the rest of the session.
// Breakout Detection
The indicator checks for price breakouts above the high or below the low of the first 15-minute candle and triggers alerts if enabled.
// Dynamic Reset
The indicator resets values and deletes previous session lines at the start of each new session.
Conditions and Alerts
Breakout Conditions:
High Breakout: The closing price exceeds the high of the first 15-minute candle.
Low Breakout: The closing price falls below the low of the first 15-minute candle.
Alert Triggers: Configurable alerts notify you of breakouts in real-time.
Use Cases
Intraday Traders: Ideal for early-session momentum or reversal strategies.
Breakout Traders: Helps identify entry points when price breaks key levels.
Visual Clarity: Simplifies tracking important session levels.
Limitations
Works only on 15-minute or lower timeframes.
Requires accurate market start time configuration.
Customizable Psychological LevelsThe Customizable Psychological Levels indicator is designed to simplify the process of marking psychological levels on your chart without the need to manually add lines. Psychological levels are critical price zones where market participants often make decisions, such as round numbers or price levels that align with key technical analysis thresholds.
This indicator offers a fully automated way to plot these levels, with customizable options for intervals, colors, line thickness, and styles. Traders can focus more on their analysis and decision-making while relying on this tool to display consistent and accurate psychological levels across different timeframes.
Key Features:
Automated Level Drawing:
Major, intermediate, and minor levels are plotted automatically based on user-defined intervals.
No need to draw lines manually, saving time and ensuring precision.
Customizable Settings:
Choose intervals for each level type (major, intermediate, minor).
Select unique colors, line thickness, and styles (solid, dashed, or dotted) to distinguish levels visually.
Non-Overlapping Levels:
Includes an option to prevent overlapping levels, ensuring a clean and organized chart.
Dynamic or Fixed Levels:
Levels adjust dynamically to the chart’s price range, making them suitable for various instruments and timeframes.
Benefits:
Enhances productivity by automating the process of marking psychological levels.
Offers a highly customizable and visually appealing solution for traders who rely on psychological levels in their trading strategies.
Helps traders quickly identify critical price zones and make informed decisions.
This tool is perfect for both beginner and experienced traders who want to streamline their workflow while maintaining a professional and systematic approach to technical analysis.
16. SMC Strategy with SL - low TimeframeOverview
The "SMC Strategy with SL - low Timeframe" is a comprehensive trading strategy that uses key concepts from Smart Money Theory to identify favorable areas in the market for buying or selling. This strategy takes advantage of price imbalances, support and resistance zones, and swing highs/lows to generate high-probability trade signals.
The key features of this strategy include:
Swing High/Low Analysis: Used to determine the Premium, Equilibrium, and Discount Zones.
Order Block Integration: An added layer of confluence to identify valid buy and sell signals.
Trend Direction Confirmation: Using a Simple Moving Average (SMA) to determine the overall trend.
Entry and Exit Rules: Based on price position relative to key zones and moving average, along with optional stop-loss and take-profit levels.
Detailed Description
Swing High and Swing Low Analysis
The script calculates Swing High and Swing Low based on the most recent price highs and lows over a specified look-back period (swingHighLength and swingLowLength, set to 8 by default).
It then derives the Premium, Equilibrium, and Discount Zones:
Premium Zone: Represents potential resistance, calculated based on recent swing highs.
Discount Zone: Represents potential support, calculated based on recent swing lows.
Equilibrium: The midpoint between Swing High and Swing Low, dividing the price range into Premium (above equilibrium) and Discount (below equilibrium) areas.
Zone Visualization
The strategy plots the Premium Zone (resistance) in red, the Discount Zone (support) in green, and the Equilibrium level in blue on the chart. This helps visually assess the current price relative to these important areas.
Simple Moving Average (SMA)
A 50-period Simple Moving Average (SMA) is added to help identify the trend direction.
Buy signals are valid only if the price is above the SMA, indicating an uptrend.
Sell signals are valid only if the price is below the SMA, indicating a downtrend.
Entry Rules
The script generates buy or sell signals when certain conditions are met:
A buy signal is triggered when:
Price is below the Equilibrium and within the Discount Zone.
Price is above the SMA.
The buy signal is further confirmed by the presence of an Order Block (recent lowest price area).
A sell signal is triggered when:
Price is above the Equilibrium and within the Premium Zone.
Price is below the SMA.
The sell signal is further confirmed by the presence of an Order Block (recent highest price area).
Order Block
The strategy defines Order Blocks as recent highs and lows within a look-back period (orderBlockLength set to 20 by default).
These blocks represent areas where large players (smart money) have historically been active, increasing the probability of the price reacting in these areas again.
Trade Management and Trade Direction
The user can set Trade Direction to either "Long Only," "Short Only," or "Both." This allows the strategy to adapt based on market conditions or trading preferences.
Based on the Trade Direction, the strategy either:
Closes open trades that are against new signals.
Allows only specific directional trades (either long or short).
Stop-loss levels are defined based on a fixed percentage (stop_loss_percent), which helps to manage risk and minimize losses.
Exit Rules
The strategy uses stop-loss levels for risk management.
A stop-loss price is set at a fixed percentage below the entry price for long positions or above the entry price for short positions.
When the price hits the defined stop-loss level, the trade is closed.
Liquidity Zones
The script identifies recent Swing Highs and Lows as potential liquidity zones. These are levels where price could react strongly, as they represent areas of interest for large traders.
The liquidity zones are plotted as crosses on the chart, marking areas where price may encounter significant buying or selling pressure.
Visual Feedback
The script uses visual markers (green for buy signals and red for sell signals) to indicate potential entries on the chart.
It also plots liquidity zones to help traders identify areas where stop hunts and liquidity grabs might occur.
Monthly Performance Dashboard
The script includes a performance tracking feature that displays monthly profit and loss metrics on the chart.
This dashboard allows the trader to see a visual representation of trading performance over time, providing insights into profitability and consistency.
The table shows profit or loss for each month and year, allowing the user to track the overall success of the strategy.
Key Benefits
Smart Money Concepts (SMC): This strategy incorporates SMC principles like order blocks and liquidity zones, which are used by institutional traders to determine potential market moves.
Zone Analysis: The use of Premium, Discount, and Equilibrium zones provides a solid framework for determining where to enter and exit trades based on price discounts or premiums.
Confluence: Signals are not taken in isolation. They are confirmed by factors like trend direction (SMA) and order blocks, providing greater trade accuracy.
Risk Management: By integrating stop-loss functionality, traders can manage their risks effectively.
Visual Performance Metrics: The monthly and yearly performance dashboard gives valuable feedback on how well the strategy has performed historically.
Practical Use
Buy in Discount Zone: Traders would be looking to buy when the price is discounted relative to its recent range and is above the SMA, indicating an overall uptrend.
Sell in Premium Zone: Conversely, traders would be looking to sell when the price is at a premium relative to its recent range and below the SMA, indicating an overall downtrend.
Order Block Confirmation: Ensures that buying or selling is supported by historical price behavior at significant levels, providing confidence that the market is likely to react at these areas.
This strategy is designed to help traders take advantage of price inefficiencies and areas where institutional traders are likely to be active, increasing the odds of successful trades. By leveraging Smart Money concepts and strong technical confluence, it aims to provide high-probability trade setups.
Stock_Cloud-EMA,VWAP,ST Indicator_V1Stock_Cloud V1 - EMA, VWAP, SuperTrend Strategy Indicator
This indicator combines three powerful technical indicators (EMA, VWAP, and SuperTrend) to create a comprehensive trading system that helps identify high-probability trading setups when all components align.
Strategy Components & Logic:
• EMA (Exponential Moving Average): Acts as a dynamic support/resistance and trend direction indicator
• VWAP (Volume Weighted Average Price): Provides important institutional price levels and volume-based trend strength
• SuperTrend: Offers trend direction and potential reversal points
Why These Components Work Together:
1. EMA filters out market noise while maintaining responsiveness to price changes
2. VWAP adds volume-based price validation, especially useful for intraday trading
3. SuperTrend confirms trend direction and potential reversal points
4. When all three indicators align, it creates a high-probability setup
Signal Generation:
• Bullish Signal: Generated when price crosses above all three indicators (EMA, VWAP, and SuperTrend turns bullish)
• Bearish Signal: Generated when price crosses below all three indicators (EMA, VWAP, and SuperTrend turns bearish)
• Background color changes help visualize the current market condition
Settings:
- EMA Length: 20 (default, adjustable)
- SuperTrend Period: 10 (default, adjustable)
- SuperTrend Multiplier: 3.0 (default, adjustable)
How to Use:
1. Look for potential entries when all three indicators align
2. Small triangles mark key entry points when alignment occurs
3. Use background color as additional confirmation
4. Monitor price action relative to all three indicators for exit signals
Best Timeframes:
Works well on all timeframes, but particularly effective on 5-minute to daily charts for stocks and indices.
Note: This indicator combines traditional technical analysis tools in a unique way to provide clear, actionable signals. Always use proper risk management and consider other factors like market conditions and support/resistance levels.
Created by Stock_Cloud
Version 2.0
Day Pattern IndicatorDay Pattern Indicator
The Day Pattern Indicator is designed to help traders analyze daily trends and patterns in their selected markets. This tool highlights specific days of the week on the chart with unique, semi-transparent colored bars. Each day is customizable, allowing users to toggle the visibility of Monday through Sunday to focus on days most relevant to their trading strategy. Ideal for identifying potential patterns in cryptocurrency, forex, or stock markets, the indicator is perfect for traders seeking insights into weekday or weekend market behavior. Simple, effective, and visually intuitive!
USDT.D Volatility TrackerUSDT.D Volatility Tracker
Description:
This script is designed to track the volatility of USDT.D (US Dollar in cryptocurrency) on the TradingView platform. It uses a moving average and deviation from it to generate buy and sell signals, helping traders visualize changes in volatility and make informed decisions.
Input Parameters:
maPeriod: The period of the moving average (default 120). This parameter allows users to adjust the length of the period used to calculate the moving average.
devThreshold: The deviation threshold (default 0.6). This parameter defines the level of deviation that will trigger buy or sell signals.
Data Request:
The script requests closing data for USDT.D using the request.security function, allowing it to retrieve up-to-date data on the selected timeframe.
Moving Average and Deviation Calculation:
An exponential moving average (EMA) is used to calculate the deviation from the moving average, enabling the identification of current volatility.
Deviation Line Display:
The deviation rate line is displayed on the chart, allowing users to visually track changes in volatility.
Signal Generation:
If the deviation exceeds the set threshold (devThreshold), a buy signal is generated (green background).
If the deviation falls below the negative threshold (-devThreshold), a sell signal is generated (red background).
Visual Signals:
Buy signals are displayed on the chart as green triangles, while sell signals are displayed as red triangles. This helps traders quickly identify potential entry and exit points.
Ichimoku Cloud +Ichimoku Cloud Plus - Advanced Technical Analysis Indicator
Ichimoku Cloud Plus is an advanced technical analysis tool that combines the traditional Ichimoku Cloud system with Pearson correlation analysis and multi-timeframe momentum tracking. This innovative approach provides traders with a comprehensive view of market trends, momentum, and potential reversal points across multiple time frames.
Core Components
Enhanced Ichimoku Cloud Analysis
The traditional Ichimoku Cloud components have been preserved and enhanced with customizable visual parameters:
The indicator includes:
- Conversion Line (Tenkan-sen) - Short-term trend identifier
- Base Line (Kijun-sen) - Medium-term trend identifier
- Leading Span A and B (Senkou Span A and B) - Future cloud projections
- Lagging Span (Chikou Span) - Historical price momentum confirmation
The cloud (Kumo) formations provide dynamic support and resistance levels, with color-coding to instantly identify bullish and bearish market conditions.
Pearson Correlation Analysis
A sophisticated Pearson correlation coefficient calculation has been integrated to provide statistical validation of trend strength and direction. This component:
- Calculates correlation between price movement and time
- Provides real-time correlation coefficients
- Identifies trend strength through correlation thresholds
- Generates signals for trend changes and potential reversals
Multi-Timeframe Momentum Tracking
The indicator incorporates a unique multi-timeframe analysis system that:
- Displays momentum calculations across five timeframes (15m, 30m, 1h, 4h, 1d)
- Provides percentage-based momentum values
- Includes volatility adjustment capabilities
- Offers volume-weighted calculations for enhanced accuracy
Advanced Features
Statistical Analysis Panel
A comprehensive statistical panel provides real-time analysis including:
- Current Pearson coefficient value
- Correlation strength classification
- Trend direction identification
- Analysis period information
Dynamic Alert System
The indicator includes sophisticated alert conditions for:
- Bearish trend initiation (positive correlation threshold breach)
- Bullish trend initiation (negative correlation threshold breach)
- Trend direction changes (zero-line crossovers)
Visual Optimization
Advanced visualization features include:
- Customizable color schemes for all components
- Adjustable label sizes and positions
- Transparency controls for better chart visibility
- Warning indicators for potential trend weakening
Technical Implementation
The indicator combines multiple calculation methods:
- Donchian Channel calculations for Ichimoku components
- Pearson correlation coefficient computation with customizable periods
- EMA smoothing for momentum calculations
- Volume-weighted averaging capabilities
- Volatility adjustment mechanisms
Trading Applications
This indicator is particularly effective for:
1. Trend Direction Confirmation
- Multiple timeframe analysis provides comprehensive trend validation
- Pearson correlation adds statistical confidence to trend identification
- Ichimoku cloud formations confirm support and resistance levels
2. Entry and Exit Point Identification
- Cloud breakouts combined with correlation strength indicate potential entry points
- Multi-timeframe momentum alignment helps identify high-probability trades
- Warning indicators assist in timing market exits
3. Risk Management
- Dynamic support and resistance levels from the cloud
- Statistical trend strength measurement
- Multi-timeframe confirmation reduces false signals
Performance Considerations
The indicator uses efficient calculations to maintain good performance while providing comprehensive analysis. The smoothing parameters and analysis periods can be adjusted to balance between responsiveness and reliability.
Future Applications and Research
This combination of indicators opens possibilities for:
- Machine learning integration for pattern recognition
- Additional statistical measures for trend validation
- Enhanced alert systems based on multiple condition combinations
- Further optimization of calculation methods
The innovative combination of traditional Ichimoku analysis with modern statistical methods and multi-timeframe momentum tracking provides traders with a powerful tool for market analysis and decision-making.
DI Oscillator with Adjustments by DSPDI Oscillator with Adjustments by DSP – High-Volatility Commodity Trading Tool 📈💥
Maximize Your Trading Efficiency in volatile commodity markets with the DI Oscillator with Adjustments by DSP. This unique indicator combines the classic +DI and -DI (Directional Indicators) with advanced adjustments that help you identify key trends and reversals in highly volatile conditions.
Whether you're trading commodities, forex, or stocks, this tool is engineered to help you navigate price fluctuations and make timely, informed decisions. Let this powerful tool guide you through turbulent market conditions with ease!
Key Features:
Dynamic Background Color Shifts 🌈:
Green Background: Signals a strong uptrend where +DI is clearly above -DI, and the trend is supported by clear separation between the two indicators.
Red Background: Signals a strong downtrend where -DI is above +DI, indicating bearish pressure.
Violet Background: Shows a neutral or consolidating market where the +DI and -DI lines are closely interwoven, giving you a clear picture of sideways movement.
Buy and Sell Labels 📊:
Buy Signal: Automatically triggers when the background changes to green, indicating a potential entry point during a bullish trend.
Sell Signal: Automatically triggers when the background shifts from purple to red, indicating a bearish trend reversal.
Labels are positioned away from the bars, ensuring your chart remains uncluttered and easy to read.
Enhanced Adjustments for Volatile Markets ⚡:
Custom adjustments based on consecutive green or red bars (excluding “sandwiched” bars) provide you with more nuanced signals, improving the accuracy of trend detection in volatile conditions.
Horizontal Line Reference 📏:
Set a custom horizontal level to mark significant price levels that may act as resistance or support, helping you identify key price points in volatile market swings.
Separation Threshold 🧮:
A custom separation threshold defines when the +DI and -DI lines are far enough apart to confirm a strong trend. This is crucial for commodity markets that experience rapid price changes and fluctuations.
Visual Clarity ✨:
Both +DI and -DI lines are plotted clearly in green and red, respectively, with a dedicated background color system that makes trend shifts visually intuitive.
Why This Indicator Works for Volatile Commodities 🌍📊:
Commodity markets are notorious for their volatility, with prices often experiencing rapid and unpredictable movements. This indicator gives you clear visual cues about trend strength and reversals, enabling you to act quickly and confidently.
By adjusting the +DI based on consecutive green and red bars, this tool adapts to the specific price action in high-volatility conditions, helping you stay ahead of the curve.
The background color system ensures that you can visually track market trends at a glance, making it easier to make split-second decisions without missing opportunities.
How to Use:
Add the Indicator: Simply add the DI Oscillator with Adjustments by DSP to your TradingView chart.
Watch for Background Color Shifts: Stay alert for the background color to shift from violet to green (for buy) or purple to red (for sell), signaling potential trade opportunities.
Set Alerts: Receive notifications when background color changes, providing you with real-time alerts to keep track of market movements.
Interpret the DI Lines: Use the +DI and -DI lines to gauge trend strength and adjust your strategy accordingly.
Who Can Benefit:
Day Traders: Take advantage of quick trend reversals and high volatility in commodities markets, such as gold, oil, or agricultural products.
Swing Traders: Identify key trend shifts over longer periods, making it easier to enter or exit trades during major price movements.
Risk Managers: Use this tool’s visual cues to better understand price fluctuations and adjust your position sizes according to market conditions.
💡 Unlock Your Potential with the DI Oscillator 💡
For traders in high-volatility commodity markets, this indicator is a game-changer. It simplifies the complexity of trend analysis and gives you the actionable insights you need to make fast, profitable decisions. Whether you're trading gold, oil, or other volatile commodities, the DI Oscillator with Adjustments by DSP can help you navigate market chaos and make better-informed trades.
Don’t miss out — enhance your trading strategy today with this powerful tool and stay ahead in any market environment!
Price Time Filtering Bar CountThis script is designed to identify and visualize market trends by analyzing price action over a specified aggregation period. Detailed breakdown of its functionality:
Trend Identification
Uptrend Detection:
An uptrend is signaled when the closing price of the previous bar is higher than the high price from two bars ago.
Downtrend Detection:
A downtrend is indicated when the closing price of the previous bar is lower than the low price from two bars ago.
Trend Continuation:
If neither condition is met, the current trend continues from the previous bar.
Trend Counting
Counter Initialization:
A counter (count) keeps track of the number of consecutive bars in the current trend.
Counter Reset:
When a new trend is detected (change from uptrend to downtrend or vice versa), the counter resets to 1.
Counter Increment:
If the trend continues, the counter increments by 1 for each new bar in the same trend.
Visualization
BarCount Plot:
The BarCount variable represents the current count of trend bars.
Positive Values: Indicate the number of bars in an uptrend.
Negative Values: Indicate the number of bars in a downtrend.
Zero or na: Represents no clear trend or initialization phase.
Histogram Style:
The BarCount is plotted as a histogram, providing a visual representation of trend strength and duration.
Color Coding
Uptrend Color:
Bars and histogram columns are colored teal (or the color assigned to UptrendColor) when in an uptrend.
Downtrend Color:
Bars and histogram columns are colored orange (or the color assigned to DowntrendColor) when in a downtrend.
Customizable Coloring:
The paintBars input allows users to enable or disable the coloring of price bars according to the current trend.
Aggregation Period
User Input:
The aggregationPeriod input lets users specify a timeframe for the indicator's calculations.
If left empty, the indicator uses the chart's current timeframe.
Data Fetching:
The indicator retrieves close, high, and low prices based on the specified aggregation period using the request.security function.
How It Works Together
Data Retrieval:
The indicator fetches the necessary price data (secAggClose, secAggHigh, secAggLow) based on the chosen timeframe.
Trend Calculation:
It compares the previous closing price to the high and low prices from two bars ago to determine the current trend.
Trend Counting:
The counter tracks how many consecutive bars the market has been in the current trend.
Visualization and Coloring:
The BarCount is plotted as a histogram, with colors indicating the trend direction.
Optionally, the price bars on the chart are colored to match the trend for easier visualization.
Practical Use Cases
Trend Strength Assessment:
Traders can gauge the strength of a trend by observing the magnitude of the BarCount. A higher absolute value indicates a stronger, more prolonged trend.
Trend Reversals:
A reset in the counter (switch from positive to negative or vice versa) can signal a potential trend reversal, providing entry or exit points.
Momentum Trading:
By visualizing the duration of trends, momentum traders can identify optimal times to join a prevailing trend or anticipate its exhaustion.
Customization Options
Enable/Disable Bar Coloring:
Users can toggle the paintBars option to switch between a clean price chart and one that highlights trends with color.
Aggregation Period Adjustment:
Adjusting the aggregationPeriod allows analysis over different timeframes without changing the chart's main settings, offering flexibility in strategy development.
Conclusion
This indicator serves as a powerful tool for trend analysis by:
Quantifying Trend Duration: Helps understand how long a trend has persisted.
Visual Trend Representation: Offers immediate visual cues through histogram bars and color-coded price bars.
Flexible Configuration: Provides options to customize the timeframe and visual aspects to suit individual trading styles.
By integrating this indicator into your trading strategy, you can enhance your ability to identify trend patterns, assess their strength, and make more informed trading decisions based on trend dynamics.
Fibonacci Renko Trend - AynetThe "Fibonacci Renko Trend - Aynet" Pine Script combines the Renko charting technique with Fibonacci retracement levels to create a highly customizable and adaptive trend-following tool. Below is a detailed explanation of the script and its components:
Scientific and Trading Applications
Noise Reduction:
By using Renko charts, the script filters out time-based noise and focuses solely on price movement, making it ideal for trend-following strategies.
Adaptability:
The ATR-based box size ensures that the Renko blocks automatically adjust to market volatility, making the tool versatile for different market conditions and asset classes.
Fibonacci-Based Decision Making:
The integration of Fibonacci retracement levels provides a structured framework for identifying key support and resistance levels. Traders can use these levels to anticipate price reversals or continuations.
Visualization:
The color-coded Renko blocks allow traders to quickly identify trends and potential reversals without additional indicators, improving decision-making efficiency.
Possible Improvements
Signal Generation:
Add entry and exit signals when price crosses significant Fibonacci levels or when a trend reversal is detected.
Multi-Timeframe Support:
Extend the script to compute Renko levels and Fibonacci ratios for multiple timeframes simultaneously.
Alerts:
Implement alert notifications for key events, such as trend changes or Fibonacci level breaches.
This script is a robust tool for traders looking to combine the simplicity of Renko charts with the analytical power of Fibonacci retracement levels. It offers a clear visualization of price trends and potential reversal points, making it suitable for both novice and experienced traders.
Fib-Nachos: Full Spectrum Fibonacci WHAT IT DOES:
Automatically plots Fibonacci retracement levels (1.000, 0.786, 0.618, 0.5, 0.382, 0.236, 0.000) based on the highest and lowest points within a customizable lookback period.
Dotted lines represent key retracement zones, making it easy to identify price action around significant levels.
Optional labels display the retracement values for quick reference.
Nine Exponential Moving Averages (EMAs) from 5 to 233 are included, covering short, mediumm and long-term trends for spotting trend alignment and shifts across different timeframes.
Dynamically places labels (S, M, L) on the chart to signal short-term, medium-term, and long-term trend changes based on EMA crossovers
Automatically colors the background green for bullish trends and red for bearish trends based on EMA relationships
WHO FOR:
Anyone seeking a clean, efficient indicator to integrate Fibonacci retracements into their trading strategy.
People looking for a fun tool to analyze Fibonacci levels alongside moving averages and trend signals.
People who like Fibonacci
CUSTOMIZE:
Enable or disable Fibonacci lines, labels, EMAs, and trend labels using the intuitive input options.
Customize the lookback period for Fibonacci levels and adjust settings to fit your trading style.
Customize the look, feel, colors
FUTURE:
Better colors.
Zones and boxes.
Fun fib things
simple swing indicator-KTRNSE:NIFTY
1. Pivot High/Low as Lines:
Purpose: Identifies local peaks (pivot highs) and troughs (pivot lows) in price and draws horizontal lines at these levels.
How it Works:
A pivot high occurs when the price is higher than the surrounding bars (based on the pivotLength parameter).
A pivot low occurs when the price is lower than the surrounding bars.
These pivots are drawn as horizontal lines at the price level of the pivot.
Visualization:
Pivot High: A red horizontal line is drawn at the price level of the pivot high.
Pivot Low: A green horizontal line is drawn at the price level of the pivot low.
Example:
Imagine the price is trending up, and at some point, it forms a peak. The script identifies this peak as a pivot high and draws a red line at the price of that peak. Similarly, if the price forms a trough, the script will draw a green line at the low point.
2. Moving Averages (20-day and 50-day):
Purpose: Plots the 20-day and 50-day simple moving averages (SMA) on the chart.
How it Works:
The 20-day SMA smooths the closing price over the last 20 days.
The 50-day SMA smooths the closing price over the last 50 days.
These lines provide an overview of short-term and long-term price trends.
Visualization:
20-day SMA: A blue line showing the 20-day moving average.
50-day SMA: An orange line showing the 50-day moving average.
Example:
When the price is above both moving averages, it indicates an uptrend. If the price crosses below these averages, it might signal a downtrend.
3. Supertrend:
Purpose: The Supertrend is an indicator based on the Average True Range (ATR) and is used to track the market trend.
How it Works:
When the market is in an uptrend, the Supertrend line will be green.
When the market is in a downtrend, the Supertrend line will be red.
Visualization:
Uptrend: The Supertrend line will be plotted in green.
Downtrend: The Supertrend line will be plotted in red.
Example:
If the price is above the Supertrend, the market is considered to be in an uptrend, and if the price is below the Supertrend, the market is in a downtrend.
4. Momentum (Rate of Change):
Purpose: Measures the rate at which the price changes over a set period, showing if the momentum is positive or negative.
How it Works:
The Rate of Change (ROC) measures how much the price has changed over a certain number of periods (e.g., 14).
Positive ROC indicates upward momentum, and negative ROC indicates downward momentum.
Visualization:
Positive ROC: A purple line is plotted above the zero line.
Negative ROC: A purple line is plotted below the zero line.
Example:
If the ROC line is above zero, it means the price is increasing, suggesting bullish momentum. If the ROC is below zero, it indicates bearish momentum.
5. Volume:
Purpose: Displays the volume of traded assets, giving insight into the strength of price movements.
How it Works:
The script will color the volume bars based on whether the price closed higher or lower than the previous bar.
Green bars indicate bullish volume (closing price higher than the previous bar), and red bars indicate bearish volume (closing price lower than the previous bar).
Visualization:
Bullish Volume: Green volume bars when the price closes higher.
Bearish Volume: Red volume bars when the price closes lower.
Example:
If you see a green volume bar, it suggests that the market is participating in an uptrend, and the price has closed higher than the previous period. Red bars indicate a downtrend or selling pressure.
6. MACD (Moving Average Convergence Divergence):
Purpose: The MACD is a trend-following momentum indicator that shows the relationship between two moving averages of the price.
How it Works:
The MACD Line is the difference between the 12-period EMA (Exponential Moving Average) and the 26-period EMA.
The Signal Line is the 9-period EMA of the MACD Line.
The MACD Histogram shows the difference between the MACD line and the Signal line.
Visualization:
MACD Line: A blue line representing the difference between the 12-period and 26-period EMAs.
Signal Line: An orange line representing the 9-period EMA of the MACD line.
MACD Histogram: A red or green histogram that shows the difference between the MACD line and the Signal line.
Example:
When the MACD line crosses above the Signal line, it’s considered a bullish signal. When the MACD line crosses below the Signal line, it’s considered a bearish signal.
Full Chart Example:
Imagine you're looking at a price chart with all the indicators:
Pivot High/Low Lines are drawn as red and green horizontal lines.
20-day and 50-day SMAs are plotted as blue and orange lines, respectively.
Supertrend shows a green or red line indicating the trend.
Momentum (ROC) is shown as a purple line oscillating around zero.
Volume bars are green or red based on whether the close is higher or lower.
MACD appears as a blue line and orange line, with a red or green histogram showing the MACD vs. Signal line difference.
How the Indicators Work Together:
Trend Confirmation: If the price is above the Supertrend line and both SMAs are trending up, it indicates a strong bullish trend.
Momentum: If the ROC is positive and the MACD line is above the Signal line, it further confirms bullish momentum.
Volume: Increasing volume, especially with green bars, suggests that the trend is being supported by active participation.
By using these combined indicators, you can get a comprehensive view of the market's trend, momentum, and potential reversal points (via pivot highs and lows).