Weierstrass Function (Fractal Cycles)THE WEIERSTRASS FUNCTION
f(x) = ∑(n=0)^∞ a^n * cos(b^n * π * x)
The Weierstrass Function is the sum of an infinite series of cosine functions, each with increasing frequency and decreasing amplitude. This creates powerful multi-scale oscillations within the range ⬍(-2;+2), resembling a system of self-repetitive patterns. You can zoom into any part of the output and observe similar proportions, mimicking the hidden order behind the irregularity and unpredictability of financial markets.
IT DOESN’T RELY ON ANY MARKET DATA, AS THE OUTPUT IS BASED PURELY ON A MATHEMATICAL FORMULA!
This script does not provide direct buy or sell signals and should be used as a tool for analyzing the market behavior through fractal geometry. The function is often used to model complex, chaotic systems, including natural phenomena and financial markets.
APPLICATIONS:
Timing Aspect: Identifies the phases of market cycles, helping to keep awareness of frequency of turning points
Price-Modeling features: The Amplitude, frequency, and scaling settings allow the indicator to simulate the trends and oscillations. Its nowhere-differentiable nature aligns with the market's inherent uncertainty. The fractured oscillations resemble sharp jumps, noise, and dips found in volatile markets.
SETTINGS
Amplitude Factor (a): Controls the size of each wave. A higher value makes the waves larger.
Frequency Factor (b): Determines how fast the waves oscillate. A higher value creates more frequent waves.
Ability to Invert the output: Just like any cosine function it starts its journey with a decline, which is not distinctive to the behavior of most assets. The default setting is in "inverted mode".
Scale Factor: Adjusts the speed at which the oscillations grow over time.
Number of Terms (n_terms): Increases the number of waves. More terms add complexity to the pattern.
WAVE-B
FloWave Oscillator [StabTrading]The FloWave Oscillator is a powerful trading tool designed to identify market trends and reversals by analysing reversal zones based on momentum and fear algorithms.
Serving as the first stage in a comprehensive trading system, it is intentionally straightforward, allowing traders to clearly see potential entry points across all charts and timeframes.
By inputting their own market sentiment, traders can customize the algorithm to align with their trading style. This flexibility helps traders navigate complex market environments with greater precision, whether they are seeking to capitalize on short-term opportunities or ride longer-term trends.
💡 Features
Reversal Zones - The FloWave Oscillator identifies key reversal zones driven by momentum and fear dynamics. Lighter green zones signal the initial stages of a potential reversal, while darker green zones indicate that a trend flip is imminent.
Trading Style Customization - The indicator allows traders to adjust their trading style with sensitivity settings ranging from Very Aggressive to Very Conservative. This flexibility lets traders tailor the indicator to their preferred time horizon—whether they seek to scalp short-term opportunities or capture long-term reversals.
🔥 Sensitivity Settings
Very Aggressive/Aggressive - These settings increase the indicator's sensitivity, generating more frequent signals, ideal for traders focused on short-term gains or those navigating choppy markets.
Neutral - Offers a balanced approach, combining both aggressive and conservative elements. It's a starting point for traders to evaluate performance before adjusting to more specific styles.
Conservative/Very Conservative - These settings reduce signal frequency, focusing on stronger, more reliable reversals. Best suited for long-term traders aiming to minimize risk and avoid premature market entries or exits.
🛠️ Usage/Practice
In the above example we’ll analysis how the indicator accurately predicts both the tops and bottoms of a market cycle.
Top of the Bull Market - The trendline initially shows two light red reversal zones, signalling a potential weakening in the upward momentum. As the trend progresses, a dark red zone emerges, confirming that a more substantial trend reversal to the downside is likely. This sequence provides an early warning, allowing traders to prepare for a possible market shift.
First Bull Signal - In the following phase, the indicator mirrors the previous action but in the opposite direction, identifying a reversal towards the upside. This behaviour demonstrates the indicator's ability to adapt to changing market conditions.
Bottom of the Bear Market - As the market continues its downward trajectory, the indicator presents two dark green reversal zones, highlighting areas where the selling pressure may be easing. These dark green zones offer three distinct opportunities to dollar-cost average (DCA) into the asset, allowing traders to build or enhance their positions during the end of the bear cycle. The indicator’s sensitivity in this phase ensures that traders can navigate the bearish market with confidence.
Continuation of Bull Cycle - In this segment, the indicator does not display any dark green reversal zones, implying that the uptrend remains robust. The absence of these zones suggests that the upward momentum is likely to continue, providing traders with another opportunity to add to their long positions. This scenario underscores the indicator’s capacity to identify when a trend is strong enough to warrant additional investment.
Potential Correction in an Uptrend - A light red zone appears, signalling a possible correction within the ongoing uptrend. However, the absence of a dark red zone indicates that the correction may be minor and that the overall trend is still upward. Traders might view this as a conservative point to take some profits off the table, managing risk while staying aligned with the broader bull market.
Bearish Signal - Eventually, a dark red reversal zone emerges, indicating that the trend has lost its upward momentum. This signal serves as a strong indicator that the uptrend may be concluding, prompting traders to consider exiting their positions or taking a more defensive stance. As the market enters a sideways phase, the trader can switch to a more aggressive trading style, seeking opportunities to scalp within the range while navigating the flat market conditions.
In this example, we demonstrate how to identify scalp trading opportunities by combining the Very Conservative and Very Aggressive settings. The key strategy is to use the Very Conservative trend to confirm the validity of reversal zones identified by the Very Aggressive setting.
The VC trend doesn’t indicate a buy reversal zone, but it shows an upward divergence. This suggests that the reversal buy zone on the VA chart is a potential entry point due to the supportive VC trend.
Multiple sell zones appear on the VA chart, but the VC trend shows a strong and steady uptrend. This suggests that we should wait for confirmation from the VC trend before considering a sell position, as the market is still moving upward strongly.
The VA chart shows several buy zones, but the VC trend indicates a strong downtrend, and no buy zone appears on the conservative setting. This suggests waiting for the next VA buy zone, confirmed by an upward divergence on the VC trend, before entering a trade.
Similar to Point 3 but in the opposite direction, the VA chart shows sell zones, but the VC trend indicates caution. The strategy would be to wait for confirmation from the VC trend before making a move.
🔶Conclusion
When used in conjunction with other indicators like the MeanRevert Matrix, the FloWave Oscillator becomes an integral part of a comprehensive trading system. It helps traders make informed decisions by providing clear signals that are aligned with the current market sentiment and broader economic trends. By following the implementation guidelines and adjusting the indicator settings as market conditions change, traders can effectively enhance their trading performance.
Harmonic, wave and Fibonacci [Hunter Algo]This Pine Script indicator is designed to identify various harmonic patterns, wave formations, and Fibonacci retracements directly on your TradingView charts. The script offers a comprehensive toolset for traders who use technical analysis to spot potential market reversals and continuation patterns.
Key Features:
Harmonic Pattern Detection: Automatically identifies and labels popular harmonic patterns like Bat, Gartley, Butterfly, Crab, Shark, and many more.
Fibonacci Levels: Displays key Fibonacci retracement levels, including 0.236, 0.382, 0.500, 0.618, 0.764, and 1.000, providing critical levels for entry, exit, and stop-loss placement.
Heiken Ashi Option: Option to use Heiken Ashi candles for pattern detection, providing smoother price action analysis.
Alternate Timeframe Support: Analyze patterns on different timeframes by enabling the alternate timeframe feature.
Customizable Display: Choose which patterns and Fibonacci levels to display, allowing you to focus on the most relevant data for your trading strategy.
This script is highly versatile, making it suitable for both novice and experienced traders looking to enhance their chart analysis with automated pattern recognition.
Wolfe Wave Detector [LuxAlgo]The Wolfe Wave Detector displays occurrences of Wolfe Waves, alongside a target line. A multiple swing detection approach is used to maximize the number of detected waves.
The indicator includes a dashboard with the number of detected waves, as well as the number of reached targets.
🔶 USAGE
The Wolfe Wave pattern is a chart pattern composed of five segments, with the initial segment extremities (points XABCD) forming a channel containing price variations.
After the price reaches point D , we can expect a reversal toward a target line (point E ). The target line is obtained by connecting and extending point X -> C .
The script draws the XABCD pattern and a projection of where E might potentially be located.
The projection is derived from the intersection between the target line and a line starting from D , parallel to B-C . From this line, margins are added, left and right, creating a wedge-shaped figure in most cases.
When the price passes the target line, this is highlighted by a dot. The dot and pattern are green by default when the target is above D and red when the target is below D . Colors can be edited in the settings. The dashed target line is colored in the opposite color.
As seen in the above example, the price trend can reverse after reaching the target line.
🔹 Symmetry
Ideally, the Wolfe Wave must have a degree of symmetry; every upward line should have a similar angle to the other upward lines, and the same should be true for the downward lines.
Also, the lines forming the channel should be as parallel as possible.
Users have the option to adjust the tolerance:
Margin controls the wave symmetry of the pattern
Angle controls the channel symmetry of the pattern
It's important to note that in both cases, a lower number will lead to more symmetrical patterns, but they may appear less frequently.
It is also important to note that increasing the Margin can delay validating the pattern. In the meantime, the price could surpass the channel in the opposite direction, invalidating and deleting the otherwise valid pattern.
🔹 Multiple Swings
Users can set a Minimum Swing length (for example 2) and a Maximum Swing length (for example 100) which defines the range of the swing point detection length, higher values for these settings will detect longer-term Wolfe patterns, while a larger range will allow for the detection of a larger number of patterns.
By using multiple swings, it is possible to find smaller next to larger patterns at the same time.
The dashboard shows the number of patterns found and targets reached. When, for example, bullish patterns are disabled in the settings, the dashboard only shows the results of bearish patterns.
🔹 Extend Target Line
The publication includes a setting that allows the Target Line to be extended up to 50 bars further. As seen in the above example, the Target Line can still be reached even after the pattern has been finalized. Once the Target Line is reached, it won't be updated further.
Here is another example of a Target Line being reached later on.
The Target Line acted as a support level, after which where the price changed direction.
🔹 Show Progression
An option is included to show the progression before the pattern is completed. Users can make use of the XABC pattern or visualize where point D should be positioned.
The focus lies on the bar range (between the left and right borders of the grey rectangle). The pattern is considered invalid and deleted when point D is beyond these limits. The height of the rectangle is optional. Ideally, the price should be located between the top and bottom of the rectangle, but it is not mandatory.
Show Progression has three options including:
Full: Show all lines of XABC plus line C-D and rectangle for the position of point D
Partial: Show line C-D and rectangle for the position of point D
None: Only show valid completed patterns
The 'Partial' option in the 'Show Progression' feature is designed to help users locate the desired position of point D without the visual clutter caused by the XABC lines. This can be useful for those who prefer a cleaner visual representation of the evolving pattern.
🔶 SETTINGS
🔹 Swing Length
Minimum: Minimum length used for the swing detection.
Maximum Swing Length: Maximum length used for the swing detection.
🔹 Tolerance
Margin: Influences the symmetry of the pattern; with a higher number allowing for less symmetry.
Angle: Influences the symmetry of the channel; with a higher number allowing for less symmetry.
🔹 Style
Toggle: Bullish/Bearish + colors
Extend Target Line: Extend a maximum of 50 bars or until Target Line is reached
Show Progression: Show pattern progression
Dot Size: The size of the dot when the Target Line is reached
🔹 Dashboard
Show Dashboard: Toggle dashboard which shows the number of found patterns and targets reached.
Location: Location of the dashboard on the chart.
Text Size: Text size.
🔹 Calculation
Calculated Bars: Allows the usage of fewer bars for performance/speed improvement
Wave Consolidation [LuxAlgo]The Wave Consolidation indicator uses market profiles to highlight consolidation zones based on upward and downward moves determined when a Higher-High or Lower-Low is created.
Users can control the amount of consolidation zones to display and the sensitivity of the swing point detection used to return those zones.
🔶 USAGE
These zones are intended as areas of interest to traders where price has seen historical interactions, which can be interpreted as support and resistance. By identifying these areas of interest before the price returns to them, traders are able to anticipate and prepare for various scenarios and respond dynamically to the behavior of the market, as seen below.
Rejection: A quick move away from the zone may indicate that the area is either overvalued or undervalued, leading to a fast movement in the opposite direction.
Breakthrough: Moving beyond a zone could indicate acceptance at that specific price, potentially signaling a shift in momentum or the start of a new trend. In a strong major trend, zones created from smaller trends could be used as price targets for taking profit and managing risk.
Consolidation: Holding these zones might suggest a market in balance at these levels, this could lead to opportunities for range-bound trading.
Below is an example of the Rejection and Consolidation scenarios described above.
Note: By analyzing the tests and retests of these zones, traders can also gain further insight into where participants are interacting in the market.
🔶 DETAILS
The full process for acquiring and managing these zones is described in the sub-sections below.
🔹 Creation
By only considering market movements creating a higher-high or lower-low, we can identify meaningful, directional, moves which can then be used to calculate zones.
Once a move is identified, the script calculates a volume profile spanning the length of the given move.
The width of the zones is determined starting from the POC of the profile and expanding outwards until the value of the profile's row falls below the profile's average.
Note: By increasing the "Multiplier" Input, Users can increase the threshold the script uses to determine zone width in multiples of Standard Deviations above the Average.
While this area is similar to a VP Value Area, it is not intended to replicate a value zone. The calculation is not concerned with capturing any % of the total profile's volume within the zone and only analyzes based on a fixed inclusion threshold.
🔹 Management
To keep clutter to a minimum, If a new zone overlaps a recently created zone, the zones are grouped as one. This is especially helpful in areas where prices are ranging, creating multiple zones in a very similar area.
Zones before management:
Zones after management:
🔹 Deletion
Just because a zone is crossed, does not make it immediately unimportant!
Once a Zone is mitigated (crossed in the opposite direction of its bias) it is reduced to a single dotted line representing the outer threshold for the zone. These lines are important to watch, as the price will often retest a break. For this reason, they will stay on the chart until the next swing point is detected when they will finally be deleted for good.
Below is an example of activity around a broken zone before it is deleted.
Below is the same example 2bBars later , once the new swing is confirmed, the dotted lines are deleted and new zones are created.
Notice how the newly formed resistance zone is in the same area where we noticed sellers previously.
🔶 SETTINGS
🔹 Structure
Display Structure: Determines if swing structures are displayed.
Structure Length: Sets Length for structure identification.
🔹 Zones
Volume-Based Calculations: Opt to use a "Volume" based Profile Calculation instead of the default "Price Action" based Calculation.
Display Count: Sets the specific number of bullish and bearish zones to display on the chart.
Multiplier: Sets the multiplier to use for the value cut-off for determining zone boundaries.
🔹 Style
Display Average Lines: Toggles on/off the average (mid) lines for the zones.
RSI Momentum Waves [Quantigenics]RSI Momentum Waves Indicator
The RSI Momentum Waves Indicator is your intuitive tool for visualizing market strength and trend persistence. It refines the classic RSI by smoothing the data with Exponential Moving Averages (EMAs), which help clear out the noise to give you a more accurate picture of where the market’s heading. The parameters - RSI Period, Smoothing Period, Overbought, Oversold, Upper Neutral Zone, and Lower Neutral Zone - are all adjustable, so you can tailor the indicator to different market conditions or your trading style.
How It Works:
RSI Period (RsiPer): Adjusts how far back the RSI looks to calculate its value, affecting its sensitivity.
Smoothing Period (SmoothPer): Dictates how smooth the EMA lines are, balancing between sensitivity and noise reduction.
Overbought (OBLevel) / Oversold (OSLevel) Levels: Set the thresholds where the market might be too stretched in either direction and due for a reversal.
Neutral Zones (UpperNZ / LowerNZ): Define the areas where the market is considered neutral, and trend strength is less clear.
Trading Instructions:
Use the RSI Momentum Waves to gain insights into the market’s momentum and make informed decisions:
For Trend Identification: If the waves are consistently above the 50 line and climbing, the market may be bullish; if below and declining, bearish signals are suggested.
Overbought and Oversold Regions: Entering these areas might indicate a potential reversal. A peak and downturn in the overbought region can signal a sell, while a trough and upturn in the oversold region can indicate a buy.
Neutral Zone Caution: In the neutral zones, exercise caution and wait for a breakout in either direction for stronger signals.
Confirm with Other Analysis: Never rely solely on one indicator. Confirm the RSI Momentum Waves signals with other technical indicators or fundamental analysis for best practices.
Remember, the goal is to detect the rhythm of the market’s momentum and act accordingly. Happy trading!
Hurst Future Lines of Demarcation StrategyJ. M. Hurst introduced a concept in technical analysis known as the Future Line of Demarcation (FLD), which serves as a forward-looking tool by incorporating a simple yet profound line into future projections on a financial chart. Specifically, the FLD is constructed by offsetting the price half a cycle ahead into the future on the time axis, relative to the Hurst Cycle of interest. For instance, in the context of a 40 Day Cycle, the FLD would be represented by shifting the current price data 20 days forward on the chart, offering an idea of future price movement anticipations.
The utility of FLDs extends into three critical areas of insight, which form the backbone of the FLD Trading Strategy:
A price crossing the FLD signifies the confirmation of either a peak or trough formation, indicating pivotal moments in price action.
Such crossings also help determine precise price targets for the upcoming peak or trough, aligned with the cycle of examination.
Additionally, the occurrence of a peak in the FLD itself signals a probable zone where the price might experience a trough, helping to anticipate of future price movements.
These insights by Hurst in his "Cycles Trading Course" during the 1970s, are instrumental for traders aiming to determine entry and exit points, and to forecast potential price movements within the market.
To use the FLD Trading Strategy, for example when focusing on the 40 Day Cycle, a trader should primarily concentrate on the interplay between three Hurst Cycles:
The 20 Day FLD (Signal) - Half the length of the Trade Cycle
The 40 Day FLD (Trade) - The Cycle you want to trade
The 80 Day FLD (Trend) - Twice the length of the Trade Cycle
Traders can gauge trend or consolidation by watching for two critical patterns:
Cascading patterns, characterized by several FLDs running parallel with a consistent separation, typically emerge during pronounced market trends, indicating strong directional momentum.
Consolidation patterns, on the other hand, occur when multiple FLDs intersect and navigate within the same price bandwidth, often reversing direction to traverse this range multiple times. This tangled scenario results in the formation of Pause Zones, areas where price momentum is likely to temporarily stall or where the emergence of a significant trend might be delayed.
This simple FLD indicator provides 3 FLDs with optional source input and smoothing, A-through-H FLD interaction background, adjustable “Close the Trade” triggers, and a simple strategy for backtesting it all.
The A-through-H FLD interactions are a framework designed to classify the different types of price movements as they intersect with or diverge from the Future Line of Demarcation (FLD). Each interaction (designated A through H by color) represents a specific phase or characteristic within the cycle, and understanding these can help traders anticipate future price movements and make informed decisions.
The adjustable “Close the Trade” triggers are for setting the crossover/under that determines the trade exits. The options include: Price, Signal FLD, Trade FLD, or Trend FLD. For example, a trader may want to exit trades only when price finally crosses the Trade FLD line.
Shoutouts & Credits for all the raw code, helpful information, ideas & collaboration, conversations together, introductions, indicator feedback, and genuine/selfless help:
🏆 @TerryPascoe
🏅 @Hpotter
👏 @parisboy
ZigZag Multi [TradingFinder] Trend & Wave Lines - Structures🔵 Introduction
"Zigzag" is an indicator that forms based on price changes. Essentially, the function of this indicator is to connect consecutive and alternating High and Low pivots. This pattern assists in analyzing price changes and can also be used to identify classic patterns. "Zigzag" is an analytical tool that, by filtering partial price movements based on the specified period, can identify price waves across different time frames (short or long term).
🔵 Reason for Creation
The combination of "short term zigzag" and "long term zigzag" enhances accuracy and reduces analysis time. In a time frame, "long term zigzag" represents the main trend, while "short term zigzag" depicts short-term waves.
🔵 How to Use
After selecting the desired time frame and adding "zigzag" to the chart, begin utilization. Keep in mind to identify the main market trend from "long term zigzag" and the minor waves from "short term zigzag".
🟣 Important: Additionally, classic patterns such as HH, LH, LL, and HL can be recognized. All traders analyzing financial markets using classic patterns and Elliot Waves can benefit from the "zigzag" indicator to facilitate their analysis.
🔵 Settings
Short term zigzag : In this section, you can adjust settings such as time frame range, display mode, color, and line width of the zigzag lines.
Short term label : This section allows you to activate or deactivate the display of zigzag labels according to your needs. You can also customize their color and size.
Long term zigzag : Here, you can adjust settings for time frame range, display mode, color, and line width of zigzag lines.
Long term label : Similar to short term label settings.
The recommended time frame for "long term zigzag" is between 9 to 15, and for "short term zigzag" is between 3 to 5.
🟣 Important Notes :
Considering the different behaviors of financial markets and various time frames, it is recommended to experiment with different time frame settings when using "zigzag" to find the best settings for each symbol and time frame, thereby preventing potential errors.
🟣 Terminology Explanations :
"HH": When the price is higher than the previous peak (Higher High).
"HL": When the price is higher than the previous low (Higher Low).
"LH": When the price is lower than the previous peak (Lower High).
"LL": When the price is lower than the previous low (Lower Low).
Awesome Oscillator + Bars count lines + EMA LineThe indicator includes an Awesome Oscillator with 2 vertical lines at a distance of 100 and 140 bars from the last bar to determine the third Elliott wave by the maximum peak of AO in the interval from 100 to 140 bars according to Bill Williams' Profitunity strategy. Additionally, a faster EMA line is displayed that calculates the difference between 5 Period and 34 Period Exponential Moving Averages (EMA 5 - EMA 34) based on the midpoints of the bars, just like AO calculates the difference between Simple Moving Averages (SMA 5 - SMA 34).
In the indicator settings, you can change the number of bars for vertical lines and any parameters for AO and EMA - method (SMA, Smoothed SMA, EMA and others), length, source (open, high, low, close, hl2 and others).
***
Индикатор включает Awesome Oscillator с 2 вертикальными линиями на расстоянии 100 и 140 баров от последнего бара, чтобы определить третью волну Эллиота по максимальному пику AO в интервале от 100 до 140 баров по стратегии Profitunity Билла Вильямса. Дополнительно отображается более быстрая линия EMA, которая вычисляет разницу между 5 Периодной и 34 Периодной Экспоненциальными Скользящими Средними (EMA 5 - EMA 34) по средним точкам баров (hl2), точно так же, как AO вычисляет разницу между Простыми Скользящими Средними (SMA 5 - SMA 34).
В настройках индикатора вы можете изменить количество баров для вертикальных линий и любые параметры для AO и EMA – метод (SMA, Smoothed SMA, EMA и другие), длину, источник (open, high, low, close, hl2 и другие).
Visible bars count on chart + highest/lowest bars, max/min AOThe indicator displays the number of visible bars on the screen (in the upper right corner), including the prices of the highest and lowest bars, the maximum or minimum value of the Awesome Oscillator (similar to MACD 5-34-5) for identify the 3-wave Elliott peak in the interval of 100 to 140 bars according to the Profitunity strategy of Bill Williams. The values change dynamically when scrolling or changing the scale of the graph.
In the indicator settings, you can hide labels, lines and change any parameters for the AO indicator - method (SMA, Smoothed SMA, EMA and others), length, source (open, high, low, close, hl2 and others).
‼️ The values are updated within 2-3 seconds after changing the number of visible bars on the screen.
***
Индикатор отображает количество видимых баров на экране (в правом верхнем углу), в том числе цены самого высокого и самого низкого баров, максимальное или минимальное значение Awesome Oscillator (аналогично MACD 5-34-5), чтобы определить пик 3-волны Эллиота в интервале от 100 до 140 баров по стратегии Profitunity Билла Вильямса. Значения меняются динамически при скроллинге или изменении масштаба графика.
В настройках индикатора вы можете скрыть метки, линии и изменить любые параметры для индикатора AO – метод (SMA, Smoothed SMA, EMA и другие), длину, источник (open, high, low, close, hl2 и другие).
‼️ Значения обновляются в течении 2-3 секунд после изменения количества видимых баров на экране.
WPO Modified [BackQuant]The Wave Period Oscillator (WPO), developed by Akram El Sherbini, is a sophisticated technical analysis tool that offers traders a dynamic way to interpret market cycles. Its design is inspired by the natural ebb and flow of markets, which often follow cyclical patterns driven by underlying economic, political, and psychological factors. The oscillator's unique contribution to market analysis lies in its ability to smooth out the "noise" inherent in daily price movements, thus providing a clearer view of the market's rhythmic fluctuations over time.
-----> Time Cycle Oscillators' in the IFTA Journal 2018 (page 66 - 77), as found below:
ifta.org
El Sherbini's WPO is grounded in the concept of wave period analysis, which suggests that financial markets move in waves or cycles. The oscillator translates these movements into a visual tool that oscillates above and below a central zero line. Peaks and troughs on the oscillator correspond to the crests and troughs of market price waves, providing a visual representation of the market's heartbeat.
The WPO is not merely a tool for identifying trends but also for detecting shifts in market momentum. It does this through a mathematical model that measures divergence—when the direction of the oscillator deviates from the direction of price movement. Such divergences can be precursors to potential reversals or continuations in the market, offering traders advance notice of significant changes in price direction.
Further refining its utility, the WPO incorporates methods for calculating divergence that are sensitive to the unique conditions of different markets and securities. This includes adjusting for volatility and market velocity, allowing the oscillator to provide relevant signals regardless of the market environment.
In practical terms, traders use the WPO to time their entries and exits with greater precision. When the oscillator shows a high peak or a deep trough, it can signal that a market is potentially overbought or oversold, respectively. The WPO's smoothing property ensures that these signals are not just reactionary to short-term price spikes or drops, but indicative of more substantial, sustained movements.
By providing a more measured and smoothed analysis of market cycles, the WPO helps to filter out insignificant price movements and focus on the ones that matter—those that indicate a significant wave of buying or selling pressure. This can be particularly valuable in the cryptocurrency markets, where volatility is high, and traditional indicators may struggle to provide clear signals.
For traders and analysts alike, the Wave Period Oscillator represents a convergence of technical precision and market psychology. By focusing on the periodic nature of market movements, it aligns traders with the rhythm of the markets, potentially leading to more harmonious trading decisions that are in step with the market's natural waves.
Please see the backtest here:
For more simple terms:
You can use this indicator as a the oscillator
Above 0 for long
Below 0 for short
OR
WPO MA
Above 0 for long
Below 0 for short
Wave Reader v2.4.2 only GOLD/XAU/USD The WaveReader is an algorithm that works out a strategy using various indicators that have been reconfigured and as soon as certain areas/goals/triggers have been reached, this is visualized as a sell or buy signal (large triangles)
The indicator also uses the Smart Money Concept (Expo) by @Zeiierman which has been reconfigured and adapted from his open source code to perfectly fit the rest of the strategy.
The smart money concept refers to the idea that capital does not only exist in the form of financial resources, but also includes knowledge, experience and networks. In the context of investing, smart money means that investors not only provide money but also add value through their expertise, industry experience and strategic influence.
In the traditional sense, "dumb money" refers to investors who merely provide capital, without any specific knowledge or insight into the industry or company in which they are investing. In contrast, “smart money” refers to investors who not only contribute financial resources, but can also make an active contribution to the development of the company.
This concept is particularly relevant in venture capital and private equity circles, where startups and high-growth companies seek capital. Smart money investors bring not only their financial support, but also their industry-specific know-how, relationships and experience. This can help companies make strategic decisions, optimize their business models and grow successfully.
Smart money can also be used in the trading environment to indicate experienced and knowledgeable investors who trade based not only on financial analysis but also on their deep understanding of the market, industry trends and fundamental business factors.
Overall, the Smart Money Concept represents a holistic approach to investments in which not only the capital but also the intellectual resources of investors can have a significant influence on the success of a company.
Of course, everything that was built into this indicator/algo will not be revealed, but there are countless hours of optimization in this project.
Explanation of the various components of the WaveReader:
WaveReader Confluence Box (CB)
The WaveReader Confluence Box is a Confluence for swing and day trading. It also confirms our one signal.
- If the price is above a newly opened CB, a long setup is confirmed.
- If the price is below a newly opened CB, a short setup is confirmed.
The WaveReader Cloud
WaveReader Cloud is our main trend.
WaveReader signals can be traded with or without confirmation.
However, the more confirmations we have, the more likely a successful setup will be.
- Green = Bullish Trend - Large Triangle (green)
- Red = Bearish Trend - Large Triangle (red)
- Gray = Neutral Trend - avoid new positions
The Waveline
The WaveReader Waveline is a trend confirmation. The waveline shows whether a trend is strong and serves as additional confirmation of a profitable setup.
Take trades when in bullish (green) or bearish (red), avoid new trades in neutral (black).
Re-entries and take profits
Re-entries and take profits are only displayed in the chart from the 1h time frame.
- Re-entry long position = small ▲ (green)
- Re-entry short position = small ▼ (red)
- Take profit in a long position = ⨯ (green)
- Take profit in a short position = ⨯ (red)
Additional features
- Display market structure (internal and swing).
- Display of order blocks (internal and swing).
- Display of fair value gaps (pre-filtered)
- Display EQ High Low
- Trailing Stop Loss
If you have any questions, please feel free to contact me
TrendGuard Pullback Trader Indicators [Quantigenics]The 'TrendGuard Pullback Trader Indicators' offers a synergistic representation of Trend Wave, Trend Pulse, and Trend Strength, each interrelated to provide intuitive and comprehensive market analysis—combining momentum, trend fluctuation insights, and trend strength in one cohesive tool.
The "TrendGuard Pullback Trader Indicators " utilize a novel approach in market trend analysis, distinctly combining multiple Exponential Moving Averages (EMA) layers for enhanced momentum tracking. This script employs a triple-layered EMA system for the Trend Wave component, adeptly filtering market noise and providing a refined view of underlying momentum. In parallel, the Trend Pulse feature contrasts current prices against a double-EMA of modified averages, offering granular insights into short-term market dynamics. This synergy is further enriched by the Trend Strength Identifier, which leverages the differential between fast and slow EMAs. This element is key in distinguishing significant market trends from minor fluctuations, thus offering a comprehensive gauge of market sentiment. These components, while advanced in their individual functionalities, are integrated to provide a holistic market analysis tool, far surpassing the capabilities of standard trend-following indicators. This sophisticated integration, underpinned by complex mathematical modeling, ensures that the "TrendGuard Pullback Indicators" script is not just a collection of indicators but a refined, cohesive system for strategic trading.
Integrated Analysis System: Trend Wave, Trend Pulse, and Trend Strength Identifier:
Trend Wave : Advanced Momentum Analysis
Calculation : Implements an advanced smoothing technique using a triple-layered Exponential Moving Average (EMA). This complex approach reduces market noise by refining the momentum tracking algorithm, thereby enhancing trend line smoothness.
Output : The output is visualized as a color-changing histogram, pivoting from green to red to indicate bullish and bearish momentum. This histogram is based on a scaled and adjusted Trend Wave value, providing a nuanced understanding of market momentum shifts.
Trend Pulse : Precision in Short-term Market Dynamics
Design : Contrasts a unique combination of high and low prices with their double EMA, diverging from standard closing price analysis. This results in a dynamic indicator sensitive to immediate market shifts.
Function : Acts as a vital complement to Trend Wave, offering fine-grained insights into short-term market behavior. It enhances the overall system by adding depth to the trend context set by the Trend Wave
Trend Strength Identifier: In-Depth Trend Viability Assessment Mechanism
Mechanism : Utilizes a sophisticated differential EMA strategy, comparing fast and slow EMA outputs. The script’s complexity extends beyond basic EMA differences, incorporating advanced trend/noise ratio calculations and trend quality assessments.
Indicator Dynamics : Generates a histogram that colors and positions itself based on the strength and direction of market trends, further informed by calculated trend quality metrics. It crucially differentiates between major trends and minor market noise.
System Synergy :
The three components are designed to operate in unison, forming an integrated trading system. Their interrelation is not merely additive but synergistic, where each element informs and enhances the others, making them indispensable to one another.
This interconnected functionality blends the indicators, as each component is tailored to contribute to a unified decision-making process, rather than functioning as standalone entities. The system's unique construction and its reliance on the interplay between its components underscore its distinctiveness and necessity for combined usage.
How to Trade with the "TrendGuard Pullback Trader Indicators"
Integration with "TrendGuard Pullback Signals" script :
The "TrendGuard Pullback Trader Indicators" script is an integral part of the "TrendGuard Pullback Trader" system, designed to operate in tandem with the "TrendGuard Pullback Trader Signals" script. This script amalgamates three sophisticated indicators, each contributing a unique perspective to market analysis.
This script, while useful as a standalone trading method, is one part of a two-part system. The “TrendGuard Pullback Trader Signals” script can be found below:
Integrated Trend Analysis: Aligning Wave, Pulse, and Strength :
Trend Wave & Trend Pulse Alignment : Look for moments when both the Trend Wave and Trend Pulse indicate a similar direction (both turning green for bullish or red for bearish). This alignment often marks the beginning of a new primary trend.
Confirmation with Trend Strength : Ensure that the Trend Strength histogram supports the new trend. A rising histogram above the lower threshold (white line) indicates growing trend strength.
Assessing Trend Strength and Potential Exhaustion :
Monitoring Threshold Lines : The upper (blue) and lower (white) threshold lines are crucial. When the Trend Strength histogram crosses these lines, it signals significant market conditions:
Above the Upper Threshold (Blue Line): Indicates a very strong trend but be cautious of potential trend exhaustion. A peak above this line may signal that the trend is overstretched.
Below the Lower Threshold (White Line): Suggests a weak or emerging trend, potentially signaling a trend reversal or consolidation phase.
Determining Trending or Ranging Market :
Above Lower Threshold : If the Trend Strength histogram consistently stays above the lower threshold, it suggests a trending market. Use this phase for trend-following strategies.
Below Lower Threshold : When the histogram frequently falls below this line, it may indicate a ranging or choppy market. In such conditions, consider adopting range-bound strategies or tightening stop losses.
Practical Application :
Entry Points : Trades can be initiated when there’s an alignment in Trend Wave and Pulse, coupled with supportive readings in Trend Strength. For instance, long positions during a green Trend Wave and Pulse, with the Trend Strength histogram rising above the lower threshold and vice versa for short entries.
Exit Points and Profit Taking : Consider exiting or taking profits when the Trend Strength crosses above the upper threshold, indicating potential trend exhaustion, especially if the trend strength histogram suddenly drops. Also, look for changes in the Trend Wave and Pulse for additional exit signals.
Alerts Setup : Utilize the provided alert features for key changes in the indicators, especially when the Trend Strength crosses threshold lines, to stay updated on significant market shifts.
Interpreting Indicator Interactions :
Refer to the accompanying images for visual examples of how these indicators interact and signal various market conditions. Understanding their synergy will enhance your ability to recognize key market phases and adjust your trading strategy accordingly.
The "TrendGuard Pullback Trader Indicators" script is intricately designed to be used in conjunction with the "TrendGuard Pullback Trader Signals" script, offering a cohesive and comprehensive trading strategy. Use both scripts together for a more robust trading method.
Adjustable Input Parameters
Each component in the script features customizable settings, designed to offer traders comprehensive control over the indicators. This flexibility allows for tailoring to specific trading styles, market conditions, and time frames. With options for adjusting visibility, selecting price types, modifying calculation lengths, and setting thresholds, these parameters ensure that the tool can be fine-tuned for a high degree of customization and precision, making it adaptable and effective for nearly all markets/symbols and time frames.
Important Usage Guidance: For seamless integration with its counterpart, the "TrendGuard Pullback Trader Signals" script, it's crucial to align the input parameter settings across both scripts. When adjusting values from their defaults, ensure that corresponding parameters in both scripts are identically set. This synchronization is key to achieving a cohesive and accurate representation on your charts.
Show Indicator Name (ShowName):
This parameter controls the display of the indicator's name on the chart. When enabled (`true`), it visually labels the indicator for ease of identification. Disabling (`false`) this feature offers a cleaner visual by removing the label.
Show Trend Wave Indicator (ShowTrendWave):
Activates or deactivates the Trend Wave indicator. When active (`true`), it displays a histogram based on the triple-layered exponential moving average (EMA) of the selected price type, providing a visual representation of market momentum trends. Deactivating (`false`) simplifies the chart by removing this histogram.
Trend Wave Price (TrendWavePrice):
Specifies the price data (close, open, high, low) used in calculating the Trend Wave. This choice affects how the Trend Wave responds to market movements, with each price type offering a different perspective on market momentum.
Trend Wave Length (TrendWaveLength):
Determines the overall calculation period for the triple-layered EMA in the Trend Wave, influencing its sensitivity. A higher value leads to a smoother, less volatile wave, focusing on longer-term market trends, whereas a lower value makes it more responsive to recent price actions.
Show Trend Pulse Indicator (ShowTrendPulse):
This parameter toggles the display of the Trend Pulse indicator, which analyzes the divergence between the current closing price and a double-EMA of a modified price average, providing insight into immediate market dynamics. Enabling (`true`) it adds this analysis to the chart, while disabling (`false`) removes it for focus on other trends.
Trend Pulse Length (TrendPulseLength):
Sets the length for the main double-EMA calculation in the Trend Pulse. A higher number smoothens the indicator, reducing sensitivity to minor price changes and highlighting more significant short-term trends.
Show Trend Strength Indicator (ShowTrendStrength):
Controls whether the Trend Strength indicator is displayed. This indicator uses a differential approach between fast and slow EMAs to assess the market's trend strength. Enabling it (`true`) provides a histogram view of the trend’s robustness, whereas disabling (`false`) omits this analysis.
Fast Average Length (FastAvgLen):
Specifies the period for the fast EMA in the Trend Strength indicator. Shorter periods make the EMA more sensitive to recent price changes, ideal for identifying new trend formations.
Slow Average Length (SlowAvgLen):
Determines the period for the slow EMA in the Trend Strength indicator. A longer period smoothens the EMA, useful for identifying sustained trend directions.
Threshold High (ThresholdHi):
This value sets a high threshold for the Trend Strength indicator. Values exceeding this threshold indicate a strong and established market trend, which can be critical for strategies focusing on trend continuity.
Threshold Low (ThresholdLow):
Defines a low threshold for the Trend Strength indicator. Values below this threshold suggest weak or emerging trends, signaling potential trend reversals or consolidations.
Threshold Trend (ThreshTrend):
Establishes a specific threshold within the Trend Strength indicator for identifying significant trends. Exceeding this threshold often suggests a trend with potential trading relevance.
Enable Threshold Low (ThresholdLowOnOff):
This option enables or disables the low threshold in the Trend Strength calculation. It allows traders to customize the indicator’s sensitivity to weaker trends.
Average Line (AvgLine):
Adjusts the period for an additional EMA line in the Trend Strength indicator. This line acts as a smoothing reference for the Trend Strength. This can also act as a threshold reference as when its below the ‘Threshold Low’ line this could identify sideways/choppy conditions.
Conclusion:
The "TrendGuard Pullback Trader Indicators" script provides a multidimensional analysis platform, combining in-depth momentum tracking, immediate market movement insights, and robust trend evaluation.
Remember, trading involves risk, and past performance is not indicative of future results.
You can see the “Author’s instructions" below to get immediate access to TrendGuard Pullback Trader Indicators & the rest of the “Quantigenics Premium Indicator Suite”.
Zigzag Chart Points█ OVERVIEW
This indicator displays zigzag based on high and low using latest pine script version 5 , chart.point which using time, index and price as parameters.
Pretty much a strip down using latest pine script function, without any use of library .
This allow pine script user to have an idea of simplified and cleaner code for zigzag.
█ CREDITS
LonesomeTheBlue
█ FEATURES
1. Label can be show / hide including text can be resized.
2. Hover to label, can see tooltip will show price and time.
3. Tooltip will show date and time for hourly timeframe and below while show date only for day timeframe and above.
█ NOTES
1. I admit that chart.point just made the code much more cleaner and save more time. I previously using user-defined type(UDT) which quite hassle.
2. I have no plan to extend this indicator or include alert just I thinking to explore log.error() and runtime.error() , which I may probably release in other publications.
█ HOW TO USE'
Pretty much similar inside mentioned references, which previously I created.
█ REFERENCES
1. Zigzag Array Experimental
2. Simple Zigzag UDT
3. Zig Zag Ratio Simplified
4. Cyclic RSI High Low With Noise Filter
5. Auto AB=CD 1 to 1 Ratio Experimental
YinYang RSI Volume Trend StrategyThere are many strategies that use RSI or Volume but very few that take advantage of how useful and important the two of them combined are. This strategy uses the Highs and Lows with Volume and RSI weighted calculations on top of them. You may be wondering how much of an impact Volume and RSI can have on the prices; the answer is a lot and we will discuss those with plenty of examples below, but first…
How does this strategy work?
It’s simple really, when the purchase source crosses above the inner low band (red) it creates a Buy or Long. This long has a Trailing Stop Loss band (the outer low band that's also red) that can be adjusted in the Settings. The Stop Loss is based on a % of the inner low band’s price and by default it is 0.1% lower than the inner band’s price. This Stop Loss is not only a stop loss but it can also act as a Purchase Available location.
You can get back into a trade after a stop loss / take profit has been hit when your Reset Purchase Availability After condition has been met. This can either be at Stop Loss, Entry or None.
It is advised to allow it to reset in case the stop loss was a fake out but the call was right. Sometimes it may trigger stop loss multiple times in a row, but you don’t lose much on stop loss and you gain lots when the call is right.
The Take Profit location is the basis line (white). Take Profit occurs when the Exit Source (close, open, high, low or other) crosses the basis line and then on a different bar the Exit Source crosses back over the basis line. For example, if it was a Long and the bar’s Exit Source closed above the basis line, and then 2 bars later its Exit Source closed below the basis line, Take Profit would occur. You can disable Take Profit in Settings, but it is very useful as many times the price will cross the Basis and then correct back rather than making it all the way to the opposing zone.
Longs:
If for instance your Long doesn’t need to Take Profit and instead reaches the top zone, it will close the position when it crosses above the inner top line (green).
Please note you can change the Exit Source too which is what source (close, open, high, low) it uses to end the trades.
The Shorts work the same way as the Long but just opposite, they start when the purchase source crosses under the inner upper band (green).
Shorts:
Shorts take profit when it crosses under the basis line and then crosses back.
Shorts will Stop loss when their outer upper band (green) is crossed with the Exit Source.
Short trades are completed and closed when its Exit Source crosses under the inner low red band.
So, now that you understand how the strategy works, let’s discuss why this strategy works and how it is profitable.
First we will discuss Volume as we deem it plays a much bigger role overall and in our strategy:
As I’m sure many of you know, Volume plays a huge factor in how much something moves, but it also plays a role in the strength of the movement. For instance, let’s look at two scenarios:
Bitcoin’s price goes up $1000 in 1 Day but the Volume was only 10 million
Bitcoin’s price goes up $200 in 1 Day but the Volume was 40 million
If you were to only look at the price, you’d say #1 was more important because the price moved x5 the amount as #2, but once you factor in the volume, you know this is not true. The reason why Volume plays such a huge role in Price movement is because it shows there is a large Limit Order battle going on. It means that both Bears and Bulls believe that price is a good time to Buy and Sell. This creates a strong Support and Resistance price point in this location. If we look at scenario #2, when there is high volume, especially if it is drastically larger than the average volume Bitcoin was displaying recently, what can we decipher from this? Well, the biggest take away is that the Bull’s won the battle, and that likely when that happens we will see bullish movement continuing to happen as most of the Bears Limit Orders have been fulfilled. Whereas with #2, when large price movement happens and Bitcoin goes up $1000 with low volume what can we deduce? The main takeaway is that Bull’s pressured the price up with Market Orders where they purchased the best available price, also what this means is there were very few people who were wanting to sell. This generally dictates that Whale Limit orders for Sells/Shorts are much higher up and theres room for movement, but it also means there is likely a whale that is ready to dump and crash it back down.
You may be wondering, what did this example have to do with YinYang RSI Volume Trend Strategy? Well the reason we’ve discussed this is because we use Volume multiple times to apply multiplications in our calculations to add large weight to the price when there is lots of volume (this is applied both positively and negatively). For instance, if the price drops a little and there is high volume, our strategy will move its bounds MUCH lower than the price actually dropped, and if there was low volume but the price dropped A LOT, our strategy will only move its bounds a little. We believe this reflects higher levels of price accuracy than just price alone based on the examples described above.
Don’t believe us?
Here is with Volume NOT factored in (VWMA = SMA and we remove our Volume Filter calculation):
Which produced -$2880 Profit
Here is with our Volume factored in:
Which produced $553,000 (55.3%)
As you can see, we wen’t from $-2800 profit with volume not factored to $553,000 with volume factored. That's quite a big difference! (Please note previous success does not predict future success we are simply displaying the $ amounts as example).
Now how about RSI and why does it matter in this strategy?
As I’m sure most of you are aware, RSI is one of the leading indicators used in trading. For this reason we figured it would only make sense to incorporate it into our calculations. We fiddled with RSI for quite awhile and sometimes what logically seems to be the right way to use it isn’t. Now, because of this, our RSI calculation is a little odd, but basically what we’re doing is we calculate the RSI, then turn it into a percentage (between 0-1) that can easily be multiplied to the price point we need. The price point we use is the difference between our high purchase zone and our low purchase zone. This allows us to see how much price movement there is between zones. We multiply our zone size with our RSI multiplication and we get the amount we will add +/- to our basis line (white line). This officially creates the NEW high and low purchase zones that we are actually using and displaying in our trades.
If you found that confusing, here are some examples to why it is an important calculation for this strategy:
Before RSI factored in:
Which produced 27.8% Profit
After RSI factored in:
Which produced 553% Profit
As you can see, the RSI makes not only the purchase zones more accurate, but it also greatly increases the profit the strategy is able to make. It also helps ensure an relatively linear profit slope so you know it is reliable with its trades.
This strategy can work on pretty much anything, but you should tweak the values a bit for each pair you are trading it with for best results.
We hope you can find some use out of this simple but effective strategy, if you have any questions, comments or concerns please let us know.
HAPPY TRADING!
[volfgang] WAVE ScannerThe Wave Scanner helps you make more informed decisions about when to buy and sell.
This indicator operates on a series of inputs and global variable declarations. Based on the same parameters as the WAVE Indicator. It uses different parameters such as the closing price, Stochastic Momentum Index, and smoothing factors such as the EMA to calculate the potential trade signals.
The scanner allows you to adjust the thresholds for bullish and bearish counts, which can be tailored to your personal trading strategy.
The minimum value is 4 and maximum is 8.
In total you can use 8 different timeframes for your signals from the following;
3D
1D
12h
8h
4h
1h
15m
5m
The scanner's unique ability to scan across multiple timeframes is what makes this indicator unique. This multi timeframe analysis can be incredibly useful for identifying broader trends in the market.
The Wave Scanner settings also includes inputs for you to enter risk management settings, including your total capital and the risk percentage you are willing to take per trade. It uses this information to display data in a label on the chart including;
Position Size
Stop Loss Level
Potential Profit
Risk Reward Ratio
On your chart, the WAVE Scanner will plot the ideal Entry Levels, Stop Loss and Take Profit Levels by calculating Fibonacci Levels, which is a popular tool for identifying potential support and resistance levels.
These are marked as follows;
GREEN Lines: Entry Levels
PINK Line: Stop Loss (can be customized in the settings)
GREY Line: Breakeven Level (move SL to breakeven at this level)
BLUE Line: Take Profit Level
So, if you're a trader looking to level up your strategy, the Wave Scanner is a tool you won't want to miss out on.
[volfgang] WAVEA compass to the financial charts.
The Volfgang WAVE Indicator helps you to decode complex market trends and make informed decisions in your trading.
Quick Summary
The WAVE has a signal line which alternates between Red or Blue.
Red is bearish and Blue is bullish.
It turns Blue when the WAVE line crosses above the signal and holds for 1 bar.
it turns Red when the WAVE line crosses below the signal and holds for 1 bar.
(You can change the signal line’s length in the settings, the default is 3 which is suited towards Day Trading – For Swing Traders I recommend 4 or 5 – For Investors 6 to 9).
The WAVE line will change colour to alert you when price is potentially pivoting.
When the WAVE is WHITE, the trend is currently Bearish but could flip bullish soon.
When the WAVE is GREEN, the trend is Bullish and there is strong Bullish momentum.
When the WAVE is ORANGE, it means trend is bullish but there is danger of a Bearish Reversal.
When the WAVE is PINK it means there is strong Bearish Momentum.
WAVETrend Scanner
The WAVETrend Scanner can be enabled in the settings and gives you a quick overview of the current trend across 8 potential timeframes:
You can use this to make sure the trades you are taking on lower timeframes align with the current bias on higher term timeframes, thus ensuring a higher chance of success.
WAVE Colours
The background colour of the WAVE also changes according to the current trend across multiple timeframes. The scanner is constantly measuring the current trend across 7 timeframes;
When 4 timeframes line up Bullish, the WAVE is LIGHT BLUE (Cyan)
When 5 timeframes line up Bullish, the WAVE is DARK BLUE (Navy)
When 6+ timeframes line up Bullish, the WAVE is GREEN
When 4 timeframes line up Bearish, the WAVE is ORANGE
When 5 timeframes line up Bearish, the WAVE is RED
When 6+ timeframes line up Bearish, the WAVE is PINK
Divergence Checker & Buy/Sell Signals
The BUY and SELL Signals are represented by a BLUE or RED Histogram line that extends from the WAVE to the 0 Line.
A BUY signal shows when a Crossover occurs & there is a Bullish Diversion Present within the last 50 bars.
A SELL signal appears when a Crossunder occurs & there is Bearish Diversion present within the last 50 bars.
You can change the length of the Divergence Checker in the settings, default is 50 bars.
Under The Hood
The WAVE pulls information from multiple sources within a set period such as;
Close Price
Highest Price
Lowest Price
EMA
The script applies a set of complicated algebraic equations. Which essentially measures the and of recent price action.
Then it uses EMA's to measure from the and , whilst applying more weight to recent price action.
The functions then calculate more averages which measure the difference from and .
Next, it uses all of these calculated averages to create a value that represents the current WAVE condition. This calculation will determine whether the WAVE is in a bullish or bearish trend.
This sum is then smoothed out to get one more value, which is used to display the info box content that allows us to see exactly at what price the WAVE will keep rising or keep falling.
One final calculation also predicts the point at which the WAVE will flip trend. It uses similar calculations to the "Keep Rising/Falling" prediction function, but its aim is to predict the exact price at which the WAVE will cross.
What gives the WAVE indicator an edge over most Stochastic Indicators, is how it uses Pinescript's "request.security" function to pull information from multiple timeframes in order to generate plots, info data and colours to add much more relevant information to the chart which you can use to make informed trading decisions. This is what allows the WAVETrend Scanner to work.
The WAVE indicator is designed to work with all markets and asset types.
Relative Strength Index Wave Indicator [CC]The Relative Strength Index Wave Indicator was created by Constance Brown (Technical Analysis for the Trading Professional), and this is a unique indicator that uses the weighted close formula, but instead of using the typical price values, it uses the RSI calculated from the various prices. It then creates a rainbow by smoothing the weighted RSI with four different lengths. As far as the buy or sell signals with this indicator go, I did change things from the original source, so feel free to experiment and let me know if anything works better for you. I decided to do a variation of the original source and create buy and sell signals based on crossovers, but my version only uses the first and second smoothed RSI lines. You could also average all of the lines and buy when the average is rising and sell when it starts to fall. I have used my typical buy and sell signals to use darker colors for strong signals and lighter colors for normal signals. Because of the rainbow effect from the wave, the color changes will only appear for the bar itself when you enable that setting.
Let me know if there is any other script you would like to see me publish! I will have plenty more RSI scripts to publish in the next week. Let me know if you like this indicator series.
Elliott Wave [LuxAlgo]The Elliott Wave indicator allows users to detect Elliott Wave (EW) impulses as well as corrective segments automatically on the chart. These are detected and displayed serially, allowing users to keep track of the evolution of an impulse or corrective wave.
Fibonacci retracements constructed from detected impulse waves are also included.
This script additionally allows users to get alerted on a wide variety of trigger conditions (see the ALERTS section below).
🔶 SETTINGS
🔹 Source
• "high" -> options high, close, maximum of open/close
• "low" -> options low, close, minimum of open/close
🔹 ZigZag
• The source and length are used to check whether a new Pivot Point is found.
Example:
• source = high/low, length = 10:
• There is a new pivot high when:
- previous high is higher than current high
- the highs of 10 bars prior to previous high are all lower
• These pivot points are used to form the ZigZag lines, which in their turn are used for pattern recognition
🔶 USAGE
The basic principles we use to identify Elliott Wave impulses are:
• A movement in the direction of the trend ( Motive/Impulse wave ) is divided in 5 waves (Wave 1 -> 5)
• The Corrective Wave (against the trend) is divided in 3 waves (Wave A -> C)
• The waves can be subdivided in smaller waves
• Wave 2 can’t retrace more than the beginning of Wave 1
• Wave 4 does not overlap with the price territory of Wave 1
Here we see an example:
Let's look at the development:
• 1 bar after point (5) a confirmed 5 Motive Wave pattern is found (1 -> 5; The 5 Waves can also be seen as one large Wave 1 ).
• Next, the script draws a set of Fibonacci lines, which are area's where the Corrective Wave potentially will bounce.
Here we see the fifth wave is getting larger, the previous highest point is updated, and the Wave 5 is larger than Wave 3 :
(At this point, the pattern is invalidated, and it display as dotted)
Further progression in time:
At this point, a confirmed " 3 Corrective Wave pattern " is found (a -> c)
When a new high has developed, a circle is drawn (in the same color of the lines)
However, when the bottom of the drawn box has breached, a red cross will be visualized.
Further progression:
Later on, a bearish confirmed " 5 Motive Wave pattern " is found (1 -> 5):
When a Corrective Wave becomes invalidated, the ABC pattern will display as dashed (not dotted):
🔶 TECHNIQUES
Pine Script™ introduces methods!
• More information can be found here:
• Pine Script™ v5 User Manual 👉 Methods
• Pine Script™ language reference manual 👉 method
🔶 ALERTS
Dynamic alerts are included in the script, you only need to set 1 alert to receive following messages:
• When a new EW Motive Pattern is found (Bullish/Bearish )
• When a new EW Corrective Pattern is found (Bullish/Bearish )
• When an EW Motive Pattern is invalidated (Bullish/Bearish )
• When an EW Corrective Pattern is invalidated (Bullish/Bearish )
• When possible, a start of a new EW Motive Wave is found (Bullish/Bearish )
• Here is information how you can set these alerts()
TWA - SurgeWith the TWA Surge indicator we make price and volume impulses easy to read.
Ideally if you are looking to go long look for a red surge and if your looking to go short look for a green surge.
Volume traders out there always wonder if its a bull rush or a falling knife and not sure when that push of volume and momentum will slow down. That's where the borders of the surge come in when a green surge gets a red border forming or a red surge gets a green border forming that means it's show time.
Lastly the surge has exhausted volume built in as well so when you see a different color in your red or green surges you will be able to get further confirmation that the team you are trading against needs to take a break and your team is at full strength ready to take them down.
Under the hood the surge impulses are calculated using a proprietary algorithm involving the amount of standard deviations price deviates from an average, and accumulations of volume for both above and below average volume .
Similarly the exhausted volume looks for strong deviations from the average amount of volume . Standard deviations of price measure the amount of variation or dispersion among price values. Looking at price and volume through the lens of standard deviations it can be seen when price and/or volume are outside of their statistical norm, hence as outliers or extremes they become more likely to reverse and return to a statistical norm.
This increased tendency for a reversal makes the surges on the TWA Surge a useful tool for finding trade opportunities.
The indicator provides many elements to create confluence for trade set-ups. The border of the surge histogram changes color to visually signal when momentum is changing direction. A trade set-up of this would be seeing a red surge form followed by the border turning green. Other elements include horizontal line meters that change colors to show the story of price and momentum.
The uppermost horizontal line meter uses an algorithm to compare price to its recent ranges over multiple times to determine trend direction.
The 2nd horizontal line meter measures the directional efficiency of the movement of price to determine direction in the market.
The 3rd horizontal line meter calculates buying and selling pressure by separating volume that moves price up from volume that moves price down, and comparing that to the total volume .
The 4th horizontal line meter uses an algorithm combining the volatility of recent candles with the statistical likeliness of price to return to its mean in order to determine direction, and if that direction is strengthening or weakening.
Sinusoidal High Pass Filter (SHPF)Sinusoidal High Pass Filter
This script implements a sinusoidal high pass filter, which is a type of digital filter that is used to remove low frequency components from a signal. The filter is defined by a series of weights that are applied to the input data, with the weights being determined by a sinusoidal function. The resulting filtered signal is then plotted on a chart, allowing the user to visualize the effect of the filter on the original signal.
The script begins by defining the sinusoidal_hpf function, which takes three arguments: _series, _period, and _phase_shift. The _series argument is the input data series that will be filtered, and the _period argument determines the length of the filter. The _phase_shift argument is an optional parameter that allows the user to adjust the phase of the sinusoidal function that is used to calculate the filter weights.
The function then initializes a variable ma to 0.0, and loops through each data point in the input series, starting from the most recent and going back in time for the specified _period number of points. For each data point, the function calculates a weight using a sinusoidal function, and adds the weighted data point to the ma variable. Finally, the function returns the average of the weighted data points by dividing ma by the _period.
The script also includes user input fields for the Length and Phase Shift parameters, which allows the user to customize the filter according to their specific needs. The filtered signal is then plotted on a chart, along with a reference line at 0.
Overall, this script provides a useful tool for analyzing and processing financial data, and can be easily customized to fit the needs of the user.
Waves CorrectionsWave theory tool for tracking waves relations and their corrections. It filters out a sets of formations and count how often correction from them are reaching characteristic correction levels marked on the chart as CL1, CL2, CL3.
It supports 2 rulesets/wave variants:
Low - Based on more sensitive trend detection.
Medium - Based on less sensitive trend detection.
Script settings:
| SCANNER |
Trend type - Trend used by scanner to detect sets of waves.
L - Low
M - Medium
<= W1/W2 * 100% <= - Tresholds describing proportions between 1 and 2 wave in the set.
<= W3/W1 * 100% <= - Tresholds describing proportions between 3 and 1 wave in the set.
<= W3/W2 * 100% <= - Tresholds describing proportions between 3 and 2 wave in the set.
Show potencial areas - Showing underway sets
Show Arrows - Showing arrows with possible correction on underway set.
Correction from trend UP - Background and border colors for found sets in up trends
Correction from trend Down - Bakcground and border colors for found sets in down trends.
History - Showing sets in historic data.
Stats - Type of statistic table shown on the screen:
H - Hide
% - Statistics with normal font
%s - Statistics with small font
Wn n= - Picking how many waves are taken into account when calculating statistics .
| TREND VISUALIZATION |
Type - Trend visualization types:
H - Hidden
L - Low
M - Medium
B - Both
Alfred - AI assistant that informs about wave confirmation or trend changes (With "Both" type Alfred will monit only Medium wave).
Shadow - Showing second reprezentation of the trend with drawing with the use of minimal and maximal values. It's usefull to determine the delay between the peak and a wave change signal.
Low/Med Line width/color - Width/color of drawn line. Separate setting for Low and Medium trend type.
| IMPULS VISUALIZATION |
Impuls - Drawing impuls modes:
H - Hidden
F - First
S - Second
A - Auto
Impuls color - Color of the first bullish arrow.
Draw arrow - Drawing arrow at the end of the first bullish arrow.
Troubleshooting:
In case of any problems, send error details to the author of the script.
Waves + TrendsTrend visualization tool in Wave theory. This script allows to observe wave directions (trends) at 3 higher intervals.
For each candle, 3 rectangles are shown with their color, showing the current trend in a given interval/timeframe. By default, green is an uptrend and red is a downtrend.
Currently it supports 2 rulesets/wave variants:
Low - More sensitive (trend will change more ofter).
Meddium - Less sensitive ( trend will change less ofter).
Simultaneous observation of multiple timeframes reduces the time needed for analysis and facilitates making investment decisions.
Script with limited access, contact author to get authorization
Script settings:
Type – Specify which wave type should be used in trend visualization:
L(ow) – Low level waves
M(edium) – Medium level waves
Top trend timeframe – Timeframe and color mapping of the visualization top row.
Middle trend timeframe – Timeframe and color mapping of the visualization middle row.
Bottom trend timeframe – Timeframe and color mapping of the visualization bottom row.