Fibonacci Bands [BigBeluga]The Fibonacci Band indicator is a powerful tool for identifying potential support, resistance, and mean reversion zones based on Fibonacci ratios. It overlays three sets of Fibonacci ratio bands (38.2%, 61.8%, and 100%) around a central trend line, dynamically adapting to price movements. This structure enables traders to track trends, visualize potential liquidity sweep areas, and spot reversal points for strategic entries and exits.
🔵 KEY FEATURES & USAGE
Fibonacci Bands for Support & Resistance:
The Fibonacci Band indicator applies three key Fibonacci ratios (38.2%, 61.8%, and 100%) to construct dynamic bands around a smoothed price. These levels often act as critical support and resistance areas, marked with labels displaying the percentage and corresponding price. The 100% band level is especially crucial, signaling potential liquidity sweep zones and reversal points.
Mean Reversion Signals at 100% Bands:
When price moves above or below the 100% band, the indicator generates mean reversion signals.
Trend Detection with Midline:
The central line acts as a trend-following tool: when solid, it indicates an uptrend, while a dashed line signals a downtrend. This adaptive midline helps traders assess the prevailing market direction while keeping the chart clean and intuitive.
Extended Price Projections:
All Fibonacci bands extend to future bars (default 30) to project potential price levels, providing a forward-looking perspective on where price may encounter support or resistance. This feature helps traders anticipate market structure in advance and set targets accordingly.
Liquidity Sweep:
--
-Liquidity Sweep at Previous Lows:
The price action moves below a previous low, capturing sell-side liquidity (stop-losses from long positions or entries for breakout traders).
The wick suggests that the price quickly reversed, leaving a failed breakout below support.
This is a classic liquidity grab, often indicating a bullish reversal .
-Liquidity Sweep at Previous Highs:
The price spikes above a prior high, sweeping buy-side liquidity (stop-losses from short positions or breakout entries).
The wick signifies rejection, suggesting a failed breakout above resistance.
This is a bearish liquidity sweep , often followed by a mean reversion or a downward move.
Display Customization:
To declutter the chart, traders can choose to hide Fibonacci levels and only display overbought/oversold zones along with the trend-following midline and mean reversion signals. This option enables a clearer focus on key reversal areas without additional distractions.
🔵 CUSTOMIZATION
Period Length: Adjust the length of the smoothed moving average for more reactive or smoother bands.
Channel Width: Customize the width of the Fibonacci channel.
Fibonacci Ratios: Customize the Fibonacci ratios to reflect personal preference or unique market behaviors.
Future Projection Extension: Set the number of bars to extend Fibonacci bands, allowing flexibility in projecting price levels.
Hide Fibonacci Levels: Toggle the visibility of Fibonacci levels for a cleaner chart focused on overbought/oversold regions and midline trend signals.
Liquidity Sweep: Toggle the visibility of Liquidity Sweep points
The Fibonacci Band indicator provides traders with an advanced framework for analyzing market structure, liquidity sweeps, and trend reversals. By integrating Fibonacci-based levels with trend detection and mean reversion signals, this tool offers a robust approach to navigating dynamic price action and finding high-probability trading opportunities.
Chỉ báo và chiến lược
Harmonic Pattern Detector (75 patterns)Harmonic Pattern Detector offers a record amount of "Harmonic Patterns" in one script, with 75 different patterns detected, together with up to 99 different swing lengths.
🔶 USAGE
Harmonic Patterns are detected from several different ZigZag lines, derived from Swings with different lengths (shorter - longer term)
Depending on the settings ' Minimum/Maximum Swing Length ', the user will see more or less patterns from shorter and/or longer-term swing points.
🔹 Fibonacci Ratio
Certain patterns have only one ratio for a specific retrace/extension instead of one upper and one lower limit. In this case, we add a ' Tolerance ', which adds a percentage tolerance below/above the ratio, creating two limits.
A higher number may show more patterns but may become less valid.
Hoovering over points B, C, and D will show a tooltip with the concerning limits; adjusted limits will be seen if applicable.
Tooltips in settings will also show which patterns the Fibonacci Ratio applies to.
🔹 Triangle Area Ratio
Using Heron's formula , the triangle area is calculated after the X-Y axis is normalized.
Users can filter patterns based on the ratio of the smallest triangle to the largest triangle.
A lower Triangle Area Ratio number leads to more symmetrical patterns but may appear less frequently.
🔶 DETAILS
Harmonic patterns are based on geometric patterns, where the retracement/extension of a swing point must be located between specific Fibonacci ratios of the previous swing/leg. Different Harmonic Patterns require unique ratios to become valid patterns.
In the above example there is a valid 'Max Butterfly' pattern where:
Point B is located between 0.618 - 0.886 retracement level of the X-A leg
Point C is located between 0.382 - 0.886 retracement level of the A-B leg
Point D is located between 1.272 - 2.618 extension level of the B-C leg
Point D is located between 1.272 - 1.618 extension level of the X-A leg
Harmonic Pattern Detector uses ZigZag lines, where swing highs and swing lows alternate. Each ZigZag line is checked for valid Harmonic Patterns . When multiple types of Harmonic Patterns are valid for the same sequence, the pattern will be named after the first one found.
Different swing lengths form different ZigZag lines.
By evaluating different ZigZag lines (up to 99!), shorter—and longer-term patterns can be drawn on the same chart.
🔹 Blocks
The patterns are organized into blocks that can be toggled on or off with a single click.
When a block is enabled, the user can still select which specific patterns within that block are enabled or disabled.
🔹 Visuals
Besides color settings, labels can show pattern names or arrows at point D of the pattern.
Note this will happen 1 bar after validation because one extra bar is needed for confirmation.
An option is included to show only arrows without the patterns.
🔹 Updated Patterns
When a Swing Low is followed by a lower low or a Swing High followed by a higher high , triggering a pattern identical to a previous one except with a different point D, the pattern will be updated. The previous C-D line will be visible as a dashed line to highlight the event. Only the last dashed line is shown when this happens more than once.
🔹 Optimization
The script only verifies the last leg in the initial phase, significantly reducing the time spent on pattern validation. If this leg doesn't align with a potential Harmonic Pattern , the pattern is immediately disregarded. In the subsequent phase, the remaining patterns are quickly scrutinized to ensure the next leg is valid. This efficient process continues, with only valid patterns progressing to the next phase until all sequences have been thoroughly examined.
This process can check up to 99 ZigZag lines for 75 different Harmonic Patterns , showcasing its high capacity and versatility.
🔹 Ratios
The following table shows the different ratios used for each Harmonic Pattern .
' min ' and ' max ' are used when only one limit is provided instead of 2. This limit is given a percentage tolerance above and below, customizable by the setting ' Tolerance - Fibonacci Ratio '.
For example a ratio of 0.618 with a tolerance of 1% would result in:
an upper limit of 0.624
a lower limit of 0.612
|-------------------|------------------------|------------------------|-----------------------|-----------------------|
| NAME PATTERN | BCD (BD) | ABC (AC) | XAB (XB) | XAD (XD) |
| | min max | min max | min max | min max |
|-------------------|------------------------|------------------------|-----------------------|-----------------------|
| 'ABCD' | 1.272 - 1.618 | 0.618 - 0.786 | | |
| '5-0' | 0.5 *min - 0.5 *max | 1.618 - 2.24 | 1.13 - 1.618 | |
| 'Max Gartley' | 1.128 - 2.236 | 0.382 - 0.886 | 0.382 - 0.618 | 0.618 - 0.786 |
| 'Gartley' | 1.272 - 1.618 | 0.382 - 0.886 | 0.618*min - 0.618*max | 0.786*min - 0.786*max |
| 'A Gartley' | 1.618*min - 1.618*max | 1.128 - 2.618 | 0.618 - 0.786 | 1.272*min - 1.272*max |
| 'NN Gartley' | 1.128 - 1.618 | 0.382 - 0.886 | 0.618*min - 0.618*max | 0.786*min - 0.786*max |
| 'NN A Gartley' | 1.618*min - 1.618*max | 1.128 - 2.618 | 0.618 - 0.786 | 1.272*min - 1.272*max |
| 'Bat' | 1.618 - 2.618 | 0.382 - 0.886 | 0.382 - 0.5 | 0.886*min - 0.886*max |
| 'Alt Bat' | 2.0 - 3.618 | 0.382 - 0.886 | 0.382*min - 0.382*max | 1.128*min - 1.128*max |
| 'A Bat' | 2.0 - 2.618 | 1.128 - 2.618 | 0.382 - 0.618 | 1.128*min - 1.128*max |
| 'Max Bat' | 1.272 - 2.618 | 0.382 - 0.886 | 0.382 - 0.618 | 0.886*min - 0.886*max |
| 'NN Bat' | 1.618 - 2.618 | 0.382 - 0.886 | 0.382 - 0.5 | 0.886*min - 0.886*max |
| 'NN Alt Bat' | 2.0 - 4.236 | 0.382 - 0.886 | 0.382*min - 0.382*max | 1.128*min - 1.128*max |
| 'NN A Bat' | 2.0 - 2.618 | 1.128 - 2.618 | 0.382 - 0.618 | 1.128*min - 1.128*max |
| 'NN A Alt Bat' | 2.618*min - 2.618*max | 1.128 - 2.618 | 0.236 - 0.5 | 0.886*min - 0.886*max |
| 'Butterfly' | 1.618 - 2.618 | 0.382 - 0.886 | 0.786*min - 0.786*max | 1.272 - 1.618 |
| 'Max Butterfly' | 1.272 - 2.618 | 0.382 - 0.886 | 0.618 - 0.886 | 1.272 - 1.618 |
| 'Butterfly 113' | 1.128 - 1.618 | 0.618 - 1.0 | 0.786 - 1.0 | 1.128*min - 1.128*max |
| 'A Butterfly' | 1.272*min - 1.272*max | 1.128 - 2.618 | 0.382 - 0.618 | 0.618 - 0.786 |
| 'Crab' | 2.24 - 3.618 | 0.382 - 0.886 | 0.382 - 0.618 | 1.618*min - 1.618*max |
| 'Deep Crab' | 2.618 - 3.618 | 0.382 - 0.886 | 0.886*min - 0.886*max | 1.618*min - 1.618*max |
| 'A Crab' | 1.618 - 2.618 | 1.128 - 2.618 | 0.276 - 0.446 | 0.618*min - 0.618*max |
| 'NN Crab' | 2.236 - 4.236 | 0.382 - 0.886 | 0.382 - 0.618 | 1.618*min - 1.618*max |
| 'NN Deep Crab' | 2.618 - 4.236 | 0.382 - 0.886 | 0.886*min - 0.886*max | 1.618*min - 1.618*max |
| 'NN A Crab' | 1.128 - 2.618 | 1.128 - 2.618 | 0.236 - 0.447 | 0.618*min - 0.618*max |
| 'NN A Deep Crab' | 1.128*min - 1.128*max | 1.128 - 2.618 | 0.236 - 0.382 | 0.618*min - 0.618*max |
| 'Cypher' | 1.272 - 2.00 | 1.13 - 1.414 | 0.382 - 0.618 | 0.786*min - 0.786*max |
| 'New Cypher' | 1.272 - 2.00 | 1.414 - 2.14 | 0.382 - 0.618 | 0.786*min - 0.786*max |
| 'Anti New Cypher' | 1.618 - 2.618 | 0.467 - 0.707 | 0.5 - 0.786 | 1.272*min - 1.272*max |
| 'Shark 1' | 1.618 - 2.236 | 1.128 - 1.618 | 0.382 - 0.618 | 0.886*min - 0.886*max |
| 'Shark 1 Alt' | 1.618 - 2.618 | 0.618 - 0.886 | 0.446 - 0.618 | 1.128*min - 1.128*max |
| 'Shark 2' | 1.618 - 2.236 | 1.128 - 1.618 | 0.382 - 0.618 | 1.128*min - 1.128*max |
| 'Shark 2 Alt' | 1.618 - 2.618 | 0.618 - 0.886 | 0.446 - 0.618 | 0.886*min - 0.886*max |
| 'Leonardo' | 1.128 - 2.618 | 0.382 - 0.886 | 0.5*min - 0.5*max | 0.786*min - 0.786*max |
| 'NN A Leonardo' | 2.0*min - 2.0*max | 1.128 - 2.618 | 0.382 - 0.886 | 1.272*min - 1.272*max |
| 'Nen Star' | 1.272 - 2.0 | 1.414 - 2.14 | 0.382 - 0.618 | 1.272*min - 1.272*max |
| 'Anti Nen Star' | 1.618 - 2.618 | 0.467 - 0.707 | 0.5 - 0.786 | 0.786*min - 0.786*max |
| '3 Drives' | 1.272 - 1.618 | 0.618 - 0.786 | 1.272 - 1.618 | 1.618 - 2.618 |
| 'A 3 Drives' | 0.618 - 0.786 | 1.272 - 1.618 | 0.618 - 0.786 | 0.13 - 0.886 |
| '121' | 0.382 - 0.786 | 1.128 - 3.618 | 0.5 - 0.786 | 0.382 - 0.786 |
| 'A 121' | 1.272 - 2.0 | 0.5 - 0.786 | 1.272 - 2.0 | 1.272 - 2.618 |
| '121 BG' | 0.618 - 0.707 | 1.128 - 1.733 | 0.5 - 0.577 | 0.447 - 0.786 |
| 'Black Swan' | 1.128 - 2.0 | 0.236 - 0.5 | 1.382 - 2.618 | 1.128 - 2.618 |
| 'White Swan' | 0.5 - 0.886 | 2.0 - 4.237 | 0.382 - 0.786 | 0.238 - 0.886 |
| 'NN White Swan' | 0.5 - 0.886 | 2.0 - 4.236 | 0.382 - 0.724 | 0.382 - 0.886 |
| 'Sea Pony' | 1.618 - 2.618 | 0.382 - 0.5 | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Navarro 200' | 0.886 - 3.618 | 0.886 - 1.128 | 0.382 - 0.786 | 0.886 - 1.128 |
| 'May-00' | 0.5 - 0.618 | 1.618 - 2.236 | 1.128 - 1.618 | 0.5 - 0.618 |
| 'SNORM' | 0.9 - 1.1 | 0.9 - 1.1 | 0.9 - 1.1 | 0.618 - 1.618 |
| 'COL Poruchik' | 1.0 *min - 1.0 *max | 0.382 - 2.618 | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Henry – David' | 0.618 - 0.886 | 0.44 - 0.618 | 0.128 - 2.0 | 0.618 - 1.618 |
| 'DAVID VM 1' | 1.618 - 1.618 | 0.382*min - 0.382*max | 0.128 - 1.618 | 0.618 - 3.618 |
| 'DAVID VM 2' | 1.618 - 1.618 | 0.382*min - 0.382*max | 1.618 - 3.618 | 0.618 - 7.618 |
| 'Partizan' | 1.618*min - 1.618*max | 0.382*min - 0.382*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2' | 1.618 - 2.236 | 1.128 - 1.618 | 0.128 - 3.618 | 1.618 - 3.618 |
| 'Partizan 2.1' | 1.618*min - 1.618*max | 1.128*min - 1.128*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2.2' | 2.236*min - 2.236*max | 1.128*min - 1.128*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2.3' | 1.618*min - 1.618*max | 0.618 - 1.618 | 0.128 - 3.618 | 0.618 - 3.618 |
| 'Partizan 2.4' | 2.236*min - 2.236*max | 1.618*min - 1.618*max | 0.128 - 3.618 | 0.618 - 3.618 |
| 'TOTAL' | 1.272 - 3.618 | 0.382 - 2.618 | 0.276 - 0.786 | 0.618 - 1.618 |
| 'TOTAL NN' | 1.272 - 4.236 | 0.382 - 2.618 | 0.236 - 0.786 | 0.618 - 1.618 |
| 'TOTAL 1' | 1.272 - 2.618 | 0.382 - 0.886 | 0.382 - 0.786 | 0.786 - 0.886 |
| 'TOTAL 2' | 1.618 - 3.618 | 0.382 - 0.886 | 0.382 - 0.786 | 1.128 - 1.618 |
| 'TOTNN 2NN' | 1.618 - 4.236 | 0.382 - 0.886 | 0.382 - 0.786 | 1.128 - 1.618 |
| 'TOTAL 3' | 1.272 - 2.618 | 1.128 - 2.618 | 0.276 - 0.618 | 0.618 - 0.886 |
| 'TOTNN 3NN' | 1.272 - 2.618 | 1.128 - 2.618 | 0.236 - 0.618 | 0.618 - 0.886 |
| 'TOTAL 4' | 1.618 - 2.618 | 1.128 - 2.618 | 0.382 - 0.786 | 1.128 - 1.272 |
| 'BG 1' | 2.618*min - 2.618*max | 0.382*min - 0.382*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 2' | 2.237*min - 2.237*max | 0.447*min - 0.447*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 3' | 2.0 *min - 2.0 *max | 0.5 *min - 0.5 *max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 4' | 1.618*min - 1.618*max | 0.618*min - 0.618*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 5' | 1.414*min - 1.414*max | 0.707*min - 0.707*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 6' | 1.272*min - 1.272*max | 0.786*min - 0.786*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 7' | 1.171*min - 1.171*max | 0.854*min - 0.854*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
| 'BG 8' | 1.128*min - 1.128*max | 0.886*min - 0.886*max | 0.128 - 0.886 | 1.0 *min - 1.0 *max |
|-------------------|------------------------|------------------------|-----------------------|-----------------------|
🔶 SETTINGS
🔹 Swings
Minimum Swing Length: Minimum length used for the swing detection.
Maximum Swing Length: Maximum length used for the swing detection.
🔹 Patterns
Toggle Pattern Block
Toggle separate pattern in each Pattern Block
🔹 Tolerance
Fibonacci Ratio: Adds a percentage tolerance below/above the ratio when only one ratio applies, creating two limits.
Triangle Area Ratio: Filters patterns based on the ratio of the smallest triangle to the largest triangle.
🔹 Display
Labels: Display Pattern Names, Arrows or nothing
Patterns: Display or not
Last Line: Display previous C-D line when updated
🔹 Style
Colors: Pattern Lines/Names/Arrows - background color of patterns
Text Size: Text Size of Pattern Names/Arrows
🔹 Calculation
Calculated Bars: Allows the usage of fewer bars for performance/speed improvement
Ultra Market StructureThe Ultra Market Structure indicator detects key market structure breaks, such as Break of Structure (BoS) and Change of Character (CHoCH), to help identify trend reversals. It plots lines and labels on the chart to visualize these breakpoints with alerts for important signals.
Introduction
This script is designed to help traders visualize important market structure events, such as trend breaks and reversals, using concepts like Break of Structure (BoS) and Change of Character (CHoCH). The indicator highlights internal and external price levels where the market shifts direction. It offers clear visual signals and alerts to keep traders informed of potential changes in the market trend.
Detailed Description
The indicator focuses on detecting "market structure breaks," which occur when the price moves past significant support or resistance levels, suggesting a potential reversal or continuation of the trend.
.........
Type of structure
Internal Structure: Focuses on smaller, shorter-term price levels within the current market trend.
External Structure: Focuses on larger, longer-term price levels that may indicate more significant shifts in the market.
.....
Key events
Break of Structure (BoS): A market structure break where the price surpasses a previous high (bullish BoS) or low (bearish BoS).
Change of Character (CHoCH): A shift in market behavior when the price fails to continue in the same direction, indicating a possible trend reversal.
Once a break or shift is detected, the script plots lines and labels on the chart to visually mark the breakpoints.
It also provides alerts when a BoS or CHoCH occurs, keeping traders informed in real-time.
The indicator can color the background and candles based on the market structure, making it easy to identify the current trend.
.....
Special feature
At news events or other momentum pushes most structure indicators will go into "sleep mode" because of too far away structure highs/lows. This indicator has a structure reset feature to solve this issue.
.........
Detects Break of Structure (BoS) and Change of Character (CHoCH) signals.
Marks internal and external support/resistance levels where market trends change.
Provides visual cues (lines, labels) and real-time alerts for structure breaks.
Offers background and candle color customization to highlight market direction.
FRIEDRICHs - AI learning trendFRIEDRICHs learning trend - take your trading to the NEXT LEVEL!
Introducing the AI learning trend, an advanced trading indicator designed to adapt to market volatility dynamically using machine learning techniques. This indicator employs Clustering to categorize market volatility into high, medium, and low levels, enhancing the traditional SuperTrend strategy. Perfect for traders who want an edge in identifying trend shifts and market conditions.
What is Clustering and how it works?
Clustering is a machine learning algorithm that partitions data into distinct groups based on similarity. In this indicator, the algorithm analyzes ATR (Average True Range) values to classify volatility into three clusters: high, medium, and low. The algorithm iterates to optimize the centroids of these clusters, ensuring accurate volatility classification.
BTC:
1PAPA7ozQe7QdK2HNSsaPaAwMJnLP2nig1
Network: BTC
XRP:
rNxp4h8apvRis6mJf9Sh8C6iRxfrDWN7AV
MEMO: 393065086
AadTrend [InvestorUnknown]The AadTrend indicator is an experimental trading tool that combines a user-selected moving average with the Average Absolute Deviation (AAD) from this moving average. This combination works similarly to the Supertrend indicator but offers additional flexibility and insights. In addition to generating Long and Short signals, the AadTrend indicator identifies RISK-ON and RISK-OFF states for each trade direction, highlighting areas where taking on more risk may be considered.
Core Concepts and Features
Moving Average (User-Selected Type)
The indicator allows users to select from various types of moving averages to suit different trading styles and market conditions:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Hull Moving Average (HMA)
Double Exponential Moving Average (DEMA)
Triple Exponential Moving Average (TEMA)
Relative Moving Average (RMA)
Fractal Adaptive Moving Average (FRAMA)
Average Absolute Deviation (AAD)
The Average Absolute Deviation measures the average distance between each data point and the mean, providing a robust estimation of volatility.
aad(series float src, simple int length, simple string avg_type) =>
avg = // Moving average as selected by the user
abs_deviations = math.abs(src - avg)
ta.sma(abs_deviations, length)
This provides a volatility measure that adapts to recent market conditions.
Combining Moving Average and AAD
The indicator creates upper and lower bands around the moving average using the AAD, similar to how the Supertrend indicator uses Average True Range (ATR) for its bands.
AadTrend(series float src, simple int length, simple float aad_mult, simple string avg_type) =>
// Calculate AAD (volatility measure)
aad_value = aad(src, length, avg_type)
// Calculate the AAD-based moving average by scaling the price data with AAD
avg = switch avg_type
"SMA" => ta.sma(src, length)
"EMA" => ta.ema(src, length)
"HMA" => ta.hma(src, length)
"DEMA" => ta.dema(src, length)
"TEMA" => ta.tema(src, length)
"RMA" => ta.rma(src, length)
"FRAMA" => ta.frama(src, length)
avg_p = avg + (aad_value * aad_mult)
avg_m = avg - (aad_value * aad_mult)
var direction = 0
if ta.crossover(src, avg_p)
direction := 1
else if ta.crossunder(src, avg_m)
direction := -1
A chart displaying the moving average with upper and lower AAD bands enveloping the price action.
Signals and Trade States
1. Long and Short Signals
Long Signal: Generated when the price crosses above the upper AAD band,
Short Signal: Generated when the price crosses below the lower AAD band.
2. RISK-ON and RISK-OFF States
These states provide additional insight into the strength of the current trend and potential opportunities for taking on more risk.
RISK-ON Long: When the price moves significantly above the upper AAD band after a Long signal.
RISK-OFF Long: When the price moves back below the upper AAD band, suggesting caution.
RISK-ON Short: When the price moves significantly below the lower AAD band after a Short signal.
RISK-OFF Short: When the price moves back above the lower AAD band.
Highlighted areas on the chart representing RISK-ON and RISK-OFF zones for both Long and Short positions.
A chart showing the filled areas corresponding to trend directions and RISK-ON zones
Backtesting and Performance Metrics
While the AadTrend indicator focuses on generating signals and highlighting risk areas, it can be integrated with backtesting frameworks to evaluate performance over historical data.
Integration with Backtest Library:
import InvestorUnknown/BacktestLibrary/1 as backtestlib
Customization and Calibration
1. Importance of Calibration
Default Settings Are Experimental: The default parameters are not optimized for any specific market condition or asset.
User Calibration: Traders should adjust the length, aad_mult, and avg_type parameters to align the indicator with their trading strategy and the characteristics of the asset being analyzed.
2. Factors to Consider
Market Volatility: Higher volatility may require adjustments to the aad_mult to avoid false signals.
Trading Style: Short-term traders might prefer faster-moving averages like EMA or HMA, while long-term traders might opt for SMA or FRAMA.
Alerts and Notifications
The AadTrend indicator includes built-in alert conditions to notify traders of significant market events:
Long and Short Alerts:
alertcondition(long_alert, "LONG (AadTrend)", "AadTrend flipped ⬆LONG⬆")
alertcondition(short_alert, "SHORT (AadTrend)", "AadTrend flipped ⬇Short⬇")
RISK-ON and RISK-OFF Alerts:
alertcondition(risk_on_long, "RISK-ON LONG (AadTrend)", "RISK-ON LONG (AadTrend)")
alertcondition(risk_off_long, "RISK-OFF LONG (AadTrend)", "RISK-OFF LONG (AadTrend)")
alertcondition(risk_on_short, "RISK-ON SHORT (AadTrend)", "RISK-ON SHORT (AadTrend)")
alertcondition(risk_off_short, "RISK-OFF SHORT (AadTrend)", "RISK-OFF SHORT (AadTrend)")
Important Notes and Disclaimer
Experimental Nature: The AadTrend indicator is experimental and should be used with caution.
No Guaranteed Performance: Past performance is not indicative of future results. Backtesting results may not reflect real trading conditions.
User Responsibility: Traders and investors should thoroughly test and calibrate the indicator settings before applying it to live trading.
Risk Management: Always use proper risk management techniques, including stop-loss orders and position sizing.
Kolojo Scalping - EMA, ST, FVGDieses Skript wurde speziell für präzises Scalping entwickelt und eignet sich besonders gut für den Handel mit Gold. Es kombiniert mehrere leistungsstarke Werkzeuge, um optimale Trading-Entscheidungen zu unterstützen:
- Zwei anpassbare EMA-Linien: Ermöglichen eine flexible Anpassung an unterschiedliche Marktbedingungen.
- Supertrend-Indikator: Ein bewährtes Tool zur Erkennung von Trends und potenziellen Ein- und Ausstiegspunkten.
- Deutlich hervorgehobene Bullishe und Bearishe FVG (Fair Value Gaps): Unterstützen bei der Identifikation von Marktineffizienzen und potenziellen Umkehrzonen.
Dieses Skript ist ideal für Trader, die schnellen und präzisen Entscheidungen auf Basis klarer Signale treffen möchten.
(Persönlich bevorzugte TF: 15)
ADM Indicator [CHE] Comprehensive Description of the Three Market Phases for TradingView
Introduction
Financial markets often exhibit patterns that reflect the collective behavior of participants. Recognizing these patterns can provide traders with valuable insights into potential future price movements. The ADM Indicator is designed to help traders identify and capitalize on these patterns by detecting three primary market phases:
1. Accumulation Phase
2. Manipulation Phase
3. Distribution Phase
This indicator places labels on the chart to signify these phases, aiding traders in making informed decisions. Below is an in-depth explanation of each phase, including how the ADM Indicator detects them.
1. Accumulation Phase
Definition
The Accumulation Phase is a period where informed investors or institutions discreetly purchase assets before a potential price increase. During this phase, the price typically moves within a confined range between established highs and lows.
Characteristics
- Price Range Bound: The asset's price stays within the previous high and low after a timeframe change.
- Low Volatility: Minimal price movement indicates a balance between buyers and sellers.
- Steady Volume: Trading volume may remain relatively constant or show slight increases.
- Market Sentiment: General market interest is low, as the accumulation is not yet apparent to the broader market.
Detection with ADM Indicator
- Criteria: An accumulation is detected when the price remains within the previous high and low after a timeframe change.
- Indicator Action: At the end of the period, if accumulation has occurred, the indicator places a label "Accumulation" on the chart.
- Visual Cues: A yellow semi-transparent background highlights the accumulation phase, enhancing visual recognition.
Implications for Traders
- Entry Opportunity: Consider preparing for potential long positions before a possible upward move.
- Risk Management: Use tight stop-loss orders below the support level due to the defined trading range.
2. Manipulation Phase
Definition
The Manipulation Phase, also known as the Shakeout Phase, occurs when dominant market players intentionally move the price to trigger stop-loss orders and create panic among less-informed traders. This action generates liquidity and better entry prices for large positions.
Characteristics
- False Breakouts: The price moves above the previous high or below the previous low but quickly reverses.
- Increased Volatility: Sharp price movements occur without fundamental reasons.
- Stop-Loss Hunting: The price targets common stop-loss areas, triggering them before reversing.
- Emotional Trading: Retail traders may react impulsively, leading to poor trading decisions.
Detection with ADM Indicator
- Manipulation Up:
- Criteria: Detected when the price rises above the previous high and then falls back below it.
- Indicator Action: Places a label "Manipulation Up" on the chart at the point of detection.
- Manipulation Down:
- Criteria: Detected when the price falls below the previous low and then rises back above it.
- Indicator Action: Places a label "Manipulation Down" on the chart at the point of detection.
- Visual Cues:
- Manipulation Up: Blue background highlights the phase.
- Manipulation Down: Orange background highlights the phase.
Implications for Traders
- Caution Advised: Be wary of false signals and avoid overreacting to sudden price changes.
- Preparation for Next Phase: Use this phase to anticipate potential distribution and adjust strategies accordingly.
3. Distribution Phase
Definition
The Distribution Phase occurs when the institutions or informed investors who accumulated positions start selling to the general market at higher prices. This phase often follows a Manipulation Phase and may signal an impending trend reversal.
Characteristics
- Price Reversal: The price moves in the opposite direction of the prior manipulation.
- High Trading Volume: Increased selling activity as large players offload positions.
- Trend Weakening: The previous trend loses momentum, indicating a potential shift.
- Market Sentiment Shift: Optimism fades, and uncertainty or pessimism may emerge.
Detection with ADM Indicator
- Distribution Up:
- Criteria: Detected after a verified Manipulation Up when the price subsequently falls below the previous low.
- Indicator Action: Places a label "Distribution Up" on the chart.
- Distribution Down:
- Criteria: Detected after a verified Manipulation Down when the price subsequently rises above the previous high.
- Indicator Action: Places a label "Distribution Down" on the chart.
- Visual Cues:
- Distribution Up: Purple background highlights the phase.
- Distribution Down: Maroon background highlights the phase.
Implications for Traders
- Exit Signals: Consider closing long positions if in a Distribution Up phase.
- Short Selling Opportunities: Potential to enter short positions anticipating a downtrend.
Using the ADM Indicator on TradingView
Indicator Overview
The ADM Indicator automates the detection of Accumulation, Manipulation, and Distribution phases by analyzing price movements relative to previous highs and lows on a selected timeframe. It provides visual cues and labels on the chart, helping traders quickly identify the current market phase.
Features
- Multi-Timeframe Analysis: Choose from auto, multiplier, or manual timeframe settings.
- Visual Labels: Clear labeling of market phases directly on the chart.
- Background Highlighting: Distinct background colors for each phase.
- Customizable Settings: Adjust colors, styles, and display options.
- Period Separators: Optional separators delineate different timeframes.
Interpreting the Indicator
1. Accumulation Phase
- Detection: Price stays within the previous high and low after a timeframe change.
- Label: "Accumulation" placed at the period's end if detected.
- Background: Yellow semi-transparent color.
- Action: Prepare for potential long positions.
2. Manipulation Phase
- Detection:
- Manipulation Up: Price rises above previous high and then falls back below.
- Manipulation Down: Price falls below previous low and then rises back above.
- Labels: "Manipulation Up" or "Manipulation Down" placed at detection.
- Background:
- Manipulation Up: Blue color.
- Manipulation Down: Orange color.
- Action: Exercise caution; avoid impulsive trades.
3. Distribution Phase
- Detection:
- Distribution Up: After a Manipulation Up, price falls below previous low.
- Distribution Down: After a Manipulation Down, price rises above previous high.
- Labels: "Distribution Up" or "Distribution Down" placed at detection.
- Background:
- Distribution Up: Purple color.
- Distribution Down: Maroon color.
- Action: Consider exiting positions or entering counter-trend trades.
Configuring the Indicator
- Timeframe Type: Select Auto, Multiplier, or Manual for analysis timeframe.
- Multiplier: Set a custom multiplier when using "Multiplier" type.
- Manual Resolution: Define a specific timeframe with "Manual" option.
- Separator Settings: Customize period separators for visual clarity.
- Label Display Options: Choose to display all labels or only the most recent.
- Visualization Settings: Adjust colors and styles for personal preference.
Practical Tips
- Combine with Other Analysis Tools: Use alongside volume indicators, trend lines, or other technical tools.
- Backtesting: Review historical data to understand how the indicator signals would have impacted past trades.
- Stay Informed: Keep abreast of market news that might affect price movements beyond technical analysis.
- Risk Management: Always employ stop-loss orders and position sizing strategies.
Conclusion
The ADM Indicator is a valuable tool for traders seeking to understand and leverage market phases. By detecting Accumulation, Manipulation, and Distribution phases through specific price action criteria, it provides actionable insights into market dynamics.
Understanding the precise conditions under which each phase is detected empowers traders to make more informed decisions. Whether preparing for potential breakouts during accumulation, exercising caution during manipulation, or adjusting positions during distribution, the ADM Indicator aids in navigating the complexities of the financial markets.
Disclaimer:
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
This indicator is inspired by the Super 6x Indicators: RSI, MACD, Stochastic, Loxxer, CCI, and Velocity . A special thanks to Loxx for their relentless effort, creativity, and contributions to the TradingView community, which served as a foundation for this work.
Best regards Chervolino
Overview of the Timeframe Levels in the `autotimeframe()` Function
The `autotimeframe()` function automatically adjusts the higher timeframe based on the current chart timeframe. Here are the specific timeframe levels used in the function:
- Current Timeframe ≤ 1 Minute
→ Higher Timeframe: 240 Minutes (4 Hours)
- Current Timeframe ≤ 5 Minutes
→ Higher Timeframe: 1 Day
- Current Timeframe ≤ 1 Hour
→ Higher Timeframe: 3 Days
- Current Timeframe ≤ 4 Hours
→ Higher Timeframe: 7 Days
- Current Timeframe ≤ 12 Hours
→ Higher Timeframe: 1 Month
- Current Timeframe ≤ 1 Day
→ Higher Timeframe: 3 Months
- Current Timeframe ≤ 7 Days
→ Higher Timeframe: 6 Months
- For All Higher Timeframes (over 7 Days)
→ Higher Timeframe: 12 Months
Summary:
The function assigns a corresponding higher timeframe based on the current timeframe to optimize the analysis:
- 1 Minute or Less → 4 Hours
- Up to 5 Minutes → 1 Day
- Up to 1 Hour → 3 Days
- Up to 4 Hours → 7 Days
- Up to 12 Hours → 1 Month
- Up to 1 Day → 3 Months
- Up to 7 Days → 6 Months
- Over 7 Days → 12 Months
This automated adjustment ensures that the indicator works effectively across different chart timeframes without requiring manual changes.
Trend AnalyzerThe Trend Analyzer is designed to help traders identify and analyze market trends. Here's a simple explanation of its logic:
Main Features
Customizable Moving Average: The indicator plots a moving average on the chart. Users can choose from various types (SMA, EMA, WMA, VWMA, HMA, SMMA, TMA) and set the period. This flexibility allows traders to adapt the indicator to different trading styles and timeframes.
Trend Detection: It determines whether the current price is above or below the moving average, providing a clear visual representation of the current trend direction.
Sequence Counter: The indicator counts consecutive candles above or below the moving average. This feature helps traders identify trend strength and persistence, which can be crucial for timing entries and exits.
Statistical Analysis: It calculates probabilities for the next candle's direction based on historical data. This unique feature gives traders a statistical edge in predicting short-term price movements.
Visual Candle Counter: An optional feature that displays the number of consecutive candles above or below the moving average directly on the chart, enhancing visual analysis.
How It Works
The indicator continuously tracks the position of price relative to the chosen moving average.
It maintains a count of how many candles in a row have been above or below the moving average.
For each sequence length, it records historical data on how often the trend continued or reversed in the past.
This historical data is used to calculate probabilities for the next candle's direction, providing a statistical insight into potential price movements.
The indicator displays this information directly on the chart, allowing for quick and easy interpretation.
Practical Applications
Trend Confirmation: Use the indicator to confirm the strength and direction of current trends.
Entry and Exit Signals: The sequence counter and probability calculations can help in timing trades more effectively.
Risk Management: Understanding the statistical likelihood of trend continuation can aid in setting appropriate stop-loss and take-profit levels.
Market Analysis: The indicator provides valuable insights into market behavior and can be used for both short-term and long-term analysis.
While the Trend Analyzer provides valuable insights based on historical data and statistical analysis, it's important to remember that past performance does not guarantee future results. The financial markets are complex and influenced by numerous factors. This indicator should be used as part of a comprehensive trading strategy and not as a sole decision-making tool. Always practice proper risk management and consider seeking advice from financial professionals before making investment decisions.
MultiLayer Awesome Oscillator Saucer Strategy [Skyrexio]Overview
MultiLayer Awesome Oscillator Saucer Strategy leverages the combination of Awesome Oscillator (AO), Williams Alligator, Williams Fractals and Exponential Moving Average (EMA) to obtain the high probability long setups. Moreover, strategy uses multi trades system, adding funds to long position if it considered that current trend has likely became stronger. Awesome Oscillator is used for creating signals, while Alligator and Fractal are used in conjunction as an approximation of short-term trend to filter them. At the same time EMA (default EMA's period = 100) is used as high probability long-term trend filter to open long trades only if it considers current price action as an uptrend. More information in "Methodology" and "Justification of Methodology" paragraphs. The strategy opens only long trades.
Unique Features
No fixed stop-loss and take profit: Instead of fixed stop-loss level strategy utilizes technical condition obtained by Fractals and Alligator to identify when current uptrend is likely to be over (more information in "Methodology" and "Justification of Methodology" paragraphs)
Configurable Trading Periods: Users can tailor the strategy to specific market windows, adapting to different market conditions.
Multilayer trades opening system: strategy uses only 10% of capital in every trade and open up to 5 trades at the same time if script consider current trend as strong one.
Short and long term trend trade filters: strategy uses EMA as high probability long-term trend filter and Alligator and Fractal combination as a short-term one.
Methodology
The strategy opens long trade when the following price met the conditions:
1. Price closed above EMA (by default, period = 100). Crossover is not obligatory.
2. Combination of Alligator and Williams Fractals shall consider current trend as an upward (all details in "Justification of Methodology" paragraph)
3. Awesome Oscillator shall create the "Saucer" long signal (all details in "Justification of Methodology" paragraph). Buy stop order is placed one tick above the candle's high of last created "Saucer signal".
4. If price reaches the order price, long position is opened with 10% of capital.
5. If currently we have opened position and price creates and hit the order price of another one "Saucer" signal another one long position will be added to the previous with another one 10% of capital. Strategy allows to open up to 5 long trades simultaneously.
6. If combination of Alligator and Williams Fractals shall consider current trend has been changed from up to downtrend, all long trades will be closed, no matter how many trades has been opened.
Script also has additional visuals. If second long trade has been opened simultaneously the Alligator's teeth line is plotted with the green color. Also for every trade in a row from 2 to 5 the label "Buy More" is also plotted just below the teeth line. With every next simultaneously opened trade the green color of the space between teeth and price became less transparent.
Strategy settings
In the inputs window user can setup strategy setting: EMA Length (by default = 100, period of EMA, used for long-term trend filtering EMA calculation). User can choose the optimal parameters during backtesting on certain price chart.
Justification of Methodology
Let's go through all concepts used in this strategy to understand how they works together. Let's start from the easies one, the EMA. Let's briefly explain what is EMA. The Exponential Moving Average (EMA) is a type of moving average that gives more weight to recent prices, making it more responsive to current price changes compared to the Simple Moving Average (SMA). It is commonly used in technical analysis to identify trends and generate buy or sell signals. It can be calculated with the following steps:
1.Calculate the Smoothing Multiplier:
Multiplier = 2 / (n + 1), Where n is the number of periods.
2. EMA Calculation
EMA = (Current Price) × Multiplier + (Previous EMA) × (1 − Multiplier)
In this strategy uses EMA an initial long term trend filter. It allows to open long trades only if price close above EMA (by default 50 period). It increases the probability of taking long trades only in the direction of the trend.
Let's go to the next, short-term trend filter which consists of Alligator and Fractals. Let's briefly explain what do these indicators means. The Williams Alligator, developed by Bill Williams, is a technical indicator designed to spot trends and potential market reversals. It uses three smoothed moving averages, referred to as the jaw, teeth, and lips:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When these lines diverge and are properly aligned, the "alligator" is considered "awake," signaling a strong trend. Conversely, when the lines overlap or intertwine, the "alligator" is "asleep," indicating a range-bound or sideways market. This indicator assists traders in identifying when to act on or avoid trades.
The Williams Fractals, another tool introduced by Bill Williams, are used to pinpoint potential reversal points on a price chart. A fractal forms when there are at least five consecutive bars, with the middle bar displaying the highest high (for an up fractal) or the lowest low (for a down fractal), relative to the two bars on either side.
Key Points:
Up Fractal: Occurs when the middle bar has a higher high than the two preceding and two following bars, suggesting a potential downward reversal.
Down Fractal: Happens when the middle bar shows a lower low than the surrounding two bars, hinting at a possible upward reversal.
Traders often combine fractals with other indicators to confirm trends or reversals, improving the accuracy of trading decisions.
How we use their combination in this strategy? Let’s consider an uptrend example. A breakout above an up fractal can be interpreted as a bullish signal, indicating a high likelihood that an uptrend is beginning. Here's the reasoning: an up fractal represents a potential shift in market behavior. When the fractal forms, it reflects a pullback caused by traders selling, creating a temporary high. However, if the price manages to return to that fractal’s high and break through it, it suggests the market has "changed its mind" and a bullish trend is likely emerging.
The moment of the breakout marks the potential transition to an uptrend. It’s crucial to note that this breakout must occur above the Alligator's teeth line. If it happens below, the breakout isn’t valid, and the downtrend may still persist. The same logic applies inversely for down fractals in a downtrend scenario.
So, if last up fractal breakout was higher, than Alligator's teeth and it happened after last down fractal breakdown below teeth, algorithm considered current trend as an uptrend. During this uptrend long trades can be opened if signal was flashed. If during the uptrend price breaks down the down fractal below teeth line, strategy considered that uptrend is finished with the high probability and strategy closes all current long trades. This combination is used as a short term trend filter increasing the probability of opening profitable long trades in addition to EMA filter, described above.
Now let's talk about Awesome Oscillator's "Sauser" signals. Briefly explain what is the Awesome Oscillator. The Awesome Oscillator (AO), created by Bill Williams, is a momentum-based indicator that evaluates market momentum by comparing recent price activity to a broader historical context. It assists traders in identifying potential trend reversals and gauging trend strength.
AO = SMA5(Median Price) − SMA34(Median Price)
where:
Median Price = (High + Low) / 2
SMA5 = 5-period Simple Moving Average of the Median Price
SMA 34 = 34-period Simple Moving Average of the Median Price
Now we know what is AO, but what is the "Saucer" signal? This concept was introduced by Bill Williams, let's briefly explain it and how it's used by this strategy. Initially, this type of signal is a combination of the following AO bars: we need 3 bars in a row, the first one shall be higher than the second, the third bar also shall be higher, than second. All three bars shall be above the zero line of AO. The price bar, which corresponds to third "saucer's" bar is our signal bar. Strategy places buy stop order one tick above the price bar which corresponds to signal bar.
After that we can have the following scenarios.
Price hit the order on the next candle in this case strategy opened long with this price.
Price doesn't hit the order price, the next candle set lower low. If current AO bar is increasing buy stop order changes by the script to the high of this new bar plus one tick. This procedure repeats until price finally hit buy order or current AO bar become decreasing. In the second case buy order cancelled and strategy wait for the next "Saucer" signal.
If long trades has been opened strategy use all the next signals until number of trades doesn't exceed 5. All trades are closed when the trend changes to downtrend according to combination of Alligator and Fractals described above.
Why we use "Saucer" signals? If AO above the zero line there is a high probability that price now is in uptrend if we take into account our two trend filters. When we see the decreasing bars on AO and it's above zero it's likely can be considered as a pullback on the uptrend. When we see the stop of AO decreasing and the first increasing bar has been printed there is a high probability that this local pull back is finished and strategy open long trade in the likely direction of a main trend.
Why strategy use only 10% per signal? Sometimes we can see the false signals which appears on sideways. Not risking that much script use only 10% per signal. If the first long trade has been open and price continue going up and our trend approximation by Alligator and Fractals is uptrend, strategy add another one 10% of capital to every next saucer signal while number of active trades no more than 5. This capital allocation allows to take part in long trades when current uptrend is likely to be strong and use only 10% of capital when there is a high probability of sideways.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2024.11.25. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 10%
Maximum Single Position Loss: -5.10%
Maximum Single Profit: +22.80%
Net Profit: +2838.58 USDT (+28.39%)
Total Trades: 107 (42.99% win rate)
Profit Factor: 3.364
Maximum Accumulated Loss: 373.43 USDT (-2.98%)
Average Profit per Trade: 26.53 USDT (+2.40%)
Average Trade Duration: 78 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 3h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation
Swing Support/Resistance with Volume [ClarifyChart]The "Swing Support/Resistance with Volume" indicator is a powerful tool designed for traders seeking to identify key levels of market structure along with the associated trading volume. By analyzing historical price action, it highlights swing highs and lows, marking potential support and resistance zones that are critical for technical analysis. The inclusion of volume data provides additional context, helping traders gauge the strength and significance of these zones.
Use Case
Support and Resistance Identification:
Highlights swing highs and lows, which are natural areas of support and resistance. These levels often act as key zones for price reversal, consolidation, or breakout.
Volume-Weighted Analysis:
The script incorporates the trading volume of swing points, giving traders insight into the participation and conviction behind these moves. Higher volume at a swing point indicates stronger support or resistance.
Decision-Making Tool:
Traders can use this indicator to plan entries and exits, set stop-loss levels, or identify high-probability areas for reversals.
Key Features
Swing Highs and Lows:
The script uses a customizable Swing Lookback input to identify pivot points. A higher lookback period focuses on significant swings, while a lower value captures smaller price fluctuations.
Visual Zones:
Support and resistance zones are plotted as shaded boxes, color-coded for easy differentiation.
Bullish Zones (swing highs) are teal.
Bearish Zones (swing lows) are red.
Volume Information:
Each zone displays the volume at its corresponding swing point, providing valuable context about market participation.
How It Works
High/Low Detection:
The script detects swing highs and lows using the ta.pivothigh and ta.pivotlow functions, based on the user-defined Swing Lookback period.
Volume Capture:
The volume at the candle corresponding to each swing high or low is recorded and displayed as text within the plotted zone.
Zone Creation:
For each identified swing, a shaded zone is drawn using the box and line functions. The height of the box is dynamically adjusted using the ATR (Average True Range) to account for market volatility.
Benefits
Enhanced Market Clarity:
Simplifies the identification of critical support and resistance levels.
Actionable Insights:
Helps traders assess the strength of these levels through volume.
Customizability:
Adjustable lookback period to fit different trading strategies and timeframes.
Flaws/Limitations
Static Zones:
The zones are based on past data and do not dynamically update with new price action.
Volume Interpretation:
High or low volume doesn’t inherently indicate direction; it requires additional confirmation.
Lookback Sensitivity:
The swing detection is reliant on the Swing Lookback parameter, which may need frequent adjustment depending on market conditions.
This indicator is a versatile tool for traders who value clean charts, robust support/resistance analysis, and the inclusion of volume as a decision-making factor. While it works well on its own, combining it with other indicators (e.g., trend indicators or oscillators) can further enhance its effectiveness.
Adapted RSI w/ Multi-Asset Regime Detection v1.1The relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of an asset's recent price changes to detect overbought or oversold conditions in the price of said asset.
In addition to identifying overbought and oversold assets, the RSI can also indicate whether your desired asset may be primed for a trend reversal or a corrective pullback in price. It can signal when to buy and sell.
The RSI will oscillate between 0 and 100. Traditionally, an RSI reading of 70 or above indicates an overbought condition. A reading of 30 or below indicates an oversold condition.
The RSI is one of the most popular technical indicators. I intend to offer a fresh spin.
Adapted RSI w/ Multi-Asset Regime Detection
Our Adapted RSI makes necessary improvements to the original Relative Strength Index (RSI) by combining multi-timeframe analysis with multi-asset monitoring and providing traders with an efficient way to analyse market-wide conditions across different timeframes and assets simultaneously. The indicator automatically detects market regimes and generates clear signals based on RSI levels, presenting this data in an organised, easy-to-read format through two dynamic tables. Simplicity is key, and having access to more RSI data at any given time, allows traders to prepare more effectively, especially when trading markets that "move" together.
How we calculate the RSI
First, the RSI identifies price changes between periods, calculating gains and losses from one look-back period to the next. This look-back period averages gains and losses over 14 periods, which in this case would be 14 days, and those gains/losses are calculated based on the daily closing price. For example:
Average Gain = Sum of Gains over the past 14 days / 14
Average Loss = Sum of Losses over the past 14 days / 14
Then we calculate the Relative Strength (RS):
RS = Average Gain / Average Loss
Finally, this is converted to the RSI value:
RSI = 100 - (100 / (1 + RS))
Key Features
Our multi-timeframe RSI indicator enhances traditional technical analysis by offering synchronised Daily, Weekly, and Monthly RSI readings with automatic regime detection. The multi-asset monitoring system allows tracking of up to 10 different assets simultaneously, with pre-configured major pairs that can be customised to any asset selection. The signal generation system provides clear market guidance through automatic regime detection and a five-level signal system, all presented through a sophisticated visual interface with dynamic RSI line colouring and customisable display options.
Quick Guide to Use it
Begin by adding the indicator to your chart and configuring your preferred assets in the "Asset Comparison" settings.
Position the two information tables according to your preference.
The main table displays RSI analysis across three timeframes for your current asset, while the asset table shows a comparative analysis of all monitored assets.
Signals are colour-coded for instant recognition, with green indicating bullish conditions and red for bearish conditions. Pay special attention to regime changes and signal transitions, using multi-timeframe confluence to identify stronger signals.
How it Works (Regime Detection & Signals)
When we say 'Regime', a regime is determined by a persistent trend or in this case momentum and by leveraging this for RSI, which is a momentum oscillator, our indicator employs a relatively simple regime detection system that classifies market conditions as either Bullish (RSI > 50) or Bearish (RSI < 50). Our benchmark between a trending bullish or bearish market is equal to 50. By leveraging a simple classification system helps determine the probability of trend continuation and the weight given to various signals. Whilst we could determine a Neutral regime for consolidating markets, we have employed a 'neutral' signal generation which will be further discussed below...
Signal generation occurs across five distinct levels:
Strong Buy (RSI < 15)
Buy (RSI < 30)
Neutral (RSI 30-70)
Sell (RSI > 70)
Strong Sell (RSI > 85)
Each level represents different market conditions and probability scenarios. For instance, extreme readings (Strong Buy/Sell) indicate the highest probability of mean reversion, while neutral readings suggest equilibrium conditions where traders should focus on the overall regime bias (Bullish/Bearish momentum).
This approach offers traders a new and fresh spin on a popular and well-known tool in technical analysis, allowing traders to make better and more informed decisions from the well presented information across multiple assets and timeframes. Experienced and beginner traders alike, I hope you enjoy this adaptation.
GLI w/ OffsetThis is a fork of @ingeforberg's Global Liquidity Index script but adds the ability to offset the global liquidity line.
ulasozcalkapBu strateji, finansal piyasalarda daha bilinçli ve kârlı işlemler yapmanızı sağlamak amacıyla tasarlanmıştır. Stratejimiz, detaylı teknik analiz, doğru risk yönetimi ve sabırlı bir yaklaşımı bir araya getirerek, kullanıcıların tutarlı kazançlar elde etmesine yardımcı olmayı hedefler.
Stratejinin temel mantığı, fiyat hareketlerindeki önemli trendleri ve dönüş noktalarını belirlemek üzerine kuruludur. Bunun için strateji, belirli göstergeler ve kriterler temelinde işlem sinyalleri üretir. Ancak unutmayın, bu sinyallerin etkinliği, piyasadaki mevcut koşullara bağlı olarak değişiklik gösterebilir. Bu nedenle, stratejiyi kullanırken şunlara dikkat etmeniz çok önemlidir:
Doğru Risk Yönetimi: Her işlemde riskinizi kontrol altında tutmalısınız. Yatırdığınız sermayenin küçük bir kısmını riske atarak, olası kayıpların büyümesini önleyebilirsiniz. Stop-loss ve take-profit seviyelerini dikkatle belirlemek bu sürecin kritik bir parçasıdır.
Sabır ve Disiplin: Piyasada kazanç sağlamak hızlı değil, sürdürülebilir bir süreçtir. Sabırlı olun ve stratejinin önerdiği sinyalleri acele etmeden değerlendirin. Hatalı işlemlerden kaçınmak için planınıza sadık kalın.
Piyasa Dinamiklerini Takip Edin: Strateji, mevcut piyasa koşullarına göre optimize edilmiştir, ancak finansal piyasalar sürekli değişir. Bu nedenle, ekonomik gelişmeleri, haberleri ve teknik göstergelerin uyumunu yakından takip edin.
Demo Hesapta Test Edin: Yeni bir stratejiyi uygulamadan önce mutlaka demo hesapta test ederek performansını ölçün. Gerçek para ile işlem yapmadan önce stratejiyi anlamak ve kendinize güven kazanmak çok önemlidir.
Bu strateji, profesyonel veya yeni başlayan tüm yatırımcılar için bir rehber niteliği taşır. Ancak unutulmaması gereken önemli bir nokta, hiçbir stratejinin %100 başarı garantisi sunmadığıdır. Finansal piyasalarda risk her zaman vardır. Bu nedenle stratejiyi bir araç olarak görmeli ve kendi analizlerinizle desteklemelisiniz.
Elde edeceğiniz başarı, stratejiyi ne kadar doğru kullandığınıza ve disiplini ne ölçüde koruduğunuza bağlıdır. Kazançlı ve sürdürülebilir işlemler için bu stratejiye güvenebilirsiniz. Ancak riskin her zaman bir parçası olduğunu unutmayarak, kararlarınızı buna göre şekillendirin. Başarılar dileriz! 🚀
GMMA Fill smsm egmiThe modified Gamma Fill tool is good for trading but be careful. It is better to use it with another strategy. I wish everyone the best.
Fibonacci Retracement Custom - 52 WeeksPlots 52 Week Retracement using its max and min. Dash lines are increments of 25%, dot lines are 1/4 of each range.
Smart Money Concepts [LuxAlgo] + TEEM BUY SELL SIGNAL this strategy base on BOS of lux algo
RR1:1
SL on SWING LOW
recommend low TF
YGR ENTRY MODEL 1.0Este indicador combina el oscilador estocástico con una confirmación adicional basada en el volumen. Se utiliza para identificar condiciones de sobrecompra y sobreventa en el mercado, filtrando señales falsas mediante el análisis del volumen.
%K y %D del estocástico se trazan con líneas de color amarillo y negro, respectivamente.
Señales de compra (verde) cuando el estocástico está en sobreventa (por debajo de 20) y el volumen actual es superior al volumen promedio.
Señales de venta (roja) cuando el estocástico está en sobrecompra (por encima de 80) y el volumen actual es superior al volumen promedio.
Líneas horizontales en los niveles de sobrecompra (80) y sobreventa (20) para facilitar la visualización.
Ideal para traders que buscan un enfoque más robusto para confirmar las señales del estocástico con un filtro de volumen.
Bollinger Bands na otkateИндикатор на основе полос Боллинджера (Bollinger Bands) генерирует сигналы на покупку или продажу в зависимости от определенных условий.
Полосы Боллинджера:
Основная полоса (Basis):
Рассчитывается как скользящее среднее цены (SMA).
Пользователь может настроить длину (BB length), которая определяет период расчета (20).
Верхняя и нижняя линии (Upper и Lower):
Вычисляются на основе стандартного отклонения (Standard Deviation) с заданным множителем (2).
Верхняя линия: basis + dev, нижняя линия: basis - dev.
Экспоненциальная скользящая средняя (EMA):
EMA (200):
Дополнительно рассчитывается EMA для фильтрации сигналов.
Показывается на графике, если включен параметр Show EMA.
Если включен параметр Use EMA in Signals, EMA используется как дополнительное условие для сигналов:
Лонг (покупка) допускается, если цена находится выше EMA.
Шорт (продажа) допускается, если цена находится ниже EMA.
Логика сигналов на лонг (покупка):
Текущее условие (currentBarLongCondition):
Свеча пробила нижнюю линию полос Боллинджера снизу вверх.
Условие по предыдущим барам (previousBarCondition):
Проверяется, были ли закрытия выше верхней линии полос Боллинджера за последние Number of previous bars to check баров.
Итоговый сигнал:
Если оба условия выполнены, формируется сигнал на покупку (Long Signal).
Логика сигналов на шорт (продажа):
Текущее условие (currentBarShortCondition):
Свеча пробила верхнюю линию полос Боллинджера сверху вниз.
Условие по предыдущим барам (previousBarCondition_2):
Проверяется, были ли закрытия ниже нижней линии полос Боллинджера за последние Number of previous bars to checkбаров.
Итоговый сигнал:
Если оба условия выполнены, формируется сигнал на продажу (Short Signal).
Визуализация:
График полос Боллинджера:
Верхняя, нижняя и базовая линии отображаются на графике.
Между линиями добавлены заливки для визуального удобства:
Между основой и верхней линией – цветовая заливка сверху.
Между основой и нижней линией – цветовая заливка снизу.
EMA:
Отображается, если включен параметр Show EMA.
Генерация сигналов:
Сигналы на лонг и шорт визуализируются на графике в виде меток (Long и Short).
Пользователь может выбрать, какие сигналы отображать, с помощью параметра Show:
Только лонги (Longs Only).
Только шорты (Shorts Only).
Оба типа сигналов (Both).
Уведомления:
Настраиваются через функцию alertcondition, чтобы пользователь мог получать уведомления о сигналах в режиме реального времени.
Ключевые параметры настройки:
BB length : Период расчета полос Боллинджера.
Standard Deviation : Множитель для расчета стандартного отклонения.
Number of previous bars to check : Количество предыдущих баров для анализа.
Show EMA : Показывать/скрывать EMA на графике.
Use EMA in Signals : Использовать EMA как фильтр для сигналов.
Trade Type : Выбор отображаемых сигналов (лонг, шорт, оба).
Kinjun CrossoverThis custom PineScript indicator integrates the Kijun line from the Ichimoku Kinko Hyo system with an Exponential Moving Average (EMA) to assist traders in identifying potential market trends and entry points by analyzing the relationship between the Exponential Moving Average (EMA) and the Kijun line.
Key Features:
EMA and Kijun Line Calculation:
EMA: Calculated using the closing prices over a user-defined period (ema_length), the EMA smooths out price data to highlight short-term market trends.
Kijun Line: Computed independently as the average of the highest high and lowest low over a specified period (kijun_period), the Kijun line indicates medium-term market momentum and potential support/resistance levels.
Signal Generation:
Long Signals: A long (buy) signal is generated when the EMA crosses above the Kijun line, suggesting a potential upward trend.
Short Signals: A short (sell) signal occurs when the EMA crosses below the Kijun line, indicating a possible downward movement.
Visual Representation:
Both the EMA and Kijun lines are plotted on the chart with distinct colors for easy visualization.
Arrows are displayed on the chart to mark long and short signals—green upward arrows for long signals and red downward arrows for short signals.
Important Notice:
Trading financial instruments involves significant risk and may not be suitable for all investors. The use of technical indicators like this one does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and staying informed about current market conditions. Always conduct thorough research or consult with a qualified financial advisor before making trading decisions. Past performance is not indicative of future results.
Swing Trading Strategy with DMIThis strategy factors in several indicators seeking to identify a bull trend. When the bull trend is identified the strategy will alert to buy. We consider the DMI and several averages. This strategy takes a small piece of profit normally 3-5% from an uptrend then sells to avoid holding into a reversal. The profit can be set to any percentage but the strategy work best when limited to 3-5%. The strategy does not include stop losses, which can be set at the users preference.
The SAR is used to confirm the bull trend which is checked against the DMI.
Dynamic Moving Average Filter【Little_Turtle】
===== 📊 Dynamic Moving Average Filter 📊=====
This indicator is a dynamic moving average that primarily functions to plot multiple moving averages (MA) of different periods on the chart. It allows users to analyze price trends by selecting different types of moving averages (EMA or SMA).
===== Key Features: ↓↓↓ =====
🔵 1. Dynamic Moving Averages: The indicator dynamically displays moving averages of different periods based on market price changes. These moving averages help traders identify the direction of price trends. By choosing between Exponential Moving Average (EMA) or Simple Moving Average (SMA), traders can select the most suitable type of moving average based on market conditions.
🔵 2. Customizable Periods: Users can customize the period of each moving average, ranging from 5 to 200. Different periods help traders understand short-term, medium-term, or long-term market trends.
🔵 3. Color Changes: The color of each moving average dynamically changes based on its movement. For example:
If the moving average rises and is above the reference moving average, it will be displayed in light green (indicating an uptrend).
If the moving average falls but is still above the reference moving average, it will be shown in maroon (indicating a price pullback).
If the moving average declines and is below the reference moving average, it will be displayed in red (indicating a downtrend).
In other cases, the moving average color will adjust based on various price movements to reflect market dynamics.
🔵 4. Adjustable Parameters:
Moving Average Type: Users can choose to use either EMA (Exponential Moving Average) or SMA (Simple Moving Average).
Period Length: Up to 21 different period lengths can be selected, and each period length can be set independently.
Color Settings: Users can assign different colors to each moving average, allowing them to differentiate between various trends.
===== Applications: ↓↓↓ =====
🔵 1. Trend Identification: This indicator helps traders visually identify market trends through dynamic color changes. When a short-term moving average (such as the 5-day MA) crosses above a long-term moving average (such as the 100-day MA), it often signals a buy opportunity. Conversely, when the short-term MA crosses below the long-term MA, it may indicate a sell signal.
🔵 2. Noise Filtering:
By choosing different types of moving averages (EMA being more sensitive to price changes, while SMA is better for smoothing long-term fluctuations), traders can filter out short-term market noise and focus on the changes in long-term trends.
🔵 3. Strategy Support:
It can be combined with other technical indicators (such as RSI or MACD) to further confirm signals, enhancing the accuracy of trading strategies.
===== ⚙️ Usage Scenarios: ↓↓↓ ⚙️=====
Short-Term Trading: Use shorter period moving averages (such as 5-day or 10-day MAs) to capture quick price changes.
Medium to Long-Term Investment: Use longer period moving averages (such as 50-day, 100-day, or 200-day MAs) to identify larger trends, assisting in long-term investment decisions.
===== 📄 Summary 📄 =====
This indicator, with its flexible customization options and dynamic color changes, helps traders analyze market trends more effectively, adapting to various trading styles and strategies.
Daily Directional Bias Indicator (S&P 500)This indicator is designed to help you be on the right side of the trade.
Most traders who struggle to know which way price may move are only looking at part of the picture. This Directional Bias Indicator uses both the Accumulation/Distribution Line and VIX for directional confirmation.
The Accumulation/Distribution Line
The Accumulation/Distribution (ACC) line helps us gauge market momentum by showing the cumulative flow of money into or out of an asset. When the ACC line is rising, it suggests that buying pressure is dominating, indicating a bullish market. Conversely, when the ACC line is falling, it suggests that selling pressure is stronger, indicating a bearish market. By comparing the ACC line with the VWAP, traders can see if the price is moving in line with the overall market sentiment. If the ACC line is above the VWAP, it suggests the market is in a bullish phase; if it's below, it indicates a bearish phase.
The VIX
The VIX (Volatility Index) is often referred to as the "fear gauge" of the market. When the VIX is rising, it typically signals increased market fear and higher volatility, which can be a sign of bearish market conditions. Conversely, when the VIX is falling, it suggests lower volatility and a more stable, bullish market. Using the VIX with the VWAP helps us confirm market direction, particularly in relation to the S&P 500.
VWAP
For both the ACC Line and VIX, we use a VWAP line to gauge whether the ACC line or the VIX is above or below the average. When the ACC line is above the VWAP, we view it as a sign that price will go up. However, because the VIX has an inverse relationship, when the VIX falls below the VWAP, we take that as a sign to go long.
How to use
The yellow line represents the ACC Line.
The red line represents the VWAP based on the ACC line.
The triangles at the bottom simply show when the ACC line is above or below the VWAP.
The triangles at the top show whether the VIX is bullish or bearish.
If both triangles (top or bottom) are bullish, this confirms that the price of an asset like the S&P 500 will likely go up. If both triangles are pointing down, it suggests that price will fall.
As always, test for yourself.
Happy trading!