Squeeze Momentum Oscillator [AlgoAlpha]🎉📈 Introducing the Squeeze Momentum Oscillator by AlgoAlpha 📉🎊
Unlock the secrets of market dynamics with our innovative Squeeze Momentum Oscillator! Crafted for those who seek to stay ahead in the fast-paced trading environment, this tool amalgamates critical market momentum and volatility indicators to offer a multifaceted view of potential market movements. Here's why it's an indispensable part of your trading toolkit:
Key Features:
🌈 Customizable Color Schemes: Easily distinguish between bullish (green) and bearish (red) momentum phases for intuitive analysis.
🔧 Extensive Input Settings: Tailor the oscillator lengths for both Underlying and Swing Momentum to match your unique trading approach.
📊 Dedicated Squeeze Settings: Leverage precise volatility insights to identify market squeeze scenarios, signaling potential breakouts or consolidations.
🔍 Advanced Divergence Detection: Utilize sophisticated algorithms to detect and visualize both bullish and bearish divergences, pointing towards possible market reversals.
📈 Hyper Squeeze Detection: Stay alert to high-momentum market movements with our hyper squeeze feature, designed to extremely suppressed market volatility.
🔔 Comprehensive Alert System: Never miss a trading opportunity with alerts for momentum changes, squeeze conditions, and more.
Quick Guide to Using the Squeeze Momentum Oscillator:
🛠 Add the Indicator: Add the indicator to your favourites. Adjust the oscillator and squeeze settings to suit your trading preferences.
📊 Market Analysis: Keep an eye on the squeeze value and momentum z-score for insights into volatility and market direction. Hyper Squeeze signals are your cue for high momentum trading opportunities.
🔔 Alerts: Configure alerts for shifts in underlying and swing momentum, as well as entry and exit points for squeeze conditions, to capture market moves efficiently.
How It Works:
The Squeeze Momentum Oscillator by AlgoAlpha synergistically combines the principles of momentum tracking and market squeeze detection. By integrating the core logic of the Squeeze & Release indicator, it calculates the Squeeze Value (SV) through a comparison of the Exponential Moving Average (EMA) of the Average True Range (ATR) against the high-low price EMA. This SV is further analyzed alongside its EMA to pinpoint squeeze conditions, indicative of potential market breakouts or consolidations. In addition to this, the oscillator employs Hyper Squeeze Detection for identifying extremely low volatility. The momentum aspect of the oscillator evaluates the price movement relative to EMAs of significant highs and lows, refining these observations with a z-score normalization for short-term momentum insights. Moreover, the incorporation of divergence detection aids in identifying potential reversals, making this oscillator a comprehensive tool for traders looking to harness the power of volatility and momentum in their market analysis. The combination of the Squeeze & Release and the Momentum Oscillator allows traders to time their trades with more precision by entering when the market is in a squeeze and front running the volatility of a major move.
Elevate your trading strategy with the Squeeze Momentum Oscillator by AlgoAlpha and gain a competitive edge in deciphering market dynamics! 🌟💼 Happy trading!
Squeezemomentum
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 Momentum TD - A Revisited Version of the TTM SqueezeDescription:
The "Squeeze Momentum TD" is our unique take on the highly acclaimed TTM Squeeze indicator, renowned in the trading community for its efficiency in pinpointing market momentum. This script is a tribute and an extension to the foundational work laid by several pivotal figures in the trading industry:
• John Carter, for his creation of the TTM Squeeze and TTM Squeeze Pro, which revolutionized the way traders interpret volatility and momentum.
• Lazybear, whose original interpretation of the TTM Squeeze, known as the "Squeeze Momentum Indicator", provided an invaluable foundation for further development.
• Makit0, who evolved Lazybear's script to incorporate enhancements from the TTM Squeeze Pro, resulting in the "Squeeze PRO Arrows".
Our script, "Squeeze Momentum TD", represents a custom version developed after reviewing all variations of the TTM Squeeze indicator. This iteration focuses on a distinct visualization approach, featuring an overlay band on the chart for an user-friendly experience. We've distilled the essence of the TTM Squeeze and its advanced version, the TTM Squeeze Pro, into a form that emphasizes intuitive usability while retaining comprehensive analytical depth.
Features:
-Customizable Bollinger Bands and Keltner Channels: These core components of the TTM Squeeze.
-Dynamic Squeeze Conditions: Ranging from No Squeeze to High Compression.
-Momentum Oscillator: A linear regression-based momentum calculation, offering clear insights into market trends.
-User-Defined Color Schemes: Personalize your experience with adjustable colors for bands and plot shapes.
-Advanced Alert System: Alerts for key market shifts like Bull Watch Out, Bear Watch Out, and Momentum shifts.
-Adaptive Band Widths: Modify the band widths to suit your preference.
How to use it?
• Transition from Light Green to Dark Green: Indicates a potential end to the bullish momentum. This 'Bull Watch Out' signal suggests that traders should be cautious about continuing bullish trends.
• Transition from Light Red to Dark Red: Signals that the bearish momentum might be fading, triggering a 'Bear Watch Out' alert. It's a hint for traders to be wary of ongoing bearish trends.
• Shift from Dark Green to Light Green: This change suggests an increase in bullish momentum. It's an indicator for traders to consider bullish positions.
• Change from Dark Red to Light Red: Implies that bearish momentum is picking up. Traders might want to explore bearish strategies under this condition.
• Rapid Change from Light Red to Light Green: This swift shift indicates a quick transition from bearish to bullish sentiment. It's a strong signal for traders to consider switching to bullish positions.
• Quick Shift from Light Green to Light Red: Demonstrates a speedy change from bullish to bearish momentum. It suggests that traders might want to adjust their strategies to align with the emerging bearish trend.
Acknowledgements:
Special thanks to Beardy_Fred for the significant contributions to the development of this script. This work stands as a testament to the collaborative spirit of the trading community, continuously evolving to meet the demands of diverse trading strategies.
Disclaimer:
This script is provided for educational and informational purposes only. Users should conduct their own due diligence before making any trading decisions.
Reversal Squeeze (Expo)█ Overview
The Reverse Squeeze indicator aims to identify situations where market participants (either short-sellers or long buyers) are under significant pressure due to unexpected price movements, which may lead to forced actions to mitigate their losses. These pressured situations, often termed as 'squeezes,' can lead to overreactions in the market that could subsequently result in price corrections or reversals.
█ What is a squeeze?
A squeeze occurs when a significant change in price forces market participants to take drastic action to mitigate their losses. There are two types of squeezes: short squeezes and long squeezes.
Short-Sellers Squeeze: This occurs when a stock's price unexpectedly rises, pressurizing short-sellers who had bet on the stock price going down. The increased price forces these short-sellers to buy back the stocks they had borrowed and sold (to close their positions), which can create even more demand for the stock, further driving the price up. This situation is often referred to as a "short squeeze."
Long Buyers Squeeze: This is the opposite situation, occurring when a stock's price unexpectedly falls, putting long buyers under pressure. These buyers had hoped for a price increase. The decline forces these long buyers to sell off their holdings to minimize further losses, adding more supply to the market, which can push the price down even further. This situation is like a "long squeeze."
The Reverse Squeeze indicator identifies these situations, assuming that the short-sellers or long buyers' forced actions will lead to overreactions in the market, resulting in a correction or a reversal. As a trader, you might use the Reverse Squeeze indicator to identify these potential overreactions and trade on the anticipated correction or reversal.
█ How are squeezes calculated?
Calculating a squeeze involves multiple factors, primarily revolving around price movements, trading volumes, and market sentiment. While the actual positions, like the number of shorted shares or long positions, provide direct insights, there are several other indicators that traders can use to estimate potential squeezes, especially when direct data isn't readily available.
Price Action: This is an essential aspect of calculating potential squeezes. Rapid and significant increases or decreases in a stock's price can hint at potential short and long squeezes, respectively. Traders monitor these drastic price movements to anticipate possible squeezes.
Volume: Volume, or the number of shares traded within a specific period, is another crucial factor. High trading volumes usually accompany squeezes. A sudden spike in volume along with a rapid price increase can indicate a short squeeze, while a rapid volume increase along with a quick price decrease could signal a long squeeze.
Volatility: Increased volatility is often associated with squeezes. A rapid increase in volatility might suggest that a squeeze is happening or about to happen.
█ How to use the Reversal Squeeze Indicator
The Reverse Squeeze indicator can be a valuable tool in a trader's arsenal. It has the potential to give traders an 'alpha,' or an edge over other market participants, for the following reasons:
Detection of Overreactions: The indicator helps to identify market overreactions, where stocks become overbought or oversold due to forced buying or selling. These overreactions often lead to price corrections or reversals, providing potential trading opportunities.
Anticipating Price Reversals: By identifying instances where short sellers or long buyers are "squeezed" and might need to take drastic action, the indicator can help traders anticipate potential overreactions in the market that might lead to price corrections or reversals.
Risk Management: By identifying potential squeezes, traders can manage their risk more effectively. They can avoid going short on a stock if a short squeeze seems likely or avoid going long if a long squeeze is anticipated.
█ Why is the Reversal squeeze indicator Needed?
The Reverse Squeeze Indicator can provide crucial insights into market dynamics that may not be apparent with other indicators. It allows traders to spot potential trading opportunities arising from market overreactions. Moreover, by identifying potential squeezes, traders can manage their risk more effectively, avoiding positions that might put them on the wrong side of a squeeze.
█ Here's how institutions might influence market conditions that can lead to a squeeze:
Institutions can actually contribute to creating squeezes because of their size. For instance, an institution that starts covering a large short position can trigger a short squeeze.
Conversely, an institution that begins to sell a large long position can trigger a long squeeze.
Or if an institution or a group of institutions decide to buy a large number of shares in a company that has a significant number of short positions, this increased demand can cause the stock price to rise. This upward movement can put pressure on short-sellers to cover their positions, further increasing demand and driving the price even higher, creating a short squeeze.
These activities are part of the market dynamics where larger players naturally have more influence. However, it's crucial to note that deliberately creating conditions to cause harm to other market participants can cross into market manipulation, which is illegal. So while it's theoretically possible for institutions to "squeeze" the market, it's generally not their primary strategy due to the legal, ethical, and reputation risks associated. They are, however, very adept at recognizing and capitalizing on these situations when they arise naturally in the course of market dynamics.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Divergence RSI V2This indicator is based on the concept of divergence. I recommend that you find out and study about this yourself as the concept of divergence will not be explained in depth in this description.
This indicator will show divergences between the asset price and the RSI oscillator. The indicator will look for divergent points between the rising highs and falling lows of the asset; and the rising lows and falling highs of the RSI.
The trend of the asset tends to follow the behavior of the oscillator when a divergence occurs. So if we find a divergence between the two, the price of the asset is likely to follow the trend of the oscillator.
This indicator looks for these types of divergences and will show (based on the RSI) if there is a bullish or bearish divergence.
If it is bullish, it will show a line joining those points in green and if it is bearish in red. In addition, it will show a label where you can see the number of occurrences that have been found from a certain point to another.
Note: this indicator can be complemented with the “Divergence V2” indicator which is also found in my library.
Settings
Backtesting Bars : is the number of bars back that the indicator will check. No more than 1000 is recommended as this will slow down the search.
Tolerance: number of times a divergent line can cross a bar. If you place 0, no bar can be crossed by a diverging line.
Min Bars To detect: will only search for divergences (or lines) that have the minimum number of bars selected in this option. Default option is 30.
Min Bars To detect: it will only search for divergences (or lines) that have the maximum number of bars selected in this option. Default option is 100.
Source Highs: The high points will be based on the close of each bar. You can use as another alternative.
Source Lows: The low points will be based on the close of each bar. You can use as another alternative.
Use squeeze parameter: only look for divergences (bullish or bearish) at times when such an indicator is in favor of the trend or coincides with the corresponding RSI divergence.
Trend Momentum SynthesizerBy analyzing the MACD (Moving Average Convergence Divergence) and Squeeze Momentum indicators, this indicator helps identify potential bullish, bearish, or undecided market conditions.
The algorithm within considers the positions of the MACD and Squeeze Momentum indicators to determine the overall market sentiment. When the indicators align and indicate a bullish market condition, the indicator's plot color will be either dark green, green, yellow, or lime, indicating a potential bullish trend. Conversely, if the indicators align and indicate a bearish market condition, the plot color will be maroon or red, denoting a potential bearish trend. When the indicators are inconclusive, the plot color will be orange, suggesting an undecided market.
The ADX is an addon component of this indicator, helping to assess the strength of a trend. By analyzing the ADX, the indicator determines whether a trend is strong enough, providing additional confirmation for potential trade signals. The ADX smoothing and DI (Directional Index) length parameters can be customized to suit individual trading preferences.
By combining these indicators, the algorithm provides traders with a comprehensive view of the market, helping them make informed trading decisions. It aims to assist traders in identifying potential market opportunities and aligns with the objective of maximizing trading performance.
How to use the indicator:
Note: I used back-testing for fine tuning do not base your trades on signals from the testing framework.
Strategy Myth-Busting #11 - TrendMagic+SqzMom+CDV - [MYN]This is part of a new series we are calling "Strategy Myth-Busting" where we take open public manual trading strategies and automate them. The goal is to not only validate the authenticity of the claims but to provide an automated version for traders who wish to trade autonomously.
Our 11th one is an automated version of the "Magic Trading Strategy : Most Profitable Indicator : 1 Minute Scalping Strategy Crypto" strategy from "Fx MENTOR US" who doesn't make any official claims but given the indicators he was using, it looked like on the surface that this might actually work. The strategy author uses this on the 1 minute and 3 minute timeframes on mostly FOREX and Heiken Ashi candles but as the title of his strategy indicates is designed for Crypto. So who knows..
To backtest this accurately and get a better picture we resolved the Heiken Ashi bars to standard candlesticks . Even so, I was unable to sustain any consistency in my results on either the 1 or 3 min time frames and both FOREX and Crypto. 10000% Busted.
This strategy uses a combination of 3 open-source public indicators:
Trend Magic by KivancOzbilgic
Squeeze Momentum by LazyBear
Cumulative Delta Volume by LonesomeTheBlue
Trend Magic consists of two main indicators to validate momentum and volatility. It uses an ATR like a trailing Stop to determine the overarching momentum and CCI as a means to validate volatility. Together these are used as the primary indicator in this strategy. When the CCI is above 0 this is confirmation of a volatility event is occurring with affirmation based upon current momentum (ATR).
The CCI volatility indicator gets confirmation by the the Cumulative Delta Volume indicator which calculates the difference between buying and selling pressure. Volume Delta is calculated by taking the difference of the volume that traded at the offer price and the volume that traded at the bid price. The more volume that is traded at the bid price, the more likely there is momentum in the market.
And lastly the Squeeze Momentum indicator which uses a combination of Bollinger Bands, Keltner Channels and Momentum are used to again confirm momentum and volatility. During periods of low volatility, Bollinger bands narrow and trade inside Keltner channels. They can only contract so much before it can’t contain the energy it’s been building. When the Bollinger bands come back out, it explodes higher. When we see the histogram bar exploding into green above 0 that is a clear confirmation of increased momentum and volatile. The opposite (red) below 0 is true when there are low periods. This indicator is used as a means to really determine when there is premium selling plays going on leading to big directional movements again confirming the positive or negative momentum and volatility direction.
If you know of or have a strategy you want to see myth-busted or just have an idea for one, please feel free to message me.
Trading Rules
1 - 3 min candles
FOREX or Crypto
Stop loss at swing high/low | 1.5 risk/ratio
Long Condition
Trend Magic line is Blue ( CCI is above 0) and above the current close on the bar
Squeeze Momentum's histogram bar is green/lime
Cumulative Delta Volume line is green
Short Condition
Trend Magic line is Red ( CCI is below 0) and below the current close on the bar
Squeeze Momentum's histogram bar is red/maroon
Cumulative Delta Volume line is peach
1st Gray Cross Signals ━ Histogram SQZMOM [whvntr][LazyBear]This is the Histogram Version of one of my other indicators named: SQZ Momentum + 1st Gray Cross Signals (with arrows) Which is a modification of "Squeeze Momentum Indicator" by user: "LazyBear". In that indicator of his he described, and suggested, the use of his gray cross signals to find points of interest for trading based on the direction of momentum when the first gray cross appears... I have programmed these points, and highlighted them, for ease of use. The 1st gray cross strategy, he said , is from John F. Carter's book, Chapter 11, "Mastering the Trade".
Here we have the Histogram version, with background highlights only, and nothing on the chart, in true SQZ Momentum style.
Disclaimer: using this indicator, or any indicator anywhere, involves risk when trading and isn't a guarantee of 100% accurate results.
Squeeze Momentum MTF [LPWN]//ENGLISH
Squeeze momentum of lazy bear, multiple time frames, It gives you information if the cycles with high temporality momentums are in harmony, by default two more momentums are shown, I prefer to use only one extra, in the options you can change the time frame of the momentums, in addition to the momentums you can add the RSI and ADX, if the momentum look small, you can change the value of general scale to make them bigger, the table gives us information on how the momentums and the adx are, in the options you can set the candles to color according to the harmony of the momentums
// SPANISH
Squeeze momentum de lazy bear, multiple time frames, te da informacion si los ciclos con momentums de temporalidad alta estan en armonia,por defecto se muestran dos momentums mas, yo prefiero usar solo uno extra, en las opcoines puedes cambiar la temporalidad de los momentums, ademas de los momentums puedes agregar el RSI y el ADX, si el momentum se ve pequeño, puedes cambiar el valor de general scale para hacerlos mas grandes, la tabla nos da infomracion de como estan los momentums y el adx, en las opciones puedes poner que las velas se pongan del color de acuerdo a la armonia de los momentums
MACD + RSI + ADX Strategy (ChatGPT-powered) by TradeSmartThis is a trading strategy made by TradeSmart, using the recommendations given by ChatGPT . As an experiment, we asked ChatGPT on which indicators are the most popular for trading. We used all of the recommendations given, and added more. We ended up with a strategy that performs surprisingly well on many crypto and forex assets. See below for exact details on what logic was implemented and how you can change the parameters of the strategy.
The strategy is a Christmas special , this is how we would like to thank the support of our followers.
The strategy has performed well on Forex, tested on 43 1-hour pairs and turned a profit in 21 cases. Also it has been tested on 51 crypto pairs using the 1-hour timeframe, and turned a profit in 45 cases with a Profit Factor over 1.4 in the top-5 cases. Tests were conducted without commission or slippage, unlike the presented result which uses 0.01% commission and 5 tick slippage.
Some of the top performers were:
SNXUSDT
SOLUSDT
CAKEUSDT
LINKUSDT
EGLDUSDT
GBPJPY
TRYJPY
USDJPY
The strategy was implemented using the following logic:
Entry strategy:
Long entry:
Price should be above the Simple Moving Average (SMA)
There should be a cross up on the MACD (indicated by the color switch on the histogram, red to green)
RSI should be above the 50 level
Volume is above the selected volume-based Exponential Moving Average (EMA)
ADX should also agree to this position: below 50 and over 20, and above the Regularized Moving Average (REMA)
Short entry:
Price should be under the Simple Moving Average (SMA)
There should be a cross down on the MACD (indicated by the color switch on the histogram, red to green)
RSI should be below the 50 level
Volume is above the selected volume-based Exponential Moving Average (EMA)
ADX should also agree to this position: below 50 and over 20, and above the Regularized Moving Average (REMA)
Exit strategy:
Stop Loss will be placed based on ATR value (with 1.5 Risk)
Take profit level will be placed with a 2.5 Risk/Reward Ratio
Open positions will be closed early based on the Squeeze Momentum (Long: change to red, Short: change to green)
NOTE! : The position sizes used in the example is with 'Risk Percentage (current)', according which the position size will be determined such
that the potential loss is equal to % of the current available capital. This means that in most of the cases, the positions are calculated using leverage.
Parameters of every indicator used in the strategy can be tuned in the strategy settings as follows:
Plot settings:
Plot Signals: true by default, Show all Long and Short signals on the signal candle
Allow early TP/SL plots: false by default, Checking this option will result in the TP and SL lines to be plotted also on the signal candle rather than just the entry candle. Consider this only when manual trading, since backtest entries does not happen on the signal candle.
Entry Signal:
Fast Length: 12 by default
Slow Length: 26 by default
Source: hlcc4 by default
Signal Smoothing: 9 by default
Oscillator MA Type: EMA by default
Signal Line MA Type: EMA by default
Exit Strategy:
ATR Based Stop Loss: true by default
ATR Length (of the SL): 14 by default
ATR Smoothing (of the SL): EMA by default
Candle Low/High Based Stop Loss: false by default, recent lowest or highest point (depending on long/short position) will be used to calculate stop loss value. Set 'Base Risk Multiplier' to 1 if you would like to use the calculated value as is. Setting it to a different value will count as an additional multiplier. Please select only one active stop loss. Default value (if nothing or multiple stop losses are selected) is the 'ATR Based Stop Loss'.
Candle Lookback (of the SL): 10 by default
Base Risk Multiplier: 1.5 by default, the stop loss will be placed at this risk level (meaning in case of ATR SL that the ATR value will be multiplied by this factor and the SL will be placed that value away from the entry level)
Risk to Reward Ratio: 2.5 by default, the take profit level will be placed such as this Risk/Reward ratio is met
Force Exit based on Squeeze Momentum: true by default, a Long position will be closed when Squeeze Momentum turns red inside an open position and a Short position will be closed when Squeeze Momentum turns green inside an open position
BB Length: 20 by default
BB Mult Factor: 1.0 by default
KC Length: 20 by default
KC Mult Factor: 1.5 by default
Use True Range (KC): Yes by default
Base Setups:
Allow Long Entries: true by default
Allow Short Entries: true by default
Order Size: 1.5 by default
Order Type: Risk Percentage (current) by default, allows adjustment on how the position size is calculated: Cash: only the set cash ammount will be used for each trade Contract(s): the adjusted number of contracts will be used for each trade Capital Percentage: a % of the current available capital will be used for each trade Risk Percentage (current): position size will be determined such that the potential loss is equal to % of the current available capital Risk Percentage (initial): position size will be determined such that the potential loss is equal to % of the initial capital
Trend Filter:
Use long trend filter: true by default, only enter long if price is above Long MA
Show long trend filter: true by default, plot the selected MA on the chart
MA Type (Long): SMA by default
MA Length (Long): 100 by default
MA Source (Long): close by default
Use short trend filter: true by default, only enter long if price is under Short MA
Show short trend filter: false by default, plot the selected MA on the chart
MA Type (Short): SMA by default
MA Length (Short): 100 by default
MA Source (Short): close by default
Simple RSI Limiter:
Limit using Simple RSI: true by default, if set to 'Normal', only enter long when Simple RSI is lower then Long Boundary, and only enter short when Simple RSI is higher then Short Boundary. If set to 'Reverse', only enter long when Simple RSI is higher then Long Boundary, and only enter short when Simple RSI is lower then Short Boundary.
Simple RSI Limiter Type:
RSI Length: 14 by default
RSI Source: hl2 by default
Simple RSI Long Boundary: 50 by default
Simple RSI Short Boundary: 50 by default
ADX Limiter:
Use ADX Limiter: true by default, only enter into any position (long/short) if ADX value is higher than the Low Boundary and lower than the High Boundary.
ADX Length: 5 by default
DI Length: 5 by default
High Boundary: 50 by default
Low Boundary: 20 by default
Use MA based calculation: Yes by default, if 'Yes', only enter into position (long/short) if ADX value is higher than MA (ADX as source).
MA Type: REMA by default
MA Length: 5 by default
Volume Filter:
Only enter trades where volume is higher then the volume-based MA: true by default, a set type of MA will be calculated with the volume as source, and set length
MA Type: EMA by default
MA Length: 10 by default
Session Limiter:
Show session plots: false by default, show crypto market sessions on chart: Sidney (red), Tokyo (orange), London (yellow), New York (green)
Use session limiter: false by default, if enabled, trades will only happen in the ticked sessions below.
Sidney session: false by default, session between: 15:00 - 00:00 (EST)
Tokyo session: false by default, session between: 19:00 - 04:00 (EST)
London session: false by default, session between: 03:00 - 11:00 (EST)
New York session: false by default, session between: 08:00 - 17:00 (EST)
Date Range:
Limit Between Dates: false by default
Start Date: Jul 01 2021 00:00:00 by default
End Date: Dec 31 2022 00:00:00 by default
Trading Time:
Limit Trading Time: false by default, tick this together with the options below to enable limiting based on day and time
Valid Trading Days Global: 1234567 by default, if the Limit Trading Time is on, trades will only happen on days that are present in this field. If any of the not global Valid Trading Days is used, this field will be neglected. Values represent days: Sunday (1), Monday (2), ..., Friday (6), Saturday(7) To trade on all days use: 123457
(1) Valid Trading Days: false, 1234567 by default, values represent days: Sunday (1), Monday (2), ..., Friday (6), Saturday(7) The script will trade on days that are present in this field. Please make sure that this field and also (1) Valid Trading Hours Between is checked
(1) Valid Trading Hours Between: false, 0930-1600 by default, hours between which the trades can happen. The time is always in the exchange's timezone
Fine-tuning is highly recommended when using other asset/timeframe combinations.
SQueezeVergenceThis is my SQueezeVergence indicator. It fires Buy and Sell signals based on squeeze momentum and trend. **It also creates Bull and Bear signals based on MACD divergence which should only be used as areas of support and resistance being as these signals repaint based on a 5 candle look back of pivots.** All settings are editable for better use. The default settings are what I use on the 1 Minute chart of ES to scalp. This is a simple indicator to help me get alerts on when I need to scalp. The divergence signals work well for areas of significance. I like to watch for breaks of these levels along with support and resistance. I hope this helps.
Strategy Myth-Busting #6 - PSAR+MA+SQZMOM+HVI - [MYN]This is part of a new series we are calling "Strategy Myth-Busting" where we take open public manual trading strategies and automate them. The goal is to not only validate the authenticity of the claims but to provide an automated version for traders who wish to trade autonomously.
Our sixth one we are automating is " I Tested ''7% Profit Per Day" Scalping Strategy 100 Times ( Unexpected Results ) " from " TradeIQ " which claims to have made 175% profit on the 5 min chart of BTCUSD with a having a 61% win rate in just 32 days.
Originally, we mimicked verbatim the indicators and settings TradeIQ was using however weren't getting promising results anything close to the claim so we decided to try and improve on it. We changed the static Parabolic SAR to be adaptive based upon the timeframe. We did this by using an adjustable multiplier for the PSAR Max. Also, In TradeIQ's revised version he substituted Hawkeye's Volume Indicator in lieu of Squeeze Momentum. We found that including both indicators we were getting better results so included them both. Feel free to experiment more. Would love to see how this could be improved on.
This strategy uses a combination of 4 open-source public indicators:
Parabolic Sar (built in)
10 in 1 MA's by hiimannshu
Squeeze Momentum by lazybear
HawkEYE Volume Indicator by lazybear
Trading Rules
5m timeframe and above. We saw equally good results in the higher (3h - 4h) timeframes as well.
Long Entry:
Parabolic Sar shifts below price at last dot above and then previous bar needs to breach above that.
Price action has to be below both MA's and 50MA needs to be above 200MA
Squeeze Momentum needsd to be in green or close to going green
HawkEYE Volume Indicator needs to be show a green bar on the histagram
Short Entry:
Parabolic Sar shifts above price at last dot below and then previous bar needs to breach below that.
Price action needs to be above both MA's and 50MA needs to be below 200MA
Squeeze Momentum needsd to be in red or close to going red
HawkEYE Volume Indicator needs to be show a red bar on the histagram
If you know of or have a strategy you want to see myth-busted or just have an idea for one, please feel free to message me.
Multi-timeframe Squeeze Mom + ADX and DIsMulti-timeframe Squeeze and ADX
This indicator is designed to be able to get used in combination with others that can lead to a potential help for trading.
The indicator uses colors such us light green, dark green, light red and dark red. Light green and light red to indicate the second half and strongest movement of an upwards and downwards movement, respectively. The same for the first half of an upwards or downwards movement, dark red for the possible start of the upwards movement and dark green ad possible start of the downwards movement.
The indicator is multi-timeframe because the trader can configure within the menu a background timeframe, which plots a squeeze momentum for a different timeframe than the one selected for the main graph. It plots the background timeframe with an area style, while the main squeeze is plotted with a column style. This helps the traders to analyze whether entering a position countering a higher timeframe upwards or downwards squeeze momentum.
It also shows the divergences that occur between the price and the squeeze momentum that can add strength to a potential movement upwards or downwards.
The ADX, DI+ and DI- lines are also added to determine the potential strength of the movement in the monitor (squeeze momentum). If the DI+ is over the DI-, then the strength is likely higher upwards and the opposite for the downwards strength.
Fundamentals
Squeeze momentum: It shows the periods when volatility increases or decreases, in other words, when the market goes from the trend into flat movement and vice versa.
ADX (Average Directional Index): The ADX helps the indicator to estimate the strength of the movement, always considering the DI+ and DI- to not go against the trend strength.
Positive (DI+) and Negative DI (DI-): Both DI+ and DI- measure up and down price movement, in some cases crossovers of these lines can be used as trade signals.
Divergences: Divergence occur when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator (squeeze momentum). Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
Panel
This panel allows the trader to have a summary of the values of the direction and strength of the movement. It has the following characteristics:
It is placed on the right middle side of the chart indicator by the default.
Its colors changes according to the indicator’s values.
The summary box shows the projection for the main squeeze plot and also for the background squeeze plot. If only one is needed, it can be changed on the menu of the indicator.
Summary
From all previously mentioned, it can be stated that the indicator allows users to:
Detect the direction of trends
Detect price and squeeze divergences
Get a table summarizing important values of the indicator to determine the strength of a trend.
Squeeze Momentum Indicator [LazyBear] added Alerting + webhookA modified version of Squeeze Momentum Indicator visualizing on Price Chart.
author: @LazyBear, modified by @KivancOzbilgic, and by @dgtrd
I took in all of the information as the script below is based on the V2 Script that @LazyBear posted and then added Alerting based on the math and the conditions that @dgtrd added.
Per the description here:
The Squeeze Indicator measures the relationship between Bollinger Bands and Keltner's Channels to help identify consolidations and signal when prices are likely to break out (whether up or down).
The Squeeze Indicator finds sections of the Bollinger Bands which fall inside the Keltner's Channels, and in this case, the market is said to be in a squeeze (indicator turns off, displayed with grey diamond shapes in this study).
When the volatility increases, so does the distance between the bands. Conversely, when the volatility declines, the distance also decreases, and in such cases, the squeeze is said to be released (indicator turns on, displayed with triangle up or triangle down shapes)
Taking the above information and what was in the script was able to base the alert conditions:
So when the condition:
Squeeze On or No Squeeze = In Squeeze
Squeeze Off = Squeeze Release Long or Squeeze Release Long based off conditions.
There are 2 separate alert Types.
1. App, Pop-up, eMail, play sound and Send email to SMS
2. It Is dedicated to Webhook for your various applications.
Alerting Options
i.imgur.com
App Notification
i.imgur.com
i.imgur.com
Webhook test into Discord
i.imgur.com
Squeeze Momentum Strategy [LazyBear] Buy Sell TP SL Alerts-Modified version of Squeeze Momentum Indicator by @LazyBear.
-Converted to version 5,
-Taken inspiration from @KivancOzbilgic for its buy sell calculations,
-Used @Bunghole strategy template with Take Profit, Stop Loss and Enable/Disable Toggles
-Added Custom Date Backtesting Module
------------------------------------------------------------------------------------------------------------------------
All credit goes to above
Problem with original version:
The original Squeeze Momentum Strategy did not have buy sell signals and there was alot of confusion as to when to enter and exit.
There was no proper strategy that would allow backtesting on which further analysis could be carried out.
There are 3 aspects this strategy:
1 ) Strategy Logic (easily toggleable from the dropdown menu from strategy settings)
- LazyBear (I have made this simple by using Kivanc technique of Momentums Moving Average Crossover, BUY when MA cross above signal line, SELL when crossdown signal line)
- Zero Crossover Line (BUY signal when crossover zero line, and SELL crossdown zero line)
2) Long Short TP and SL
- In strategies there is usually only 1 SL and 1 TP, and it is assumed that if a 2% SL giving a good profit %, then it would be best for both long and short. However this is not the case for many. Many markets/pairs, go down with much more speed then they go up with. Hence once we have a profitable backtesting setting, then we should start optimizing Long and Short SL's seperately. Once that is done, we should start optimizing for Long and Short TP's separately, starting with Longs first in both cases.
3) Enable and Disable Toggles of Long and Short Trades
- Many markets dont allow short trades, or are not suitable for short trades. In this case it would be much more feasible to disable "Short" Trading and see results of Long Only as a built in graphic view of backtestor provides a more easy to understand data feed as compared to the performance summary in which you have to review long and short profitability separately.
4) Custom Data Backtesting
- One of most crucial aspects while optimizing for backtesting is to check a strategies performance on uptrends, downtrend and sideways markets seperately as to understand the weak points of strategy.
- Once you enable custom date backtesting, you will see lines on the chart which can be dragged left right based on where you want to start and end the backtesting from and to.
Note:
- Not a financial advise
- Open to feedback, questions, improvements, errors etc.
- More info on how the squeeze momentum works visit LazyBear indicator link:
Happy Trading!
Cheers
M Tahreem Alam @mtahreemalam
Variety-Filtered, Squeeze Moving Averages [Loxx]Variety-Filtered, Squeeze Moving Averages is a chop zone indicator that identifies when price is below a specific volatility threshold calculated as the difference between a fast and slow moving average and filtered using ATR- or Pips-based threshold. This indicator can be use as both an entry and exit indicator. It identifies both chop zones and breakouts/breakdowns
How to use
When the candles turn white and the threshold bands appear on the chart, this is indicative of low volatility
When price exits the threshold bands, price will usually explode up or down giving a long or short signal. This acts as a sort of squeeze momentum.
Included:
Bar coloring
Signals
Alerts, 4 types of alerts: Squeeze started, Squeeze ended, long, and short
Loxx's Expanded Source Types
35+ Loxx's Moving Averages
Rails [s3]Centered around a Variable Moving Average. The Variable Moving Average (VMA) is a study that uses an Exponential Moving Average being able to automatically adjust its smoothing factor according to the market volatility. In addition to the VMA, the indicator displays breakouts in volume and when the Bollinger Bands are in a squeeze.
Dots = Microtrend
Triangles = Breakouts in Volume
X = Crossover of Moving Averages
Shaded "Cloud" = Bollinger Bands Squeeze
Alerts can be set for Bearish and Bullish strength (Volume Breakouts), Crossovers, and when Squeezes have started and ended.
Squeeze mom MTF filtered by Wavetrend with div (Tilt)📋 Description :
This script is based on two famous indicators from @Lazybear : Squeeze Momentum and WaveTrend. fr.tradingview.com
The idea is to use the Wavetrend crossovers and filter them according to the momentum curve.
There is a multi timeframe module with automatic selection of the higher timeframe. The user can also choose his timeframe manually.
There is also a detection of regular and hidden divergences
🛠 Options :
- filtering the cross wave trend according to the momemtum curve
- active or not higher timeframe with automatic or manually timeframe selection
- display or not WaveTrend ans squeeze momentum
- Show a tape that signals when wavetrend is overbought or oversold
- choose colors and apparences
- display a panel for the higher timeframe value
Squeeze Momentum 3# Squeeze Momentum 3
First of All, I would like to give my gratitude to for the initital script's idea.
This is my own version of SQZMOM. I had revised all equations and parameters according to Investopedia.
Still, no matter how much we stick to the indicator, the indicator can not see the future.
Trading results vary from time to time. In my opinion, SQZMOM is great for speculating under 4H timeframe.
Remarks;
- implement horizontal shift
- revised all equations. Unfortunately, there is no magic params.
- Be careful with your money management
- Good Luck
Leonidas Squeeze Momentum SystemThis indicator is based on LazyBear SQ Momentum Indicator and SQ Plus Indicator.
This indicator is using ADX and Squeeze Momentum Indicator.
When you see the ADX above 0 line and the slop is positive that means the trend is strong
When the ADX is below 0 line and the trend is weak you will see the slop negative and the color gray
When we see the SQ changing the color from Red to Yellow that means the sell pressure is decreasing this could be a potential buy signal
When we see the color changing from blue to dark blue that means the buy pressure is decreasing this could be a a potential sell signal
Bull/Bear divergences supported
Added SQ signal
this signal is an exponential moving average following the SQ main signal useful for filtering fake signals.
This indicator is very powerful but offers many fake signals it is recommended using this indicator with other indicators to confirm the entries
Squeeze Momentum + Volatility [LeonidasCrypto]Based on Squeeze Momentum indicator by LazyBear
This custom version of SQ is part of my Trading System.
How to use it.
Please read the description of the original author of this indicator here.
Volatility .
When the market is contracting or sideways usually you will see red or blue dots.
Blue dots. the market is in sideways and the volatility is low.
Red dots. the market is in the climax of volatility usually after of a big move this is a potential signal the peak of the move is near.
I added volatility to SQ because I consider volatility is a key factor for trading to anticipate the moves.
SQZ Multiframe StrategyThis is a first attempt to automate what my current strategy when trading is.
It uses 2 timeframes: the one you are currently using to see the chart and an "anchor trend" which is a higher order frame.
Supported timeframes are: 1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W
The Strategy relies on two indicators:
Squeeze Momentum Indicator
CMF
How does it works?
It looks for a moment when the following conditions are met.
For Long:
Positive directionality in SQZM monitor in anchor timeframe
Positive directionality in SQZM monitor in current timeframe
Recent minimum in CMF
For Short:
Negative directionality in SQZM monitor in anchor timeframe
Negative directionality in SQZM monitor in current timeframe
Recent maximum in CMF
After a BUY or SELL order is executed the plot will start showing two lines: A TP line, and a SL line.
The TP and SL move dynamically based on a greedy algorithm based on 3 input parameters.
Min Profit to Start Moving SL (%): Sets an initial target for the trade.
Maximum Possible of SL (%): This is the maximum amount possible for SL. If volatility is not too high, a shorter SL will be chosen based on Kaufman's Stops method
Take profit factor: Is how much portion of the target I am taking as profit once the target is reached
Example for 5% Min profit:
When the first target is reached (+5%), the SL will be updated to 2.5% over the enter price.
When the second target is reached (+10%), the SL will be updated to 5% over the enter price.
Note: The strategy might abandon the position prematurely if a contrary signal is received while the trade is opened, and will change direction.
The Strategy has been backtested mostly for crypto. It might be good for stocks too, but the parameters mentioned might need some adjustments since price moves at a different rate.
Recommended timeframe is 4H for BTC , and 30min/1H for alts.
Comments and ideas are more than welcome!
ADX MULTICOLOR
ENGLISH:
ADX (AVERAGE DIRECTIONAL INDEX):
It is a non-directional oscillator type indicator, that is, it quantifies the strength of a trend regardless of its direction. In Spanish ADX means index of average direction. It is common to use it together with directional indicators of movement such as the (Squeeze Momentum Indicator), which show us the direction or predominant trend of the market.
HOW TO USE THE ADX INDICATOR
When the ADX is greater than 30, the market is in a strong trend, when it is between 23 and 30 it is not well defined and when it is less than 23 it indicates that the market is in range.
QUANTIFYING THE STRENGTH OF TREND:
ADX values help traders identify the strongest and most profitable trends to trade. Values are also important to distinguish between trending and non-trending conditions. Many traders will use ADX readings above 23 to suggest that the trend is strong enough for trend trading strategies. Conversely, when the ADX is below 23, many will avoid trending trading strategies.
ADX value Trend strength
0-23 Trend absent or weak
23-30 Strong trend
30-75 Very strong trend
75-100 Extremely strong trend
+ DI: (Green Color)
The + DI (Positive Directional Indicator) would be the indicator of positive direction and it would be showing us that the movements are trending upward.
-DI: (Red Color)
The –DI (Negative Directionl Indicator) would be the indicator of negative direction and it would be showing us that the movements have a downward trend.
IMPROVEMENTS IN THE DEVELOPMENT OF THE OSCILLATOR:
It is known that the ADX as a whole is composed of three lines, the first is the ADX itself, which measures the strength of the trend, when it has upward directionality, it means that there is strength in the movement.
The other two lines named (+ DI and -DI) mark if the force is bearish, bullish or, failing that, neutral.
When the + DI is above the -DI, it speaks of Bullish force. On the contrary, when these lines are reversed, we would be in the presence of a bearish force.
On the other hand, when the ADX is below the 23 point, it is considered that there is no force in the movement.
FUSION OF ADX AND LOS (+ DI and -DI):
To simplify this vision, we have merged the three lines that we talked about at the beginning of this section, attributing the color resulting from the crosses of the (+ DI and -DI) to the ADX itself, resulting in a single line that has the color of the type of present force.
CANDLE COLOR:
To help the more inexperienced trader, we have activated a function that will paint the candles the color of the ADX, providing a visual aid to the trader using this indicator.
THE ADX HAS 5 COLORS:
• ADX: Dark Green (Bullish force).
• ADX: Light Green (Loss of bullish strength).
• ADX: Dark Red (Bearish Force).
• ADX: Light Red (Loss of bearish strength).
• ADX: Orange (Lost strength, Disinterest and low volume).
NOTE:
It is possible to activate the lines (+ DI and -DI) in the indicator if you want to use the indicator independently, however, it is recommended to combine this indicator with a directional oscillator, such as the Squeeze Momentum Indicator.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ESPAÑOL:
ADX (ÍNDICE DIRECCIONAL PROMEDIO):
Es un indicador de tipo oscilador no direccional, es decir, cuantifica la fuerza de una tendencia independientemente de su dirección. En español ADX significa índice de dirección media. Es común usarlo junto con indicadores direccionales de movimiento como el (Squeeze Momentum Indicator), que nos muestran la dirección o tendencia predominante del mercado.
CÓMO USAR EL INDICADOR ADX
Cuando el ADX es mayor a 30, el mercado está en fuerte tendencia, cuando está entre 23 y 30 no está bien definido y cuando es menor a 23 indica que el mercado está en rango.
CUANTIFICACIÓN DE LA FUERZA DE LA TENDENCIA:
Los valores de ADX ayudan a los operadores a identificar las tendencias más fuertes y rentables para operar. Los valores también son importantes para distinguir entre condiciones con tendencia y sin tendencia. Muchos operadores utilizarán lecturas de ADX por encima de 23 para sugerir que la tendencia es lo suficientemente fuerte para las estrategias de negociación de tendencias. Por el contrario, cuando el ADX está por debajo de 23, muchos evitarán las estrategias comerciales de tendencia.
Valor ADX Fuerza de la tendencia
0-23 Tendencia ausente o débil
23-30 Fuerte tendencia
30-75 Tendencia muy fuerte
75-100 Tendencia extremadamente fuerte
+ DI: (Color verde)
El + DI (indicador direccional positivo) sería el indicador de dirección positiva y nos estaría mostrando que los movimientos tienen una tendencia alcista.
-DI: (Color rojo)
El –DI (indicador de dirección negativa) sería el indicador de dirección negativa y nos estaría mostrando que los movimientos tienen una tendencia a la baja.
MEJORAS EN EL DESARROLLO DEL OSCILADOR:
Se sabe que el ADX en su conjunto está compuesto por tres líneas, la primera es el propio ADX, que mide la fuerza de la tendencia, cuando tiene direccionalidad ascendente, significa que hay fuerza en el movimiento.
Las otras dos líneas denominadas (+ DI y -DI) marcan si la fuerza es bajista, alcista o, en su defecto, neutral.
Cuando el + DI está por encima del -DI, habla de fuerza alcista. Por el contrario, cuando estas líneas se invierten, estaríamos en presencia de una fuerza bajista.
Por otro lado, cuando el ADX está por debajo del punto 23, se considera que no hay fuerza en el movimiento.
FUSIÓN DE ADX Y LOS (+ DI y -DI):
Para simplificar esta visión, hemos fusionado las tres líneas de las que hablamos al principio de esta sección, atribuyendo el color resultante de los cruces de (+ DI y -DI) al propio ADX, dando como resultado una sola línea que tiene el color del tipo de fuerza presente.
COLOR DE VELAS:
Para ayudar al trader más inexperto, hemos activado una función que pintará las velas del color del ADX, proporcionando una ayuda visual al trader que usa este indicador.
EL ADX TIENE 5 COLORES:
• ADX: Verde oscuro (fuerza alcista).
• ADX: Verde Claro (Pérdida de fuerza alcista).
• ADX: rojo oscuro (fuerza bajista).
• ADX: Light Red (Pérdida de fuerza bajista).
• ADX: Naranja (Pérdida de fuerza, Desinterés y bajo volumen).
NOTA:
Es posible activar las líneas (+ DI y -DI) en el indicador si desea utilizar el indicador de forma independiente, sin embargo, se recomienda combinar este indicador con un oscilador direccional, como el Squeeze Momentum Indicator.