Squeeze Momentum Indicator Strategy [LazyBear + PineIndicators]The Squeeze Momentum Indicator Strategy (SQZMOM_LB Strategy) is an automated trading strategy based on the Squeeze Momentum Indicator developed by LazyBear, which itself is a modification of John Carter's "TTM Squeeze" concept from his book Mastering the Trade (Chapter 11). This strategy is designed to identify low-volatility phases in the market, which often precede explosive price movements, and to enter trades in the direction of the prevailing momentum.
Concept & Indicator Breakdown
The strategy employs a combination of Bollinger Bands (BB) and Keltner Channels (KC) to detect market squeezes:
Squeeze Condition:
When Bollinger Bands are inside the Keltner Channels (Black Crosses), volatility is low, signaling a potential upcoming price breakout.
When Bollinger Bands move outside Keltner Channels (Gray Crosses), the squeeze is released, indicating an expansion in volatility.
Momentum Calculation:
A linear regression-based momentum value is used instead of traditional momentum indicators.
The momentum histogram is color-coded to show strength and direction:
Lime/Green: Increasing bullish momentum
Red/Maroon: Increasing bearish momentum
Signal Colors:
Black: Market is in a squeeze (low volatility).
Gray: Squeeze is released, and volatility is expanding.
Blue: No squeeze condition is present.
Strategy Logic
The script uses historical volatility conditions and momentum trends to generate buy/sell signals and manage positions.
1. Entry Conditions
Long Position (Buy)
The squeeze just released (Gray Cross after Black Cross).
The momentum value is increasing and positive.
The momentum is at a local low compared to the past 100 bars.
The price is above the 100-period EMA.
The closing price is higher than the previous close.
Short Position (Sell)
The squeeze just released (Gray Cross after Black Cross).
The momentum value is decreasing and negative.
The momentum is at a local high compared to the past 100 bars.
The price is below the 100-period EMA.
The closing price is lower than the previous close.
2. Exit Conditions
Long Exit:
The momentum value starts decreasing (momentum lower than previous bar).
Short Exit:
The momentum value starts increasing (momentum higher than previous bar).
Position Sizing
Position size is dynamically adjusted based on 8% of strategy equity, divided by the current closing price, ensuring risk-adjusted trade sizes.
How to Use This Strategy
Apply on Suitable Markets:
Best for stocks, indices, and forex pairs with momentum-driven price action.
Works on multiple timeframes but is most effective on higher timeframes (1H, 4H, Daily).
Confirm Entries with Additional Indicators:
The author recommends ADX or WaveTrend to refine entries and avoid false signals.
Risk Management:
Since the strategy dynamically sizes positions, it's advised to use stop-losses or risk-based exits to avoid excessive drawdowns.
Final Thoughts
The Squeeze Momentum Indicator Strategy provides a systematic approach to trading volatility expansions, leveraging the classic TTM Squeeze principles with a unique linear regression-based momentum calculation. Originally inspired by John Carter’s method, LazyBear's version and this strategy offer a refined, adaptable tool for traders looking to capitalize on market momentum shifts.
Centered Oscillators
Pay Attention CandleThis is an attempt to detect the so called Pay Attention Candles from RexDog Trading System (RDTS). (They are not clearly defined by any specific set in stone rule, so this is just my interpretation)
You can turn on and off the bar highlight/triangles if chart gets too busy and you want only one of the indication types.
The way this is defined as evident in the code is - it looks at the candle size (without the wicks!!! only open to close) to decide whether it is larger than ATR mutlipied by a multiplier (1.5 by default here - you can adjust)
ATR period can also be adjusted but it's set to 9 by default.
Enjoy.
Sniper TradingSniper Trader Indicator Overview
Sniper Trader is a comprehensive trading indicator designed to assist traders by providing valuable insights and alerting them to key market conditions. The indicator combines several technical analysis tools and provides customizable inputs for different strategies and needs.
Here’s a detailed breakdown of all the components and their functions in the Sniper Trader indicator:
1. MACD (Moving Average Convergence Divergence)
The MACD is a trend-following momentum indicator that helps determine the strength and direction of the current trend. It consists of two lines:
MACD Line (Blue): Calculated by subtracting the long-term EMA (Exponential Moving Average) from the short-term EMA.
Signal Line (Red): The EMA of the MACD line, typically set to 9 periods.
What does it do?
Buy Signal: When the MACD line crosses above the signal line, it generates a buy signal.
Sell Signal: When the MACD line crosses below the signal line, it generates a sell signal.
Zero Line Crossings: Alerts are triggered when the MACD line crosses above or below the zero line.
2. RSI (Relative Strength Index)
The RSI is a momentum oscillator used to identify overbought or oversold conditions in the market.
Overbought Level (Red): The level above which the market might be considered overbought, typically set to 70.
Oversold Level (Green): The level below which the market might be considered oversold, typically set to 30.
What does it do?
Overbought Signal: When the RSI crosses above the overbought level, it’s considered a signal that the asset may be overbought.
Oversold Signal: When the RSI crosses below the oversold level, it’s considered a signal that the asset may be oversold.
3. ATR (Average True Range)
The ATR is a volatility indicator that measures the degree of price movement over a specific period (14 bars in this case). It provides insights into how volatile the market is.
What does it do?
The ATR value is plotted on the chart and provides a reference for potential market volatility. It's used to detect flat zones, where the price may not be moving significantly, potentially indicating a lack of trends.
4. Support and Resistance Zones
The Support and Resistance Zones are drawn by identifying key swing highs and lows over a user-defined look-back period.
Support Zone (Green): Identifies areas where the price has previously bounced upwards.
Resistance Zone (Red): Identifies areas where the price has previously been rejected or reversed.
What does it do?
The indicator uses swing highs and lows to define support and resistance zones and highlights these areas on the chart. This helps traders identify potential price reversal points.
5. Alarm Time
The Alarm Time feature allows you to set a custom time for the indicator to trigger an alarm. The time is based on Eastern Time and can be adjusted directly in the inputs tab.
What does it do?
It triggers an alert at a user-defined time (for example, 4 PM Eastern Time), helping traders close positions or take specific actions at a set time.
6. Market Condition Display
The Market Condition Display shows whether the market is in a Bullish, Bearish, or Flat state based on the MACD line’s position relative to the signal line.
Bullish (Green): The market is in an uptrend.
Bearish (Red): The market is in a downtrend.
Flat (Yellow): The market is in a range or consolidation phase.
7. Table for Key Information
The indicator includes a customizable table that displays the current market condition (Bull, Bear, Flat). The table is placed at a user-defined location (top-left, top-right, bottom-left, bottom-right), and the appearance of the table can be adjusted for text size and color.
8. Background Highlighting
Bullish Reversal: When the MACD line crosses above the signal line, the background is shaded green to highlight the potential for a trend reversal to the upside.
Bearish Reversal: When the MACD line crosses below the signal line, the background is shaded red to highlight the potential for a trend reversal to the downside.
Flat Zone: A flat zone is identified when volatility is low (ATR is below the average), and the background is shaded orange to signal periods of low market movement.
Key Features:
Customizable Time Inputs: Adjust the alarm time based on your local time zone.
User-Friendly Table: Easily view market conditions and adjust display settings.
Comprehensive Alerts: Receive alerts for MACD crossovers, RSI overbought/oversold conditions, flat zones, and the custom alarm time.
Support and Resistance Zones: Drawn automatically based on historical price action.
Trend and Momentum Indicators: Utilize the MACD and RSI for identifying trends and market conditions.
How to Use Sniper Trader:
Set Your Custom Time: Adjust the alarm time to match your trading schedule.
Monitor Market Conditions: Check the table for real-time market condition updates.
Use MACD and RSI Signals: Watch for MACD crossovers and RSI overbought/oversold signals.
Watch for Key Zones: Pay attention to the support and resistance zones and background highlights to identify market turning points.
Set Alerts: Use the built-in alerts to notify you of buy/sell signals or when it’s time to take action at your custom alarm time.
MACD+RSI Indicator Moving Average Convergence/Divergence or MACD is a momentum indicator that shows the relationship between two Exponential Moving Averages (EMAs) of a stock price. Convergence happens when two moving averages move toward one another, while divergence occurs when the moving averages move away from each other. This indicator also helps traders to know whether the stock is being extensively bought or sold. Its ability to identify and assess short-term price movements makes this indicator quite useful.
The Moving Average Convergence/Divergence indicator was invented by Gerald Appel in 1979.
Moving Average Convergence/Divergence is calculated using a 12-day EMA and 26-day EMA. It is important to note that both the EMAs are based on closing prices. The convergence and divergence (CD) values have to be calculated first. The CD value is calculated by subtracting the 26-day EMA from the 12-day EMA.
---------------------------------------------------------------------------------------------------------------------
The relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to detect overbought or oversold conditions in the price of that security.
The RSI is displayed as an oscillator (a line graph) on a scale of zero to 100. The indicator was developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, New Concepts in Technical Trading Systems.
In addition to identifying overbought and oversold securities, the RSI can also indicate securities that may be primed for a trend reversal or a corrective pullback in price. It can signal when to buy and sell. Traditionally, an RSI reading of 70 or above indicates an overbought condition. A reading of 30 or below indicates an oversold condition.
---------------------------------------------------------------------------------------------------------------------
By combining them, you can create a MACD/RSI strategy. You can go ahead and search for MACD/RSI strategy on any social platform. It is so powerful that it is the most used indicator in TradingView. It is best for trending market. Our indicator literally let you customize MACD/RSI settings. Explore our indicator by applying to your chart and start trading now!
StochRSI 50 Overlay
Hello?
Hello, traders.
If you "Follow", you can always get new information quickly.
Please click "Boost".
Have a nice day today.
-------------------------------------
(1D chart)
This is a 1D chart that shows the StochRSI 50 point shown on the 1M, 1W chart above.
-
As a basic property of the chart, it has the property of regressing to the average value.
In that sense, if the StochRSI indicator rises based on the 50 point,
- the strength of the rise becomes stronger, and if it falls,
- the strength of the fall becomes stronger.
In particular, it can be seen that it shows the strongest rise/fall strength when entering the overbought or oversold zone.
I made it displayed on the price chart so that you can see this characteristic more intuitively.
It seems to play a good role as a support and resistance point.
-
Thank you for reading to the end.
I hope you have a successful transaction.
--------------------------------------------------
--------------------------------------------------
안녕하세요?
트레이더 여러분, 반갑습니다.
"팔로우"를 해 두시면, 언제나 빠르게 새로운 정보를 얻으실 수 있습니다.
"부스트" 클릭도 부탁드립니다.
오늘도 좋은 하루되세요.
-------------------------------------
(1D 차트)
위의 1M, 1W 차트에 표시된 StochRSI 50 지점을 표시하여 나타낸 1D 차트입니다.
-
차트의 기본적인 속성으로 평균값으로 회귀하려는 성질을 가지고 있습니다.
그러한 의미에서 볼 때, StochRSI 지표가 50 지점을 기준으로 하여
- 상승한다면 상승 강도가 강해지고,
- 하락한다면 하락 강도가 강해집니다.
특히, 과매수 구간이나 과매도 구간에 진입하였을 때 가장 강한 상승/하락 강도를 나타낸다고 볼 수 있습니다.
이러한 성질을 보다 직관적으로 알 수 있도록 가격 차트 부분에 표시되도록 만들었습니다.
지지와 저항 지점으로 역할을 잘 수행한다고 보여집니다.
-
끝까지 읽어주셔서 감사합니다.
성공적인 거래가 되기를 기원입니다.
--------------------------------------------------
Multi Asset & TF Stochastic
Multi Asset & TF Stochastic
This indicator allows you to compare the stochastic oscillator values of two different assets across multiple timeframes in a single pane. It’s designed for traders who want to analyse the momentum of one asset (by default, the chart’s asset) alongside a second asset of your choice (e.g., comparing EURUSD to the USD Index).
How It Works:
Main Asset:
The indicator automatically uses the chart’s asset for the primary stochastic calculation. You have the option to adjust the timeframe for this asset using a dropdown that includes TradingView’s standard timeframes, a "Chart" option (which automatically uses your chart’s timeframe), or a "Custom" option where you can type in any timeframe.
Second Asset:
You can enable the display of a second asset by toggling the “Display Second Asset” option. Choose the asset symbol (default is “DXY”) and select its timeframe from an identical dropdown. When enabled, the script calculates the stochastic oscillator for the second asset, allowing you to compare its momentum (%K and %D lines) with that of the main asset.
Stochastic Oscillator Settings:
Customize the %K length, the smoothing period for %K, and the smoothing period for %D. Both assets’ stochastic values are calculated using these parameters.
Visual Display:
The indicator plots the %K and %D lines for the main asset in prominent colours. If the second asset is enabled, its %K and %D lines are also plotted in different colours. Additionally, overbought (80) and oversold (20) levels are marked, with a midline at 50, making it easier to gauge market conditions at a glance.
%D line can be toggled off for a cleaner view if required:
Asset Information Table:
A table at the top-centre of the pane displays the active asset symbols—ensuring you always know which assets are being analysed.
How to Use:
Apply the Indicator:
Add the script to your chart. By default, it will use the chart’s current asset and timeframe for the primary stochastic oscillator.
Adjust the Main Asset Settings:
Use the “Main Asset Timeframe” dropdown to select a specific timeframe for the main asset or stick with the “Chart” option for automatic syncing with your current chart.
Enable and Configure the Second Asset (Optional):
Toggle on “Display Second Asset” if you wish to compare another asset. Select the desired symbol and adjust its timeframe using the provided dropdown. Choose “Custom” if you need a timeframe not listed by default.
Review the Plots and Table:
Observe the stochastic %K and %D lines for each asset. The overbought/oversold levels help indicate potential market turning points. Check the table at the top-centre to confirm the asset symbols being displayed.
This versatile tool is ideal for traders who rely on momentum analysis and need to quickly compare the stochastic signals of different markets or instruments. Enjoy seamless multi-asset analysis with complete control over your timeframe settings!
[GYTS] Filters ToolkitFilters Toolkit indicator
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- 1. INTRODUCTION --------- 🌸
💮 Overview
The GYTS Filters Toolkit indicator is an advanced, interactive interface built atop the high‐performance, curated functions provided by the FiltersToolkit library . It allows traders to experiment with different combinations of filtering methods -— from smoothing low-pass filters to aggressive detrenders. With this toolkit, you can build custom indicators tailored to your specific trading strategy, whether you're looking for trend following, mean reversion, or cycle identification approaches.
🌸 --------- 2. FILTER METHODS AND TYPES --------- 🌸
💮 Filter categories
The available filters fall into four main categories, each marked with a distinct symbol:
🌗 Low Pass Filters (Smoothers)
These filters attenuate high-frequency components (noise) while allowing low-frequency components (trends) to pass through. Examples include:
Ultimate Smoother
Super Smoother (2-pole and 3-pole variants)
MESA Adaptive Moving Average (MAMA) and Following Adaptive Moving Average (FAMA)
BiQuad Low Pass Filter
ADXvma (Adaptive Directional Volatility Moving Average)
A2RMA (Adaptive Autonomous Recursive Moving Average)
Low pass filters are displayed on the price chart by default, as they follow the overall price movement. If they are combined with a high-pass or bandpass filter, they will be displayed in the subgraph.
🌓 High Pass Filters (Detrenders)
These filters do the opposite of low pass filters - they remove low-frequency components (trends) while allowing high-frequency components to pass through. Examples include:
Butterworth High Pass Filter
BiQuad High Pass Filter
High pass filters are displayed as oscillators in the subgraph below the price chart, as they fluctuate around a zero line.
🌑 Band Pass Filters (Cycle Isolators)
These filters combine aspects of both low and high pass filters, isolating specific frequency ranges while attenuating both higher and lower frequencies. Examples include:
Ehlers Bandpass Filter
Cyber Cycle
Relative Vigor Index (RVI)
BiQuad Bandpass Filter
Band pass filters are also displayed as oscillators in a separate panel.
🔮 Predictive Filter
Voss Predictive Filter: A special filter that attempts to predict future values of band-limited signals (only to be used as post-filter). Keep its prediction horizon short (1–3 bars) for reasonable accuracy.
Note that the the library contains elaborate documentation and source material of each filter.
🌸 --------- 3. INDICATOR FEATURES --------- 🌸
💮 Multi-filter configuration
One of the most powerful aspects of this indicator is the ability to configure multiple filters. compare them and observe their combined effects. There are four primary filters, each with its own parameter settings.
💮 Post-filtering
Process a filter’s output through an additional filter by enabling the post-filter option. This creates a filter chain where the output of one filter becomes the input to another. Some powerful combinations include:
Ultimate Smoother → MAMA: Creates an adaptive smoothing effect that responds well to market changes, good for trend-following strategies
Butterworth → Super Smoother → Butterworth: Produces a well-behaved oscillator with minimal phase distortion, John Ehlers also calls a "roofing filter". Great for identifying overbought/oversold conditions with minimal lag.
A bandpass filter → Voss Prediction filter: Attempts to predict future movements of cyclical components, handy to find peaks and troughs of the market cycle.
💮 Aggregate filters
Arguably the coolest feature: aggregating filters allow you to combine multiple filters with different weights. Important notes about aggregation:
You can only aggregate filters that appear on the same chart (price chart or oscillator panel).
The weights are automatically normalised, so only their relative values matter
Setting a weight to 0 (zero) excludes that filter from the aggregation
Filters don't need to be visibly displayed to be included in aggregation
💮 Rich visualisation & alerts
The indicator intelligently determines whether a filter is displayed on the price chart or in the subgraph (as an oscillator) based on its characteristics.
Dynamic colour palettes, adjustable line widths, transparency, and custom fill between any of enabled filters or between oscillators and the zero-line.
A clear legend showing which filters are active and how they're configured
Alerts for direction changes and crossovers of all filters
🌸 --------- 4. ACKNOWLEDGEMENTS --------- 🌸
This toolkit builds on the work of numerous pioneers in technical analysis and digital signal processing:
John Ehlers, whose groundbreaking research forms the foundation of many filters.
Robert Bristow-Johnson for the BiQuad filter formulations.
The TradingView community, especially @The_Peaceful_Lizard, @alexgrover, and others mentioned in the code of the library.
Everyone who has provided feedback, testing and support!
Ultimate Trading BotHow the "Ultimate Trading Bot" Works:
This Pine Script trading bot executes buy and sell trades based on a combination of technical indicators:
Indicators Used:
RSI (Relative Strength Index)
Measures momentum and determines overbought (70) and oversold (30) levels.
A crossover above 30 suggests a potential buy, and a cross below 70 suggests a potential sell.
Moving Average (MA)
A simple moving average (SMA) of 50 periods to track the trend.
Prices above the MA indicate an uptrend, while prices below indicate a downtrend.
Stochastic Oscillator (%K and %D)
Identifies overbought and oversold conditions using a smoothed stochastic formula.
A crossover of %K above %D signals a buy, and a crossover below %D signals a sell.
MACD (Moving Average Convergence Divergence)
Uses a 12-period fast EMA and a 26-period slow EMA, with a 9-period signal line.
A crossover of MACD above the signal line suggests a bullish move, and a cross below suggests bearish movement.
Trade Execution:
Buy (Long Entry) Conditions:
RSI crosses above 30 (indicating recovery from an oversold state).
The closing price is above the 50-period moving average (showing an uptrend).
The MACD line crosses above the signal line (indicating upward momentum).
The Stochastic %K crosses above %D (indicating bullish momentum).
→ If all conditions are met, the bot enters a long (buy) position.
Sell (Exit Trade) Conditions:
RSI crosses below 70 (indicating overbought conditions).
The closing price is below the 50-period moving average (downtrend).
The MACD line crosses below the signal line (bearish signal).
The Stochastic %K crosses below %D (bearish momentum).
→ If all conditions are met, the bot closes the long position.
Visuals:
The bot plots the moving average, RSI, MACD, and Stochastic indicators for reference.
It also displays buy/sell signals with arrows:
Green arrow (Buy Signal) → When all buy conditions are met.
Red arrow (Sell Signal) → When all sell conditions are met.
How to Use It in TradingView:
Multi-Asset & TF RSI
Multi-Asset & TF RSI
This indicator allows you to compare the Relative Strength Index (RSI) values of two different assets across multiple timeframes in a single pane. It’s ideal for traders who wish to monitor momentum across different markets or instruments simultaneously.
Key Features:
Primary Asset RSI:
The indicator automatically calculates the RSI for the chart’s asset. You can adjust the timeframe for this asset using a dropdown that offers standard TradingView timeframes, a "Chart" option (which syncs with your current chart timeframe), or a "Custom" option where you can enter any timeframe.
Optional Second Asset RSI:
Enable the “Display Second Asset” option to compare another asset’s RSI. Simply select the symbol (default is “DXY”) and choose its timeframe from an identical dropdown. When enabled, the second asset’s RSI is computed and plotted for easy comparison.
RSI Settings:
Customize the RSI length and choose the data source (e.g., close price) to suit your trading strategy.
Visual Aids:
Overbought (70) and oversold (30) levels are clearly marked, along with a midline at 50. These visual cues help you quickly assess market conditions.
Asset Information Table:
A dynamic table at the top of the pane displays the symbols being analysed – the chart’s asset as the “1st” asset and, if enabled, the second asset as the “2nd.”
How to Use:
Apply the Indicator:
Add the indicator to your chart. By default, it will calculate the RSI for the chart’s current asset using your chart’s timeframe.
Adjust Primary Asset Settings:
Use the “Main Asset Timeframe” dropdown to choose the timeframe for the RSI calculation on the chart asset. Select “Chart” to automatically match your current chart’s timeframe or choose a preset/custom timeframe.
Enable and Configure the Second Asset:
Toggle the “Display Second Asset” option to enable the second asset’s RSI. Select the asset symbol and its desired timeframe using the provided dropdown. The RSI for the second asset will be plotted if enabled.
Monitor the RSI Values:
Observe the plotted RSI lines along with the overbought/oversold levels. Use the table at the top-centre of the pane to verify which asset symbols are being displayed.
This versatile tool is designed to support multi-asset analysis and can be a valuable addition to your technical analysis toolkit. Enjoy enhanced RSI comparison across markets and timeframes!
Happy Trading!
MACD Volume Strategy for XAUUSD (15m) [PineIndicators]The MACD Volume Strategy is a momentum-based trading system designed for XAUUSD on the 15-minute timeframe. It integrates two key market indicators: the Moving Average Convergence Divergence (MACD) and a volume-based oscillator to identify strong trend shifts and confirm trade opportunities. This strategy uses dynamic position sizing, incorporates leverage customization, and applies structured entry and exit conditions to improve risk management.
⚙️ Core Strategy Components
1️⃣ Volume-Based Momentum Calculation
The strategy includes a custom volume oscillator to filter trade signals based on market activity. The oscillator is derived from the difference between short-term and long-term volume trends using Exponential Moving Averages (EMAs)
Short EMA (default = 5) represents recent volume activity.
Long EMA (default = 8) captures broader volume trends.
Positive values indicate rising volume, supporting momentum-based trades.
Negative values suggest weak market activity, reducing signal reliability.
By requiring positive oscillator values, the strategy ensures momentum confirmation before entering trades.
2️⃣ MACD Trend Confirmation
The strategy uses the MACD indicator as a trend filter. The MACD is calculated as:
Fast EMA (16-period) detects short-term price trends.
Slow EMA (26-period) smooths out price fluctuations to define the overall trend.
Signal Line (9-period EMA) helps identify crossovers, signaling potential trend shifts.
Histogram (MACD – Signal) visualizes trend strength.
The system generates trade signals based on MACD crossovers around the zero line, confirming bullish or bearish trend shifts.
📌 Trade Logic & Conditions
🔹 Long Entry Conditions
A buy signal is triggered when all the following conditions are met:
✅ MACD crosses above 0, signaling bullish momentum.
✅ Volume oscillator is positive, confirming increased trading activity.
✅ Current volume is at least 50% of the previous candle’s volume, ensuring market participation.
🔻 Short Entry Conditions
A sell signal is generated when:
✅ MACD crosses below 0, indicating bearish momentum.
✅ Volume oscillator is positive, ensuring market activity is sufficient.
✅ Current volume is less than 50% of the previous candle’s volume, showing decreasing participation.
This multi-factor approach filters out weak or false signals, ensuring that trades align with both momentum and volume dynamics.
📏 Position Sizing & Leverage
Dynamic Position Calculation:
Qty = strategy.equity × leverage / close price
Leverage: Customizable (default = 1x), allowing traders to adjust risk exposure.
Adaptive Sizing: The strategy scales position sizes based on account equity and market price.
Slippage & Commission: Built-in slippage (2 points) and commission (0.01%) settings provide realistic backtesting results.
This ensures efficient capital allocation, preventing overexposure in volatile conditions.
🎯 Trade Management & Exits
Take Profit & Stop Loss Mechanism
Each position includes predefined profit and loss targets:
Take Profit: +10% of risk amount.
Stop Loss: Fixed at 10,100 points.
The risk-reward ratio remains balanced, aiming for controlled drawdowns while maximizing trade potential.
Visual Trade Tracking
To improve trade analysis, the strategy includes:
📌 Trade Markers:
"Buy" label when a long position opens.
"Close" label when a position exits.
📌 Trade History Boxes:
Green for profitable trades.
Red for losing trades.
📌 Horizontal Trade Lines:
Shows entry and exit prices.
Helps identify trend movements over multiple trades.
This structured visualization allows traders to analyze past performance directly on the chart.
⚡ How to Use This Strategy
1️⃣ Apply the script to a XAUUSD (Gold) 15m chart in TradingView.
2️⃣ Adjust leverage settings as needed.
3️⃣ Enable backtesting to assess past performance.
4️⃣ Monitor volume and MACD conditions to understand trade triggers.
5️⃣ Use the visual trade markers to review historical performance.
The MACD Volume Strategy is designed for short-term trading, aiming to capture momentum-driven opportunities while filtering out weak signals using volume confirmation.
The Money Printer v3🚀 Say goodbye to stress and second-guessing! This algorithmic strategy is built to spot high-probability trades, manage risk dynamically, and let the trends do the heavy lifting. Whether you're catching breakouts or riding strong trends, this strategy adapts to market conditions so you can trade smarter, not harder.
🔥 What Makes It Tick?
✅ EMA Crossover Strategy – Identifies trend shifts so you’re trading with momentum, not against it.
✅ MACD Confirmation – Helps avoid weak trends by ensuring momentum is in your favor.
✅ RSI Filter – No chasing tops or selling bottoms—just smart, calculated entries.
✅ ATR-Based Stop-Loss & Trailing Stop – Adjusts dynamically to market volatility.
✅ Volume Surge Filter (Optional) – Want to trade with the whales? This filter helps confirm big moves.
✅ Position Sizing on Autopilot – Risk per trade is calculated based on equity for smarter capital allocation.
📊 How It Works:
🔹 Long Entries: Triggered when EMAs cross bullishly, RSI confirms strength, and MACD aligns.
🔹 Short Entries: Triggered when EMAs cross bearishly, RSI confirms weakness, and MACD signals momentum shift.
🔹 Dynamic Stop-Loss & Trailing Stop: Uses ATR to adapt to price action and volatility.
🔹 Volume Filter (Optional): Can be turned on to confirm institutional participation.
⚠️ Trading Smart, Not Reckless
This strategy is designed to enhance decision-making, but remember—markets are unpredictable. Backtest, tweak settings, and use proper risk management before live trading.
💎 Why Use It?
✔️ Reduces Emotional Trading – Signals based on logic, not FOMO.
✔️ Works on Any Timeframe – Scalping, swing trading, position trading—it adapts.
✔️ Let the Market Work for You – Spot trends, ride momentum, and manage risk automatically.
Ready to level up your strategy? Plug it into TradingView and let the signals roll in! 🚀💰
This keeps it fun and engaging while following TradingView’s rules. Let me know if you want any tweaks! 🎯🔥
NLS - 52W High Screener (3, 5, 7 Days)This indicator automatically detects stocks that have reached a new 52-week high within the last 3, 5, or 7 days. Perfect for traders looking for breakouts and strong momentum stocks!
📊 Features:
✅ Identifies new 52-week highs within the last 3, 5, or 7 days
✅ Fully Screener-compatible – Easily filter stocks in the TradingView Screener
✅ Plots the 52-week high as a blue line in the chart for better visualization
✅ Built-in alerts to notify you when a new 52W high is reached
✅ Optimized for the 1D (daily) timeframe
🛠️ How to Use in the Screener:
1️⃣ Add & activate the indicator
2️⃣ Open the TradingView Screener
3️⃣ Filter using one of these columns:
Screener 52W High Last 3 Days
Screener 52W High Last 5 Days
Screener 52W High Last 7 Days
4️⃣ Set the filter to "is true" to see relevant stocks
📢 Alerts:
Get notified when a stock reaches a new 52-week high in the last 3, 5, or 7 days!
🔍 Ideal for:
✔ Trend-following & breakout traders 🚀
✔ Swing traders looking for strong stocks 📈
✔ Screener users searching for momentum setups
[Ice Hive Algo] Averaged Bull Bear Power
Modified version of a well know Bull Bear Power Indicator.
It is now universal and can be used in building trading strategies by having indicator that is not tied to absolute price values.
Instead it operates percentages of price movements calculating Bull Bear power.
TradFi Fundamentals: Enhanced Macroeconomic Momentum Trading Introduction
The "Enhanced Momentum with Advanced Normalization and Smoothing" indicator is a tool that combines traditional price momentum with a broad range of macroeconomic factors. I introduced the basic version from a research paper in my last script. This one leverages not only the price action of a security but also incorporates key economic data—such as GDP, inflation, unemployment, interest rates, consumer confidence, industrial production, and market volatility (VIX)—to create a comprehensive, normalized momentum score.
Previous indicator
Explanation
In plain terms, the indicator calculates a raw momentum value based on the change in price over a defined lookback period. It then normalizes this momentum, along with several economic indicators, using a method chosen by the user (options include simple, exponential, or weighted moving averages, as well as a median absolute deviation (MAD) approach). Each normalized component is assigned a weight reflecting its relative importance, and these weighted values are summed to produce an overall momentum score.
To reduce noise, the combined momentum score can be further smoothed using a user-selected method.
Signals
For generating trade signals, the indicator offers two modes:
Zero Cross Mode: Signals occur when the smoothed momentum line crosses the zero threshold.
Zone Mode: Overbought and oversold boundaries (which are user defined) provide signals when the momentum line crosses these preset limits.
Definition of the Settings
Price Momentum Settings:
Price Momentum Lookback: The number of days used to compute the percentage change in price (default 50 days).
Normalization Period (Price Momentum): The period over which the price momentum is normalized (default 200 days).
Economic Data Settings:
Normalization Period (Economic Data): The period used to normalize all economic indicators (default 200 days).
Normalization Method: Choose among SMA, EMA, WMA, or MAD to standardize both price and economic data. If MAD is chosen, a multiplier factor is applied (default is 1.4826).
Smoothing Options:
Apply Smoothing: A toggle to enable further smoothing of the combined momentum score.
Smoothing Period & Method: Define the period and type (SMA, EMA, or WMA) used to smooth the final momentum score.
Signal Generation Settings:
Signal Mode: Select whether signals are based on a zero-line crossover or by crossing user-defined overbought/oversold (OB/OS) zones.
OB/OS Zones: Define the upper and lower boundaries (default upper zones at 1.0 and 2.0, lower zones at -1.0 and -2.0) for zone-based signals.
Weights:
Each component (price momentum, GDP, inflation, unemployment, interest rates, consumer confidence, industrial production, and VIX) has an associated weight that determines its contribution to the overall score. These can be adjusted to reflect different market views or risk preferences.
Visual Aspects
The indicator plots the smoothed combined momentum score as a continuous blue line against a dotted zero-line reference. If the Zone signal mode is selected, the indicator also displays the upper and lower OB/OS boundaries as horizontal lines (red for overbought and green for oversold). Buy and sell signals are marked by small labels ("B" for buy and "S" for sell) that appear at the bottom or top of the chart when the score crosses the defined thresholds, allowing traders to quickly identify potential entry or exit points.
Conclusion
This enhanced indicator provides traders with a robust approach to momentum trading by integrating traditional price-based signals with a suite of macroeconomic indicators. Its normalization and smoothing techniques help reduce noise and mitigate the effects of outliers, while the flexible signal generation modes offer multiple ways to interpret market conditions. Overall, this tool is designed to deliver a more nuanced perspective on market momentum.
DiNapoli MACDThis indicator applies a modified version of the traditional MACD based on DiNapoli’s methodology. It computes two exponential moving averages using a fast period of 8 and a slow period of 17 to generate the MACD line, then derives a 9-period exponential moving average of this MACD line as the signal line. The histogram represents the difference between the MACD line and the signal line, providing a visual cue for potential trend changes.
Default Settings:
Fast EMA Length: 8
Slow EMA Length: 17
Signal EMA Length: 9
Source: close
RSI + MACD Histogram Divergence Detector Indicator detects bullish and bearish divergences using RSI and MACD Histogram to identify potential trend reversals with high accuracy and minimal false signals.
This script is ideal for traders looking to enhance market timing and spot trend reversals early. Apply it to stocks, forex, crypto, or indices and optimize it for your strategy!
ZenAlgo - QZenAlgo - Q
Description
ZenAlgo - Q is an oscillator based on the QQE (Quantitative Qualitative Estimation) method. This version incorporates refinements for additional visualization and interpretation options. It is designed to help traders observe momentum changes and divergence patterns in price movements.
Key Features
QQE-Based Calculation : Derived from the open-source QQE script by Glaz (Metastock Version of QQE), with modifications for alternative visualization.
Dual RSI-Based Analysis : Uses two RSI calculations to provide additional context on price movements.
Adaptive Trend Bands : Adjust dynamically based on the market conditions.
Divergence Identification : Highlights potential differences between price action and oscillator movement.
Dynamic Color Coding : Displays histogram bars to illustrate shifts in oscillator values.
Configurable Alerts : Enables notifications for specific oscillator conditions.
How It Works
The indicator calculates a smoothed RSI-based oscillator that tracks the relative strength of price movement. It applies an exponential moving average (EMA) smoothing to reduce noise while maintaining responsiveness.
Two adaptive bands are calculated using a variation of the QQE method, which helps define dynamic overbought and oversold conditions.
The histogram bars shift in color based on the position of the oscillator relative to the bands. Lighter shades indicate weaker momentum, while stronger momentum is represented by more saturated colors.
The script also includes a secondary RSI component, which provides an additional layer of analysis. This secondary RSI helps refine momentum trends by smoothing out short-term fluctuations.
Divergence identification is built-in, highlighting where price action deviates from oscillator readings. Bullish divergence occurs when price forms a lower low while the oscillator forms a higher low, and bearish divergence is identified when price forms a higher high while the oscillator forms a lower high.
The indicator does not generate buy or sell signals but instead provides contextual information that can be used alongside other trading strategies.
Use Cases
Trend Observation : Traders can use the histogram to observe whether momentum is strengthening or weakening over time. A shift in color can indicate a potential change in trend strength.
Divergence Analysis : By comparing oscillator divergence with price movement, traders can identify situations where price action may be losing momentum. Divergences do not guarantee reversals but can serve as an early warning to re-evaluate positions.
Momentum Tracking : The dual RSI structure allows users to monitor both short-term and long-term momentum. When both RSI components are aligned, it suggests a more stable trend, while divergence between them may indicate potential consolidation or trend shifts.
Supplementary Analysis : This indicator is best used as a supporting tool alongside volume-based or trend-following indicators. It helps visualize underlying price behavior but should not be used in isolation for decision-making.
Market Context Interpretation : The combination of adaptive bands and histogram visualization allows traders to assess how recent price action compares to historical movement, helping to place current conditions in a broader market context.
Attribution
This script is an adaptation of the open-source QQE script originally developed by Glaz. We acknowledge and appreciate the original author's work, which served as a foundation for our modifications.
Disclaimer
This indicator is intended for informational purposes only. It should not be interpreted as financial advice. Always conduct independent research and risk management before making trading decisions.
Kitti-Playbook 5MA+MACD R5.2.1 Objective:
1) To serve as an indicator for trend following, capable of simultaneously displaying EMA4, EMA9, EMA20, EMA55, SMA200, MACD level, and MACD signal. This will enable to identify entry points, exit points, and stop points.
2) You can also display profit and loss values by specifying the entry price, the number of contracts, and the trading direction.
Z Score BlackZ-score bbut with better looking black color imo
Values are different because I choose source Open for original Z score and on my black one is source Closed. I don't know how to change that picture so you have to deal with it.
I works exactly the same as original.
All credit to original Creator: www.tradingview.com
Link to original Z score:
What Is Z-Score?
Z-score is a statistical measurement that describes a value's relationship to the mean of a group of values. Z-score is measured in terms of standard deviations from the mean. If a Z-score is 0, it indicates that the data point's score is identical to the mean score. A Z-score of 1.0 would indicate a value that is one standard deviation from the mean. Z-scores may be positive or negative, with a positive value indicating the score is above the mean and a negative score indicating it is below the mean.
Multi timeframe RSIMulti-Timeframe RSI Indicator
This indicator displays the Relative Strength Index (RSI) from multiple timeframes—1 minute, 5 minutes, 15 minutes, and 30 minutes—on a single chart. Designed for intraday scalpers and short-term traders, it provides a comprehensive view of momentum across different timeframes, helping traders make more informed decisions.
✨ Why Use This Indicator?
✔ Enhanced Confirmation – Identify trends and momentum shifts with RSI signals from multiple timeframes.
✔ Perfect for Scalping & Intraday Trading – Quickly spot overbought/oversold conditions across different timeframes.
✔ Multi-Timeframe Confluence – Align entries and exits with stronger confirmation by analyzing RSI across short-term charts.
✔ Customizable & Easy to Use – Adjust RSI settings to suit your trading style.
This is a must-have tool for traders looking to refine their entries and exits with a multi-timeframe perspective! 🚀
Squeeze Momentum Indicator with Entry Tactics### **Squeeze Momentum Indicator with Stacked EMAs**
#### **Description:**
This indicator is an enhanced version of the **Squeeze Momentum Indicator** (originally by John Carter and later modified by LazyBear). It identifies **periods of consolidation (squeeze)** and signals potential **explosive price moves** when momentum shifts. The added **stacked EMA concept** further refines entry signals by confirming trend strength. This is also an update to version 6 of PineScript
#### **How to Use:**
The indicator provides **three different entry tactics**, allowing traders to choose signals based on their strategy:
1. **Inside Day Pattern** – Detects inside candles, which indicate potential breakouts when volatility contracts.
2. **Consecutive Black Crosses (Squeeze Signal)** – A certain number of black crosses (low volatility periods) suggests a strong move is coming.
3. **Stacked EMA Concept** – When the **8 EMA > 21 EMA > 34 EMA**, combined with a momentum shift from negative to positive, it signals a **high-probability bullish entry**.
#### **Visual Cues:**
- **Histogram Bars**: Show momentum (green for increasing bullish, red for increasing bearish).
- **Black & Gray Dots**: Represent different squeeze states (low volatility vs. breakout conditions).
- **🔥 Bullish Label**: Appears when the stacked EMAs align and momentum shifts from negative to positive.
#### **Best Practices:**
- Look for **momentum shifts during a squeeze** for high-probability trades.
- Use **stacked EMAs as trend confirmation** before entering.
- Combine with **price action and volume analysis** for additional confluence.
This indicator helps traders **anticipate major price moves** rather than react, making it a powerful tool for trend-following and breakout strategies. 🚀
Normalized RSI Oscillator with DivergencesNormalized RSI with Divergences {A Next-Level Trading Tool}
The Normalized RSI with Divergences indicator is a powerful and innovative tool designed to enhance your trading precision. By normalizing the Relative Strength Index (RSI) and detecting divergences between the standard and normalized RSI, this script helps traders identify potential trend reversals and continuations with remarkable clarity.
Key Features
🔹 Advanced RSI Normalization
• Transforms the traditional RSI into a normalized range of , making overbought and oversold conditions more intuitive.
• Utilizes a dynamic lookback period to adapt to market conditions.
🔹 Divergence Detection for Smarter Trading
• Identifies Bullish, Hidden Bullish, Bearish, and Hidden Bearish divergences by analyzing RSI pivot points.
• Provides early signals of trend reversals and continuations for better trade execution.
🔹 Clear & Visual Trade Signals
• Divergences are automatically labeled on the chart:
o Bullish Divergence: 🟢 “Bull” (Green) – Possible upward reversal.
o Hidden Bullish Divergence: 🟢 “Hid.” (Lime) – Continuation of an uptrend.
o Bearish Divergence: 🔴 “Bear” (Red) – Possible downward reversal.
o Hidden Bearish Divergence: 🟠 “Hid.” (Orange) – Continuation of a downtrend.
🔹 Fully Customizable Inputs
• Adjust RSI period, normalization lookback, and divergence parameters to fit your strategy.
• Tailor the indicator to your preferred trading style and market conditions.
________________________________________
How It Works
🔹 RSI Normalization Formula:
Norm=2×(RSI−MinMax−Min)−1\text{Norm} = 2 \times \left(\frac{\text{RSI} - \text{Min}}{\text{Max} - \text{Min}}\right) - 1Norm=2×(Max−MinRSI−Min)−1
• Min & Max represent the lowest and highest RSI values over the selected lookback period.
🔹 Divergence Detection Process:
• Identifies pivot points in both the normalized RSI and the standard RSI.
• Compares their directions to detect potential trading signals.
🔹 Real-Time Chart Labeling:
• Uses label.new to visually highlight divergence points for quick and efficient decision-making.
________________________________________
Input Parameters
• Source: Price source for RSI calculation (Default: hlc3).
• Signal Period: RSI calculation period (Default: 50).
• Lookback Range: Normalization period (Default: 200, Max: 5000).
• Trend Length: Smoothing period for normalized RSI (Default: 5).
• Band Width: Center line & bands calculation period (Default: 34).
• Divergence Range: Lookback period for divergence detection (Default: 5).
________________________________________
How to Use
1. Add the script to your trading chart.
2. Customize the settings to match your trading approach.
3. Watch for divergence labels to identify potential market moves:
o 🟢 Bullish Divergence: Possible upward reversal.
o 🟢 Hidden Bullish Divergence: Continuation of an uptrend.
o 🔴 Bearish Divergence: Possible downward reversal.
o 🟠 Hidden Bearish Divergence: Continuation of a downtrend.
________________________________________
Why Use This Indicator?
✅ Enhanced RSI Analysis: Normalization simplifies overbought/oversold conditions.
✅ Crystal-Clear Divergence Signals: Instantly spot key trend shifts.
✅ Fully Customizable: Adjust settings for your specific strategy.
✅ Improve Trade Accuracy: Gain an edge with precise divergence detection.
________________________________________
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Always conduct thorough research and backtesting before using it in live trading.
📜 License
This script is released under the Mozilla Public License 2.0.
Enjoy the Normalized RSI with Divergences indicator, and happy trading! 🚀📈
— Kerem Ertem