Honey Badger and Dip and Rip Days**Definitions**
A Honey Badger Day is defined as a day where the market dips below a certain threshold but then closes above it. Specifically:
- The day's low is less than or equal to the lower of either the opening price or the previous day's closing price.
- The day's closing price is greater than or equal to this same lower threshold.
Dip and Rip Day:A Dip and Rip Day is characterized by a more pronounced dip followed by a stronger recovery. The criteria are:
- The day's low is below 0.11% of the lower of the day's opening price or the previous day's closing price.
- The day's closing price is at least 0.405% higher than its opening price.
- The day's closing price is at least 0.792% higher than its low.
- The day's closing price is at least 0.405% higher than the previous day's closing price.
Both patterns indicate a day where the market experiences a dip but then recovers, with the Dip and Rip pattern showing a more dramatic movement in both directions.
Трендовый анализ
High-Low Cloud Trend [ChartPrime]The High-Low Cloud Trend - ChartPrime indicator, combines the concepts of trend following and mean reversion into a dynamic cloud representation. This indicator constructs high and low bands based on lookback periods, which adjust dynamically to reflect market conditions. By highlighting the upper and lower extremes, it provides a visual gauge for potential reversals and continuation points.
◆ KEY FEATURES
Dynamic Cloud Bands : Uses high and low derived from user-defined lookback periods to create reactive bands that illustrate trend strength and potential reversal zones.
Color-coded Visualization : Applies distinct colors to the bands based on the trend direction, improving readability and decision-making speed.
Mean Reversion Detection : Identifies points where price extremes may revert to a mean, signaling potential entry or exit opportunities based on deviation from expected values.
Flexible Visualization : Offers options to display volume or price-based metrics within labels, enhancing analytical depth.
◆ FUNCTIONALITY DETAILS
Band Formation : Calculates two sets of bands; one based on a primary lookback period and another for a shorter period to capture mean reversion points.
◆ USAGE
Trend Confirmation : Use the main bands to confirm the prevailing market trend, with the cloud filling acting as a visual guide.
Breakout Identification : Monitor for price breaks through the cloud to identify strong momentum that may suggest a viable breakout.
Risk Management : Adjust positions based on the proximity of price to either band, using these as potential support or resistance areas.
Mean Reversion Strategies : Apply mean reversion techniques when price touches or crosses the bands, indicating a possible return to a central value.
⯁ USER INPUTS
Lookback Period : Sets the primary period for calculating high and low bands.
Mean Reversion Points : Toggles the identification of mean reversion opportunities within the bands.
Volume/Price Display : Chooses between displaying volume or price information in the indicator's labels for enhanced detail.
The High-Low Cloud Trend indicator is a versatile and powerful tool for traders who engage in both trend following and mean reversion strategies. It provides a clear visual representation of market dynamics, helping traders to make informed decisions based on established and emerging patterns. This indicator's dual approach ensures that it is suitable for various trading styles and market conditions.
Standardized PSAR Oscillator [AlgoAlpha]Enhance your trading experience with the "Standardized PSAR Oscillator" 🪝, a powerful tool that combines the Parabolic Stop and Reverse (PSAR) with standardization techniques to offer more nuanced insights into market trends and potential reversals.
🔑 Key Features:
- 🛠 Customizable PSAR Settings: Adjust the starting point, increment, and maximum values for the PSAR to tailor the indicator to your strategy.
- 📏 Standardization: Smooth out volatility by standardizing the PSAR values using a customizable EMA, making reversals easier to identify.
- 🎨 Dynamic Color-Coding: The oscillator changes colors based on market conditions, helping you quickly spot bullish and bearish trends.
- 🔄 Divergence Detection: Automatic detection of bullish and bearish divergences with customizable sensitivity and confirmation settings.
- 🔔 Alerts: Set up alerts for key events like zero-line crossovers and trend weakening, ensuring you never miss a critical market move.
🚀 How to Use:
✨ Add the Indicator: Add the indicator to favorites by pressing the star icon, adjust the settings to suite your needs.
👀 Monitor Signals: Watch for the automatic plotting of divergences and reversal signals to identify potential market entries and exits.
🔔 Set Alerts: Configure alerts to get notified of key changes without constantly monitoring the charts.
🔍 How It Works:
The Standardized PSAR Oscillator is an advanced trading tool that refines the traditional PSAR (Parabolic Stop and Reverse) indicator by incorporating several key enhancements to improve trend analysis and signal accuracy. The script begins by calculating the PSAR, a widely used indicator known for its effectiveness in identifying trend reversals. To make the PSAR more adaptive and responsive to market conditions, it is standardized using an Exponential Moving Average (EMA) of the high-low range over a user-defined period. This standardization helps to normalize the PSAR values, making them more comparable across different market conditions.
To further enhance signal clarity, the standardized PSAR is then smoothed using a Weighted Moving Average (WMA). This combination of EMA and WMA creates an oscillator that not only captures trend direction but also smooths out market noise, providing a cleaner signal. The oscillator's values are color-coded to visually indicate its position relative to the zero line, with additional emphasis on whether the WMA is rising or falling—this helps traders quickly interpret the trend’s strength and direction.
The oscillator also includes built-in divergence detection by comparing pivot points in price action with those in the oscillator. This feature helps identify potential discrepancies between the price and the oscillator, signaling possible trend reversals. Alerts can be configured for when the oscillator crosses the zero line or when a trend shows signs of weakening, ensuring that traders receive timely notifications to act on emerging opportunities. These combined elements make the Standardized PSAR Oscillator a robust tool for enhancing your trading strategy with more reliable and actionable signals
Periodical Trend [BigBeluga]The Periodical Trend indicator is designed to provide a detailed analysis of market trends and volatility. It utilizes a combination of Moving Averages and volatility measures to plot trend line, highlight potential trend reversals, and indicate mean reversion opportunities. The indicator offers customizable display options, allowing traders to adjust for sensitivity, volatility bands, and price deviation visibility.
🔵 KEY FEATURES
● Periodical Trend Analysis
Uses (high + volatility) or (low - volatility) as the foundation for trend analysis with a set period.
// Condition to update the AVG array based on the selected mode
if mode == "Normal"
? bar_index == 122
: bar_index % period == 0
AVG.push(close) // Add the close price to the AVG array
// Update AVG array based on the period and price comparison
if bar_index % period == 0
if close > AVG.last() // If the current close is greater than the last stored value in AVG
AVG.push(low - vlt) // Add the low price minus volatility to the array
if close < AVG.last() // If the current close is lower than the last stored value in AVG
AVG.push(high + vlt) // Add the high price plus volatility to the array
Provides adjustable sensitivity modes ("Normal" and "Sensitive") for different market conditions.
Trend direction is visualized with dynamic color coding based on the relationship between the trend line and price.
● Volatility Bands
Displays upper and lower volatility bands derived from a moving average of price volatility (high-low).
The bands help identify potential breakout zones, overbought, or oversold conditions.
Users can toggle the visibility of the bands to suit their trading style.
● Mean Reversion Signals
Detects mean reversion opportunities when price deviates significantly from the trend line.
Includes both regular and strong mean reversion signals, marked directly on the chart.
Signals are based on oscillator crossovers, offering potential entry and exit points.
● Price Deviation Oscillator
Plots an oscillator that measures the deviation of price from the average trend line.
The oscillator is normalized using standard deviation, highlighting extreme price deviations.
Traders can choose to display the oscillator for in-depth analysis of price behavior relative to the trend.
● Dynamic Trend Coloring
The indicator colors the background on the direction of the trend.
Green indicates bullish trends, while blue indicates bearish trends.
The trend colors adapt dynamically to market conditions, providing clear visual cues for traders.
🔵 HOW TO USE
● Trend Analysis
The trend line represents the current market direction. A green trend line suggests a bullish trend, while a blue trend line indicates a bearish trend.
Use the trend line in conjunction with volatility bands to confirm potential breakouts or areas of consolidation.
● Volatility Bands
Volatility bands offer insight into potential overbought or oversold conditions.
Price exceeding these bands can signal a strong trend continuation or a possible reversal.
● Mean Reversion Strategies
Look for mean reversion signals (regular and strong) when price shows signs of reverting to the trend line after significant deviation.
Regular signals are represented by small dots, while strong signals are represented by larger circles.
These signals can be used as entry or exit points, depending on the market context.
● Price Deviation Analysis
The oscillator provides a detailed view of price deviations from the trend line.
A positive oscillator value indicates that the price is above the trend, while a negative value suggests it is below.
Use the oscillator to identify potential overbought or oversold conditions within the trend.
🔵 USER INPUTS
● Period
Defines the length of the period used for calculating the trend line. A higher period smooths out the trend, while a shorter period makes the trend line more sensitive to price changes.
● Mode
Choose between "Normal" and "Sensitive" modes for trend detection. The "Sensitive" mode responds more quickly to price changes, while the "Normal" mode offers smoother trend lines.
● Volatility Bands
Toggle the display of upper and lower volatility bands. These bands help identify potential areas of price exhaustion or continuation.
● Price Deviation
Toggle the display of the price deviation oscillator. This oscillator shows the deviation of the current price from the trend line and highlights extreme conditions.
● Mean Reversion Signals
Toggle the display of mean reversion signals. These signals highlight potential reversal points when the price deviates significantly from the trend.
● Strong Mean Reversion Signals
Toggle the display of stronger mean reversion signals, which occur at more extreme deviations from the trend.
● Width
Adjust the thickness of the trend line for better visibility on the chart.
🔵 CONCLUSION
The Periodical Trend indicator combines trend analysis, volatility bands, and mean reversion signals to provide traders with a comprehensive tool for market analysis. By offering customizable display options and dynamic trend coloring, this indicator can adapt to different trading styles and market conditions. Whether you are a trend follower or a mean reversion trader, the Periodical Trend indicator helps identify key market opportunities and potential reversals.
For optimal results, it is recommended to use this indicator alongside other technical analysis tools and within the context of a well-structured trading strategy.
MQLSoftware - Pro Swing Trading SystemThe PRO Swing Trading System for TradingView is an advanced, fully integrated trading solution designed for traders who demand precision, versatility, and convenience in their trading strategies. Part of our Premium Collection, this system combines robust algorithms with hyper-customizable features to help traders effectively capitalize on market swings across various asset classes.
Our system embodies a comprehensive approach to trading, emphasizing risk management and capital preservation while maximizing trading efficiency. By seamlessly integrating risk management tools directly within the trading terminal, the PRO Swing Trading System eliminates the need for external spreadsheets or complex calculations, ensuring that traders can focus solely on executing their strategies. Every aspect of this system is designed to provide a streamlined, user-friendly experience where entry points, stop-loss levels, and take-profit targets are automatically calculated and displayed, allowing for rapid decision-making and execution.
KEY FEATURES
Advanced Trend Channels and Swing Levels
The PRO Swing Trading System features a unique, color-coded trend channel that visually adapts based on market trends. This channel helps traders identify optimal entry points by highlighting key swing levels for potential reversals or trend continuations. The system marks these levels on the chart as potential entry points for long or short positions, providing a clear visual cue for trading opportunities.
Comprehensive Signal and Trade Levels
Clear Stop-Loss and Take-Profit Levels: The system automatically marks stop-loss and take-profit levels on your charts, including absolute values to support informed decision-making. Traders can adjust these levels directly on the chart to match their trading style and risk tolerance, ensuring that risk management is always at the forefront of their trading strategy.
Dynamic Signal Adjustments: Customize your signals based on trend strength and market volatility to ensure you receive alerts that align with your specific trading strategies. This flexibility allows for a tailored trading experience that can adapt to various market conditions.
This image showcases a chart of BTC/USD on a one-hour timeframe. Here, we highlight the system's functionality, illustrating how different colors represent ascending and descending trends. The image includes features such as the Descending Channel, Extending Channel, Main Swing Level, Echo Swing Level, and Potential Entry points.
Additionally, it displays levels for managing profits and losses, such as Take Profit Levels and Stop Loss Level. The system allows setting either one or two take-profit levels for staged exit strategies. Traders can enter positions based on the Main Swing Level (primary entry point) or Echo Swing Level (secondary entry point), depending on their trading style or market conditions. This flexibility is useful for phased entry or if the primary entry opportunity is missed.
Integrated Position Size Calculator
Located in the top-right corner of the chart by default, the Position Size Calculator is a powerful tool that helps traders quickly determine the optimal trade size based on their risk settings. By integrating this calculator directly into the chart, traders can efficiently manage their trades with precision and confidence.
Configurable Risk Management: The calculator allows traders to set risk percentages, stop-loss types, and profit-to-loss ratios. It dynamically adjusts based on user inputs, optimizing trade volume and risk management to support a systematic trading approach.
This image presents a chart of ETH/USD on a 15-minute timeframe, clearly demonstrating the system’s ability to track trend changes accurately. The chart emphasizes the Position Size Calculator, part of the Risk Money Management Block. This panel allows users to set their risk (e.g., 2% of the deposit) and automatically calculates the appropriate position size. Absolute stop-loss and take-profit values are also calculated based on these settings, maintaining a consistent risk-reward ratio and supporting systematic trading.
Trend Strength Monitor
The Trend Strength Monitor is an essential tool for multi-timeframe analysis, helping traders identify the direction and strength of trends across higher timeframes. This feature aids in filtering out lower-probability trades, enhancing decision-making accuracy and ensuring that traders align their trades with the broader market trend.
This image features a chart of XAU/USD on an hourly timeframe, highlighting the Trend Strength Monitor. This tool helps traders understand the trend direction and strength across higher timeframes. The example shows that all higher timeframes indicate a buying zone, suggesting a safer long trade.
FILTERS AND SYSTEM USAGE
The indicator is equipped with a wide range of additional settings and filters that allow traders to adapt it to their specific needs and market conditions. Key features include:
Customizable Channel Width
The channel width is a crucial parameter that determines the indicator's adaptability to different market conditions. Traders can adjust the channel width to ensure the indicator responds quickly to market changes while remaining stable against false fluctuations. This flexibility is vital for trading in varying market conditions, such as ranging or trending markets.
Signal Frequency Control
This setting allows traders to control the frequency of signals generated by the system. By adjusting this parameter, traders can customize their trading approach to match their preferred style, whether it be a conservative, medium, or aggressive approach.
Alert and Notification Settings
The PRO Swing Trading System includes customizable alert settings to ensure traders are notified when key market conditions align with their strategy. Alerts can be set for specific entry points, trend reversals, or other significant market events, helping traders stay on top of their trades.
Trading Time Filters
Traders can set time filters to restrict trading activity to specific times of the day or week, ensuring their trading aligns with their schedule and market preferences. This feature is particularly useful for those who trade part-time or prefer to avoid trading during certain market sessions.
This image depicts a potentially risky LONG trade scenario after a prolonged downward movement on the AMD on an hourly timeframe. The recommendation is to avoid this trade, as the next three higher timeframes (H4, D1, W1) are in the red zone, indicating strong bearish trends.
CONCLUSION & ACCESS
The PRO Swing Trading System for TradingView is a powerful tool for traders who value precision, adaptability, and streamlined trading operations. With its advanced features, such as customizable trend channels, dynamic signal adjustments, and integrated risk management tools, this system supports a disciplined and systematic approach to trading. It's designed to enhance your trading experience by providing all the necessary tools to make informed decisions without the need for external resources.
To gain immediate access and start using the PRO Swing Trading System today, please refer to the Author's instructions below.
[MACC] Moving Average Candle ColorThe simplest trading framework is using moving average. This indicator is harnessing that very method.
What It Does:
This indicator helps you see market trends at a glance by changing the color of the candlesticks based on the relationship between two Exponential Moving Averages (EMAs). When the 9-period EMA is above the 21-period EMA, candlesticks turn green, suggesting a bullish trend. When the 9 EMA is below the 21 EMA, candlesticks turn red, indicating a bearish trend.
Why You'll Love It:
Easy Trend Visualization: Quickly spot trends and potential reversals with color-coded candlesticks.
Customizable Settings: Adjust the lengths of the EMAs to fit your trading style. Just change the values in the settings panel and watch the indicator update in real-time.
Optional EMA Lines: See the EMA lines plotted on your chart for added context and trend confirmation.
How to Use It:
Green Candlesticks: It’s a sign that the trend is likely upward.
Red Candlesticks: signaling a potential downward trend.
Customization:
EMA Lengths: You can set the lengths for the 9 EMA and 21 EMA to whatever fits your trading strategy best.
Colors: Adjust the colors if you want to match your chart’s theme.
Get Started: Add this indicator to your TradingView chart and tweak the settings to see how it helps you track market trends more effectively.
Cherio...
Greer BuyZone toolGreer BuyZone Tool
Description:
The Greer BuyZone Tool is a custom Pine Script indicator designed to help identify potential long-term investment opportunities by marking BuyZones on the chart. This tool utilizes the Aroon indicator in combination with Fibonacci numbers to define periods where the asset might be a good candidate for dollar-cost averaging.
Features:
BuyZone Detection: The script identifies and marks the beginning and end of a BuyZone with vertical lines and labels.
Visual Markers: A red vertical line and label indicate the start of a BuyZone, while a green vertical line and label mark the end of a BuyZone.
Aroon Indicator Calculation: Utilizes the Aroon indicator with a Fibonacci length (233) to determine key price levels.
How to Use:
Setup: Add the Greer BuyZone Tool to your TradingView chart. It will display vertical lines and labels marking the BuyZone periods.
BuyZone Identification: Use the red lines and labels ("BZ Begins ->>") to identify the start of a BuyZone, and the green lines and labels ("<<- BZ Ends") to determine when the BuyZone ends.
Long-Term Investment: This tool is intended for long-term investing and dollar-cost averaging strategies, not for day trading.
Disclaimer:
This script is provided for informational purposes only and is not intended as financial advice. The Greer BuyZone Tool is designed to assist in identifying potential long-term investment opportunities and is not suitable for day trading. The use of this tool involves risk, and there is no guarantee of profitability. Users are advised to conduct their own research and consult with a qualified financial advisor before making any investment decisions. The creator of this script assumes no liability for any losses or damages resulting from the use of this indicator.
Author: Sean Lee Greer
Date: 9/1/2024
Dynamic Trailing Stop with Trend ChangeKey features of this script:
Trend Identification: Uses previous day's high/low breaks to identify trend changes.
Uptrend starts when price closes above the previous day's high.
Downtrend starts when price closes below the previous day's low.
Dynamic Trailing Stop:
In an uptrend, the stop is set to the previous day's low and trails higher.
In a downtrend, the stop is set to the previous day's high and trails lower.
Visual Indicators:
Green triangle for uptrend start, red triangle for downtrend start.
Green/red line for the trailing stop.
Background color changes to light green in uptrends, light red in downtrends.
Alerts:
Trend change alerts when a new trend is identified.
Stop hit alerts when price crosses the trailing stop, suggesting a potential exit.
This implementation allows you to:
Identify trend changes based on previous day's high/low breaks.
Trail your stop loss dynamically as the trend progresses.
Get visual and alert-based signals for trend changes and potential exit points.
For swing trading, you could:
Enter long when an uptrend starts (green triangle).
Set your initial stop loss to the trailing stop (green line).
Exit if the price closes below the trailing stop or a downtrend starts (red triangle).
(Reverse for short trades)
Remember, while this strategy can be effective, it's important to combine it with other forms of analysis and proper risk management. The effectiveness can vary depending on the volatility of the asset and overall market conditions. Always test thoroughly before using in live trading.
SMCL - Trend Change StructuresSMCL Indicator - Detailed Functionality
The SMCL (Structure Market Change Levels) indicator is designed to help traders visually detect and analyze changes in market structure. It focuses on identifying key pivot points and possible trend reversals by marking Change of Character (CHoCH) signals and calculating important levels like Premium and Discount zones.
Key Features:
Bullish and Bearish Structure Detection: Marks key trend changes on the chart using price pivots, with options to display only bullish or bearish structures.
Premium and Discount Zones Visualization: Identifies areas where the price may be in an overbought (Premium) or oversold (Discount) zone.
Win Rate Calculation: Calculates and displays the win rate on the chart to help you assess the indicator's effectiveness in real-time.
Full Customization: Adjust the colors of the structures and Premium/Discount zones to match your analysis style.
How to Use:
Bullish Structures: Look for CHoCH labels above recent highs indicating a potential shift to an uptrend.
Bearish Structures: Watch for CHoCH labels below recent lows indicating a potential shift to a downtrend.
Premium/Discount Levels: Use these zones to identify potential overbought or oversold conditions, ideal for planning entries or exits.
Win Rate: Monitor the win rate to gauge the reliability of the indicator over time.
This indicator is ideal for both intraday traders and swing traders looking for a simple yet powerful tool to identify market trend changes. Try it out and improve your trading decisions!
Technical Details:
1. Inputs:
Structure Period (prd): Defines the lookback period for detecting significant highs and lows (pivots). A higher period will consider a broader price range, identifying more prominent structures.
Response Period (resp): Determines how reactive the indicator is to recent price movements, affecting how quickly new structures are identified.
Show Bullish Structure (bull): A toggle to display bullish (uptrend) market structures on the chart.
Show Bearish Structure (bear): A toggle to display bearish (downtrend) market structures on the chart.
Show Premium & Discount (showPD): When enabled, the indicator will draw Premium (overbought) and Discount (oversold) levels on the chart.
2. Colors:
Bullish Color (bullColor): The color used to highlight bullish market structures.
Bearish Color (bearColor): The color used to highlight bearish market structures.
Premium Color (premColor): The color used to display the Premium (overbought) level.
Discount Color (discColor): The color used to display the Discount (oversold) level.
3. Structure Detection:
High and Low Pivot Points (Up, Dn): The indicator continuously tracks the highest and lowest prices over the specified structure period (prd). These pivot points are used to identify potential trend changes.
Change of Character (CHoCH) Detection:
When a new high is detected (Up > previous Up), it signifies a potential bullish trend change. A label with "CHoCH" is placed on the chart, if bullish structures are enabled.
Similarly, when a new low is detected (Dn < previous Dn), it signifies a potential bearish trend change. A "CHoCH" label is placed if bearish structures are enabled.
4. Premium & Discount Levels:
Premium Level (PremiumTop): Calculated as 10% below the detected high pivot. It represents a zone where the price may be considered overbought, suggesting a possible reversal or pullback.
Discount Level (DiscountTop): Calculated as 10% above the detected low pivot. It represents a zone where the price may be considered oversold, suggesting a possible buying opportunity.
These levels are drawn on the chart if the showPD option is enabled, helping traders visually assess the market's condition.
5. Probability Calculation:
Win Rate Calculation (WinRate): The indicator tracks the number of times the market structure changes from bullish to bearish and vice versa. It calculates the win rate as the ratio of bullish to bearish changes, providing insight into the strength of the detected structures.
This win rate is displayed on the chart in the latest bar, giving a real-time assessment of the indicator's performance.
6. Display Options:
The indicator offers full customization of colors and visibility for different components, allowing traders to tailor the visuals to their preferences.
Labels and lines are drawn with a 50% opacity by default, making them less intrusive while still visible on the chart.
VWAP SlopePublishing one of the simplest yet one of my favorite concepts. Had to publish since I didn't really find any script for this on TV.
VWAP slope.
This is nothing fancy because it's just calculating "slope" with a very basic level formula
vwap_slope = (vwap - vwap ) / length
Above zero line, it's positive zone.
Below zero line, it's a negative zone.
The idea is to avoid choppy conditions and stay true to larger readings, sometimes when we have vwap directly on chart and when price interacts with it, we tend to take the lot of bad trades.
The intention here is to avoid just that.
This is also good at tracking failure of change in sentiments, this failure is very important, because one's failure occurs there is significant movement in the opposite direction of the failure.
Since there isn't much alteration to this idea, there is not much to talk about tbh.
Just remember, this is an educational idea and not assurance of future performance.
Regards.
Sniper Signal- Description
The Sniper Signal is a sophisticated technical indicator designed for traders seeking to maximize accuracy in identifying key turning points within a market. This indicator is built on a dual approach, combining the power of the Wave Trend Momentum Oscillator (WTMO) with the robustness of a long-term Simple Moving Average (SMA), making it an ideal tool for trading in dynamic and trending market environments.
The WTMO is known for its ability to capture momentum and underlying price direction, providing early signals of trend changes. By smoothing price movements using an exponential moving average (EMA), the WTMO accurately identifies when price is overextending in one direction, which may precede a reversal.
The 100-period SMA acts as a critical trend filter, ensuring that trades are only made in the direction of the prevailing market flow. This approach ensures that signals generated by the WTMO align with the long-term trend, filtering out false signals that can appear in sideways or low volatility markets.
The Sniper Signal is not just an indicator that marks entries and exits; it is a complete strategy in itself, designed for traders who understand the importance of trading in the direction of the prevailing trend. Buy signals are generated only when momentum is at its lowest point (WT1 < -5) and the price is supported by a confirmed uptrend (price above the SMA). Conversely, sell signals are only triggered when momentum is at extremely high levels (WT1 > 5) and the market shows clear signs of weakness (price below the SMA).
This combination of momentum and trend analysis creates a balanced approach that allows traders to capture significant moves in the market, while minimizing exposure to unnecessary risk. The Sniper Signal is particularly effective in markets with well-defined trends, where the key to success lies in entering the market at optimal points and exiting before a significant reversal occurs.
In summary, the Sniper Signal is an advanced tool designed for serious traders looking to take advantage of the combination of momentum and trend to execute high probability trades in moving markets.
- How to use the script?
The Sniper Signal indicator code is written in Pine Script, the native programming language of TradingView. To use this indicator, users must copy the code and paste it into the Pine Script editor within the TradingView platform. Once they have done this, they can save and add the script to their chart to begin displaying buy and sell signals directly on their price charts.
When using the Sniper Signal, traders should pay attention to the signals represented by the triangles on the chart: an upward-facing blue triangle indicates a possible buying opportunity, while a downward-facing red triangle suggests a possible selling opportunity. It is crucial that users also watch the 100-period Simple Moving Average (SMA), shown as a gray line on the chart, to ensure that trades align with the overall market trend. This helps filter out less reliable signals and improves the accuracy of trading decisions.
- Open-source reuse
The indicator code is based on common and widely used concepts in technical analysis, such as the Wave Trend Momentum Oscillator (WTMO) and the Simple Moving Average (SMA). These components are not proprietary and are part of the general knowledge in the trading community, which means that many developers can create their own versions based on these same principles.
Liquidity weighted SupertrendOverview
The Liquidity Weighted Supertrend Indicator (LWST) is an advanced iteration of the traditional Supertrend indicator, meticulously crafted to improve trend detection by incorporating liquidity into its calculations. By weighting price movements according to trading volume, the LWST becomes more responsive to significant market activities, offering traders a more accurate depiction of market trends.
Indicator Description
The Liquidity Weighted Supertrend Indicator is a versatile and adaptive tool designed to assist traders in recognizing trends and potential reversal points within the market. This indicator features two operational modes: Aggressive and Smoothed, allowing traders to tailor trend detection to their specific trading style and market conditions.
Key Features
Two Supertrend Modes:
Aggressive Mode: This mode offers more responsive signals, ideal for short-term trading. It utilizes an Exponential Moving Average (EMA) to smooth the price data, resulting in quicker reactions to market changes.
Smoothed Mode: This mode provides more stable signals, suitable for longer-term trading, by employing a Simple Moving Average (SMA). Note that when "Smoothed" mode is selected, the "Fast MA length" input is not utilized, focusing instead on producing smoother trend lines.
LWMA Calculation:
The Liquidity Weighted Moving Average (LWMA) is a distinctive feature of the LWST, blending volume and price action to filter out market noise and pinpoint significant price movements. This calculation begins with the liquidity factor, determined by multiplying volume with the price change, which is then smoothed using an EMA for accuracy.
Customizable Parameters:
Factor: Adjusts the Supertrend line's sensitivity to price movements.
Supertrend Length: Defines the lookback period for the Average True Range (ATR) calculation, which affects the width of the Supertrend channel.
Fast and Slow MA Lengths: Allows customization of the fast and slow moving averages used in the LWMA calculation, offering further control over the indicator's responsiveness.
How the Indicator Works
LWMA Smoothing:
The LWST calculates liquidity by multiplying volume with the absolute difference between the close and open prices. This liquidity value is smoothed using an EMA and compared to its standard deviation, identifying significant price movements. Depending on the selected mode, the price data (hl2) is smoothed either with an EMA (in Aggressive Mode) or an SMA (in Smoothed Mode). It’s important to note that when Smoothed mode is active, the "Fast MA length" input does not affect the output.
Visual Signals:
The Supertrend line is visually represented on the chart, with different colors indicating bullish (lime) and bearish (red) trends.
Buy and sell signals are clearly marked with arrows: green triangles indicate potential buying opportunities (when the price crosses above the Supertrend line), and red triangles suggest selling opportunities (when the price crosses below the Supertrend line).
Additional arrows may appear, signaling potential trend reversals, providing further confirmation for traders.
How to Use the Indicator
Configuring the Indicator:
Supertrend Type: Choose between Aggressive and Smoothed modes depending on your trading strategy and the current market conditions. Aggressive mode is better suited for shorter timeframes, while Smoothed mode provides more consistent signals for longer-term analysis.
Factor and Length Settings: Customize the Factor, Supertrend Length, and Moving Average lengths to fine-tune the sensitivity and responsiveness of the Supertrend line, adapting the indicator to various market environments.
Interpreting the Signals:
Trend Identification: The Supertrend line offers a clear visualization of the current market trend. A green line indicates a bullish trend, suggesting upward price movement, while a red line indicates a bearish trend, signaling potential downward price movement.
Entry and Exit Points: The arrows plotted by the LWST provide straightforward entry and exit signals. Green arrows signal potential buy opportunities, indicating that the price may continue to rise, while red arrows signal potential sell opportunities, suggesting that the price may decline. These visual cues help traders make informed decisions based on the current market trend.
Trend_Prime_MasterTrend_Prime_Master is a trend-following indicator designed to help traders identify potential buy and sell signals with enhanced clarity and reliability. This indicator integrates multiple technical analysis tools into a cohesive system, maximizing their individual strengths to offer traders a comprehensive view of market trends. With its advanced blend of market structure analysis, multiple EMAs, custom volume and momentum indicators, and multi-timeframe trend confirmation, Trend_Prime_Master is tailored to navigate the complexities of financial markets.
Core Features
Trend_Prime_Master offers a suite of features that provide in-depth analysis and actionable insights into market trends:
Multi-Timeframe Trend Analysis: This feature ensures that the signals you act on are aligned with broader market trends by filtering and confirming them across various timeframes. By aligning your trades with the larger market direction, you improve the overall consistency of your trading decisions.
Sophisticated Signal Generation: Signals are generated based on a confluence of technical conditions, including Exponential Moving Average (EMA) crossovers and custom momentum indicators. This multi-layered approach helps focus on signals that have strong backing from market conditions, thereby increasing the reliability of trading decisions.
Color-Changing Trend Line: The trend line changes color based on the market's current direction, providing a quick visual cue for traders. Green indicates a bullish trend, while red signals a bearish trend. This feature simplifies the process of identifying trends, allowing traders to make informed decisions at a glance.
Adaptive Lines: The adaptive lines in Trend_Prime_Master adjust dynamically based on market conditions. These lines provide a more responsive view of the trend compared to static moving averages, particularly useful in volatile markets.
Short Trend Lines: In addition to the main trend line, Trend_Prime_Master includes short trend lines that focus on immediate market movements. These lines are based on shorter EMAs and offer additional layers of trend confirmation, particularly in fast-moving markets.
Custom Volume and Momentum Indicators: These advanced tools validate the strength of trends by assessing the underlying market pressure and the speed of price movements, ensuring that signals are supported by substantial market activity.
Heikin Ashi Integration: Heikin Ashi candles are used to smooth out price data, reducing noise and providing a clearer view of the underlying trend. This integration enhances the clarity and reliability of the signals, making it easier to follow the trend and make informed decisions.
CHoCH (Change of Character): CHoCH is a critical component in understanding market structure changes. It occurs when the market shows a significant shift in behavior, such as moving from a trending phase to a consolidation phase, or vice versa. Trend_Prime_Master automatically detects and labels CHoCH on the chart, helping traders anticipate potential reversals or shifts in market momentum.
Detailed Component Explanations
Every component in Trend_Prime_Master has been carefully selected and integrated to enhance the overall performance of the indicator. Here’s a detailed explanation of how these components work together:
EMA Combinations for Trend Identification: Trend_Prime_Master utilizes multiple EMAs with different periods to capture both short-term and long-term trends. By analyzing the relationship between faster and slower EMAs, the indicator identifies potential trend reversals and continuations. The combination of multiple EMAs helps in smoothing out price data, reducing noise, and providing a more accurate depiction of the trend.
Adaptive Lines: The adaptive lines in Trend_Prime_Master adjust dynamically based on changing market conditions. Unlike static moving averages, which use a fixed calculation period, adaptive lines recalibrate themselves to respond more effectively to shifts in market momentum. This allows traders to capture emerging trends more quickly and avoid the lag associated with traditional moving averages.
Short Trend Lines: Short trend lines are calculated using faster EMAs and are designed to highlight immediate market trends. These lines are particularly useful for traders who focus on short-term market movements, providing early indications of potential trend reversals or continuations. By combining short trend lines with longer EMAs, Trend_Prime_Master offers a multi-layered approach to trend analysis, ensuring that both short-term and long-term perspectives are considered.
Point of Control (POC):
The Point of Control (POC) is a key concept in volume profile analysis that represents the price level with the highest traded volume over a specific period. In Trend_Prime_Master, the POC line is automatically calculated and plotted on the chart. This level is crucial because it often acts as a significant support or resistance level, where price tends to gravitate towards or bounce off. By incorporating the POC, Trend_Prime_Master enhances your ability to identify critical price levels that are likely to influence future price movements.
The POC works synergistically with other components like EMAs and custom momentum indicators by confirming whether these technical signals align with high-volume price levels. For instance, a buy signal near the POC might suggest a strong support level, making the trade more likely to succeed, while a sell signal below the POC could indicate a potential breakout or continuation of a downtrend.
Break of Structure (BOS): BOS is a crucial concept in market structure analysis that indicates a significant change in market behavior. It occurs when the market breaks a previous high or low, suggesting a potential reversal or continuation of the trend. In Trend_Prime_Master, BOS is used to identify these critical moments, helping traders anticipate major market moves. BOS works in conjunction with other signals, such as EMA crossovers and trend line changes, to provide a comprehensive picture of the market's direction.
CHoCH (Change of Character): CHoCH refers to a sudden and significant shift in market behavior, often signaling a change from a trending market to a ranging one, or vice versa. This concept is crucial for traders who need to adjust their strategies based on the market’s current phase. Trend_Prime_Master automatically detects CHoCH moments and marks them on the chart, allowing traders to adapt their strategies promptly and effectively.
Custom Volume and Momentum Indicators: These custom indicators in Trend_Prime_Master go beyond standard tools by incorporating advanced calculations that consider both the direction and intensity of market moves. These indicators help validate the strength of a trend, ensuring that traders act on signals backed by strong market activity. This allows for a more nuanced view of trend strength, supporting better trading decisions.
Color-Changing Trend Line: This visual tool is not just a simple trend line; it dynamically adjusts its color based on the current trend direction, providing an immediate visual representation of the market’s state. When combined with other components like BOS and custom volume indicators, the color-changing trend line helps traders quickly assess whether the current market conditions favor a particular trade, reducing the cognitive load on traders and enabling faster decision-making.
Multi-Timeframe Filters: These filters ensure that the signals generated on a lower timeframe are consistent with the trends observed on higher timeframes. A signal is only considered valid if it aligns across these multiple timeframes, ensuring that your trades are supported by the broader market context.
Heikin Ashi Smoothing: Heikin Ashi candles are incorporated into Trend_Prime_Master to smooth out noise in price data. These candles average out price movements, making it easier to identify the underlying trend without being distracted by minor fluctuations. This smoothing effect is particularly useful in volatile markets, where traditional candlesticks might present a confusing picture of market behavior.
How It Works
Trend_Prime_Master integrates these tools into a cohesive system designed to provide clear and actionable insights into market trends:
EMA-Based Trend Identification: By analyzing multiple EMAs, Trend_Prime_Master identifies the prevailing market trend and potential reversals. This process involves comparing the positions of faster and slower EMAs to detect crossovers, which are key signals for trend changes.
Adaptive Lines: These lines adjust in real-time to reflect the current market conditions. They offer a more responsive trend-following approach compared to traditional moving averages, making them particularly useful in volatile or rapidly changing markets.
Short Trend Lines: These lines focus on short-term market trends, providing early signals of potential reversals or continuations. By tracking immediate price movements, short trend lines help traders respond quickly to market changes, offering a valuable perspective in fast-moving markets.
Point of Control (POC):The POC represents the price level with the highest traded volume over a specific period. In Trend_Prime_Master, the POC is plotted to help traders identify key levels where the market has shown significant interest. These levels often act as strong support or resistance and can be crucial in determining the validity of a trend. For instance, a signal near the POC might indicate a more reliable setup, as it shows that the price is aligning with a major volume level.
Break of Structure (BOS): BOS plays a pivotal role in confirming trend reversals. When the price breaks a significant structure, such as a previous high or low, it suggests that the market may be shifting direction. This is particularly important for traders looking to enter the market at the beginning of a new trend.
CHoCH (Change of Character): CHoCH is critical for recognizing shifts in market phases. For example, a CHoCH might indicate that a market is moving from a trend into a consolidation phase, or vice versa. By identifying these changes early, Trend_Prime_Master allows traders to adjust their strategies accordingly, whether that means tightening stop-losses in a trending market or preparing for breakout trades in a consolidating one.
Custom Volume and Momentum Confirmation: These custom indicators add an extra layer of validation to the signals generated by Trend_Prime_Master. By confirming that there is strong market participation and momentum behind a move, these indicators help ensure that traders are acting on signals supported by robust market activity.
Color-Changing Trend Line: This feature provides an easy-to-understand visual representation of the market's direction, changing color based on whether the market is in a bullish or bearish phase. It works in tandem with other components like EMAs and custom volume indicators to give traders a quick, comprehensive view of market conditions.
Settings
• Trading Style: Select the trading style that best suits your strategy (Short, Medium, Long, HTSpecial, Standard). This setting adjusts the parameters of the EMAs and other components to align with different timeframes, ensuring that the indicator is tuned to the specific market conditions you're trading in.
• Show Possible Signals: Toggle this setting to enable or disable the display of possible buy and sell signals. This allows traders to focus on confirmed signals or to see potential opportunities as they develop.
• Possible Signals Filter: If you wish to filter possible signals based on a higher timeframe trend, enable this option and select the appropriate higher timeframe. This helps ensure that the signals you act upon are in sync with broader market trends, reducing the risk of counter-trend trades.
Colors for Signals and Moving Averages:
• Customize the colors for bullish, bearish, and neutral signals, as well as for the various moving averages. This allows traders to personalize the visual aspects of the indicator, making it easier to interpret signals at a glance.
Trend Line Settings:
• Adaptive Line: Toggle to enable or disable the adaptive trend line, which adjusts dynamically based on market conditions. The line changes color to reflect the current trend direction, providing a quick visual cue.
• Short Trend Lines: Enable this option to display shorter-term trend lines. These lines help in identifying immediate market movements and can be particularly useful for short-term traders.
• Length and Smoothing: Adjust the length and smoothing parameters for the trend lines to fine-tune how responsive they are to price changes.
Point of Control (POC) Settings:
• Show POC Line: Toggle this setting to display the POC on your chart. The POC is a critical level where the most volume has been traded, and it often acts as a significant support or resistance level.
• POC Color and Width: Customize the color and width of the POC line to make it stand out or blend in with your other chart elements, depending on your preference.
Why It's Worth Paying For
Trend_Prime_Master provides several unique advantages that make it a valuable tool for traders:
Comprehensive Market Analysis: By integrating multiple technical analysis tools, Trend_Prime_Master provides a holistic view of market trends, helping you make more informed decisions.
Customization and Flexibility: The indicator’s settings can be easily adjusted to suit your trading style, whether you’re focusing on short-term trades or long-term investments.
Reliable Signal Generation: The multi-layered approach—combining EMAs, custom volume indicators, and trend lines—minimizes the likelihood of weak signals, enhancing your trading process.
Advanced Features: Features like multi-timeframe analysis, Heikin Ashi smoothing, and the color-changing trend line provide insights that are not typically found in other indicators, giving you a trading edge.
Enhanced Market Understanding: The ability to detect and act on changes in trend strength and momentum helps you develop a deeper understanding of market dynamics.
Consistency Across Markets: Trend_Prime_Master is designed to perform reliably across various market conditions, making it a versatile tool in any trading environment.
User-Friendly Interface: Despite its advanced capabilities, the indicator is easy to use, making it accessible to traders of all experience levels.
Ongoing Support and Updates: As a user of Trend_Prime_Master, you receive ongoing support and regular updates to keep the indicator effective and up-to-date with the latest market trends and techniques.
Risk Disclaimer
While Trend_Prime_Master is designed to deliver robust trading signals, it’s important to maintain realistic expectations:
Performance: The indicator is based on solid technical analysis principles, but it cannot predict the future or guarantee success. It should be used as part of a comprehensive trading strategy that includes effective risk management.
Signal Reliability: The signals generated are based on historical data and trends. While they are designed to be consistent with market conditions, they cannot guarantee future outcomes. Always be prepared for unexpected market changes.
Market Conditions: Trend_Prime_Master excels in trending markets but, like any tool, its effectiveness may vary in choppy or highly volatile conditions. Adjusting the settings and strategy according to the market environment is recommended.
How to Get Access
To gain access to Trend_Prime_Master, please send me a direct message on TradingView or use the provided link to request access. Ensure that access requests are made privately so the comments section can remain focused on discussions related to the script’s performance and use.
Volume on levels @gauranshgVolume on Levels @gauranshg is a powerful Pine Script designed to visualize trading volume across price levels directly on the chart. This script allows users to observe volume intensity, offering a clearer perspective on price action and potential support/resistance areas. By utilizing a dynamic, customizable multiplier, the volume is normalized and displayed in proportion, ensuring better scalability across various timeframes and assets.
Usage:
Normalization of Volume: Users can input a multiplier to adjust the normalization of volume. This is useful when analyzing assets with differing price and volume ranges.
Input of 1 means 1 Million volume will be marked with green color of opacity 1 and 2 Million as 2 and so on. In case you are looking at chart with very high volume, you might want to increase the multiplies
Default multiplier is set to 1, and can be customized for different scales.
Volume Visualization: The volume is displayed on the chart as background boxes behind price levels, with the opacity of the boxes changing based on the normalized volume. This helps to quickly visualize areas of high and low trading activity.
This script is ideal for investors who wish to enhance their volume analysis by visualizing it directly on price levels in a clear, normalized format.
Bat Harmonic Pattern [TradingFinder] Bat Chart Indicator🔵 Introduction
The Bat Harmonic Pattern, created by Scott Carney in the 1990s, is a sophisticated tool in technical analysis, used to identify potential reversal points in price movements by leveraging Fibonacci ratios.
This pattern is classified into two primary types: the Bullish Bat Pattern, which signals the end of a downtrend and the beginning of an uptrend, and the Bearish Bat Pattern, which indicates the conclusion of an uptrend and the onset of a downtrend.
🟣 Bullish Bat Pattern
The Bullish Bat Pattern is designed to identify when a downtrend is likely to end and a new uptrend is about to begin. The key feature of this pattern is Point D, which typically aligns near the 88.6% Fibonacci retracement of the XA leg.
This point is considered a strong buy zone. When the price reaches Point D after a significant downtrend, it often indicates a potential reversal, presenting a buying opportunity for traders anticipating the start of an upward movement.
🟣 Bearish Bat Pattern
In contrast, the Bearish Bat Pattern forms when an uptrend is nearing its conclusion. Point D, which also typically aligns near the 88.6% Fibonacci retracement of the XA leg, serves as a critical point for traders.
This point is regarded as a strong sell zone, signaling that the uptrend may be ending, and a downtrend could be imminent. Traders often open short positions when they identify this pattern, aiming to capitalize on the anticipated downward movement.
🔵 How to Use
The Bat Pattern consists of five key points: X, A, B, C, and D, and four waves: XA, AB, BC, and CD. Fibonacci ratios play a crucial role in this pattern, helping traders pinpoint precise entry and exit points. In both the Bullish and Bearish Bat Patterns, the 88.6% retracement of the XA leg is a critical level for identifying potential reversal points.
🟣 Bullish Bat Pattern
Traders typically enter buy positions after Point D forms, expecting the downtrend to end and a new uptrend to start. This point, located near the 88.6% retracement of the XA leg, serves as a reliable buy signal.
🟣 Bearish Bat Pattern
Traders usually open short positions after identifying Point D, expecting the uptrend to end and a downtrend to begin. This point, also near the 88.6% retracement of the XA leg, acts as a valid sell signal.
🟣 Trading Tips for the Bat Pattern
Accurate Fibonacci Point Identification : Accurately identify Points X, A, B, C, and D, and calculate the Fibonacci ratios between these points. Point D should ideally be near the 88.6% retracement of the XA leg.
Signal Confirmation with Other Tools : To enhance the pattern's accuracy, avoid trading solely based on the Bat Pattern.
Risk Management : Always use stop-loss orders. In a Bullish Bat Pattern, place the stop-loss below Point X, and in a Bearish Bat Pattern, above Point X. This helps limit potential losses if the pattern fails.
Wait for Price Movement Confirmation : After identifying Point D, wait for the price to move in the anticipated direction to confirm the pattern's validity before entering a trade.
Set Realistic Profit Targets : Use Fibonacci retracement levels to set realistic profit targets, such as 38.2%, 50%, and 61.8% retracement levels of the CD leg. This strategy helps maximize profits and prevents premature exits.
🔵 Setting
🟣 Logical Setting
ZigZag Pivot Period : You can adjust the period so that the harmonic patterns are adjusted according to the pivot period you want. This factor is the most important parameter in pattern recognition.
Show Valid Forma t: If this parameter is on "On" mode, only patterns will be displayed that they have exact format and no noise can be seen in them. If "Off" is, the patterns displayed that maybe are noisy and do not exactly correspond to the original pattern.
Show Formation Last Pivot Confirm : if Turned on, you can see this ability of patterns when their last pivot is formed. If this feature is off, it will see the patterns as soon as they are formed. The advantage of this option being clear is less formation of fielded patterns, and it is accompanied by the latest pattern seeing and a sharp reduction in reward to risk.
Period of Formation Last Pivot : Using this parameter you can determine that the last pivot is based on Pivot period.
🟣 Genaral Setting
Show : Enter "On" to display the template and "Off" to not display the template.
Color : Enter the desired color to draw the pattern in this parameter.
LineWidth : You can enter the number 1 or numbers higher than one to adjust the thickness of the drawing lines. This number must be an integer and increases with increasing thickness.
LabelSize : You can adjust the size of the labels by using the "size.auto", "size.tiny", "size.smal", "size.normal", "size.large" or "size.huge" entries.
🟣 Alert Setting
Alert : On / Off
Message Frequency : This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone : The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🔵 Conclusion
The Bat Harmonic Pattern is a powerful tool in technical analysis, offering traders the ability to identify critical reversal points using Fibonacci ratios. By recognizing the Bullish and Bearish Bat Patterns, traders can anticipate potential trend reversals and make informed trading decisions.
However, it is essential to combine the Bat Pattern with other technical analysis tools and confirm signals for better trading outcomes. With proper use, this pattern can help traders minimize risk and optimize their entry and exit points in the market.
Landry Light with Moving AverageLandry Light with Moving Average
Overview:
This Pine Script, titled "Landry Light with Moving Average", visualizes the relationship between price action and a chosen moving average (MA) over time. It helps users easily identify periods where the price stays consistently above or below the moving average, which can be a useful indicator of bullish or bearish trends.
Key Features:
Moving Average Type Selection:
The script allows users to choose between two types of moving averages:
Exponential Moving Average (EMA)
Simple Moving Average (SMA)
This is done via a user input option, enabling traders to tailor the indicator to their preferred analysis method.
Moving Average Length:
Users can set the length of the moving average (default is 21 periods). This allows customization based on the trader's time frame, whether short-term or long-term analysis.
Dynamic Moving Average Color:
The moving average line changes color based on the relationship between the price and the MA:
Green: Price is consistently above the MA (bullish condition).
Red: Price is consistently below the MA (bearish condition).
Blue: Price is crossing or close to the MA (neutral or indecisive condition).
Cumulative Days Above/Below MA:
The script tracks and displays the number of consecutive days the price remains above or below the moving average:
Cumulative Days Above: Shown as a green histogram above the zero line.
Cumulative Days Below: Shown as a red histogram below the zero line.
This feature helps users identify sustained trends or potential reversals.
Real-time Labels:
The script generates dynamic labels that display the count of cumulative days the price has stayed above or below the moving average.
These labels are positioned near the moving average on the chart, providing an easy reference for traders.
How Users Can Benefit:
Trend Identification:
By visually representing how long the price stays above or below a key moving average, traders can identify strong bullish or bearish trends. This can inform entry and exit points.
Visualizing Market Sentiment:
The colored moving average line and histogram help traders quickly assess market sentiment. A prolonged green MA line suggests a strong uptrend, while a prolonged red line indicates a downtrend.
Adaptability:
With customizable moving average types and lengths, the indicator can be tailored to fit various trading strategies, whether for day trading, swing trading, or long-term investing.
Reversal Signals:
A shift from cumulative days above to cumulative days below (or vice versa) can serve as an early signal of a potential market reversal, allowing traders to adjust their positions accordingly.
Simplified Decision-Making:
The combination of visual cues (colors, histograms, and labels) simplifies decision-making, allowing traders to focus on trend strength rather than complex calculations.
Usage:
To use this script:
Add the Indicator to Your Chart:
Select the desired moving average type and length.
The script will plot the moving average, colored by the trend, and display cumulative days above or below it.
Interpret the Signals:
Use the histogram and labels to gauge the strength of the trend.
Monitor color changes in the moving average for potential trend reversals.
Incorporate into Your Strategy:
Combine this indicator with other tools (e.g., volume analysis, RSI) to confirm signals and refine your trading strategy.
This indicator is particularly useful for traders who follow the "Landry Light" concept, emphasizing the importance of price staying above or below a moving average to determine trend strength.
Swing Points [Syafiq.Jr]The Swing Points indicator by Syafiq.Jr is designed to identify and visualize pivotal market structures such as Higher Highs (HH), Lower Highs (LH), Lower Lows (LL), and Higher Lows (HL) directly on the chart. This tool is essential for traders who utilize swing trading strategies and rely on understanding market trends through key price levels.
Key Features:
Pivot Strength: Configurable pivot strength to customize the sensitivity of swing points.
Customizable Visuals: Users can adjust the colors and visibility of the zones for each swing point category (HH, LH, LL, HL) based on their preferences.
Multiple Timeframe Support: The indicator offers the flexibility to display swing points from the current timeframe or higher timeframes such as 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, and daily intervals.
Dynamic Extension Lines: Automatically extend key levels across the chart for ongoing reference.
Configurable Font Sizes: Adjust the font size for labels marking the swing points to ensure clear visualization.
This indicator is ideal for traders who need to spot and track critical swing points across different timeframes, enabling better decision-making in trending and ranging markets.
Uptrick: Logarithmic Crypto Bands
Description :
Introduction
The `Uptrick: Logarithmic Crypto Bands` indicator introduces an innovative approach to technical analysis tailored specifically for the cryptocurrency markets. By leveraging logarithmic transformations combined with dynamic exponential bands, this indicator offers a sophisticated method for identifying critical support and resistance levels, assessing market trends, and evaluating volatility. Its unique approach stands out from traditional indicators by addressing the specific challenges of high volatility and erratic price movements inherent in cryptocurrency trading.
Originality and Usefulness
** 1. Unique Logarithmic Transformation: **
- Innovation : Unlike traditional indicators that often use raw price data, the Uptrick: Logarithmic Crypto Bands applies a logarithmic transformation to the closing prices: logPrice = math.log(close). This approach is original because it reduces the impact of extreme price fluctuations, providing a smoother and more stable price series. This transformation addresses a common issue in cryptocurrency markets where large price swings can obscure true market trends.
- Advantage : The logarithmic transformation compresses the price range, which allows traders to better identify long-term trends and reduce the noise caused by outlier price movements. This results in a more reliable basis for analysis and enhances the ability to detect meaningful market patterns.
**2. Dynamic Exponential Bands :**
- Innovation : The indicator employs exponential calculations to derive dynamic support and resistance levels based on a central base line : baseLine * math.pow(multiplier, n). Unlike static bands that remain fixed regardless of market conditions, these bands adjust dynamically according to market volatility.
- Advantage : The dynamic nature of the bands provides a more responsive and adaptive tool for traders. As market volatility changes, the bands widen or narrow accordingly, offering a more accurate reflection of potential support and resistance levels. This adaptability improves the tool's effectiveness in varying market conditions compared to static or traditional bands.
Detailed Description and Substantiation
**1. Logarithmic Price Calculation :**
- Code : ` logPrice = math.log(close)
- Description : This calculation converts the closing price into its logarithmic value. By compressing the price range, it minimizes the distortion caused by extreme price movements, which can be particularly pronounced in the volatile cryptocurrency markets.
- Purpose : To provide a stabilized price series that facilitates more accurate trend analysis and reduces the influence of erratic price fluctuations.
**2. Moving Averages of Logarithmic Prices :**
- ** Long-Term Moving Average :**
- Code : maLongLogPrice = ta.sma(logPrice, longLength)
longLength = 2000
- ** Description : A simple moving average of the logarithmic price over a long period. This average helps filter out short-term noise and provides insight into the long-term market trend.
- Purpose : To offer a perspective on the overall market direction, making it easier to identify enduring trends and distinguish them from short-term price movements.
- Short-Term Moving Average :
- Code : maShortLogPrice = ta.sma(logPrice, shortLength) shortLength = 900
- Description : A simple moving average of the logarithmic price over a shorter period. This component captures more immediate price trends and potential reversal points.
- Purpose : To detect short-term trends and changes in market direction, allowing traders to make timely trading decisions based on recent price action.
**3. Base Line Calculation :**
- Code : baseLine = math.exp(maShortLogPrice)
- Description : Converts the short-term moving average of the logarithmic price back to the original price scale. This base line serves as the central reference point for calculating the surrounding bands.
- Purpose : To establish a benchmark level from which the exponential bands are calculated, providing a central reference for assessing potential support and resistance levels.
**4. Band Calculation and Plotting :**
- ** Code :**
- Band 1: plot(baseLine * math.pow(multiplier, 1), color=color.new(color.yellow, 20), linewidth=1, title="Band 1")
- Band 2: plot(baseLine * math.pow(multiplier, 2), color=color.new(color.yellow, 20), linewidth=1, title="Band 2")
- Band 3: plot(baseLine * math.pow(multiplier, 3), color=color.new(color.yellow, 20), linewidth=1, title="Band 3")
- Band 4: plot(baseLine * math.pow(multiplier, 4), color=color.new(color.yellow, 20), linewidth=1, title="Band 4")
- Band 5: plot(baseLine * math.pow(multiplier, 5), color=color.new(color.yellow, 10), linewidth=1, title="Band 5")
- Band 6: plot(baseLine * math.pow(multiplier, 6), color=color.new(color.yellow, 0), linewidth=1, title="Band 6")
- * Multiplier : Set at 1.3, adjusts the spacing between bands to accommodate varying levels of market volatility.
- Description : Bands are plotted at exponential intervals from the base line. Each band represents a potential support or resistance level, with the spacing between them increasing exponentially. The color opacity of each band indicates its level of significance, with closer bands being more relevant for immediate trading decisions.
** How to Use the Indicator :**
**1. Identifying Support and Resistance Levels :**
- Support Levels : The lower bands, closer to the base line, can act as potential support levels. When the price approaches these bands from above, they may indicate areas where the price could stabilize or reverse direction.
- Resistance Levels : The upper bands, further from the base line, serve as resistance levels. When the price nears these bands from below, they can act as barriers to price movement, potentially leading to reversals or stalls.
**2. Confirming Trends :**
- Uptrend Confirmation : When the price consistently remains above the base line and moves towards higher bands, it signals a strong bullish trend. This confirmation helps traders capitalize on upward price movements.
- Downtrend Confirmation : When the price stays below the base line and approaches lower bands, it indicates a bearish trend. This confirmation assists traders in acting on downward price movements.
3. Analyzing Volatility :
- Wide Bands : Wider spacing between bands reflects higher market volatility. This indicates a more turbulent trading environment, where price movements are less predictable. Traders may need to adjust their strategies to handle increased volatility.
- Narrow Bands : Narrower bands suggest lower volatility and a more stable market environment. This can result in more predictable price movements and clearer trading signals.
**4. Entry and Exit Points :**
- Entry Points : Consider buying when the price bounces off the base line or a band, which could signal support in an uptrend.
- Exit Points : Evaluate selling or taking profits when the price nears upper bands or shows signs of reversal at these levels. This approach helps in locking in gains or minimizing losses during a downtrend.
**Chart Example:**
Here you can see how the price reacted getting closer to this level. All green circles show a bounce-off. So just from looking at the chart we can see a potential bounce again pretty soon.
** Disclosure :**
- ** Performance Claims :** The `Uptrick: Logarithmic Crypto Bands` indicator is designed to assist traders in analyzing price levels and trends. It is important to understand that this tool provides historical data analysis and does not guarantee future performance. The features and benefits described are based on historical market behavior and should not be seen as a prediction of future results. Traders should use this indicator as part of a broader trading strategy and consider other factors before making trading decisions.
AutoPilot | FractalystWhat’s the purpose of this indicator?
The AutoPilot indicator automates the management of your active trades by:
Breaks Even: Moves the stop-loss to the entry price once the trade reaches a 1:1 risk-reward ratio.
Closes Trades: Automatically exits trades when trailing stop-losses are triggered.
This automation is facilitated through PineConnector and TradingView webhook integration, allowing traders to manage multiple positions across various markets effortlessly without any manual intervention.
----
How does this indicator trail stop-loss using market structure?
The AutoPilot indicator utilizes an advanced market structure trailing stop-loss mechanism to manage trades based on market dynamics and probabilities.
Here's how it works:
Market Structure Identification: The indicator first identifies key market structures such as higher highs, lower lows.
These structures are pivotal points where the market has shown a change in direction or momentum.
Probability-Based Trailing: Once a trade is active, the stop-loss isn't just set at a fixed distance or percentage but is dynamically adjusted based on the probability of the market structure holding or breaking.
This involves:
Trend Continuation Probability: If the market structure suggests a strong trend continuation (e.g., a series of higher highs in an uptrend), the stop-loss might trail closer to the price, but with a buffer calculated by the probability of the trend continuing versus reversing.
Reversal Probability: Conversely, if there's a high probability of a trend reversal based on recent market structures (like a significant lower high in an uptrend), the stop-loss might be adjusted to a point where the market structure would need to break to confirm the reversal, thus protecting potential profits or minimizing losses.
Dynamic Adjustment: The trailing stop-loss adjusts in real-time as new market structures form. For instance, if a new higher high is formed in an uptrend, the stop-loss might move up but not necessarily to the exact previous swing low. Instead, it's placed at a level where the probability of the next swing low not breaking this level is high, based on historical price action.
Risk Management: By using market structure and probabilities, the indicator aims to balance between giving the trade room to breathe (allowing for normal market fluctuations) and tightening the stop-loss when the market behavior suggests a potential trend change or continuation with high confidence.
This approach ensures that the stop-loss isn't just a static or simple trailing mechanism but a sophisticated tool that adapts to the evolving market conditions, aiming to maximize profit while minimizing the risk of being stopped out prematurely due to market noise.
----
How are the probabilities calculated? What are the underlying calculations?
The probability is designed to enhance trade management by using buyside liquidity and probability analysis to filter out low/high probability conditions.
This helps in identifying optimal trailing points where the likelihood of a price continuation is higher.
Calculations:
1. Understanding Swing highs and Swing Lows
Swing High: A Swing High is formed when there is a high with 2 lower highs to the left and right.
Swing Low: A Swing Low is formed when there is a low with 2 higher lows to the left and right.
2. Understanding the purpose and the underlying calculations behind Buyside, Sellside and Equilibrium levels.
3. Understanding probability calculations
1. Upon the formation of a new range, the script waits for the price to reach and tap into equilibrium or the 50% level. Status: "⏸" - Inactive
2. Once equilibrium is tapped into, the equilibrium status becomes activated and it waits for either liquidity side to be hit. Status: "▶" - Active
3. If the buyside liquidity is hit, the script adds to the count of successful buyside liquidity occurrences. Similarly, if the sellside is tapped, it records successful sellside liquidity occurrences.
5. Finally, the number of successful occurrences for each side is divided by the overall count individually to calculate the range probabilities.
Note: The calculations are performed independently for each directional range. A range is considered bearish if the previous breakout was through a sellside liquidity. Conversely, a range is considered bullish if the most recent breakout was through a buyside liquidity.
----
What does the automation table display?
The automation table in the AutoPilot indicator provides a summary of user-defined settings crucial for automated trade management through PineConnector and TradingView integration. It displays:
PineConnector License ID: This ensures that the indicator is linked to your specific PineConnector account, allowing for personalized and secure automation of your trades.
Order Type (Buy/Sell): Indicates whether the automation is set for buying or selling, which is essential for correctly executing your trading strategy.
Chosen Symbol: Specifies the trading pair or symbol in your broker's platform where the trade management commands (like closing orders) will be executed. This ensures that the automation targets the correct market or asset.
Risk Per Trade: Shows the percentage or amount of your capital you're willing to risk on each trade, helping you maintain consistent risk management across different trades.
Comment: A field for you to input notes or identifiers, particularly useful when trading across multiple markets or instruments. This helps in tracking and managing trades across different assets or strategies.
Comment: A field for you to input identifiers, particularly useful when trading across multiple timeframes or different enries.
Allowing users to manage specific comments for each previously taken entry, facilitating precise management of multiple trades with unique identifiers.
This table serves as a quick reference for your current settings, ensuring you're always aware of how your trades are being managed automatically before any adjustments are made or alerts are triggered.
----
How to use the indicator?
To use the AutoPilot indicator:
Purchase a License ID: Acquire a license ID from PineConnector.
Setup PineConnector EA: Install and configure the PineConnector Expert Advisor on your MetaTrader platform.
Input Settings: Enter your PineConnector license ID, choose the order type, set your risk per trade, add the order comment, and select the trading symbol in the indicator's settings.
Create Alert: Right-click on the automation table, and set up an alert with the provided webhook to connect with PineConnector.
Automatic Management: Once set, your active trades will be automatically managed according to the alert conditions you've set.
This setup ensures your trades are managed seamlessly without constant manual intervention.
----
What makes this indicator original?
Integration with PineConnector: The AutoPilot indicator's originality lies in its integration with PineConnector, which allows for real-time trade management directly from TradingView to your MetaTrader platform. This setup is unique as it combines the analytical capabilities of TradingView with the execution capabilities of MetaTrader through a custom indicator, providing a seamless bridge between analysis and action.
Market Structure-Based Trailing Stop-Loss: Unlike many indicators that might use fixed percentages or ATR (Average True Range) for stop-loss adjustments, the AutoPilot indicator uses market structure (higher highs, lower lows) to dynamically adjust the stop-loss.
Probability-Based Adjustments: The indicator doesn't just trail stop-losses based on price but incorporates the probability of market structure holding or breaking. This probability-based trailing mechanism is innovative, aiming to balance between giving trades room to breathe and tightening when market behavior suggests a potential reversal or continuation.
Customizable Automation Table: The automation table within the indicator allows for detailed customization, including setting specific comments for trades. This feature, while perhaps not unique in concept, is original in its implementation within trading indicators, providing users with a high degree of control and personalization over trade management.
Real-Time Trade Management Alerts: The ability to set up alerts directly from the indicator to manage trades in real-time via webhooks to PineConnector adds a layer of automation that's not commonly found in standard trading indicators. This real-time connection for trade management enhances its originality by reducing the lag between analysis and trade execution.
User-Centric Design: The design of the AutoPilot indicator focuses heavily on user interaction, allowing for inputs like risk per trade, specific order types, and comments. This user-centric approach, where the indicator adapts to the trader's strategy rather than the trader adapting to the tool, sets it apart.
External Integration for Enhanced Functionality: By leveraging external services like PineConnector for execution, the indicator extends its functionality beyond what's typically possible within TradingView alone, making it original in its ecosystem integration for trading purposes.
Practical Implication: This means if you're in a trade and the market structure suggests the trend is continuing (e.g., making higher highs in an uptrend), your stop-loss might trail closer to the price but not too close to avoid being stopped out by normal fluctuations. If the structure breaks (e.g., a lower high in an uptrend), the stop-loss could adjust more aggressively to protect profits or minimize losses, anticipating a potential trend change.
This combination of features creates an original tool that not only analyzes market conditions but actively manages trades based on sophisticated market structure analysis.
----
User-input settings and customizations
----
Terms and Conditions | Disclaimer
Our charting tools are provided for informational and educational purposes only and should not be construed as financial, investment, or trading advice. They are not intended to forecast market movements or offer specific recommendations. Users should understand that past performance does not guarantee future results and should not base financial decisions solely on historical data. By utilizing our charting tools, the buyer acknowledges that neither the seller nor the creator assumes responsibility for decisions made using the information provided. The buyer assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses. Therefore, by purchasing these charting tools, the customer acknowledges that neither the seller nor the creator is liable for any unfavorable outcomes resulting from the development, sale, or use of the products.
The buyer is responsible for canceling their subscription if they no longer wish to continue at the full retail price. Our policy does not include reimbursement, refunds, or chargebacks once the Terms and Conditions are accepted before purchase.
By continuing to use our charting tools, the user acknowledges and accepts the Terms and Conditions outlined in this legal disclaimer.
Multi Adaptive Moving Average (MAMA)The Multi Adaptive Moving Average (MAMA) indicator is an advanced tool for technical analysis, designed to provide traders with a detailed understanding of market trends and potential future price movements. This indicator utilizes multiple Simple Moving Averages (SMAs) and forecasting techniques to enhance decision-making processes.
Simple Moving Averages (SMAs):
Short MA (20-period): This moving average is highly responsive to price changes, making it ideal for capturing short-term trends. It helps traders identify quick market shifts and potential entry or exit points.
Mid MA (50-period): This average strikes a balance between short- and long-term trends, offering insights into the market's intermediate direction. It aids in confirming the sustainability of short-term trends.
Long MA (100-period): By smoothing out price data over a longer period, this moving average is useful for identifying long-term trends and filtering out short-term volatility.
Very Long MA (200-period): Often considered a critical indicator for determining the overall market trend, this average helps confirm the direction and strength of long-term movements.
Forecasting:
Flat Forecast: This approach assumes that prices will remain constant in the near future, which is particularly useful in markets trading sideways without a clear trend direction.
Linear Regression Forecast: This method uses historical data to project future price movements, offering a dynamic forecast based on existing trends. It helps traders anticipate potential price changes and plan their strategies accordingly.
Advantages:
Comprehensive Trend Analysis: By incorporating four different SMAs, the indicator provides a layered view of market trends across various timeframes. This enables traders to identify potential trend reversals and continuations with greater accuracy.
Predictive Insights: The forecasting feature offers traders a forward-looking perspective, enabling them to anticipate market movements and adjust their trading strategies proactively. This can be especially advantageous in volatile markets.
Customization: The MAMA indicator is highly customizable, allowing traders to adjust parameters such as the source of price data and the inclusion of the current unclosed candle. This flexibility ensures that the indicator can be tailored to fit different trading styles and market conditions.
Visual Clarity: The use of distinct colors for each SMA and their forecasts enhances visual interpretation, making it easier for traders to quickly assess market conditions and make informed decisions. The inclusion of a legend further aids in distinguishing between the different moving averages and their respective forecasts.
How to Use:
Trend Confirmation: Use the alignment of the SMAs to confirm market trends. For example, when the Short MA crosses above the Mid and Long MAs, it may indicate a bullish trend, while the opposite could suggest a bearish trend.
Entry and Exit Points: Look for crossovers between the SMAs as potential signals for entering or exiting trades. The forecasts can help in timing these decisions by providing an expectation of future price movements.
Risk Management: Utilize the Very Long MA to set stop-loss and take-profit levels, as it reflects the long-term trend and can help in avoiding trades against the prevailing market direction.
The MAMA indicator is intended to support technical analysis and should not be used as the sole basis for making trading decisions. Financial markets are inherently uncertain, and past performance does not guarantee future results. Traders should use this tool in conjunction with other analytical methods and consider their risk tolerance and investment objectives. It is advisable to conduct thorough research and consult with a financial advisor before making significant trading decisions. Always be aware of the risks involved in trading and invest only what you can afford to lose.
Institutional Demand Supply IndicatorINTRODUCTION
Institutional demand and supply zones are key areas on a price chart where large institutional traders, such as banks and hedge funds, place significant buy or sell orders. These zones often act as strong support or resistance levels due to the substantial volume of trades executed by institutions.
There are various ways to identify these areas of interest on the charts, but the main goal is to study the price movements, especially significant ones. Large financial entities tend to operate in the same price areas repeatedly. Instead of chasing price movements and risking counter moves, it's better to wait for the price to return to these areas, expecting that these entities will buy or sell there again.
INDICATOR SETTINGS:
1. High Probability Zones (HPZ) - High Probability Zones (HPZ) are demand and supply zones identified using advanced calculations to highlight the most relevant and significant areas. These zones have a higher probability of impacting price movements. Better to keep it turned On.
2. Zone Extension? - Extending zones can be useful for identifying areas that have already been retraced as these zones may continue to influence market dynamics despite the retracement.
3. Zone Type - This option lets you select the zone layout type. 4 options are given which are self explanatory.
4. Directional Candle Count - This option keeps a count of number of consecutive bullish / bearish candle that you would like to set as qualifying parameter for demand / supply zone. For Example - If you keep the number 1, the script will draw a demand or supply zone by just checking if 1 candle has met all the criteria's and calculations.
5. Zone Validity Percentage - You can set the percent change for the number of candles mentioned in point 4 above.
6. HPZ - Keep the number between 6 to 10. As you move the number up, less number of zones will be displayed.
7. Zone Count - You can adjust the number of visible demand and supply zones on the chart. Increase this number if you want to display more zones, or decrease it if the chart becomes too cluttered.
D I S P L A Y
1. Background Color Demand / Supply Zone - This is the background color of demand and supply zone.
2. Channel Color Demand / Supply Zone - This is the color of channel.
3. Channel Line Style - Choose between Solid, dotted or dashed.
4. Background Color Transparency - Choose the transparency of background color
5. Channel Line Width - Choose Channel line width between 1 to 4.
6. Channel Line Transparency - Choose Channel Line Transparency and keep it between 1 to 100.
Sometimes, a level may be breached on one timeframe, but that doesn’t mean the indicator is not working. To understand the price action better, switch to a different timeframe to check why that level was breached and why it found support at a different zone on another timeframe. Look at the 2 screenshots below.
Ultra High/LowThe Ultra High/Low script helps traders track key price levels by automatically marking significant highs and lows on a chart, highlighting potential reversal points for future trading decisions.
Introduction
The Ultra High/Low script identifies and marks significant highs and lows on a trading chart. These are specific points where the price reached a peak or bottomed out before reversing. The script draws lines at these levels, which can be extended, and it also labels the exact price at these points. This makes it easy for traders to see where the price has changed direction previously, helping them make more informed trading decisions.
Detailed Description
In more detail, the Ultra High/Low script is designed using Pine Script™, a programming language used for creating custom indicators and strategies on the TradingView platform. Here's how it works:
..........
Detection of Pivot Highs and Lows
The script identifies "pivot highs" and "pivot lows." These are points on the chart where the price reached a local maximum or minimum, surrounded by lower highs (for pivot highs) or higher lows (for pivot lows).
The user can customize how many bars to the left and right of the high or low the script should consider to confirm a pivot (Length argument in the settings).
The script uses Pine Script functions for pivot detection. ta.pivothigh() and ta.pivotlow() .
......
Drawing Lines and Labels
Once a pivot is identified, the script draws a dashed line from the pivot point to the current price bar. This line helps visualize where significant price reversals have occurred.
The script also adds a label next to these lines showing the exact price of the pivot point. This label also shows "PDH" (Previous Day High) or "PDL" (Previous Day Low) if the pivot is PDH or PDL. Same for "PWH" (Previous Week High) and "PWL" (Previous Week Low).
......
Purging and Extending Lines
If the price crosses a pivot line after it has been drawn, the script can either delete the old line (purged line) or keep it and add additional indicators to show that the line has been liquidated.
The script also has options to extend the lines into the right.
......
Custom Inputs
The script offers several customizable options, like the color of the lines and labels, whether to show the exact price or not, and whether to extend the lines. This allows traders to tailor the indicator to their specific needs and preferences.
..........
Overall, the Ultra High/Low script is a powerful visual aid for identifying critical price levels that may influence future price movements, making it easier for traders to make decisions based on historical price behavior.
Dow Theory based Strategy (Markttechnik)What makes this script unique?
calculates two trends at the same time: a big one for the overall strong trend - and a small one to trigger a trade after a small correction within the big trend
only if both trends (the small and the big trend) are in an uptrend, a buy signal is created: this prevents a buy signal from being generated in a falling market just because an upward movement begins in a small trend
the exit strategy can be configured very flexibly and individually: use the last low as stop loss and automatically switch to a trialing stop loss as soon as the take profit is reached (instead of finishing the trade)
the take profit strategy can also be configured - e.g. use the last high, a fixed percentage or a combination of it
plots each trade in detail on the chart - e.g. inner candles or the exact progression of the stop loss over the entire duration of the trade to allow you to analyze each trade precisely
What does the script do and how?
In this strategy an intact upward trend is characterized by higher highs and lower lows only if the big trend and the small trend are in an upward trend at the same time.
The following describes how the script calculates a buy signal. Every step is drawn to the chart immediately - see example chart above:
1. the stock rises in the big trend - i.e. in a longer time frame
2. a correction takes place (the share price falls) - but does not create a new low
3. the stock rises again in the big trend and creates a new high
From now on, the big trend is in an intact upward trend (until it falls below its last low).
This is drawn to the chart as 3 bold green zigzag lines.
But we do not buy right now! Instead, we want to wait for a correction in the big trend and for the start of a small upward trend.
4. a correction takes place (not below the low from 2.)
Now, the script also starts to calculate the small trend:
5. the stock rises in the small trend - i.e. in a shorter time frame
6. a small correction takes place (not below the low from 4.)
7. the stock rises above the high from 5.: a new high in the shorter time frame
Now, both trends are in an intact upward trend.
A buy signal is created and both the minor and major trend are colored green on the chart.
Now, the trade is active and:
the stop loss is calculated and drawn for each candle
the take profit is calculated and drawn to the chart
as soon as the price reaches the take profit or the stop loss, the trade is closed
Features and functionalities
Uptrend : An intact upward trend is characterized by higher highs and lower lows. Uptrends are shown in green on the chart.
The beginning of an uptrend is numbered 1, each subsequent high is numbered 2, and each low is numbered 3.
Downtrend: An intact downtrend is characterized by lower highs and lower lows. Downtrends are displayed in red on the chart.
Note that our indicator does not show the numbering of the points of the downtrend.
Trendless phases: If there is no intact trend, we are in a trendless phase. Trendless phases are shown in blue on the chart.
This occurs after an uptrend, when a lower low or a lower high is formed. Or after a downtrend, when a higher low or a higher high is formed.
Buy signals
A buy signal is generated as soon as a new upward trend has been formed or a new high has been established in an intact upward trend.
But even before a buy signal is generated, this strategy anticipates a possible emerging trend and draws the next possible trading opportunity to the chart.
In addition to the (not yet reached) buy price, the risk-reward ratio, the StopLoss and the TakeProfit price is shown.
With this information, you can already enter a StopBuy order, which is thus triggered directly with the then created buy signal.
You can configure, if a buy signal shall be created while the big trend is an uptrend, a downtrend and/or trendless.
Exit strategy
With this strategy, you have multiple possibilities to close your position. All of them can be configured within the settings. In general, you can combine a take profit strategy with a stop loss strategy.
The take profit price will be calculated once for each trade. It will be drawn to the chart for active trade.
Depending on your configuration, this can be the last high (which is often a resistance level), a fixed percentage added to the buy price or the maximum of both.
You can also configure that a trailing stop loss is used as soon as the take profit price is reached once.
The stop loss gets recalculated with each candle and is displayed and plotted for each active and finished trade. With this, you can easily check how the stop loss changed during your trades.
The stop loss can be configured flexibly:
Use the classic "trailing stop loss" that follows the price from below.
Set the stop loss to the last low and tighten it every time the small trend marks a new local low.
Confiure that the stop loss is tightened as soon as the break even is reached. Nothing is more annoying than a trade turning from a win to a loss.
Ignore inside candles (see description below) and relax the stop loss to use the outside candle for its calculation.
Inner candles
Inner candles are created when the candle body is within the maximum values of a previous candle (the outer candle). There can be any number of consecutive inner candles. As soon as you have activated the "Check inner candles" setting, all consecutive inner candles will be highlighted in yellow on the chart.
Prices during an inner candle scenario might be irrelevant for trading and can be interpreted as fluctuations within the outside candle. For this reason, the trailing stop loss should not be aligned with inner candles. Therefore, as soon as an inner candle occurs, the stop loss is reset and the low at the time of the outside candle is used as the calculation for the trailing stop loss. This will all be plotted for you on the chart.
Display of the trades:
All active and closed trades of the last 5 years are displayed in the chart with buy signal, sell, stop loss history, inside candles and statistics.
Backtesting:
The strategy can be simulated for each stock over the period of the last 5 years. Each individual trade is recorded and can be traced and analyzed in the chart including stop loss history. Detailed evaluations and statistics are available to evaluate the performance of the strategy.
Additional Statistics
This strategy immediately displays a statistic table to the chart area giving you an overview of its performance over the last years for the given chart.
This includes:
The total win/loss in $ and %
The win/loss per year in %
The active investment time in days and % (e.g. invested 10 of 100 trading days -> 10%)
The total win/loss in %, extrapolated to 100% equity usage: Only with this value can strategies really be compared. Because you are not invested between the trades and could invest in other stocks during this time. This value indicates how much profit you would have made if you had been invested 100% of the time - or to put it another way - if you had been invested 100% of the time in stocks with exactly the same performance. Let's say you had only one trade in the last 5 years that lasted, say, only one month and made 5% profit. This would be significantly better than a strategy with which you were invested for, say, 5 years and made 10% profit.
The total profit/loss per year in %, extrapolated to 100% equity usage
Notifications (alerts):
Get alerted before a new buy signal emerges to create an order if necessary and not miss a trade. You can also be notified when the stop loss needs to be adjusted. The notification can be done in different ways, e.g. by Mail, PopUp or App-Notification. This saves them the annoying, time-consuming and error-prone "click through" all the charts.
Settings: Display Settings
With these settings, you have the possibility to:
Show the small or the big trend as a background color
Configure if the numbers (1-2-3-2-3) shall be shown at all or only for the small, the big trend or both
Settings: Trend calculation - fine tuning
Drawing trend lines on a chart is not an exact science. Some highs and lows are not very clear or significant. And so it will always happen that 2 different people would draw different trendlines for the same chart. Unfortunately, there is no exact "right" or "wrong" here.
With the options under "Trend Calculation - Fine Tuning" you have the possibility to influence the drawing in of trends and to adapt it to your personal taste.
Small Trend, Big Trend : With these settings you can influence how significant a high or low has to be to recognize them as an independent high or low. The larger the values, the more significant a high or low must be to be recognized as such.
High and low recognition : With this setting you can influence when two adjacent, almost identical highs or lows should be recognized as independent highs or lows. The higher the value, the more different "similar" highs or lows must be in order to be recognized as such.
Which default settings were selected and why
Show Trades: true - its often useful to see all recent trades in the chart
Time Frame: 1 day - most common time frame (except for day traders)
Take Profit: combined 10% - the last high is taken as take profit because the trend often changes there, but only if there is at least 10% profit to ensure we do not risk money for a tiny profit
Stop Loss: combined - the last low is used as stop loss because the trend would break there and switch to a trailing stop loss as soon as our take profit is reached to let our profits run without risking them anymore
Stop Loss distance: 3% - we are giving the price 3% air (below the last low) to avoid being stopped out due to a short price drop
Trailing Stop Loss: 2% - we have to give the stop loss some room to avoid being stopped out prematurely; this is a value that is well balanced between a certain downside distance and the profit-taking ratio
Set Stop Loss to break even: true, 2% - once we reached the break even, it is a common practice to not risk our money anymore, the value is set to the same value as the trailing stop loss
Trade Filter: Uptrend - we only start trades if the big trend is an uptrend in the expectation that it will continue after a small correction
Display settings: those will not influence the trades, feel free to change them to your needs
Trend calculation - Fine Tuning: 1/1,5/0,05; influences the internal calculation for highs and lows and how significant they need to be to be considered a new high or low; the default values will provide you nicely calculated trends in the daily time frame; if there are too many or too few lows and highs according to your taste, feel free to play around and immediately see the result drawn to the chart; read the manual for a detailed description of this values
Note that you can (and should) configure the general trading properties like your initial capital, order size, slippage and commission.