MTF Squeeze Analyzer - [tradeviZion]MTF Squeeze Analyzer
Multi-Timeframe Squeeze Pro Analyzer Tool
Overview:
The MTF Squeeze Analyzer is a comprehensive tool designed to help traders monitor the TTM Squeeze indicator across multiple timeframes in a streamlined and efficient manner. Built with Pine Script™ version 5, this indicator enhances your market analysis by providing detailed insights into squeeze conditions and momentum shifts, enabling you to make more informed trading decisions.
Key Features:
1. Multi-Timeframe Monitoring:
Comprehensive Coverage: Track squeeze conditions across multiple timeframes, including 1-minute, 5-minute, 15-minute, 30-minute, 1-hour, 2-hour, 4-hour, and daily charts.
Squeeze Counts: Keep count of the number of consecutive bars the price has been within each squeeze level (low, mid, high), helping you assess the strength and duration of consolidation periods.
2. Dynamic Table Display:
Customizable Appearance: Adjust table position, text size, and colors to suit your preferences.
Color-Coded Indicators: Easily identify squeeze levels and momentum shifts with intuitive color schemes.
Message Integration: Features rotating messages to keep you engaged and informed.
3. Alerts for Key Market Events:
Squeeze Start and Fire Alerts: Receive notifications when a squeeze starts or fires on your selected timeframes.
Custom Squeeze Count Alerts: Set thresholds for squeeze counts and get alerted when these levels are reached, allowing you to anticipate potential breakouts.
Fully Customizable: Choose which alerts you want to receive and tailor them to your trading strategy.
4. Momentum Analysis:
Momentum Oscillator: Visualize momentum using a histogram that changes color based on momentum shifts.
Detailed Insights: Determine whether momentum is increasing or decreasing to make more strategic trading decisions.
How It Works:
The indicator is based on the TTM Squeeze concept, which identifies periods of low volatility where the market is "squeezing" before a potential breakout. It analyzes the relationship between Bollinger Bands and Keltner Channels to determine squeeze conditions and uses linear regression to calculate momentum.
1. Squeeze Levels:
No Squeeze (Green): Market is not in a squeeze.
Low Compression Squeeze (Gray): Mild consolidation, potential for a breakout.
Mid Compression Squeeze (Red): Moderate consolidation, higher breakout potential.
High Compression Squeeze (Orange): Strong consolidation, significant breakout potential.
2. Squeeze Counts:
Tracks the number of consecutive bars in each squeeze condition.
Helps identify how long the market has been consolidating, providing clues about potential breakout timing.
3. Momentum Histogram:
Upward Momentum: Shown in aqua or blue, indicating increasing or decreasing upward momentum.
Downward Momentum: Displayed in red or yellow, representing increasing or decreasing downward momentum.
Using Alerts:
Stay ahead of market movements with customizable alerts:
1. Enable Alerts in Settings:
Squeeze Start Alert: Get notified when a new squeeze begins.
Squeeze Fire Alert: Be alerted when a squeeze ends, signaling a potential breakout.
Squeeze Count Alert: Set a specific number of bars for a squeeze condition, and receive an alert when this count is reached.
2. Set Up Alerts on Your Chart:
Click on the indicator name and select " Add Alert on MTF Squeeze Analyzer ".
Choose your desired alert conditions and customize the notification settings.
Click " Create " to activate the alerts.
How to Set It Up:
1. Add the Indicator to Your Chart:
Search for " MTF Squeeze Analyzer " in the TradingView Indicators library.
Add it to your chart.
2. Customize Your Settings:
Table Display:
Choose whether to show the table and select its position on the chart.
Adjust text size and colors to enhance readability.
Timeframe Selection:
Select the timeframes you want to monitor.
Enable or disable specific timeframes based on your trading strategy.
Colors & Styles:
Customize colors for different squeeze levels and momentum shifts.
Adjust header and text colors to match your chart theme.
Alert Settings:
Enable alerts for squeeze start, squeeze fire, and squeeze counts.
Set your preferred squeeze type and count threshold for alerts.
3. Interpret the Data:
Table Information:
The table displays the squeeze status and counts for each selected timeframe.
Colors indicate the type of squeeze, making it easy to assess market conditions at a glance.
Momentum Histogram:
Use the histogram to gauge the strength and direction of market momentum.
Observe color changes to identify shifts in momentum.
Why Use MTF Squeeze Analyzer ?
Enhanced Market Insight:
Gain a deeper understanding of market dynamics by monitoring multiple timeframes simultaneously.
Identify potential breakout opportunities by analyzing squeeze durations and momentum shifts.
Customizable and User-Friendly:
Tailor the indicator to fit your trading style and preferences.
Easily adjust settings without needing to delve into the code.
Time-Efficient:
Save time by viewing all relevant squeeze information in one place.
Reduce the need to switch between different charts and timeframes.
Stay Informed with Alerts:
Never miss a critical market movement with fully customizable alerts.
Focus on other tasks while the indicator monitors the market for you.
Acknowledgment:
This tool builds upon the foundational work of John Carter , who developed the TTM Squeeze concept. It also incorporates enhancements from LazyBear and Makit0 , providing a more versatile and powerful indicator. MTF Squeeze Analyzer extends these concepts by adding multi-timeframe analysis, squeeze counting, and advanced alerting features, offering traders a comprehensive solution for market analysis.
Note: Always practice proper risk management and test the indicator thoroughly to ensure it aligns with your trading strategy. Past performance is not indicative of future results.
Trade smarter with TradeVizion—unlock your trading potential today!
Ttmsqueeze
MTF SqzMom [tradeviZion]Credits:
John Carter for creating the TTM Squeeze and TTM Squeeze Pro.
Lazybear for the original interpretation of the TTM Squeeze: Squeeze Momentum Indicator.
Makit0 for evolving Lazybear's script by incorporating TTM Squeeze Pro upgrades – Squeeze PRO Arrows.
MTF SqzMom - Multi-Timeframe Squeeze & Momentum Tool
MTF SqzMom is a tool designed to help traders easily monitor squeeze and momentum signals across multiple timeframes in a simple, organized format. Built using Pine Script 5, it ensures that data remains consistent, even when switching between different time intervals on the chart.
Key Features:
Multi-Timeframe Monitoring: Track squeeze and momentum signals across various timeframes, all in one view. This includes key timeframes like 1-minute, 5-minute, hourly, and daily.
Dynamic Table Display: A color-coded table that automatically adjusts based on the selected timeframes, offering a clear view of market conditions.
Alerts for Key Market Events: Get notifications when a squeeze starts or fires across your chosen timeframes, so you can stay informed without needing to monitor the chart continuously.
Customizable Appearance: Tailor the look of the table by selecting colors for squeeze levels and momentum shifts, and choose the best position on your chart for easy access.
How It Works:
MTF SqzMom is based on the concept of the squeeze, which signals periods of lower volatility where price breakouts may occur. The tool tracks this by monitoring the contraction of Bollinger Bands within Keltner Channels. Along with this, it provides momentum analysis to help you gauge the potential direction of the market after a squeeze.
Squeeze Conditions: The script tracks four levels of squeeze conditions (no squeeze, low, mid, and high), each represented by a different color in the table.
Momentum Analysis: Momentum is visually represented by colors indicating four stages: up increasing, up decreasing, down increasing, and down decreasing. This color coding helps you quickly assess whether the market is gaining or losing momentum.
Using Alerts:
You can enable two types of alerts: when a squeeze starts (indicating consolidation) and when a squeeze fires (indicating a breakout). These alerts cover all timeframes you’ve selected, so you never miss important signals.
How to Set It Up:
1. Enable Alerts in Settings: Turn on "Alert for Squeeze Start" and "Alert for Squeeze Fire" in the settings.
2. Add Alerts to Your Chart:
Click the three dots next to the indicator name.
Select "Add alert on tradeviZion - MTF SqzMom."
3. Customize and Save: Adjust alert options, choose your notification type, and click "Create."
Why Use MTF SqzMom ?
Consistent Data: The tool ensures that squeeze and momentum data remain consistent, even when you switch between chart intervals.
Real-Time Alerts: Stay updated with alerts for squeeze conditions without needing to constantly watch the chart.
Simple to Use, Customizable to Fit: You can easily adjust the table’s look and choose the timeframes and colors that best suit your trading style.
Acknowledgment:
While this tool builds on the TTM Squeeze concept developed by John Carter of Simpler Trading, it offers added flexibility through multi-timeframe analysis, alerts, and customizability to make monitoring market conditions more accessible.
Squeeze Momentum DeluxeThe Squeeze Momentum Deluxe is a comprehensive trading toolkit built with features of momentum, volatility, and price action. This script offers a suite for both mean reversion and trend-following analysis. Developed based on the original TTM Squeeze implementation by @LazyBear, this indicator introduces several innovative components to enhance your trading insights.
🔲 Components and Features
Momentum Oscillator - as rooted in the TTM Squeeze, quantifies the relationship between price and its extremes over a defined period. By normalizing the calculation, the values become comparable throughout time and across securities, allowing for a nuanced assessment of Bullish and Bearish momentum. Furthermore, by presenting it as a ribbon with a signal line we gain additional information about the direction of price swings.
Squeeze Bars - The original squeeze concept is based on the relationship between the Bollinger Bands and Keltner Channel , once the BB resides inside the KC a squeeze occurs. By understanding their fundamentals a new form of calculation can be inferred.
method bb(float src, simple int len, simple float mult) => method kc(float src, simple int len, simple float mult) =>
float basis = ta.sma (src, len) float basis = ta.sma (src, len)
float dev = ta.stdev(src, len) float rng = ta.atr ( len)
float upper = basis + dev * mult float upper = basis + rng * mult
float lower = basis - dev * mult float lower = basis - rng * mult
Both BB and KC are constructed upon a moving average with the addition of Standard Deviation and Average True Range respectively. Therefore, the calculation can be transformed to when the Stdev is lower than the ATR a squeeze occurs.
method sqz(float src, simple int len) =>
float dev = ta.stdev(src, len)
float atr = ta.atr ( len)
dev < atr ? true : false
This indicator uses three different thresholds for the ATR to gain three levels of price "Squeeze" for further analysis.
Directional Flux- This component measures the overall direction of price volatility, offering insights into trend sentiment. Presented as waves in the background, it includes an OverFlux feature to signal extreme market bias in a particular direction which can signal either exhaustion or vital continuation. Additionally, the user can choose if to base the calculation on Heikin-Ashi Candles to bias the tool toward trend assessment.
Confluence Gauges - Placed at the top and bottom of the indicator, these gauges measure confluence in the relationship between the Momentum Oscillator and Directional Flux. They provide traders with an easily interpretable visual aid for detecting market sentiment. Reversal doritos displayed alongside them contribute to mean reversion analysis.
Divergences (Real-Time) - Equipped with a custom algorithm, the indicator detects real-time divergences between price and the oscillator. This dynamic feature enhances your ability to spot potential trend reversals as they occur.
🔲 Settings
Directional Flux Length - Adjusts the period of which the background volatility waves operate on.
Trend Bias - Bases the calculation of the Flux to HA candles to bias its behavior toward the trend of price action.
Squeeze Momentum Length - Calibrates the length of the main oscillator ribbon as well as the period for the squeeze algorithm.
Signal - Controls the width of the ribbon. Lower values result in faster responsiveness at the cost of premature positives.
Divergence Sensitivity - Adjusts a threshold to limit the amount of divergences detected based on strength. Higher values result in less detections, stronger structure.
🔲 Alerts
Sell Signal
Buy Signal
Bullish Momentum
Bearish Momentum
Bullish Flux
Bearish Flux
Bullish Swing
Bearish Swing
Strong Bull Gauge
Strong Bear Gauge
Weak Bull Gauge
Weak Bear Gauge
High Squeeze
Normal Squeeze
Low Squeeze
Bullish Divergence
Bearish Divergence
As well as the option to trigger 'any alert' call.
The Squeeze Momentum Deluxe is a comprehensive tool that goes beyond traditional momentum indicators, offering a rich set of features to elevate your trading strategy. I recommend using toolkit alongside other indicators to have a wide variety of confluence to therefore gain higher probabilistic and better informed decisions.
Squeeze Range: Bollinger Bands / Keltner Channels [Whvntr]Presenting Squeeze Range: Bollinger Bands / Keltner Channels
TTMSqueeze method is a volatility and momentum indicator introduced by John Carter of Simpler Trading, which capitalizes on the tendency for price to break out strongly after consolidating in a tight trading range.
How did I make this indicator? The Bollinger Bands & Keltner Channels base scripts are from the standard indicators of their class in the Technicals section... I made this indicator first then noticed there were 3 others with a similar concept, but this differs in it's unique features and application of the TTMSqueeze strategy. This indicator plots the True Range of the Keltner Channel (Customizable in 'Bands Style" in the Inputs Menu) the instances the Bollinger Bands are within the range of the Keltner channel (the market just entered a squeeze).
Featuring: customizable Moving Averages
1. Exponential (Default for both BB & KC)
2. Simple
3. RMA (MA used in RSI )
Keltner channels have a multiplier of 2 & 3 on the Chart (3 being the outer).
How do I use this indicator? Once the teal dots are inside the solid red lines this would indicate that TTMperiod of low market volatility (the market is preparing itself for an explosive move up or down). Do some research and study how to use the TTMSqueeze method by John Carter. Disclaimer: not a guarantee of future favorable results.
TTM Regression°This oscillator attempts to provide context to John Carter's "TTM Squeeze" indicator.
Similar to my MAR° indicator, statistically significant areas based on the past n candles (Lookback) are calculated to provide context for the y-axis values of the TTM indicator.
Note that Carter's squeeze idea has been dropped in favour of the regression bands, in that they offer a clear visual momentum squeeze condition.
The regression bands identify temporary exhaustion of bullish (purple) and bearish (green) momentum; these could potentially be seen as overbought and oversold indications.
The dotted midlines dictate intra-zones where momentum could reverse to continue the larger trend.
All the latter behave similarly to Support and Resistance zones.
The oscillator can also be normalized over a given interval to show results on a scale between 0 and 100, preserving even more context over time.
You should experiment for yourself to find out what is best for you in terms of scale, and Normalization Period.
Normalization Example: on the left you can observe how the momentum is visualized differently based on the scale, given the rapid momentum to the upside.
// –––. Regular
// –––. Normalized
It's crucial to use this oscillator as confluence only and not to take trades based solely on its indications.
At the moment there are no alerts set for this script, open to suggestions :)
Stacked EMAsStacked Daily & Weekly EMAs + Labels
Pretty much self-explanatory indicator that shows the current momentum based on the key exponential moving averages.
Three stages of the EMAs:
1. Stacked Positively (Bullish) - EMAs are stacked on top of each other which represents a healthy bullish uptrend (green Label).
2. Stacked Negatively (Bearish) - EMAs are stacked below each other meaning the trend is bearish (red label).
3. Stacked Neutral (Neutral) - EMAs are crossing each other without any clear direction = chop (yellow label).
Hope it helps.
TTM Squeeze Pro BarsCredits:
-> John Carter creating the TTM Squeeze and TTM Squeeze Pro
-> Lazybear's original interpretation of the TTM Squeeze: Squeeze Momentum Indicator
-> Makit0's evolution of Lazybear's script to factor in the TTM Squeeze Pro upgrades - Squeeze PRO Arrows
This is my version of their collective works, with amendments primarily to the Squeeze Conditions to more accurately reflect the color coding used by the official TMM Squeeze Pro indicator.
Rather than having a separate indicator window, the TTM Squeeze Pro is now overlaid on the price bars for easier viewing.
For those unfamiliar with the TTM Squeeze, it is simply a visual way of seeing how Bollinger Bands (standard deviations from a simple moving average ) relate to Keltner Channels ( average true range bands) compared with the momentum of the price action. The concept is that as Bollinger Bands compress within Keltner Channels , price volatility decreases, giving way for a potential explosive price movement up or down.
Differences between the original TTM Squeeze and TTM Squeeze Pro:
-> Both use a 2 standard deviation Bollinger Band ;
-> The original squeeze only used a 1.5 ATR Keltner Channel; and
-> The pro version uses 1.0, 1.5 and 2.0 ATR Keltner Channels .
The pro version therefore helps differentiate between levels of squeeze (compression) as the Bollinger Bands moves through the Keltner Channels i.e. the greater the compression, the more potential for explosive moves - less compression means more squeezing.
The Histogram shows price momentum whereas the colored dots (along the zeroline) show where the Bollinger Bands are in relation to the Keltner Channels:
-> Cyan Bars = positive, increasing momentum;
-> Blue Bars = positive, decreasing momentum (indication of a reversal in price direction);
-> Red Bars = negative, increasing momentum;
-> Yellow Bars = negative, decreasing momentum (indication of a reversal in price direction);
-> Orange Dots = High Compression / large squeeze (One or both of the Bollinger Bands is inside the 1st (1.0 ATR) Keltner Channel);
-> Red Dots = Medium Squeeze (One or both of the Bollinger Bands is inside the 2nd (1.5 ATR) Keltner Channel);
-> Black Dots = Low compression / wide squeeze (One or both of the Bollinger Bands is inside the 3rd (2.0 ATR) Keltner Channels );
-> Green Dots = No Squeeze / Squeeze Fired (One or both of the Bollinger Bands is outside of the 3rd (2.0 ATR) Keltner Channel).
Ideal Scenario:
As the ticker enters the squeeze, black dots would warn of the beginning of a low compression squeeze. As the Bollinger bands continue to constrict within the Keltner Channels , red dots would highlight a medium compression. As the price action and momentum continues to compress an orange dot shows warning of high compression. As price action leaves the squeeze, the coloring would reverse e.g. orange to red to black to green. Any compression squeeze is considered fired at the first green dot that appears.
Note: This is an ideal progression of the different types of squeezes, however any type of squeeze (and color sequence) may appear at anytime, therefore the focus is primarily on the green dots after any type of compression.
Entry and Exit Guide:
-> John Carter recommends entering a position after at least 5 black dots or wait for 1st green dot ; and
-> Exit on second blue or yellow bar or, alternatively, remain in the position after confirming a continuing trend through a separate indicator.
TopTenAlgo 10. SQZMOM Algorithmic Strategy with Alerts & SignalsEN: This Algorithm is a derivative of John Carter's "TTM Squeeze" volatility indicator. Many strategists have taken the indicator on Tradingview with simple moving averages and have looked at the biggest mistake only by dealing with squeeze and exit processes to squeeze. But I used the algorithm to determine where the markets would actually explode. For example, instead of using SMAs , I tested them on the Linear Regression Curve using Volume Weighted Moving Averages and Hull MAs. This gave me the opportunity to develop a more responsive algorithm and identify where the actual explosion would occur. The Gray Circles in the midline show that the market is entering a new jam (in the Bollinger Bands and Keltner Channel). This means low volatility , the market prepares itself for an explosive move (up or down). White Circles mean that it is about to get out of the jam. The Blue Circles, which no one can calculate, now inform that the exit is no longer jammed and that the explosion has taken place.
Mr. Carter recommends that you wait until the first gray after a gray cross and take a position in the momentum direction (for example, if the momentum value is above zero, relax). Exit position when the momentum changes (increase or decrease, this is indicated by a color change). In this algorithm, I tried to achieve good entry points using an additional indicator such as ADX and WaveTrend. To draw the histogram, I used a different method based on Linear Regression . Mr.Carter uses a simple momentum indicator. Strategy, alarms and signals have been added to the indicator so that you can optimize in algorithmic trading.
In summary, this algorithm is a strict algorithm in which additional 4-5 indicators are blended. Conveniences for Everyone ...
TR: Bu Algoritma John Carter'ın "TTM Squeeze" volatilite göstergesinin bir türevidir. Bir çok stratejist Tradingview' de gösterge' yi basit hareketli ortalamalarla ele almış ve en büyük hatayı sadece sıkışma ve sıkışmadan çıkış süreçlerini ele alarak bakmışlardır. Fakat ben algoritmayı piyasaların asıl patlama yapacağı yeri tespit etmek için kullandım. Örneğin SMA' ları kullanmak yerine Hacim Ağırlıklı Hareketli Ortalamaları ve Hull MA' ları kullanarak onları Linerar Regresyon Eğrisinde stress testine tabi tuttum. Buda bana daha duyarlı bir algoritma geliştirmem ve asıl patlamanın olacağı yerleri tespit etmem için fırsat verdi. Orta hattaki Gri Daireler, piyasanın yeni bir sıkışmaya girdiğini gösteriyor ( Bollinger Bantları ve Keltner Kanalı'nda). Bu, düşük volatilite anlamına gelir, piyasa kendisini patlayıcı bir harekete hazırlar (yukarı veya aşağı). Beyaz Daireler ise sıkışmadan çıkmak üzere olduğu anlamına gelir. Hiç kimsenin hesap edemediği Mavi Daireler ise artık sıkışmadan çıkıldığını ve patlamanın gerçekleştiğini haber verir.
Mr.Carter, gri bir çarpı işaretinden sonra ilk griye kadar beklemenizi ve momentum yönünde bir pozisyon almanızı önerir (örneğin, momentum değeri sıfırın üstünde ise, rahat olun). Momentum değiştiğinde pozisyondan çıkın (artırma veya azaltma, bunu o bir renk değişikliği ile belirtilir). Bu algoritmada ben, ADX ve WaveTrend gibi ek bir gösterge kullanarak iyi giriş noktalarıelde etmeye çalıştım. Histogramı çizmek için ise Linear Regresyon tabanlı farklı bir yöntem kullandım. Mr.Carter basit bir momentum göstergesi kullanır. Göstergeye algoritmik işlemlerde optimizasyon yapabilmeniz için strateji, alrmlar ve sinyaller eklenmiştir.
Özetle bu algoritma ek 4-5 göstergenin harmanlandığı sıkı bir algoritmadır. Herkese Kolaylıklar dilerim...
TopTenAlgo 10. SQZMOM_LSvwMA with Bar ColorEN: This Algorithm is a derivative of John Carter's "TTM Squeeze" volatility indicator. Many strategists have taken the indicator on Tradingview with simple moving averages and have looked at the biggest mistake only by dealing with squeeze and exit processes to squeeze. But I used the algorithm to determine where the markets would actually explode. For example, instead of using SMAs , I tested them on the Linear Regression Curve using Volume Weighted Moving Averages and Hull MAs. This gave me the opportunity to develop a more responsive algorithm and identify where the actual explosion would occur. The Gray Circles in the midline show that the market is entering a new jam (in the Bollinger Bands and Keltner Channel). This means low volatility , the market prepares itself for an explosive move (up or down). White Circles mean that it is about to get out of the jam. The Blue Circles, which no one can calculate, now inform that the exit is no longer jammed and that the explosion has taken place.
Mr. Carter recommends that you wait until the first gray after a gray cross and take a position in the momentum direction (for example, if the momentum value is above zero, relax). Exit position when the momentum changes (increase or decrease, this is indicated by a color change). In this algorithm, I tried to achieve good entry points using an additional indicator such as ADX and WaveTrend. To draw the histogram, I used a different method based on Linear Regression . Mr.Carter uses a simple momentum indicator .
In summary, this algorithm is a strict algorithm in which additional 4-5 indicators are blended. Conveniences for Everyone ...
This algorithm is prepared with @Top10Algo ...
TR: Bu Algoritma John Carter'ın "TTM Squeeze" volatilite göstergesinin bir türevidir. Bir çok stratejist Tradingview' de gösterge' yi basit hareketli ortalamalarla ele almış ve en büyük hatayı sadece sıkışma ve sıkışmadan çıkış süreçlerini ele alarak bakmışlardır. Fakat ben algoritmayı piyasaların asıl patlama yapacağı yeri tespit etmek için kullandım. Örneğin SMA' ları kullanmak yerine Hacim Ağırlıklı Hareketli Ortalamaları ve Hull MA' ları kullanarak onları Linerar Regresyon Eğrisinde stress testine tabi tuttum. Buda bana daha duyarlı bir algoritma geliştirmem ve asıl patlamanın olacağı yerleri tespit etmem için fırsat verdi. Orta hattaki Gri Daireler, piyasanın yeni bir sıkışmaya girdiğini gösteriyor ( Bollinger Bantları ve Keltner Kanalı'nda). Bu, düşük volatilite anlamına gelir, piyasa kendisini patlayıcı bir harekete hazırlar (yukarı veya aşağı). Beyaz Daireler ise sıkışmadan çıkmak üzere olduğu anlamına gelir. Hiç kimsenin hesap edemediği Mavi Daireler ise artık sıkışmadan çıkıldığını ve patlamanın gerçekleştiğini haber verir.
Mr.Carter, gri bir çarpı işaretinden sonra ilk griye kadar beklemenizi ve momentum yönünde bir pozisyon almanızı önerir (örneğin, momentum değeri sıfırın üstünde ise, rahat olun). Momentum değiştiğinde pozisyondan çıkın (artırma veya azaltma, bunu o bir renk değişikliği ile belirtilir). Bu algoritmada ben, ADX ve WaveTrend gibi ek bir gösterge kullanarak iyi giriş noktalarıelde etmeye çalıştım. Histogramı çizmek için ise Linear Regresyon tabanlı farklı bir yöntem kullandım. Mr.Carter basit bir momentum göstergesi kullanır.
Özetle bu algoritma ek 4-5 göstergenin harmanlandığı sıkı bir algoritmadır. Herkese Kolaylıklar dilerim...
Bu algoritma @Top10Algo ile beraber hazırlanmıştır... Kodlamadaki katkılarından ve yol göstericiliğinden dolayı teşekkürü bir borç bilirim.
TopTenAlgo 10. SQZMOM_LSvwMA with Bar Color (Not Based Volume)EN: This Algorithm is a derivative of John Carter's "TTM Squeeze" volatility indicator. Many strategists have taken the indicator on Tradingview with simple moving averages and have looked at the biggest mistake only by dealing with squeeze and exit processes to squeeze. But I used the algorithm to determine where the markets would actually explode. For example, instead of using SMAs , I tested them on the Linear Regression Curve using Volume Weighted Moving Averages and Hull MAs. This gave me the opportunity to develop a more responsive algorithm and identify where the actual explosion would occur. The Gray Circles in the midline show that the market is entering a new jam (in the Bollinger Bands and Keltner Channel). This means low volatility , the market prepares itself for an explosive move (up or down). White Circles mean that it is about to get out of the jam. The Blue Circles, which no one can calculate, now inform that the exit is no longer jammed and that the explosion has taken place.
Mr. Carter recommends that you wait until the first gray after a gray cross and take a position in the momentum direction (for example, if the momentum value is above zero, relax). Exit position when the momentum changes (increase or decrease, this is indicated by a color change). In this algorithm, I tried to achieve good entry points using an additional indicator such as ADX and WaveTrend. To draw the histogram, I used a different method based on Linear Regression . Mr.Carter uses a simple momentum indicator .
In summary, this algorithm is a strict algorithm in which additional 4-5 indicators are blended. Conveniences for Everyone ... (For Symbols that cannot be read on the Volume Indicator)
This algorithm is prepared with @Top10Algo ...
TR: Bu Algoritma John Carter'ın "TTM Squeeze" volatilite göstergesinin bir türevidir. Bir çok stratejist Tradingview' de gösterge' yi basit hareketli ortalamalarla ele almış ve en büyük hatayı sadece sıkışma ve sıkışmadan çıkış süreçlerini ele alarak bakmışlardır. Fakat ben algoritmayı piyasaların asıl patlama yapacağı yeri tespit etmek için kullandım. Örneğin SMA' ları kullanmak yerine Hacim Ağırlıklı Hareketli Ortalamaları ve Hull MA' ları kullanarak onları Linerar Regresyon Eğrisinde stress testine tabi tuttum. Buda bana daha duyarlı bir algoritma geliştirmem ve asıl patlamanın olacağı yerleri tespit etmem için fırsat verdi. Orta hattaki Gri Daireler, piyasanın yeni bir sıkışmaya girdiğini gösteriyor ( Bollinger Bantları ve Keltner Kanalı'nda). Bu, düşük volatilite anlamına gelir, piyasa kendisini patlayıcı bir harekete hazırlar (yukarı veya aşağı). Beyaz Daireler ise sıkışmadan çıkmak üzere olduğu anlamına gelir. Hiç kimsenin hesap edemediği Mavi Daireler ise artık sıkışmadan çıkıldığını ve patlamanın gerçekleştiğini haber verir.
Mr.Carter, gri bir çarpı işaretinden sonra ilk griye kadar beklemenizi ve momentum yönünde bir pozisyon almanızı önerir (örneğin, momentum değeri sıfırın üstünde ise, rahat olun). Momentum değiştiğinde pozisyondan çıkın (artırma veya azaltma, bunu o bir renk değişikliği ile belirtilir). Bu algoritmada ben, ADX ve WaveTrend gibi ek bir gösterge kullanarak iyi giriş noktalarıelde etmeye çalıştım. Histogramı çizmek için ise Linear Regresyon tabanlı farklı bir yöntem kullandım. Mr.Carter basit bir momentum göstergesi kullanır.
Özetle bu algoritma ek 4-5 göstergenin harmanlandığı sıkı bir algoritmadır. Herkese Kolaylıklar dilerim... (Hacim Göstergesi okunamayan Semboller için)
Bu algoritma @Top10Algo ile beraber hazırlanmıştır...
TMO with TTM SqueezeApplication of the TTM squeeze and the short-term momentum TTM Wave A in action. This is an example where the short-term wave will react faster than the TTM to give you a signal to start building your positions.
This indicator needs to be combined with "TTM Wave A" (add to existing pane).
The TTM Squeeze works like a better MACD. There is a zeroline and histogram bars above / below represent positive and negative momo. As the height of the bar decreases when above the zeroline, that is called decreasingly positive momo and as the height of the bar decreases when below the zeroline, that is called decreasingly negative momo. The dots on the TTM Squeeze: Red dots represent consolidation where Bollingers are inside the Keltner Channels and green dots represent a move out of consolidation or "squeeze fire". As price action comes out of consolidation there is a bigger move up/down depending on where momo is heading and where prices are (key support/resistance levels, fib areas). You want to use the TTM Squeeze and A wave TOGETHER - TTM Squeeze is your main momo and your A wave is a short-term momo wave that reacts faster and works as a leading gauge. You need to use them TOGETHER to gauge where price action may be heading. When the TTM Squeeze and A wave move lockstep together, let's say both are decreasingly positive, there is a good probability it continues to move in that direction to the next support levels. TWO bars on the TTM Squeeze of different heights is confirmation that in most cases means it will move in the direction of those bars. So if decreasingly positive, you'll see two darker bars. By the time you get your 2nd bar on the TTM Squeeze, it is often too late or you're losing profit. Way to counter that is after you get one darker bar in the opposite direction of current trend, use A wave to "predict" the next wave, the more A wave histogram bars going towards the other direction, the higher the certainty it will hit. Lastly, using these waves together works best when you look at it on MULTIPLE TIME FRAMES. (Credit for this details goes to Brady from Atlas).
MACD-X, More Than MACD by DGTMoving Average Convergence Divergence – MACD
The most popular indicator used in technical analysis, the moving average convergence divergence (MACD), created by Gerald Appel. MACD is a trend-following momentum indicator, designed to reveal changes in the strength, direction, momentum, and duration of a trend in a financial instrument’s price
Historical evolution of MACD,
- Gerald Appel created the MACD line,
- Thomas Aspray added the histogram feature to MACD
- Giorgos E. Siligardos created a leader of MACD
MACD employs two Moving Averages of varying lengths (which are lagging indicators) to identify trend direction and duration. Then, MACD takes the difference in values between those two Moving Averages (MACD Line) and an EMA of those Moving Averages (Signal Line) and plots that difference between the two lines as a histogram which oscillates above and below a center Zero Line. The histogram is used as a good indication of a security's momentum.
Mathematically expressed as;
macd = ma(source, fast_length) – ma(source, slow_length)
signal = ma(macd, signal_length)
histogram = macd – signal
where exponential moving average (ema) is in common use as a moving average (ma)
fast_length = 12
slow_length = 26
signal_length = 9
The MACD indicator is typically good for identifying three types of basic signals ;
Signal Line Crossovers
A Signal Line Crossover is the most common signal produced by the MACD. On the occasions where the MACD Line crosses above or below the Signal Line, that can signify a potentially strong move. The standard interpretation of such an event is a recommendation to buy if the MACD line crosses up through the Signal Line (a "bullish" crossover), or to sell if it crosses down through the Signal Line (a "bearish" crossover). These events are taken as indications that the trend in the financial instrument is about to accelerate in the direction of the crossover.
Zero Line Crossovers
Zero Line Crossovers occur when the MACD Line crossed the Zero Line and either becomes positive (above 0) or negative (below 0). A change from positive to negative MACD is interpreted as "bearish", and from negative to positive as "bullish". Zero crossovers provide evidence of a change in the direction of a trend but less confirmation of its momentum than a signal line crossover
Divergence
Divergence is another signal created by the MACD. Simply, divergence occurs when the MACD and actual price are not in agreement. A "positive divergence" or "bullish divergence" occurs when the price makes a new low but the MACD does not confirm with a new low of its own. A "negative divergence" or "bearish divergence" occurs when the price makes a new high but the MACD does not confirm with a new high of its own. A divergence with respect to price may occur on the MACD line and/or the MACD Histogram
Moving Average Crossovers , another hidden signal that MACD Indicator identifies
Many traders will watch for a short-term moving average to cross above a longer-term moving average and use this to signal increasing upward momentum. This bullish crossover suggests that the price has recently been rising at a faster rate than it has in the past, so it is a common technical buy sign. Conversely, a short-term moving average crossing below a longer-term average is used to illustrate that the asset's price has been moving downward at a faster rate and that it may be a good time to sell.
Moving Average Crossovers in reality is Zero Line Crossovers, the value of the MACD indicator is equal to zero each time the two moving averages cross over each other. For easy interpretation by trades, Zero Line Crossovers are simply described as positive or negative MACD
False signals
Like any forecasting algorithm, the MACD can generate false signals. A false positive, for example, would be a bullish crossover followed by a sudden decline in a financial instrument. A false negative would be a situation where there is bearish crossover, yet the financial instrument accelerated suddenly upwards
What is “MACD-X” and Why it is “More Than MACD”
In its simples form, MACD-X implements variety of different calculation techniques applied to obtain MACD Line, ability to use of variety of different sources , including Volume related sources, and can be plotted along with MACD in the same window and all those features are available and presented within a single indicator, MACD-X
Different calculation techniques lead to different values for MACD Line, as will further discuss below, and as a consequence the signal line and the histogram values will differentiate accordingly. Mathematical calculation of both signal line and the histogram remain the same.
Main features of MACD-X ;
1- Introduces different proven techniques applied on MACD calculation , such as MACD-Histogram, MACD-Leader and MACD-Source, besides the traditional MACD (MACD-TRADITIONAL)
• MACD-Traditional , by Gerald Appel
It is the MACD that we know, stated as traditional just to avoid confusion with other techniques used with this study
• MACD-Histogram , by Thomas Aspray
The MACD-Histogram measures the distance between MACD and its signal line (the 9-day EMA of MACD). Aspray developed the MACD-Histogram to anticipate signal line crossovers in MACD. Because MACD uses moving averages and moving averages lag price, signal line crossovers can come late and affect the reward-to-risk ratio of a trade. Bullish or bearish divergences in the MACD-Histogram can alert chartists to an imminent signal line crossover in MACD
The MACD-Histogram represents the difference between MACD and its 9-day EMA, the signal line. Mathematically,
macdx = macd - ma(macd, signal_length)
Aspray's contribution served as a way to anticipate (and therefore cut down on lag) possible MACD crossovers which are a fundamental part of the indicator.
Here come a question, what if repeat the same calculations once more (macdh2 = macdh - ma(macdh, signal_length), will it be even better, this question will remain to be tested
• MACD-Leader , by Giorgos E. Siligardos, PhD
MACD Leader has the ability to lead MACD at critical situations. Almost all smoothing methods encounter in technical analysis are based on a relative-weighted sum of past prices, and the Leader is no exception. The concealed weights of MACD Leader are such that more relative weight is used in the more recent prices than the respective weights used by the components of MACD. In effect, the Leader expresses more changes in average price dynamics for the recent price movement than MACD, thus eventually leading MACD, especially when significant trend changes are about to take place.
Siligardos creates two less-laggard moving averages indicators in its formula using the same periods as follows
Indicator1 = ma(source, fast_length) + ma(source - ma(source, fast_length), fast_length)
Indicator2 = ma(source, slow_length) + ma(source - ma(source, slow_length), slow_length)
and then take the difference:
Indicator1 - Indicator2
The result is a new MACD Leader indicator
macdx = macd + ma(source - fast_ma, fast_length) - ma(source - slow_ma, slow_length)
• MACD-Source , a custom experimental interpretation of mine ,
MACD Source, presents an application of MACD that evaluates Source/MA Ratio, relatively with less lag, as a basis for MACD Line, also can be expressed as source convergence/divergence to its moving average. Among the various techniques for removing the lag between price and moving average (MA) of the price, one in particular stands out: the addition to the moving average of a portion of the difference between the price and MA. MACD Source, is based on signal length mean of the difference between Source and average value of shot length and long length moving average of the source (Source/MA Ratio), where the source is actual value and hence no lag and relatively less lag with the average value of moving average of the source . Mathematically expressed as,
macdx = ma(source - avg( ma(source, fast_length), ma(source, slow_length) ), signal_length)
MACD Source provides relatively early crossovers comparing to MACD and better momentum direction indications, assuming the lengths are set to same values
For further details, you are invited to check the following two studies, where the first seeds were sown of the MACD-Source idea
Price Distance to its Moving Averages study, adapts the idea of “Prices high above the moving average (MA) or low below it are likely to be remedied in the future by a reverse price movement", presented in an article by Denis Alajbeg, Zoran Bubas and Dina Vasic published in International Journal of Economics, Commerce and Management
First MACD like interpretation comes with the second study named as “ P-MACD ”, where P stands for price, P-MACD study attempts to display relationship between Price and its 20 and 200-period moving average. Calculations with P-MACD were based on price distance (convergence/divergence) to its 200-period moving average, and moving average convergence/divergence of 20-period moving average to 200-period moving average of price.
Now as explained above, MACD Source is a one adapted with traditional MACD, where Source stands for Price, Volume Indicator etc, any source applicable with MACD concept
2- Allows usage of variety of different sources, including Volume related indicators
The most common usage of Source for MACD calculation is close value of the financial instruments price. As an experimental approach, this study will allow source to be selected as one of the following series;
• Current Close Price (close)
• Average of High, Low, and Close Price (hlc3)
• On Balance Volume (obv)
• Accumulation Distribution (accdist)
• Price Volume Trend (pvt)
Where,
-Current Close Price and Average of High, Low, and Close Price are price actions of the financial instrument
- Accumulation Distribution is a volume based indicator designed to measure underlying supply and demand
- On Balance Volume (OBV) , is a momentum indicator that measures positive and negative volume flow
- Price Volume Trend (PVT) is a momentum based indicator used to measure money flow
3- Can be plotted along with MACD in the same window using the same scaling
Default setting of MACD-X will display MACD-Source with Current Close Price as a source and traditional MACD can be plotted eighter as a companion of MACD-X or can be selected to be plotted alone.
Applying both will add ability to compare, or use as a confirmation of one other
In case, traditional MACD Is plotted along with MACD-X to avoid misinterpreting, the lines plotted, the area between MACD-X Line and Signal-X Line is highlighted automatically, even if the highlight option not selected. Otherwise highlight will be applied only if that option selected
4- 4C Histogram
Histogram is plotted with four colors to emphasize the momentum and direction
5- Customizable
Additional to ability of selecting Calculation Method, Source, plotting along with MACD, there are few other option that allows users to customize the MACD-X indicator
Lengths are configurable, default values are set as 12, 26, 9 respectively for fast, slow and smoothing length. Setting lengths to 8,21,5 respectively Is worth checking, slower length moving averages will lead to less lag and earlier reaction to price actions but yet requires a caution and back testing before applying
Highlight the area between MACD-X Line and Signal-X Line, with colors emphasising the direction
Label can be added to display Calculation Method, Source and Length settings, the aim of this label is to server only as a reminder to trades to be aware of settings while they are occupied with charts, analysis etc.
Here comes another question, which is of more importance having the reminder or having the indicators with multi timeframe feature? Build-in Multi Time Frame features of Pine is not supported when labels and lines introduced in the script, there are other methods but brings complexity. To be studied further, this version will be with labels for time being.
Epilogue
MACD-X is an alternative variant of MACD, the insight/signals provided by MACD are also applicable to MACD-X with early and clear warnings for the changes in the trend.
If MACD is essential to your analysis, then it is my guess that after using the MACD-X for a while and familiarizing yourself with its unique character and personality, you will make it an inseparable companion to other indicators in your charts.
The various signals generated by MACD/MACD-X are easily interpreted and very few indicators in technical analysis have proved to be more reliable than the MACD, and this relatively simple indicator can quickly be incorporated into any short-term trading strategy
Disclaimer : Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
(JS) TTM Reversion BandsAnd the final TTM recreation for the time being is the TTM Reversion Bands for the 'reversion to the mean ' trade setup. I colored it to go along with the trend candles, enjoy!
(JS)TTM Trend CandlesRecreation of the TTM Trend Candles - I think they are best suited using hollow candles - hope you like it!
(JS) TTM WaveThis is my recreation of the TTM Wave indicator, tried to make it visually appealing - hope you all put it to good use!
MAC DADDY GNOME PRO BacktestHello Fellow Traders!
-------------------------------------------
This is the newest addition to Gnome Alerts PRO!
This is one of the newer scripts that we are using for scalping on the lower time frames on Bitmex & Binance.
This is a script that can be used on all time frames and includes back-testing. All of our scripts included back-testing and BUY & SELL alerts.
This Script allows you to fire Long, Short, or Flip with Both
Also Includes TTM 2.77% Squeeze Bubbles for Manual trading.
INCLUDES:
------------------------
*Autoview Ready*
BUY ALERTS
- supports pyramiding
- sell based of %gain
SELL ALERTS
- supports pyramiding
- sell based of %gain
- stop loss configured
- sell on gain configured
Backtesting is also available!
More info on how gain access in my profile!