Psych Level ScreenerThis Script is intended for Pine Screener and is not designed as a indicator!!!
Pine Screener is something TradingView has recently added and is still only a Beta version.
Pine Screener itself is currently only available to members that are Premium and above.
What it does:
This screener will actively look for tickers that are close to Pysch level in your watchlist.
Psych level here refers to price levels that are round numbers such as 50,100,1000.
Users can specify the offset from a psych level (in %) and scanner will scan for tickers that are within the offset. For example if offset is set at 5% then it will scan for tickers that are within +/-5% of a ticker. (for $100 psych level it will scan for ticker in $95-105 range)
Once scan is completed you will be able to see:
- Current price of ticker
- Closest psych level for that ticker
- % and $ move required for it to hit that psych level
- Ticker's day range and Average range (with % of average range completed for the day)
- Ticker volume and average volume
Setting up:
www.tradingview.com
Above link will help you guide how to setup Pine screener.
Use steps below to guide you the setup for this specific screener:
1. Open Pine Screener (open new tab, select screener the "Pine")
2. At the top, click on "Choose Indicator" and select "Psych Level Screener"
3. At the top again, click "Indicator Psych Level Screener" and select settings.
4. Change setting to your needs. Hit Apply when done.
a)"% offset from Psych Level" will scan for any stocks in your watchlist which are +/- from the offset you chose for any given psych level. Default is 5. (e.g. If offset is 5%, it will scan for stocks that are between $95-$105 vs $100 psych level, $190-$210 for $200 psych level and so on)
b) ATR length is number of previous trading days you want to include in your calculation. Moving Average Type is calculation method.
c) Rvol length is number of previous trading days you want to include in your calculation.
5. On top left, click "Price within specified offset of Psych. Level" and select true. Then select "Scan" which is located at the top next to "Indicator Psych Level Screener". This will filter out all the stock that meets the condition.
6. At the end of the column on the right there is a "+" symbol. From there you can add/remove columns. 30min/1hr/4hr/1D Trend are disabled by default so if this is needed please enable them.
7. You can change the order of ticker by ascending and descending order of each column label if needed. Just click on the arrow that comes up when you move the cursor to any of the column items.
8. You can specify advanced filter settings based on the variables in the column. (e.g., set price range of stock to filter out further) To do so, click on the column variable name in interest, located above the screener table (or right below "scan") and select "manual setup".
How to read the column:
Current Price: Shows current price of the ticker when scan was done. Currently Pine Screener does NOT support pre/post-hours data so no PM and AH price.
Psych Level: Psych level the current price is near to.
% to Psych Level: Price movement in % necessary to get to the Psych level.
$ to Psych Level: Price movement in $ necessary to get to the Psych level.
DTR: Daily True Range of the stock. i.e. High - Low of the ticker on the day.
ATR: Average True Range of stock in the last x days, where x is a value selected in the setting. (See step 3 in Previous section)
DTR vs ATR: Amount of DTR a ticker has done in % with respect to ATR. (e.g., 90% means DTR is 90% of ATR)
Vol.: Volume of a ticker for the day. Currently Pine Screener does NOT support pre/post-hours data so no PM and AH volume.
Avg. Vol: Average volume of a ticker in the last x days, where x is a value selected in the setting. (See step 3 in Previous section)
Rvol: Relative volume in percentage, measured by the ratio of day's volume and average volume.
30min/1hr/4hr/1D Trend: Trend status to see if the chart is Bullish or Bearish on each of the time frame. Bullishness or Bearishness is defined by the price being over or under the 34/50 cloud on each of the time frame. Output of 1 is Bullish, -1 is Bearish. 0 means price is sitting inside the 34/50 cloud. Currently Pine Screener does NOT support pre/post-hours data so 34/50 cloud is based on regular trading hours data ONLY.
Some things user should be aware of:
- Pine Screener itself is currently only available to TradingView members with Premium Subscription and above. (I can't to anything about this as this is NOT set by me, I have no control) For more info: www.tradingview.com
- The Pine Screener itself is a Beta version and this screener can stop working anytime depending on changes made by TradingView themselves. (Again I cannot control this)
- Pine Screener can only run on Watchlists for now. (as of 03/31/2025) You will have to prepare your own watchlists. In a Watchlist no more than 1000 tickers may be added. (This is TradingView rules)
- Psych level included are currently 50 to 1500 in steps of 50. If you need a specific number please let me know. Will add accordingly.
- Unfortunately this screener does not update automatically, so please hit "scan" to get latest screener result.
- I cannot add 10min trend to the column as Pine Screener does NOT support 10min timeframe as of now. (03/31/2025)
- This code is only meant for Pine Screener. I do NOT recommend using this as an indicator.
- Currently Pine Screener does NOT support pre/post-hours data. So data such as Price, Volume and EMA values are based on market hours data ONLY! (If I'm wrong about this please correct me / let me know and will make look into and make changes to the code)
Other useful links about Pine Screener:
Quick overview of the Screener’s functionality: www.tradingview.com
what do you need to know before you start working? : www.tradingview.com
These links will go over the setting up with GIFs so is easier to understand.
-----------------------------------------------------------------------------------------------------------------
If there are other column variables that you think is worth adding please let me know! Will try add it to the screener!
If you have any questions let me know as well, will reply soon as I can!
Have a good trading day and hope it helps!
在腳本中搜尋"bear"
Combined SMA Cross & RSI Multi-Timeframe Indicator K2Combined SMA Cross & RSI Multi-Timeframe Indicator
This Pine Script v6 indicator combines two popular technical analysis tools—Simple Moving Average (SMA) crossover and Relative Strength Index (RSI) crossover—across multiple timeframes to generate bullish and bearish trading signals. It overlays SMA lines on the chart, displays signals with shapes, and provides a table summarizing SMA crossover states across 11 timeframes.
Features:
SMA Crossover:
Compares a short SMA (default: 20 periods) with a long SMA (default: 50 periods).
Bullish signal: Short SMA crosses above Long SMA.
Bearish signal: Short SMA crosses below Long SMA.
Plotted as green (short) and red (long) lines on the chart.
RSI Crossover:
Calculates RSI (default: 14 periods) and its SMA (default: 14 periods).
Bullish signal: RSI crosses above its SMA.
Bearish signal: RSI crosses below its SMA.
Multi-Timeframe Analysis:
Evaluates SMA and RSI conditions across 11 timeframes: 1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W.
User can toggle which timeframes to include via input settings.
Combined Logic:
Generates a signal only when both SMA and RSI conditions (if enabled) are met across all selected timeframes.
Bullish: All selected timeframes show bullish SMA and RSI crossovers.
Bearish: All selected timeframes show bearish SMA and RSI crossovers.
Logic toggles allow enabling/disabling SMA or RSI components.
Visuals:
Triangles: Green triangle below bar for bullish signals, red triangle above bar for bearish signals.
Arrows: Green upward arrow for "Long" signals, red downward arrow for "Short" signals, ensuring no overlap with previous signals.
Table: Displays SMA crossover states for all 11 timeframes at the bottom center of the chart (green for bullish, red for bearish).
Alerts:
Triggers alerts for combined bullish ("SMA Cross and RSI timeframes are bullish!") and bearish ("SMA Cross and RSI timeframes are bearish!") signals.
Inputs:
SMA Settings: Short SMA length (20), Long SMA length (50).
RSI Settings: RSI length (14), RSI SMA length (14).
Logic Toggles: Enable/disable SMA Cross and RSI logic.
Timeframe Toggles: Enable/disable each of the 11 timeframes.
Usage:
Add the indicator to your chart and adjust inputs as needed.
Use the signals for trend confirmation or entry/exit points, combining multi-timeframe SMA and RSI analysis.
Monitor the table to assess alignment across timeframes.
Notes:
Designed for TradingView with Pine Script v6.
Signals are confirmed on closed bars (barstate.isconfirmed) to avoid repainting.
Ideal for traders seeking a multi-timeframe confirmation tool.
Этот индикатор Pine Script v6 объединяет два популярных инструмента технического анализа — кроссовер Simple Moving Average (SMA) и кроссовер Relative Strength Index (RSI) — на нескольких таймфреймах для генерации бычьих и медвежьих торговых сигналов. Он накладывает линии SMA на график, отображает сигналы с помощью фигур и предоставляет таблицу, обобщающую состояния пересечения SMA на 11 таймфреймах.
Функции:
Кроссовер SMA :
Сравнивает короткую SMA (по умолчанию: 20 периодов) с длинной SMA (по умолчанию: 50 периодов).
Бычий сигнал: короткая SMA пересекает длинную SMA сверху вниз.
Медвежий сигнал: короткая SMA пересекает длинную SMA снизу вверх.
На графике это обозначено зеленой (короткой) и красной (длинной) линиями.
Кроссовер RSI :
Рассчитывает RSI (по умолчанию: 14 периодов) и его SMA (по умолчанию: 14 периодов).
Бычий сигнал: RSI пересекает SMA выше.
Медвежий сигнал: RSI пересекает SMA ниже.
Анализ нескольких таймфреймов :
Оценивает состояния SMA и RSI на 11 таймфреймах: 1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W.
Пользователь может переключать включаемые временные интервалы с помощью настроек ввода.
Комбинированная логика :
Генерирует сигнал только тогда, когда выполняются оба условия SMA и RSI (если они включены) на всех выбранных таймфреймах.
Бычий: все выбранные таймфреймы показывают бычьи пересечения SMA и RSI.
Медвежий: все выбранные таймфреймы показывают медвежьи пересечения SMA и RSI.
Логические переключатели позволяют включать/отключать компоненты SMA или RSI.
Визуальные эффекты :
Треугольники : зеленый треугольник под полосой — бычьи сигналы, красный треугольник над полосой — медвежьи сигналы.
Стрелки : зеленая стрелка вверх для «длинных» сигналов, красная стрелка вниз для «коротких» сигналов, что гарантирует отсутствие наложения с предыдущими сигналами.
Таблица : отображает состояния пересечения SMA для всех 11 таймфреймов в нижней центральной части графика (зеленый для бычьего тренда, красный для медвежьего).
Оповещения :
Запускает оповещения для комбинированных бычьих («Таймфреймы SMA Cross и RSI являются бычьими!») и медвежьих («Таймфреймы SMA Cross и RSI являются медвежьими!») сигналов.
Входные данные:
Настройки SMA : короткая длина SMA (20), длинная длина SMA (50).
Настройки RSI : длина RSI (14), длина RSI SMA (14).
Переключатели логики : включение/выключение логики SMA Cross и RSI.
Переключение таймфреймов : включение/отключение каждого из 11 таймфреймов.
Использование:
Добавьте индикатор на свой график и при необходимости скорректируйте входные данные.
Используйте сигналы для подтверждения тренда или точек входа/выхода, комбинируя многовременной анализ SMA и RSI.
Следите за таблицей, чтобы оценить согласованность по всем временным интервалам.
Примечания:
Разработано для TradingView с использованием Pine Script v6.
Сигналы подтверждаются на закрытых барах ( barstate.isconfirmed ), чтобы избежать перерисовки.
Идеально подходит для трейдеров, которым нужен инструмент подтверждения с несколькими таймфреймами.
Power Struggle [GOODY]📊 Power Struggle – Gauge the Battle Between Bulls & Bears
"Power Struggle " is an advanced, multi-layered market strength and momentum analysis tool. It combines the classic Elder Impulse System and Elder-Ray Power Columns with modern enhancements like visual gauges, momentum shift alerts, and volume-based divergence detection — all in one clean and intuitive interface.
________________________________________
🧠 What This Indicator Shows You:
✅ Bull vs Bear Power Columns
• Visualize who’s in control with clean columns showing Bull and Bear dominance.
• Fully integrated with EMA-based Impulse logic to detect trend conviction.
✅ Buy/Sell Signal Labels & Alerts
• Trend-following signals based on dynamic power thresholds.
• Green = Bull Confirmed | Red = Bear Confirmed
• Alerts included for all signal and divergence conditions.
✅ Dynamic Volume Gauge (Horizontal or Vertical)
• A powerful gauge showing real-time buyer/seller strength.
• Includes divergence detection when volume and price disagree, often a warning sign.
• 🔄 Fully customizable layout, position, flip, rotation, and gradient styling.
✅ Active Column Gauge
• Tracks real-time momentum shifts within each candle.
• Highlights power shifts with emoji markers (🐂/🐻), and calculates where price closes within each candle's range.
✅ Volume-in-Candle Labels (Optional)
• See raw Buy vs Sell volume numbers inside the candles.
• Easily spot if price moves are supported by actual volume.
________________________________________
⚙️ Customizable Settings
• 🎚️ Set thresholds for signal strictness
• 🔔 Use built-in alerts for:
o Bullish/Bearish Impulse
o Bull/Bear Power Thresholds
o Bullish/Bearish Divergences
o Momentum Shifts
Trapped Traders Order BlocksHow It Works
The Trapped Traders Order Blocks indicator identifies specific price action patterns that suggest large market participants ("big money") have been trapped in losing positions after significant price sweeps, creating potential opportunities for reversals. The indicator detects both "bullish trap blocks" (where bearish traders are trapped) and "bearish trap blocks" (where bullish traders are trapped). Here’s the step-by-step process for each:
Bullish Trap Block (Bears Trapped):
A bearish candle (Candle A) must sweep the high of the previous candle (Candle B), meaning its high exceeds the high of the prior candle.
This bearish candle must have a longer upper wick than its lower wick, indicating rejection of higher prices.
The candle must not be a doji (i.e., it must have a significant body, defined as the body being at least 10% of the candle's range).
The next candle (Candle C) must close above the body of the bearish candle (Candle A), suggesting that price has immediately moved against the bearish sweep, potentially trapping bearish traders who entered short positions expecting a downward move.
The body of the bearish candle (Candle A) is marked as a "bullish trap block." A box is drawn around this candle's body, and a label ("Bullish Trap") is placed below it.
Bearish Trap Block (Bulls Trapped):
A bullish candle (Candle A) must sweep the low of the previous candle (Candle B), meaning its low is below the low of the prior candle.
This bullish candle must have a longer lower wick than its upper wick, indicating rejection of lower prices.
The candle must not be a doji.
The next candle (Candle C) must close below the body of the bullish candle (Candle A), suggesting that price has immediately moved against the bullish sweep, potentially trapping bullish traders who entered long positions expecting an upward move.
The body of the bullish candle (Candle A) is marked as a "bearish trap block." A box is drawn around this candle's body, and a label ("Bearish Trap") is placed above it.
Dynamic Box Extension:
For both bullish and bearish trap blocks, the box extends dynamically to the current bar unless it exceeds a user-defined age (default is 52 bars), at which point it stops at the maximum age.
Sweep Detection:
Bullish Sweep (of any trap block, bullish or bearish):
The current candle's open is above the top of the box.
The low is below the top of the box.
The close is above the top of the box.
The lower wick is longer than the upper wick (indicating rejection of lower prices).
The close is above 50% of the candle's range (ensuring a strong bullish bias).
When a bullish sweep occurs, a label ("Bullish Sweep") is placed at the low of the candle, pointing upward, and an alert is triggered.
Bearish Sweep (of any trap block, bullish or bearish):
The current candle's open is below the bottom of the box.
The high is above the bottom of the box.
The close is below the bottom of the box.
The upper wick is longer than the lower wick (indicating rejection of higher prices).
The close is below 50% of the candle's range (ensuring a strong bearish bias).
When a bearish sweep occurs, a label ("Bearish Sweep") is placed at the high of the candle, pointing downward, and an alert is triggered.
When to Be Used
The Trapped Traders Order Blocks indicator is best used in the following scenarios:
Reversal Trading:
Use this indicator to identify potential reversal points in the market. Bullish trap blocks suggest that trapped bears may unwind their short positions, leading to a potential bullish move. Bearish trap blocks suggest that trapped bulls may unwind their long positions, leading to a potential bearish move.
Look for sweeps of these blocks as confirmation of a directional move. A bullish sweep indicates a potential upward move, while a bearish sweep indicates a potential downward move.
Range-Bound Markets:
In sideways or ranging markets, trapped blocks can highlight key levels where large players have been caught off-guard. These levels often act as support or resistance, and a sweep of the block can signal a breakout or continuation in the direction of the sweep.
Confluence with Other Indicators:
Combine the trapped blocks with other technical analysis tools, such as support/resistance levels, Fibonacci retracements, or volume analysis, to increase the probability of a successful trade. For example, a bullish trap block near a strong support level with a bullish sweep can provide a high-probability setup for a long position, while a bearish trap block near a strong resistance level with a bearish sweep can signal a short opportunity.
Timeframes:
The indicator is most effective on higher timeframes such as 1-day (1D), 1-week (1W), and 1-month (1M) charts. These timeframes are more likely to capture significant moves involving large market participants, reducing noise and false signals compared to lower timeframes. While it can be used on lower timeframes (e.g., 1-hour or 4-hour), the signals may be less reliable due to increased market noise.
Logic Behind It
The logic behind the Trapped Traders Order Blocks indicator is rooted in market psychology and the behavior of large market participants ("big money"). When a large sweep candle occurs where price spikes in one direction but then quickly reverses it often indicates that traders have entered positions in the direction of the sweep, expecting a continuation. However, if the price immediately moves against them, these traders are now trapped in losing positions.
Bullish Trap Block (Bears Trapped):
A large bearish sweep candle (spiking upward but closing lower) suggests that bearish traders (bears) have entered short positions at the top of the move, expecting a downward continuation. If the next candle closes above the bearish candle's body, these bears are trapped in losing positions.
The body of the bearish candle becomes a "bullish trap block" because the trapped bears are likely to have placed their stop-loss orders or break-even exit orders just above the high of the sweep candle or within the body of the candle. As price revisits this level in the future, these trapped traders may attempt to unwind their positions by buying back their shorts, which can drive the price higher. This unwinding process often attracts new buyers, leading to a potential bullish reversal or continuation.
The bullish sweep conditions (e.g., close > box top, longer lower wick, and close above 50% of the range) ensure that the price action at the block level shows strong bullish momentum and rejection of lower prices, confirming the potential for a move higher.
Bearish Trap Block (Bulls Trapped):
A large bullish sweep candle (spiking downward but closing higher) suggests that bullish traders (bulls) have entered long positions at the bottom of the move, expecting an upward continuation. If the next candle closes below the bullish candle's body, these bulls are trapped in losing positions.
The body of the bullish candle becomes a "bearish trap block" because the trapped bulls are likely to have placed their stop-loss orders or break-even exit orders just below the low of the sweep candle or within the body of the candle. As price revisits this level in the future, these trapped traders may attempt to unwind their positions by selling their longs, which can drive the price lower. This unwinding process often attracts new sellers, leading to a potential bearish reversal or continuation.
The bearish sweep conditions (e.g., close < box bottom, longer upper wick, and close below 50% of the range) ensure that the price action at the block level shows strong bearish momentum and rejection of higher prices, confirming the potential for a move lower.
Summary
Bullish Trap Block: Occurs when bears get trapped after a bearish sweep candle is immediately followed by a bullish candle, indicating a potential reversal as trapped bears may unwind their positions.
Bearish Trap Block: Occurs when bulls get trapped after a bullish sweep candle is immediately followed by a bearish candle, indicating a potential bearish reversal.
Use Case: Ideal for identifying reversal opportunities, especially in range-bound markets or at key support/resistance levels on higher timeframes like 1D, 1W, and 1M, and can be combined with other indicators for confluence.
Logic: Large sweep candles followed by an immediate reversal suggest that big money has been trapped, and these traders may unwind their positions at break-even in the near future, driving price in the opposite direction of their initial trade.
This indicator provides a visual and actionable way to identify these trapped trader scenarios, with customizable settings for box display, sweep visuals, and alerts to help traders capitalize on these opportunities, particularly on higher timeframes where the signals are most reliable.
DenP Ichimoku Interpreter (DII)A simple indicator using Ishimoku as a basis, giving entry and exit signals.
Components of the Ichimoku Cloud
The Ichimoku system consists of multiple lines that help traders understand market trends, momentum, and potential reversals.
1. Tenkan-Sen (Conversion Line) - Blue
Formula: (Highest High + Lowest Low) / 2 over the last 9 periods (default).
Purpose: Measures short-term trend direction.
Interpretation:
Upward movement: Indicates bullish momentum.
Downward movement: Indicates bearish momentum.
Flat line: Indicates consolidation.
2. Kijun-Sen (Base Line) - Red
Formula: (Highest High + Lowest Low) / 2 over the last 26 periods (default).
Purpose: Represents medium-term trend.
Interpretation:
Price above Kijun-Sen: Bullish signal.
Price below Kijun-Sen: Bearish signal.
Flat Kijun-Sen: Market in consolidation.
3. Senkou Span A (Leading Span A) - Light Green
Formula: (Tenkan-Sen + Kijun-Sen) / 2, plotted 26 periods ahead.
Purpose: Forms one of the Ichimoku Cloud boundaries.
Interpretation:
If Senkou Span A is rising, the market is bullish.
If Senkou Span A is falling, the market is bearish.
4. Senkou Span B (Leading Span B) - Light Red
Formula: (Highest High + Lowest Low) / 2 over the last 52 periods, plotted 26 periods ahead.
Purpose: Forms the second boundary of the Ichimoku Cloud.
Interpretation:
If price is above the cloud, the market is in a strong uptrend.
If price is below the cloud, the market is in a strong downtrend.
If price is inside the cloud, the market is consolidating.
5. Kumo (Cloud)
The area between Senkou Span A and Senkou Span B is shaded.
Green Cloud (Span A above Span B): Bullish trend.
Red Cloud (Span B above Span A): Bearish trend.
The thickness of the cloud represents market volatility.
6. Chikou Span (Lagging Line) - Green
Formula: Current closing price plotted 26 periods back.
Purpose: Confirms trend direction.
Interpretation:
Chikou Span above price 26 periods ago: Bullish.
Chikou Span below price 26 periods ago: Bearish.
Buy and Sell Conditions
The indicator generates buy and sell signals based on Ichimoku components.
1. Kijun Cross (Medium-Term Trend)
Buy Signal: When the closing price crosses above the Kijun-Sen (red line).
Sell Signal: When the closing price crosses below the Kijun-Sen.
2. Cloud Breakout (Senkou Span Cross)
Buy Signal:
When Senkou Span A is above Senkou Span B, and the price crosses above the cloud.
Indicates a strong uptrend.
Sell Signal:
When Senkou Span B is above Senkou Span A, and the price crosses below the cloud.
Indicates a strong downtrend.
3. Chikou Span Confirmation (Momentum Confirmation)
Buy Signal:
If Chikou Span (green) crosses above past price action, it confirms a bullish trend.
Used to validate Kijun and Cloud Buy signals.
Sell Signal:
If Chikou Span crosses below past price action, it confirms a bearish trend.
Visual Signals
The indicator plots triangles on the chart to indicate buy and sell signals:
Kijun Buy Signal: Upward triangle (green).
Kijun Sell Signal: Downward triangle (red).
Cloud Buy Signal: Upward triangle (green) near the cloud.
Cloud Sell Signal: Downward triangle (red) near the cloud.
Chikou Confirmation Buy: Upward triangle (green, confirming previous signals).
Chikou Confirmation Sell: Downward triangle (red, confirming previous signals).
Additional Features
Customizable Colors & Settings: Users can adjust colors, time periods, and display settings.
On-Chart Table: Displays current trend interpretations for easy reference.
How to Use the Indicator?
Check the Cloud Position:
Price above the cloud = bullish.
Price below the cloud = bearish.
Price inside the cloud = consolidation.
Look for Kijun Crosses:
Buy when price crosses above Kijun-Sen.
Sell when price crosses below Kijun-Sen.
Confirm with Chikou Span:
If Chikou Span supports the buy/sell signal, it's more reliable.
Use Cloud Breakouts for Trend Reversals:
If price moves from below to above the cloud = strong buy.
If price moves from above to below the cloud = strong sell.
Trend Zone Moving Averages📈 Trend Zone Moving Averages
The Trend Zone Moving Averages indicator helps traders quickly identify market trends using the 50SMA, 100SMA, and 200SMA. With dynamic background colors, customizable settings, and real-time alerts, this tool provides a clear view of bullish, bearish, and extreme trend conditions.
🔹 Features:
Trend Zones with Dynamic Background Colors
Green → Bullish Trend (50SMA > 100SMA > 200SMA, price above 50SMA)
Red → Bearish Trend (50SMA < 100SMA < 200SMA, price below 50SMA)
Yellow → Neutral Trend (Mixed signals)
Dark Green → Extreme Bullish (Price above all three SMAs)
Dark Red → Extreme Bearish (Price below all three SMAs)
Customizable Moving Averages
Toggle 50SMA, 100SMA, and 200SMA on/off from the settings.
Perfect for traders who prefer a cleaner chart.
Real-Time Trend Alerts
Get instant notifications when the trend changes:
🟢 Bullish Zone Alert – When price enters a bullish trend.
🔴 Bearish Zone Alert – When price enters a bearish trend.
🟡 Neutral Zone Alert – When trend shifts to neutral.
🌟 Extreme Bullish Alert – When price moves above all SMAs.
⚠️ Extreme Bearish Alert – When price drops below all SMAs.
✅ Perfect for Any Market
Works on stocks, forex, crypto, and commodities.
Adaptable for day traders, swing traders, and investors.
⚙️ How to Use: Trend Zone Moving Averages Strategy
This strategy helps traders identify and trade with the trend using the Trend Zone Moving Averages indicator. It works across stocks, forex, crypto, and commodities.
🟢 Bullish Trend Strategy (Green Background)
Objective: Look for buying opportunities when the market is in an uptrend.
Entry Conditions:
✅ Background is Green (Bullish Zone).
✅ Price is above the 50SMA (confirming strength).
✅ Price pulls back to the 50SMA and bounces OR breaks above a key resistance level.
Stop Loss:
🔹 Place below the most recent swing low or just under the 50SMA.
Take Profit:
🔹 First target at the next resistance level or recent swing high.
🔹 Second target if price continues higher—trail stops to lock in profits.
🔴 Bearish Trend Strategy (Red Background)
Objective: Look for shorting opportunities when the market is in a downtrend.
Entry Conditions:
✅ Background is Red (Bearish Zone).
✅ Price is below the 50SMA (confirming weakness).
✅ Price pulls back to the 50SMA and rejects OR breaks below a key support level.
Stop Loss:
🔹 Place above the most recent swing high or just above the 50SMA.
Take Profit:
🔹 First target at the next support level or recent swing low.
🔹 Second target if price keeps falling—trail stops to secure profits.
🌟 Extreme Trend Strategy (Dark Green / Dark Red Background)
Objective: Trade with momentum when the market is in a strong trend.
Entry Conditions:
✅ Dark Green Background → Extreme Bullish: Price is above all three SMAs (strong uptrend).
✅ Dark Red Background → Extreme Bearish: Price is below all three SMAs (strong downtrend).
Trade Execution:
🔹 For longs (Dark Green): Look for breakout entries above resistance or pullbacks to the 50SMA.
🔹 For shorts (Dark Red): Look for breakdown entries below support or rejections at the 50SMA.
Risk Management:
🔹 Use tighter stop losses and trail profits aggressively to maximize gains.
🟡 Neutral Trend Strategy (Yellow Background)
Objective: Avoid trading or wait for a breakout.
What to Do:
🔹 Avoid trading in this zone—price is indecisive.
🔹 Wait for confirmation (background turns green/red) before taking a trade.
🔹 Use alerts to notify you when the trend resumes.
📌 Final Tips
Use this strategy with price action for extra confirmation.
Combine with support/resistance levels to improve accuracy.
Set alerts for trend changes so you never miss an opportunity.
Enjoy!
TrendPredator PROThe TrendPredator PRO
Stacey Burke, a seasoned trader and mentor, developed his trading system over the years, drawing insights from influential figures such as George Douglas Taylor, Tony Crabel, Steve Mauro, and Robert Schabacker. His popular system integrates select concepts from these experts into a consistent framework. While powerful, it remains highly discretionary, requiring significant real-time analysis, which can be challenging for novice traders.
The TrendPredator indicators support this approach by automating the essential analysis required to trade the system effectively and incorporating mechanical bias and a multi-timeframe concept. They provide value to traders by significantly reducing the time needed for session preparation, offering all relevant chart analysis and signals for live trading in real-time.
The PRO version offers an advanced pattern identification logic that highlights developing context as well as setups related to the constellation of the signals provided. It provides real-time interpretation of the multi-timeframe analysis table, following an extensive underlying logic with more than 150 different setup variations specifically developed for the system and indicator. These setups are constantly back- and forward-tested and updated according to the results. This version is tailored to traders primarily trading this system and following the related setups in detail.
The former TrendPredator ES version does not provide that option. It is significantly leaner and is designed for traders who want to use the multi-timeframe logic as additional confluence for their trading style. It is very well suited to support many other trading styles, including SMC and ICT.
The Multi-timeframe Master Pattern
Inspired by Taylor’s 3-day cycle and Steve Mauro’s work with “Beat the Market Maker,” Burke’s system views markets as cyclical, driven by the manipulative patterns of market makers. These patterns often trap traders at the extremes of moves above or below significant levels with peak formations, then reverse to utilize their liquidity, initiating the next phase. Breakouts away from these traps often lead to range expansions, as described by Tony Crabel and Robert Schabacker. After multiple consecutive breakouts, especially after the psychological number three, overextension might develop. A break in structure may then lead to reversals or pullbacks. The TrendPredator Indicator and the related multi-timeframe trading system are designed to track these cycles on the daily timeframe and provide signals and trade setups to navigate them.
Bias Logic and Multi-Timeframe Concept
The indicator covers the basic signals of Stacey Burke's system:
- First Red Day (FRD): Bearish break in structure, signalling weak longs in the market.
- First Green Day (FGD): Bullish break in structure signalling weak shorts in the markt.
- Three Days of Longs (3DL): Overextension signalling potential weak longs in the market.
- Three Days of Shorts (3DS): Overextension signalling potential weak shorts in the market.
- Inside Day (ID): Contraction, signalling potential impulsive reversal or range expansion move.
It enhances the original system by introducing:
Structured Bias Logic:
Tracks bias by following how price trades concerning the last previous candle high or low that was hit. For example if the high was hit, we are bullish above and bearish below.
- Bullish state: Breakout (BO), Fakeout Low (FOL)
- Bearish state: Breakdown (BD), Fakeout High (FOH)
Multi-Timeframe Perspective:
- Tracks all signals across H4, H8, D, W, and M timeframes, to look for alignment and follow trends and momentum in a mechanical way.
Developing Context:
- Identifies specific predefined context states based on the monthly, weekly and daily bias.
Developing Setups:
- Identifies specific predefined setups based on context and H8 bias as well as SB signals.
The indicator monitors the bias and signals of the system across all relevant timeframes and automates the related graphical chart analysis as well as context and setup zone identification. In addition to the master pattern, the system helps to identify the higher timeframe situation and follow the moves driven by other timeframe traders to then identify favourable context and setup situations for the trader.
Example: Full Bullish Cycle on the Daily Timeframe with Multi-Timeframe Signals
- The Trap/Peak Formation
The market breaks down from a previous day’s and maybe week’s low—potentially after multiple breakdowns—but fails to move lower and pulls back up to form a peak formation low and closes as a first green day.
MTF Signals: Bullish daily and weekly fakeout low; three consecutive breakdown days (1W Curr FOL, 1D Curr FOL, BO 3S).
Context: Reversal (REV)
Setup: Fakeout low continuation low of day (FOL Cont LOD)
- Pullback and Consolidation
The next day pulls further up after first green day signal, potentially consolidates inside the previous day’s range.
MTF Signals: Fakeout low and first green day closing as an inside day (1D Curr IS, Prev FOL, First G).
Context: Reversal continuation (REV Cont)
Setup: Previous fakeout low continuation low handing fruit (Prev FOL Cont LHF)
- Range Expansion/Trend
The following day breaks up through the previous day’s high, launching a range expansion away from the trap.
MTF Signals: Bullish daily breakout of an inside day (1D Curr BO, Prev IS).
Context: Uptrend healthy (UT)
Setup: Breakout continuation low hanging fruit (BO Cont LHF)
- Overextension
After multiple consecutive breakouts, the market reaches a state of overextension, signalling a possible reversal or pullback.
MTF Signals: Three days of breakout longs (1D Curr BO, Prev BO, BO 3L).
Context: Uptrend extended (UT)
- Reversal
After a breakout of previous days high that fails, price pulls away from the high showing a rollover of momentum across all timeframes and a potential short setup.
MTF Signals: Three days of breakout longs, daily fakeout high (1D 3L, FOH)
Context: Reversal countertrend (REV)
Setup: Fakeout high continuation high of day (FOH Cont HOD)
Note: This is only one possible illustrative scenario; there are many variations and combinations.
Example Chart: Full Bullish Cycle with Correlated Signals
Multi-Timeframe Signals examples:
Context and Setups examples:
Note: The signals shown along the move are manually added illustrations. The indicator shows these in realtime in the table at top and bottom right. This is only one possible scenario; there are many variations and combinations.
Due to the fractal nature of markets, this cycle can be observed across all timeframes. The strongest setups occur when there is multi-timeframe alignment. For example, a peak formation and potential reversal on the daily timeframe have higher probability and follow-through when they align with bearish signals on higher timeframes (e.g., weekly/monthly BD/FOH) and confirmation on lower timeframes (H4/H8 FOH/BD). With this perspective, the system enables the trader to follow the trend and momentum while identifying rollover points in a highly differentiated and precise way.
Using the Indicator for Trading
The automated analysis provided by the indicator can be used for thesis generation in preparation for a session as well as for live trading, leveraging the real-time updates as well as the context and setup indicated or alerted. It is recommended to customize the settings deeply, such as hiding the lower timeframes for thesis generation or the specific alert time window and settings to the specific trading schedule and playbook of the trader.
1. Context Assessment:
Evaluate alignment of higher timeframes (e.g., Month/Week, Week/Day). More alignment → Stronger setups.
- The context table offers an interpretation of the higher timeframe automatically. See below for further details.
2. Setup Identification:
Follow the bias of daily and H8 timeframes. A setup mostly requires alignment of these.
Setup Types:
- Trend Trade: Trade in alignment with the previous day’s trend.
Example: Price above the previous day’s high → Focus on long setups (dBO, H8 FOL) until overextension or reversal signs appear (H8 BO 3L, First R).
- Reversal Trade: Identify reversal setups when lower timeframes show rollovers after higher timeframe weakness.
Example: Price below the previous day’s high → Look for reversal signals at the current high of day (H8 FOH, BO 3L, First R).
- The setup table shows potential setups for the specific price zone in the table automatically. See below for further details.
3. Entry Confirmation:
Confirm entries based on H8 and H4 alignment, candle closes and lower timeframe fakeouts.
- H8 and H4 should always align for a final confirmation, meaning the breach lines should be both in the back of a potential trade setup.
- M15/ 5 candle close can be seen as acceptance beyond a level or within the setup zone.
- M15/5 FOH/ FOL signals lower timeframe traps potentially indicating further confirmation.
Example Chart Reversal Trade:
Context: REV (yellow), Reversal counter trend, Month in FOL with bearish First R, Week in BO but bearishly overextended with BO 3L, Day in Fakeout high reversing bearishly.
Setup: FOH Cont HOD (red), Day in Fakeout high after BO 3L overextension, confirmed by H8 FOH high of day, First R as further confluence. Two star quality and countertrend.
Entry: H4 BD, M15 close below followed by M15 FOH.
Detailed Features and Options
1. Context and Setup table
The Context and Setup Table is the core feature of the TrendPredator PRO indicator. It delivers real-time interpretation of the multi-timeframe analysis based on an extensive underlying logic table with over 150 variations, specifically developed for this system and indicator. This logic is continuously updated and optimized to ensure accuracy and performance.
1.1. Developing Context
States for developing higher timeframe context are determined based on signals from the monthly, weekly, and daily timeframes.
- Green and Red indicate alignment and potentially interesting developing setups.
- Yellow signals a mixed or conflicting bias, suggesting caution when taking trades.
The specific states are:
- UT (yellow): Uptrend extended
- UT (green): Uptrend healthy
- REV (yellow): Reversal day counter trend
- REV (green): Reversal day mixed trend
- REV Cont (green): Reversal continuation mixed trend
- REV Cont (yellow): Reversal continuation counter trend
- REV into UT (green): Reversal day into uptrend
- REV Cont into UT (green): Reversal continuation into uptrend
- UT Pullback (yellow): Counter uptrend breakdown day
- Conflicting (yellow): Conflicting signals
- Consolidating (yellow): Consolidating sideways
- Inside (yellow): Trading inside after an inside week
- DT Pullback (yellow): Counter downtrend breakout day
- REV Cont into DT (red): Reversal continuation into downtrend
- REV into DT (red): Reversal day into downtrend
- REV Cont (yellow): Reversal continuation counter trend
- REV Cont (red): Reversal continuation mixed trend
- REV (red): Reversal day mixed trend
- REV (yellow): Reversal day countertrend
- DT (red): Downtrend healthy
- DT (yellow): Downtrend extended
Example: Uptrend
The Uptrend Context (UT, green) indicates a healthy uptrend with all timeframes aligning bullishly. In this case, the monthly is in a Fakeout Low (FOL) and currently inside the range, while the weekly and daily are both in Breakout (BO) states. This context is favorable for developing long setups in the direction of the trend.
Example: Uptrend pullback
The Uptrend Pullback Context (UT Pullback, yellow) indicates a Breakdown (BD) on the daily timeframe against a higher timeframe uptrend. In this case, the monthly is in a Fakeout Low (FOL) and currently inside its range, the weekly is in Breakout (BO) and also currently inside, while the daily is in Breakdown (BD). This context reflects a conflicting situation—potentially signaling either an early reversal back into the uptrend or, if the breakdown extends, the beginning of a possible trend change.
Example: Reversal into Uptrend
The Reversal into Uptrend Context (REV into UT, green) indicates a lower timeframe reversal aligning with a higher timeframe uptrend. In this case, the monthly is in Breakout (BO), the weekly is in Breakout (BO) and currently inside its range, while the daily is showing a bullish Fakeout Low (FOL) reversal. This context is potentially very favorable for long setups, as it signals a strong continuation of the uptrend supported across multiple timeframes.
Example: Reversal
The Bearish Reversal Context indicates a lower timeframe rollover within an ongoing higher timeframe uptrend. In this case, the monthly remains in Breakout (BO), the weekly has shifted into a Fakeout High (FOH) after three weeks of breakout longs, and the daily is already in Breakdown (BD). This context suggests a potentially favorable developing short setup, as early signs of weakness appear across timeframes.
1.2. Developing Setup
The states for specific setups are based on the context and the signals from the daily timeframe and H8, indicating that price is in the zone of alignment. The setup description refers to the state of the daily timeframe, while the suffix relates to the H8 timeframe. For example, "prev FOH Cont LHF" means that the previous day is in FOH (Fakeout High) relative to yesterday's breakout level, currently trading inside, and we are in an H8 breakdown, indicating a potential LHF (Lower High Formation) short trade if the entry confirms. The suffix HOD means that H8 is in FOH or BO (Breakout).
The specific states are:
- REV HOD (red): Reversal high of day
- REV Cont LHF (red): Reversal continuation low hanging fruit
- BO Cont LHF (green): Breakout continuation low hanging fruit
- BO Cont LOD (green): Breakout continuation low of day
- FOH Cont HOD (red): Fakeout high continuation high of day
- FOH Cont LHF ((red): Fakeout high continuation low hanging fruit
- prev BD Cont HOD (red): Previous breakdown continuation high of day
- prev BD Cont LHF (red): Previous breakdown continuation low hanging fruit
- prev FOH Cont HOD (red): Previous fakeout high continuation high of day
- prev FOH Cont LHF (red): Previous fakeout high continuation low hanging fruit
- prev FOL Cont LOD (green): Previous fakeout low continuation low of day
- prev FOL Cont LHF (green): Previous fakeout low continuation low hanging fruit
- prev BO Cont LOD (green): Previous breakout continuation low of day
- prev BO Cont LHF (green): Previous breakout continuation low hanging fruit
- FOL Cont LHF (green): Fakeout low continuation low hanging fruit
- FOL Cont LOD (green): Fakeout low continuation low of day
- BD Cont LHF (red): BD continuation low hanging fruit
- BD Cont LOD (red): Breakdown continuation low of day
- REV Cont LHF (green): Reversal continuation low hanging fruit
- REV LOD (green): Reversal low of day
- Inside: Trading inside after an inside day
Type: Indicates the situation of the indicated setup concerning:
- Trend: Following higher timeframe trend
- Mixed: Mixed higher timeframe signals
- Counter: Against higher timeframe bias
Quality: Indicates the quality of the indicated setup according to the specified logic table
No star: Very low quality
* One star: Low quality
** Two star: Medium quality
*** Three star: High quality
Example: Breakout Continuation Trend Setup
This setup highlights a healthy uptrend where the month is in a breakout, the week is in a fakeout low, and the day is in a breakout after a first green day. As the H8 breaks out to the upside, a long setup zone is triggered, presenting a breakout continuation low-hanging fruit trade. This is a trend trade in an overextended situation on the H8, with an H8 3L, resulting in an overall quality rating of one star.
Example: Fakeout Low Continuation Trend Setup
This setup shows a reversal into uptrend, with the month in a breakout, the week in a breakout, and the day in a fakeout low after breaking down the previous day and now reversing back up. As H8 breaks out to the upside, a long setup zone is triggered, presenting a previous fakeout low continuation, low-hanging fruit trade. This is a medium-quality trend trade.
Example: Reversal Setup - Mixed Trend
This setup shows a reversal setup in line with the weekly trend, with the month in a fakeout low, the week in a fakeout high, and the day in a fakeout high after breaking out earlier in the day and now reversing back down. As H8 loses the previous breakout level after 3 breakouts (with H8 3L), a short setup zone is triggered, presenting a fakeout high continuation at the high of the day. This is a high-quality trade in a mixed trend situation.
Setup Alerts:
Alerts can be activated for setups freshly triggered on the chart within your trading window.
Detailed filter logic for setup alerts:
- Setup quality: 1-3 star
- Setup type: Counter, Mixed and Trend
- Setup category: e.g. Reversal Bearish, Breakout, Previous Fakeout High
- 1D BO and First signals: 3DS, 3DL, FRD, FGD, ID
Options:
- Alerts on/ off
- Alert time window (from/ to)
- Alert filter customization
Note: To activate alerts from a script in TradingView, some settings need to be adjusted. Open the "Create Alert" dialog and select the option "Any alert() function call" in the "Condition" section. Choose "TrendPredator PRO" to ensure that alerts trigger properly from the code. Alerts can be activated for entire watchlists or individual pairs. Once activated, the alerts run in the background and notify the user whenever a setup is freshly triggered according to the filter settings.
2. Multi-Timeframe Table
Provides a real-time view of system signals, including:
Current Timeframe (Curr): Bias states.
- Breakout (green BO): Bullish after breaking above the previous high.
- Fakeout High (red FOH): Bearish after breaking above the previous high but pulling back down.
- Breakdown (red BD): Bearish after breaking below the previous low.
- Fakeout Low (green FOL): Bullish after breaking below the previous low but pulling back up.
- Inside (IS): Price trading neutral inside the previous range, taking the previous bias (color indicates the previous bias).
Previous Timeframe (Prev): Tracks last candle bias state and transitions dynamically.
- Bias for last candle: BO, FOH, BD, FOL in respective colors.
- Inside bar (yellow IS): Indicated as standalone signal.
Note: Also previous timeframes get constantly updated in real time to track the bias state in relation to the level that was hit. This means a BO can still lose the level and become a FOH, and vice versa, and a BD can still become a FOL, and vice versa. This is critical to see for example if traders that are trapped in that timeframe with a FOH or FOL are released. An inside bar stays fixed, though, since no level was hit in that timeframe.
Breakouts (BO): Breakout count 3 longs and 3 shorts.
- 3 Longs (red 3L): Bearish after three breakouts without hitting a previous low.
- 3 Shorts (green 3S): Bullish after three breakdowns without hitting a previous high.
First Countertrend Close (First): Tracks First Red or Green Day.
- First Green (G): After two consecutive red closes.
- First Red (R): After two consecutive green closes.
Options: Customizable font size and label colors.
3. Historic Highs and Lows
Displays historic highs and lows per timeframe for added context, enabling users to track sequences over time.
Timeframes: H4, H8, D, W, M
Options: Customize for timeframes shown, number of historic candles per timeframe, colors, formats, and labels.
4. Previous High and Low Extensions
Displays extended previous levels (high, low, and close) for each timeframe to assess how price trades relative to these levels.
H4: P4H, P4L, P4C
H8: P8H, P8L, P8C
Daily: PDH, PDL, PDC
Weekly: PWH, PWL, PWC
Monthly: PMH, PML, PMC
Options: Fully customizable for timeframes shown, colors, formats, and labels.
5. Breach Lines
Tracks live market reactions (e.g., breakouts or fakeouts) per timeframe for the last previous high or low that was hit, highlighting these levels originating at the breached candle to indicate bias (color-coded).
Red: Bearish below
Green: Bullish above
H4: 4FOL, 4FOH, 4BO, 4BD
H8: 8FOL, 8FOH, 8BO, 8BD
D: dFOL, dFOH, dBO, dBD
W: wFOL, wFOH, wBO, wBD
M: mFOL, mFOH, mBO, mBD
Options: Fully customizable for timeframes shown, colors, formats, and labels.
Overall Options:
Toggle single feature groups on/off.
Customize H8 open/close time as an offset to UTC to be provider independent.
Colour settings con be adjusted for dark or bright backgrounds.
Higher Timeframe Use Case Examples
Example Use Case: Weekly Template Analysis
The Weekly Template is a core concept in Stacey Burke’s trading style. The analysis is conducted on the daily timeframe, focusing on the higher timeframe bias and identifying overextended conditions within the week—such as multiple breakouts and peak formations signaling potential reversals.
In this example, the candles are colored by the TrendPredator FO indicator, which highlights the state of individual candles. This allows for precise evaluation of both the trend state and the developing weekly template. It is a valuable tool for thesis generation before a trading session and for backtesting purposes.
Example Use Case: High Timeframe 5-Star Setup Analysis (Stacey Burke "ain't coming back" ACB Template)
This analysis identifies high-probability trade opportunities when daily breakout or breakdown closes occur near key monthly levels mid-week, signaling overextensions and potentially large parabolic moves. The key signal to look for is a breakout or breakdown close on a Wednesday. This is useful for thesis generation before a session and also for backtesting.
In this example, the TrendPredator FO indicator colors the candles to highlight individual candle states, particularly those that close in breakout or breakdown. Additionally, an indicator is shown on the chart shading every Wednesday, making it easier to visually identify the signals.
5 Star Alerts:
Alerts can be activated for this potential 5-Star setup constellation. The alert is triggered when there is a breakout or breakdown close on a Wednesday.
Further recommendations:
- Higher timeframe context: TPO or volume profile indicators can be used to gain an even better overview.
- Late session trading: Entries later in the session, such as during the 3rd hour of the NY session, offer better analysis and follow-through on setups.
- Entry confirmation: Momentum indicators like VWAP, Supertrend, or EMA are helpful for increasing precision. Additionally, tracking lower timeframe fakeouts can provide powerful confluence. To track those the TrendPredator Fakeout Highlighter (FO), that has been specifically developed for this can be of great help:
Limitations:
Data availability using TradingView has its limitations. The indicator leverages only the real-time data available for the specific timeframe being used. This means it cannot access data from timeframes lower than the one displayed on the chart. For example, if you are on a daily chart, it cannot use H8 data. Additionally, on very low timeframes, the historical availability of data might be limited, making higher timeframe signals unreliable.
To address this, the indicator automatically hides the affected columns in these specific situations, preventing false signals.
Disclaimer
This indicator is for educational purposes only and does not guarantee profits.
None of the information provided shall be considered financial advice.
The indicator does not provide final buy or sell signals but highlights zones for potential setups.
Users are fully responsible for their trading decisions and outcomes.
Uptrick: Portfolio Allocation DiversificationIntro
The Uptrick: Portfolio Allocation Diversification script is designed to help traders and investors manage multiple assets simultaneously. It generates signals based on various trading systems, allocates capital using different diversification methods, and displays real-time metrics and performance tables on the chart. The indicator compares active trading strategies with a separate long-term holding (HODL) simulation, allowing you to see how a systematic trading approach stacks up against a simple buy-and-hold strategy.
------------------------------------------------------------------------
Trading System Selection
1. No signals (none)
In this mode, the script does not produce bullish or bearish indicators; every asset stays in a neutral stance. This setup is useful if you prefer to observe how capital might be distributed based solely on the chosen diversification method, with no influence from directional signals.
2. rsi – neutral
This mode uses an index-based measure of whether an asset appears overbought or oversold. It generates a bearish signal if market conditions point to overbought territory, and a bullish signal if they indicate oversold territory. If neither extreme surfaces, it remains neutral. Some traders apply this in sideways or range-bound conditions, where overbought and oversold levels often hint at possible turning points. It does not specifically account for divergence patterns.
3. rsi – long only
In this setting, the system watches for instances where momentum readings strengthen even if the asset’s price is still under pressure or setting new lows. It also considers oversold levels as potential signals for a bullish setup. When such conditions emerge, the script flags a possible move to the upside, ignoring indications that might otherwise suggest a bearish trend. This approach is generally favored by those who want to concentrate exclusively on identifying price recoveries.
4. rsi – short only
Here, the script focuses on spotting signs of deteriorating momentum while an asset’s price remains relatively high or attempts further gains. It also checks whether the market is drifting into overbought territory, suggesting a potential decline. Under such conditions, it issues a bearish signal. It provides no bullish alerts, making it particularly suitable for traders who look to take advantage of overvalued scenarios or protect themselves against sudden downward moves.
5. Deviation from fair value
Under this system, the script judges how far the current price may have strayed from what is considered typical, taking into account normal fluctuations. If the asset appears to be trading at an unusually low level compared to that reference, it is flagged as bullish. If it seems abnormally high, a bearish signal is issued. This can be applied in various market environments to seek opportunities that arise from perceived mispricing.
6. Percentile channel valuation
In this mode, the script determines where an asset's price stands within a historical distribution, highlighting whether it has reached unusually high or low territory compared to its recent past. When the price reaches what is deemed an extreme reading, it may indicate that a reversal is more likely. This approach is often used by traders who watch for statistical outliers and potential reversion to a more typical trading range.
7. ATH valuation
This technique involves comparing an asset's current price with its previously recorded peak values. The script then interprets whether the price is positioned so far below the all-time high that it looks discounted, or so close to that high that it could be overextended. Such perspective is favored by market participants who want to see if an asset still has ample room to climb before matching historic extremes, or if it is nearing a possible ceiling.
8. Z-score system
Here, the script measures how far above or below a standard reference average an asset's price may be, translated into standardized units. Substantial negative readings can suggest a price that might be unusually weak, prompting a bullish indication, while large positive readings could signal overextension and lead to a bearish call. This method is useful for traders watching for abrupt deviations from a norm that often invite a reversion to more balanced levels.
RSI Divergence Period
This input is particularly relevant for the RSI - Long Only and RSI - Short Only modes. The period determines how many bars in the past you compare RSI values to detect any divergences.
------------------------------------------------------------------------
Diversification Method
Once the script has determined a bullish, bearish, or neutral stance for each asset, it then calculates how to distribute capital among all included assets. The diversification method sets the weighting logic.
1. None
Gives each asset an equal weight. For example, if you have five included assets, each might get 20 percent. This is a simple baseline.
2. Risk-Adjusted Expected Return Using Volatility Clustering
Emphasizes each asset’s average returns relative to its observed risk or volatility tendencies. Assets that exhibit good risk-adjusted returns combined with moderate or lower volatility may receive higher weights than more volatile or less appealing assets. This helps steer capital toward assets that have historically provided a better ratio of return to risk.
3. Relative Strength
Allocates more capital to assets that show stronger price strength compared to a reference (for example, price above a long-term moving average plus a higher RSI). Assets in clear uptrends may be given higher allocations.
4. Trend-Following Indicators
Examines trend-based signals, like positive momentum measurements or upward-trending strength indicators, to assign more weight to assets demonstrating strong directional moves. This suits those who prefer to latch onto trending markets.
5. Volatility-Adjusted Momentum
Looks for assets that have strong price momentum but relatively subdued volatility. The script tends to reward assets that are trending well yet are not too volatile, aiming for stable upward performance rather than massive swings.
6. Correlation-Based Risk Parity
Attempts to weight assets in such a way that the overall portfolio risk is more balanced. Although it is not an advanced correlation matrix approach in a strict sense, it conceptually scales each asset’s weight so no single outlier heavily dominates.
7. Omega Ratio Maximization
Gives preference to assets with higher omega ratios. This ratio can be interpreted as the probability-weighted gains versus losses. Assets with a favorable skew are given more capital.
8. Liquidity-Weighted Valuation
Considers each asset’s average trading liquidity, such as the combination of volume and price. More liquid assets typically receive a higher allocation because they can be entered or exited with lower slippage. If the trading system signals bullishness, that can further boost the allocation, and if it signals bearishness, the allocation might be set to zero or reduced drastically.
9. Drawdown-Controlled Allocation (DCA)
Examines each asset’s maximum drawdown over a recent window. Assets experiencing lighter drawdowns (thus indicating somewhat less downside volatility) receive higher allocations, aiming for a smoother overall equity curve.
------------------------------------------------------------------------
Portfolio and Allocation Settings
Portfolio Value
Defines how much total capital is available for the strategy-based investment portion. For example, if set to 10,000, then each asset’s monetary allocation is determined by the percentage weighting times 10,000.
Use Fixed Allocation
When enabled, the script calculates the initial allocation percentages after 50 bars of data have passed. It then locks those percentages for the remainder of the backtest or real-time session. This feature allows traders to test a static weighting scenario to see how it differs from recalculating weights at each bar.
------------------------------------------------------------------------
HODL Simulator
The script has a separate simulation that accumulates positions in an asset whenever it appears to be recovering from an undervalued state. This parallel tracking is intended to contrast a simple buy-and-hold approach with the more adaptive allocation methods used elsewhere in the script.
HODL Buy Quantity
Each time an asset transitions from an undervalued state to a recovery phase, the simulator executes a purchase of a predefined quantity. For example, if set to 0.5 units, the system will accumulate this amount whenever conditions indicate a shift away from undervaluation.
HODL Buy Threshold
This parameter determines the level at which the simulation identifies an asset as transitioning out of an undervalued state. When the asset moves above this threshold after previously being classified as undervalued, a buy order is triggered. Over time, the performance of these accumulated positions is tracked, allowing for a comparison between this passive accumulation method and the more dynamic allocation strategy.
------------------------------------------------------------------------
Asset Table and Display Settings
The script displays data in multiple tables directly on your chart. You can toggle these tables on or off and position them in various corners of your TradingView screen.
Asset Info Table Position
This table provides key details for each included asset, displaying:
Symbol – Identifies the trading pair being monitored. This helps users keep track of which assets are included in the portfolio allocation process.
Current Trading Signal – Indicates whether the asset is in a bullish, bearish, or neutral state based on the selected trading system. This assists in quickly identifying which assets are showing potential trade opportunities.
Volatility Approximation – Represents the asset’s historical price fluctuations. Higher volatility suggests greater price swings, which can impact risk management and position sizing.
Liquidity Estimate – Reflects the asset’s market liquidity, often based on trading volume and price activity. More liquid assets tend to have lower transaction costs and reduced slippage, making them more favorable for active strategies.
Risk-Adjusted Return Value – Measures the asset’s returns relative to its risk level. This helps in determining whether an asset is generating efficient returns for the level of volatility it experiences, which is useful when making allocation decisions.
2. Strategy Allocation Table Position
Displays how your selected diversification method converts each asset into an allocation percentage. It also shows how much capital is being invested per asset, the cumulative return, standard performance metrics (for example, Sharpe ratio), and the separate HODL return percentage.
Symbol – Displays the asset being analyzed, ensuring clarity in allocation distribution.
Allocation Percentage – Represents the proportion of total capital assigned to each asset. This value is determined by the selected diversification method and helps traders understand how funds are distributed within the portfolio.
Investment Amount – Converts the allocation percentage into a dollar value based on the total portfolio size. This shows the exact amount being invested in each asset.
Cumulative Return – Tracks the total return of each asset over time, reflecting how well it has performed since the strategy began.
Sharpe Ratio – Evaluates the asset’s return in relation to its risk by comparing excess returns to volatility. A higher Sharpe ratio suggests a more favorable risk-adjusted performance.
Sortino Ratio – Similar to the Sharpe ratio, but focuses only on downside risk, making it more relevant for traders who prioritize minimizing losses.
Omega Ratio – Compares the probability of achieving gains versus losses, helping to assess whether an asset provides an attractive risk-reward balance.
Maximum Drawdown – Measures the largest percentage decline from an asset’s peak value to its lowest point. This metric helps traders understand the worst-case loss scenario.
HODL Return Percentage – Displays the hypothetical return if the asset had been bought and held instead of traded actively, offering a direct comparison between passive accumulation and the active strategy.
3. Profit Table
If the Profit Table is activated, it provides a summary of the actual dollar-based gains or losses for each asset and calculates the overall profit of the system. This table includes separate columns for profit excluding HODL and the combined total when HODL gains are included. As seen in the image below, this allows users to compare the performance of the active strategy against a passive buy-and-hold approach. The HODL profit percentage is derived from the Portfolio Value input, ensuring a clear comparison of accumulated returns.
4. Best Performing Asset Table
Focuses on the single highest-returning or highest-profit asset at that moment. It highlights the symbol, the asset’s cumulative returns, risk metrics, and other relevant stats. This helps identify which asset is currently outperforming the rest.
5. Most Profitable Asset
A simpler table that underscores the asset producing the highest absolute dollar profit across the portfolio.
------------------------------------------------------------------------
Multi Asset Selection
You can include up to ten different assets (such as BTCUSDT, ETHUSDT, ADAUSDT, and so on) in this script. Each asset has two inputs: one to enable or disable its inclusion, and another to select its trading pair symbol. Once you enable an asset, the script requests the relevant market data from TradingView.
------------------------------------------------------------------------
Uniqness and Features
1. Multiple Data Fetches
Each asset is pulled from the chart’s timeframe, along with various metrics such as RSI, volatility approximations, and trend indicators.
2. Various Risk and Performance Metrics
The script internally keeps track of different measures, like Sharpe ratio (a measure of average return adjusted for risk), Sortino ratio (which focuses on downside volatility), Omega ratio, and maximum drawdown. These metrics feed into the strategy allocation table, helping you quickly assess the risk-and-return profile of each asset.
3. Real-Time Tables
Instead of having to set up complex spreadsheets or external dashboards, the script updates all tables on every new bar. The color schemes in these tables are designed to draw attention to bullish or bearish signals, positive or negative returns, and so forth.
4. HODL Comparison
You can visually compare the active strategy’s results to a separate continuous buy-on-dips accumulation strategy. This allows for insight into whether your dynamic approach truly beats a simpler, more patient method.
5. Locking Allocations
The Use Fixed Allocation input is convenient for those who want to see how holding a fixed distribution of capital performs over time. It helps in distinguishing between constant rebalancing vs a fixed, set-and-forget style.
------------------------------------------------------------------------
How to use
1. Add the Script to Your Chart
Once added, open the settings panel to configure your asset list, choose a trading system, and select the diversification approach.
2. Select Assets
Pick up to ten symbols to monitor. Disable any you do not want included. Each included asset is then handled for signals, diversification, and performance metrics.
3. Choose Trading System
Decide if you prefer RSI-based signals, a fair-value approach, or a percentile-based method, among others. The script will then flag assets as bullish, bearish, or neutral according to that selection.
4. Pick a Diversification Method
For example, you might choose Trend-Following Indicators if you believe momentum stocks or cryptocurrencies will continue their trends. Or you could use the Omega Ratio approach if you want to reward assets that have had a favorable upside probability.
5. Set Portfolio Value and HODL Parameters
Enter how much capital you want to allocate in total (for the dynamic strategy) and adjust HODL buy quantities and thresholds as desired. (HODL Profit % is calculated from the Portfolio Value)
6. Inspect the Tables
On the chart, the script can display multiple tables showing your allocations, returns, risk metrics, and which assets are leading or lagging. Monitor these to make decisions about capital distribution or see how the strategy evolves.
------------------------------------------------------------------------
Additional Remarks
This script aims to simplify multi-asset portfolio management in a single tool. It emphasizes user-friendliness by color-coding the data in tables, so you do not need extra spreadsheets. The script is also flexible in letting you lock allocations or compare dynamic updates.
Always remember that no script can guarantee profitable outcomes. Real markets involve unpredictability, and real trading includes fees, slippage, and liquidity constraints not fully accounted for here. The script uses real-time and historical data for demonstration and educational purposes, providing a testing environment for various systematic strategies.
Performance Considerations
Due to the complexity of this script, users may experience longer loading times, especially when handling multiple assets or using advanced allocation methods. In some cases, calculations may time out if too many settings are adjusted simultaneously. If this occurs, removing and reapplying the indicator to the chart can help reset the process. Additionally, it is recommended to configure inputs gradually instead of adjusting all parameters at once, as excessive changes can extend the script’s loading duration beyond TradingView’s processing limits.
------------------------------------------------------------------------
Originality
This script stands out by integrating multiple asset management techniques within a single indicator, eliminating the need for multiple scripts or external portfolio tools. Unlike traditional single-asset strategies, it simultaneously evaluates multiple assets, applies systematic allocation logic, and tracks risk-adjusted performance in real time. The script is designed to function within TradingView’s script limitations while still allowing for complex portfolio simulations, making it an efficient tool for traders managing diverse holdings. Additionally, its combination of systematic trading signals with allocation-based diversification provides a structured approach to balancing exposure across different market conditions. The dynamic interplay between adaptive trading strategies and passive accumulation further differentiates it from conventional strategy indicators that focus solely on directional signals without considering capital allocation.
Conclusion
Uptrick: Portfolio Allocation Diversification pulls multiple assets into one efficient workflow, where each asset’s signal, volatility, and performance is measured, then assigned a share of capital according to your selected diversification method. The script accommodates both dynamic rebalancing and a locked allocation style, plus an ongoing HODL simulation for passive accumulation comparison. It neatly visualizes the entire process through on-chart tables that are updated every bar.
Traders and investors looking for ways to manage multiple assets under one unified framework can explore the different modules within this script to find what suits their style. Users can quickly switch among trading systems, vary the allocation approach, or review side-by-side performance metrics to see which method aligns best with their risk tolerance and market perspective.
Enhanced Order Flow Pressure GaugeShort Description:
Estimates bullish/bearish pressure by analyzing each candle’s close position within its range, then weighting that by volume. Detects potential trend shifts and provides real-time signals.
Full Description:
1. Purpose
The Enhanced Order Flow Pressure Gauge (OFPG+) is designed to approximate buy vs. sell pressure within each bar, even if you don’t have full Level II / order flow data. By measuring the candle’s close relative to its high-low range and multiplying by volume, OFPG+ provides insights into which side of the market (bulls or bears) is more aggressive in a given interval.
2. Key Components
Pressure Score (Histogram):
Raw measure of each bar’s close position (rangePos) minus midpoint, multiplied by volume. If the bar closes near its high with decent volume, the score is positive (bullish). Conversely, a close near its low yields a negative (bearish) reading.
Cumulative Pressure:
Sum of all pressure readings over time (similar to cumulative delta), reflecting the overall market bias.
Pressure Delta:
The change in cumulative pressure from one bar to the next, plotted as a line. Rising values suggest increasing bullish momentum, while falling values show growing bearish influence.
3. Visual Cues & Signals
Histogram (Pressure Profile): A color-coded bar for each candle, indicating net bullish (blue) or bearish (gray) intrabar pressure.
Pressure Delta Line: Plotted over the histogram. Turns bullish (blue) when net buy pressure is increasing, or bearish (gray) when net selling accelerates.
Background Highlights:
Turns lightly blue if the smoothed pressure line exceeds the positive threshold, or lightly gray if it goes below the negative threshold.
Bullish / Bearish Signals:
Bullish Signal occurs when the smoothed pressure line crosses above the positive threshold, combined with a positive Delta.
Bearish Signal occurs when the smoothed pressure line crosses below the negative threshold, combined with a negative Delta.
Confirmed Signals:
After a bullish/bearish signal, OFPG+ checks the highest or lowest smoothed pressure values over a user-defined number of bars (signalLookback) to confirm momentum.
Plotshapes (diamond icons) appear on the chart to mark these confirmed reversals.
4. Usage Scenarios
Trend-Following / Momentum: Watch for transitions from negative to positive net pressure or vice versa. Helps identify potential turning points.
Reversal Confirmation: The threshold-based signals plus the “confirmed” checks can help filter choppy conditions.
Volume-Weighted Insights: By factoring in volume, strong closes near the highs or lows are weighted more heavily, capturing sentiment shifts.
5. Inputs & Parameters
Smoothing Length (length): The EMA period for smoothing the raw pressure score.
Volume Weight (volWeight): Scales the volume impact on pressure calculations.
Pressure Threshold (threshold): Defines when pressure is considered significantly bullish or bearish.
Signal Lookback (signalLookback): Number of bars to confirm momentum after a signal.
6. Alerts
Bullish Signal & Confirmed Bullish
Bearish Signal & Confirmed Bearish
These alerts can notify you in real-time about potential shifts in the market’s buying or selling pressure.
7. Disclaimer
This script provides an approximation of order flow by analyzing candle structure and volume. It does not represent actual exchange-level order data.
Past performance is not necessarily indicative of future results. Always conduct thorough analysis and use proper risk management.
Not financial advice. Use at your own discretion.
Marubozu and Strong Candle DetectorMarubozu and Strong Candle Detector - Indicator Description
This TradingView Pine Script indicator identifies powerful price action signals by detecting two key candle types that can signal strong market momentum:
What It Detects
1. Marubozu Candles: These are candles with little to no wicks, where the body makes up almost the entire candle. Marubozu means "bald head" or "shaved head" in Japanese, referring to the absence of shadows (wicks).
o Bullish Marubozu: A green/up candle with minimal wicks, showing buyers controlled the entire session
o Bearish Marubozu: A red/down candle with minimal wicks, showing sellers dominated the session
2. Strong Candles: These are candles that are significantly larger than the recent average, suggesting exceptional momentum.
o Strong Bullish: Large green/up candles showing powerful buying pressure
o Strong Bearish: Large red/down candles showing powerful selling pressure
Trading Significance
• Bullish Marubozu/Strong Bullish Candles: Often signal the beginning of bullish trends or strong continuation of existing uptrends. These can be excellent entry points for long positions.
• Bearish Marubozu/Strong Bearish Candles: Often indicate the start of bearish trends or powerful continuation of existing downtrends. These can be good entry points for short positions or exit points for long positions.
Key Features
• Customizable Parameters: Adjust sensitivity for body ratio threshold and size comparison
• Visual Indicators: Easy-to-spot markers appear on your charts
• Information Display: Shows key metrics about the current candle
• Alert System: Set notifications for when significant candles form
How To Use This Indicator
1. For Entry Signals:
o Look for bullish Marubozu/strong bullish candles at support levels or after pullbacks
o Look for bearish Marubozu/strong bearish candles at resistance levels or after rallies
2. For Exit Signals:
o Consider taking profits on long positions when bearish Marubozu/strong bearish candles appear
o Consider taking profits on short positions when bullish Marubozu/strong bullish candles appear
3. For Trend Confirmation:
o Multiple signals in the same direction strengthen the case for a trend
This indicator works best on larger timeframes (1H, 4H, Daily) where candle formations have more significance, but can be applied to any timeframe based on your trading style.
Stick Sandwich Pattern# Stick Sandwich Pattern Indicator
## Description
The Stick Sandwich Pattern Indicator is a custom TradingView script that identifies specific three-candle patterns in financial markets. The indicator uses a sandwich emoji (🥪) to mark pattern occurrences directly on the chart, making it visually intuitive and easy to spot potential trading opportunities.
## Pattern Types
### Bullish Stick Sandwich
A bullish stick sandwich pattern is identified when:
- First candle: Bullish (close > open)
- Second candle: Bearish (close < open)
- Third candle: Bullish (close > open)
- The closing price of the third candle is within 10% of the first candle's range from its closing price
### Bearish Stick Sandwich
A bearish stick sandwich pattern is identified when:
- First candle: Bearish (close < open)
- Second candle: Bullish (close > open)
- Third candle: Bearish (close < open)
- The closing price of the third candle is within 10% of the first candle's range from its closing price
## Technical Implementation
- Written in Pine Script v5
- Runs as an overlay indicator
- Uses a 10% tolerance range for closing price comparison
- Implements rolling pattern detection over the last 3 candles
- Break statement ensures only the most recent pattern is marked
## Visual Features
- Bullish patterns: Green sandwich emoji above the pattern
- Bearish patterns: Red sandwich emoji below the pattern
- Label size: Small
- Label styles:
- Bullish: Label points upward
- Bearish: Label points downward
## Usage
1. Add the indicator to your TradingView chart
2. Look for sandwich emojis that appear above or below price bars
3. Green emojis indicate potential bullish reversals
4. Red emojis indicate potential bearish reversals
## Code Structure
- Main indicator function with overlay setting
- Two separate functions for pattern detection:
- `bullishStickSandwich()`
- `bearishStickSandwich()`
- Pattern scanning loop that checks the last 3 candles
- Built-in label plotting for visual identification
## Formula Details
The closing price comparison uses the following tolerance calculation:
```
Tolerance = (High - Low of first candle) * 0.1
Valid if: |Close of third candle - Close of first candle| <= Tolerance
```
## Notes
- The indicator marks patterns in real-time as they form
- Only the most recent pattern within the last 3 candles is marked
- Pattern validation includes both candle direction and closing price proximity
- The 10% tolerance helps filter out weak patterns while catching meaningful ones
## Disclaimer
This indicator is for informational purposes only. Always use proper risk management and consider multiple factors when making trading decisions.
Tri-Fold BB(Trend-Strength)*indicator isn't preset to look as displayed, do so accordingly*
"Tri-Fold BB" is an indicator that utilizes three Bollinger Bands, each of different length as a way to represent trend strength. This allows one to see the trend strength relative to multiple timeframes: short, mid, and long term trend strength. This is helpful because it provides the user with a holistic view of the asset.
How it Works
The indicator is preset to utilizing three different Bollinger Bands with length: 20, 50, and 100. This indicator simply plots the price of an asset relative to its specified Bollinger Band. For an example, if the price of the asset were to surpass its 20BB standard deviations, it would display so accordingly, though from the perspective of lets say... the 100, it may have looked like it barely moved up a standard deviation relative to 100BB because the standard deviations of a 100BB are more spread out.
Its important to view the trend strength from multiple lengths because it allows one to gauge whether the short term trend strength is likely to hold or not. A better way to speculate on asset behavior.
Another way to view this indicator is similar to that of the BB% indicator, except this indicator allows us to view price relative to standard deviations, across multiple timeframes. More holistic, more utility provided.
Basic Understanding:
Each line = Standard Deviation (3 upper, 3 lower)
Mid-Line = Basis relative to BB(20sma, 50sma, 100sma)
If price goes under Basis, that means it crossed below their specified sma(significant bull or bear signal)
I've also added HMA's relative to each BB incase one were to decide in creating some sort of trading strategy with it. I personally don't use them but I understand that it could be helpful to some so I left it in there. If you don't like them then simply deselect them and then save your desired setup as default.
In regard to regular indications of bullish or bearishness, i'd like to add that I use this indicator for the sole purpose of providing an idea of trend strength. I personally am unsure to state that cross overs directly indicate that there is a bull or bear move because I've seen instances where the price of an asset went in a direction contrary to what it 'should' have if we were to use that cross over strategy. Though of course, feel free to use this indicator as desired.
Adaptive Sharp Momentum█ Introduction
The Adaptive Sharp Momentum Study has the following all-in-one features:
• A noise-free, trend-following indicator.
• Automatically detects implied tops and bottoms within fast price cycles.
• It identifies price consolidations and periods of indecision; often challenging to spot.
• Includes a unique feature for detecting directional price squeezes.
• An integrated volatility measure helps avoid false signals and clarifies trend direction.
• Lastly, it alerts traders when a volume climax is likely reached during a move.
This study primarily focuses on capturing momentum while concurrently alerting traders to shifting market dynamics, thereby aiding in the decision to either extend a position’s duration or optimize exit timing. The set of analytical tools, deployed alongside the trend-following indicator, are integrated to reflect the concepts outlined above. Furthermore, this framework utilizes distinctive methods for trend identification, consolidation recognition, directional squeeze assessment, and volume climax analysis—approaches that are not currently documented in publicly available resources.
█ Explanation of Core Components
1. Trend Following Consolidated Adaptive Moving Average:
At the core of the study is the Jurik Adaptive Average Curve, a fast-response adaptive moving average refined with an adaptive Relative Strength Index (RSX) function, known as Jurik RSX. This curve displays three trend modes—bullish, bearish, and indecisive—each customizable in color.
Users can adjust parameters such as the Phase and Consolidation Period:
• Phase: Influences the timing of trend signals, accommodating various trading styles. A lower phase value can produce leading signals, while a higher value may result in lagging signals.
• Consolidation Period: Helps filter out false signals. Optimize this period based on the time frame and instrument.
• Momentum Slope Threshold: As mentioned earlier, the Jurik moving average values are consolidated against the Dynamic Jurik RSX. Crossing the slope threshold of the Jurik RSX will trigger consolidation.
The main curve in the middle represents the overall trend. The issue with moving averages is that they work well in trends but when market is in consolidation, many false signals can be generated. The consolidation period acts as a second fast signal curve that helps eliminate the false signals generated through the standard adaptive moving average. This is basically done by measuring the momentum of the move itself through the Jurik RSX. There are other tools in this study that should also help the trader avoid false signals which will be fully described below.
2. Implied Tops and Bottoms
The study also detects Implied Tops and Bottoms during market cycles using the Composite Momentum and Projections. It offers three detection modes:
• Strong Signals: Indicate significant potential reversal points.
• Medium Signals: Typically displayed near the end of a trend, suggesting traders should prepare to exit.
• Rolling Signals: Alert traders to set tight stop losses to secure profits, as the market may be approaching a turning point.
By default, the colors of Rolling Signals and Medium Signals are the same for simplicity.
Note the following:
• The fast and slow period have the most effect on implied tops and bottoms detection.
• Adjusting the main period will also have an overall effect.
The above chart shows rolling tops, rolling bottoms, strong tops, and strong bottoms. A rolling top of bottom indicate an increase in momentum in that direction and thus a tight stoploss would be recommended, while a strong top/bottom indicates that an exit is warranted.
3. Consolidation and Volatility
If enabled, '+' will appear above the ceiling and floor plots if consolidation is detected. Consolidation is detected by using lookback function that determine if price is below a threshold or not. If below, then consolidation would be confirmed. This is accomplished by adjusting the ' Price Consolidation Threshold ' period
The above chart demonstrates detection of consolidation on a 1-minute chart. Also, note the ceiling and floor plot, it expands when volatility is high.
Consolidation detection helps weed out long and short signals indicated by the main curve.
4. Directional Squeeze
Another unique feature of this indicator is the detection of directional price squeeze. Directional squeeze is defined as a price push in the direction indicated by momentum whether upward or downward. This is different from the common squeeze indicators found on the web since this one is detecting a directional push.
The Directional Squeeze feature, indicated by up and down triangles above the main curve, highlights strong trends in the market's current direction:
• Trend Continuation: Allows traders to stay in profitable trades longer during strong trending markets.
• Multiple Modes: Offers single-bar (short-term) and longer-term squeezes. Single-bar squeezes can signal potential market reversals, while longer-term squeezes are useful in sustained trends.
Be mindful that under certain conditions, the directional squeeze could be directionless(sideways) if consolidation is outlined by the indicator. This is another useful feature the trader could utilize. The chart above mostly demonstrates directional squeeze but directionless can also be observed.
5. Volume Volatility and Volume Climax Detection
An essential feature of the Adaptive Sharp Momentum Study is its ability to measure Volume Volatility and detect Volume Climax moments:
• Volume Volatility Measure: Integrated into the study to help avoid false signals by assessing the strength of market moves. It provides better clarity on trend direction by indicating when the market is experiencing significant volume changes.
• Volume Climax Alerts: The study alerts traders when a volume climax is likely reached during a move, which is helpful for identifying potential reversal points or the culmination of a trend. Brighter confirmation signal dots indicate these climaxes, helping traders make timely entry/exit decisions.
• Adjustable Parameters: Traders can set the Volume Volatility Threshold and adjust the Volume Lookback Period to tailor the sensitivity of volume climax detection according to their trading strategy.
5. The indicator contains other useful features:
• Cycles: Helps determine when to enter long or short trades based on upward or downward market cycles. It also aids in recognizing retracement levels during a trend, allowing traders to capitalize on brief counter-trend movements. Those cycles can be observed as the up and down gray lines on the chart.
• Real-Time Table: The table is another visual aid that summarizes the status of each feature in real-time.
█ How to Use this Study Effectively
The main curve in the middle is your final decision point. Prior to entering a trade look for the following:
• Is the market in consolidation? If yes, then you'd be advised not to enter the trade until the study clearly shows no consolidation
• Is the ceil or floor plots showing a strong top or bottom, or even a volume climax in the direction to intend to enter? If yes, then either ensure you enter at a tight stop or don't enter
• Is there an indication of a directional squeeze with no consolidation or volume climax? Then this would be an ideal place to enter. Be mindful though that entering directional squeeze too late is not recommended.
• Once you are in the trade, look at consolidation, implied tops and bottoms, and volume climax to determine exit point. You will quickly realize if you entered a trade prematurely.
• Utilize the directional squeeze and the prevalent trend to help you stay in the trade longer.
• Adjust your stop losses depending on whether you are seeing a rolling implied top/bottom or a strong top/bottom.
• Also, at volume climaxes, be ready to exit. The approach with volume climax detection should be the same as the implied tops/bottoms.
Below is a chart demonstrating trading on a 1-minute chart. The study could be used for any time frame:
** Important Note **
This study relies on volume readings. Incorrect evaluation will be concluded without proper volume data.
█ How the Adaptive Sharp Momentum Works?
---Main Curve - Jurik Moving Average and RSX---
The Jurik Moving Average (JMA) and the Jurik RSX with Fisher transform (Relative Strength Index Extended) are technical tools designed to enhance data processing efficiency. The JMA uses an adaptive smoothing algorithm to dynamically adjust to market conditions, reducing lag while maintaining high responsiveness to price changes. the JMA incorporates a mechanism that determines smoothness based on input volatility. The RSX, on the other hand, tracks relative strength without introducing the overshoots and noise commonly seen in other momentum indicators. It achieves this by applying a yet another JMA smoothing function that ensures stability and consistency, making it a better candidate for identifying shifts.
This is a unique approach, but can simply be equated to two moving averages crossing over, except in this case, the RSX is crossing over with the JMA.
The process of determining market trends and consolidation for the main curve revolves around evaluating multiple conditions and rankings of indicators such as Jurik RSX, Fisher Transform, and Volume-based metrics (Adaptive On Balance Volume and Price Volatility). Here's how consolidation and trends are identified:
1. Trend Override Logic: The core logic evaluates whether specific conditions override the default trend determined by the JMA.
• Bearish Overrides: A trend is classified as bearish if specific conditions involving negative slopes of the RSX, bearish Fisher Transform readings, and other auxiliary rankings (AOBV trend rank or volatility ranks) are met.
• Bullish Overrides: Similarly, bullish trends are determined by the presence of positive RSX slopes, bullish Fisher readings, and supporting AOBV and volatility ranks.
• Neutral Overrides: If neither bullish nor bearish overrides dominate, and conflicting conditions are detected (e.g., a bearish Fisher with a bullish OBV), the trend can be overridden to neutral.
2. Dynamic Slope and Rank Analysis: RSX and Jurik Slopes: The slopes of the RSX and Jurik indicators play an important role. Increasing slopes suggest bullish momentum, while decreasing slopes imply bearish momentum.
3. Narrow Spread Analysis: Consolidation zones are identified by examining conditions like narrow spreads in price action and mixed indicator signals (e.g., a positive RSX slope alongside a neutral or bearish AOBV).
• When consolidation is detected, the system looks for confirming signals (AOBV or Fisher alignment) to determine whether the next move is likely to be bullish or bearish.
4.Fallback Logic:
If no explicit conditions are met for bullish, bearish, or neutral trends, the system defaults to comparing the current and previous values of the Jurik Moving Average. If the JMA is rising, the trend is set to bullish; otherwise, it defaults to bearish.
The process of consolidating The RSX with JMA, attempts to confirm the trend suggested by the Jurik moving average. As shown above, several factors play into this, but it is mostly motivated by the RSX and its slope
-- Detecting Tops and Bottoms --
• Composite Momentum
The Composite Momentum indicator analyzes the market's directional strength to identify implied tops and bottoms, especially at extreme values. It evaluates momentum by categorizing it into ranges that reflect moderate or strong trends for both bullish and bearish conditions. When momentum exceeds a positive threshold, it indicates a strong top, whereas values below a negative threshold then it's a strong bottom.
• Laguerre Dynamic Projection Bands
The Laguerre Dynamic Projection Bands focuses on price positioning within calculated dynamic boundaries. By applying linear regression, it projects upper and lower price bands, which serve as potential resistance and support levels. The oscillator value ranges from 0 to 100, representing the relative position of the current price. A value above 70 indicates the price is near a projected top, while a value below 30 suggests proximity to a projected bottom. Through custom Laguerre smoothing, the setup ensures that its signals remain stable and actionable.
• How They Work Together
The Composite Momentum and Projection Oscillator complement each other in detecting market tops and bottoms. The Projection Oscillator provides an early indication when price nears a critical level, while the Composite Momentum confirms whether the momentum supports the formation of a significant top or bottom.
-- Consolidation Detection, Volatility, and Volume Climax Detection --
• Summary of Consolidation Detection:
Consolidation is identified through a combination of statistical and smoothing applied to price data. The approach calculates deviations around the main plot using squared price inputs, smoothed averages, and adaptive multipliers. These deviations form dynamic upper and lower boundaries that adapt to changing market conditions. The system further evaluates these boundaries against historical bars to calculate a volume percentage, which indicates how often recent price action remains within these bands. A low percentage suggests consolidation, characterized by reduced volatility and price movement confined within a tighter range.
The bands around the main plot are derived from the calculated maximum deviations, creating adaptive ceilings and floors that expand or contract based on market dynamics. The Ceiling and Floor plots represent the outermost boundaries, while additional retracement plots are drawn based on the Composite Momentum wave rank. For example, during an uptrend, the retrace levels adjust upward in fractional steps relative to the deviation, signaling possible resistance levels. In downtrends, similar logic applies in reverse to determine support levels. These bands visually represent the volatility envelope and help contextualize price movements relative to expected ranges. Whenever, low volatility is detected, a visual "+" indicator is added to the plot to highlight that the market is likely in consolidation mode.
• How the Adaptive OBV Applies the Same Logic:
The Adaptive On-Balance Volume (OBV) uses a similar mechanism to detect volume climaxes by analyzing deviations in volume data. Instead of price, the OBV logic applies the squared input and smoothing methods to volume flows. By comparing these deviations to historical norms, the system identifies periods of high or low volatility in volume, which often coincide with potential breakouts or consolidation zones.
• How They Work Together
The consolidation detection process and the adaptive bands work in tandem to provide traders with a clear visualization of market conditions. When consolidation is detected, the dynamic bands narrow and a "+" sign is visualized, signaling reduced volatility and potential breakout opportunities. Similarly, volume-based analysis through the adaptive OBV helps confirm whether a breakout is accompanied by significant volume, adding confidence to trade decisions. Together, they enable anticipation of market shifts.
-- Directional Squeeze --
A directional price squeeze refers to a market condition where price compresses in a particular direction. This provides traders with an opportunity to stay in trades longer by aligning with the prevailing directional bias. This unique concept generates dynamic limits based on lookback period. Their convergence upward or downward is typically a strong indication of a price push toward the respective direction.
In this approach, the system looks at the highest and lowest values of a smoothed momentum reading over a recent period and measures the distance between them. Instead of relying on a static “overbought” or “oversold” line, it calculates new boundaries as a fraction of that distance, scaling the thresholds to match the price behavior. When these dynamically adjusted limits converge, it suggests a “directional squeeze”—meaning price is moving within a more compressed or focused range. Because these boundaries adapt to the market’s own highs and lows, they provide a more responsive indication of when price may be shifting into or out of a strong directional move.
• Determining the Directional Squeeze
Directional squeeze is identified using dynamic limits derived from two key factors:
Schaff Trend Cycle (STC) for single-bar squeezes. and the Slow RSI (SRSI) for multi-bar or longer-term squeezes. Both are utilizing a custom alpha factor for adaptability and conformance with the JMA and Dynamic RSX studies.
• Directional Trend Confirmation:
If the SRSI or STC approaches the limits, additional conditions such as Fisher RSX (momentum signals) and AOBV (volume signals) and the trend already established by the JMA are aligned. If so, then a squeezed in that trend directional is established.
█ Why These Components All Work Together?
The Adaptive Sharp Momentum Study integrates multiple components to provide a framework for analyzing market dynamics. Each feature addresses specific challenges in trading:
• Core Trend Identification:
The Jurik Adaptive Moving Average (JMA) and Jurik RSX ensure better trend detection by reducing noise and dynamically confirming momentum, thus minimizing lag and false signals.
• Implied Tops and Bottoms:
The combination of Composite Momentum and Laguerre Dynamic Projection Bands highlights critical turning points. This dual-layered approach identifies potential reversals and key support/resistance levels with improved clarity.
• Consolidation and Volatility:
Adaptive ceilings, floors, and consolidation detection filter out indecisive market phases. This helps avoid unreliable signals and provides a better perspective on potential breakouts or continuations.
• Directional Squeeze:
The Directional Squeeze feature identifies directional bias in price compression. Its dynamic thresholds adapt to market conditions, aiding in the assessment of strong directional moves.
• Volume Climax:
Volume volatility and climax detection highlight key moments of market activity, aiding in the evaluation of trend strength and potential turning points.
• Integrated Framework:
The integration of these components creates a system where each element complements the others.
This study offers a methodical approach to analyzing trends, momentum, and volatility while filtering noise. It is a tool designed to assist traders in navigating complex market conditions.
█ Disclaimer
This script is provided for educational and informational purposes only and should not be considered financial advice. Trading financial instruments carries a high level of risk and may not be suitable for all investors. Before using this script, please consult with a qualified financial advisor to ensure it aligns with your individual circumstances. The author does not guarantee the accuracy or completeness of the script and is not responsible for any losses or damages that may occur from its use. Use this script at your own risk.
Uptrick: FRAMA Matrix RSIUptrick: FRAMA Matrix RSI
Introduction
The Uptrick: FRAMA Matrix RSI is a momentum-based indicator that integrates the Relative Strength Index (RSI) with the Fractal Adaptive Moving Average (FRAMA). By applying FRAMA's adaptive smoothing to RSI—and further refining it with a Zero-Lag Moving Average (ZLMA)—this script creates a refined and reliable momentum oscillator. The indicator now includes enhanced divergence detection, potential reversal signals, customizable buy/sell signal options, an internal stats table, and a fully customizable bar coloring system for an enhanced visual trading experience.
Why Combine RSI with FRAMA
Traditional RSI is a well-known momentum indicator but has several limitations. It is highly sensitive to price fluctuations, often generating false signals in choppy or volatile markets. FRAMA, in contrast, adapts dynamically to price changes by adjusting its smoothing factor based on market conditions.
By integrating FRAMA into RSI calculations, this indicator reduces noise while preserving RSI's ability to track momentum, adapts to volatility by reducing lag in trending markets and smoothing out choppiness in ranging conditions, enhances trend-following capability for more reliable momentum shifts, and refines overbought and oversold signals by adjusting to the current market structure.
With the new enhancements, such as a manual alpha input, noise filtering, divergence detection, and multiple buy/sell signal options, the indicator offers even greater flexibility and precision for traders. This combination improves the standard RSI by making it more adaptive and responsive to market changes.
Originality
This indicator is unique because it applies FRAMA's adaptive smoothing technique to RSI, creating a dynamic momentum oscillator that adjusts to different market conditions. Many traditional RSI-based indicators either use fixed smoothing methods like exponential moving averages or employ basic RSI calculations without adjusting for volatility.
This script stands out by integrating several elements, including the fractal dimension-based smoothing of FRAMA to reduce noise while retaining responsiveness, the use of Zero-Lag Moving Average smoothing to enhance trend sensitivity and reduce lag, divergence detection to highlight mismatches between price action and RSI momentum, a noise filter and manual alpha option to prevent minor fluctuations from generating false signals, customizable buy/sell signal options that let traders choose between ZLMA-based or FRAMA RSI-based signals, an internal stats table displaying real-time FRAMA calculations such as fractal dimension and the adaptive alpha factor, and a fully customizable bar coloring system to visually distinguish bullish, bearish, and neutral conditions.
Features
Adaptive FRAMA RSI
The indicator applies FRAMA to RSI values, making the momentum oscillator adaptive to volatility while filtering out noise. Unlike a traditional RSI that reacts equally to all price movements, FRAMA RSI adjusts its smoothing factor based on market structure, making it more effective for identifying true momentum shifts.
Zero-Lag Moving Average (ZLMA)
A smoothing technique that minimizes lag while preserving the responsiveness of price movements. It is applied to the FRAMA RSI to further refine signals and ensure smoother trend detection.
Bullish and Bearish Threshold Crossovers
This system compares FRAMA RSI to a user-defined threshold (default is 50). When FRAMA RSI moves above the threshold, it indicates bullish momentum, while movement below signals bearish conditions. The enhanced noise filter ensures that only significant moves trigger signals.
Noise Filter and Manual Alpha
A new noise filter input prevents tiny fluctuations from triggering false signals. In addition, a manual alpha option allows traders to override the automatically computed smoothing factor with a custom value, providing extra control over the indicator’s sensitivity.
Divergence Detection
The indicator identifies divergence patterns by comparing FRAMA RSI pivots to price action. Bullish divergence occurs when price makes a lower low while FRAMA RSI makes a higher low, and bearish divergence occurs when price makes a higher high while FRAMA RSI makes a lower high. These signals can help traders anticipate potential reversals.
Reversal Signals
Labels appear on the chart when FRAMA RSI confirms classic RSI overbought (70) or oversold (30) conditions, providing visual cues for potential trend reversals.
Buy and Sell Signal Options
Traders can now choose between two signal-generation methods. ZLMA-based signals trigger when the ZLMA of FRAMA RSI crosses key overbought (70) or oversold (30) levels, while FRAMA RSI-based signals trigger when FRAMA RSI itself crosses these levels. This added flexibility allows users to tailor the indicator to their preferred trading style.
ZLMA:
FRAMA:
Customizable Alerts
Alerts notify traders when FRAMA RSI crosses key levels, divergence signals occur, reversal conditions are met, or buy/sell signals trigger. This ensures that important trading events are not missed.
Fully Customizable Bar Coloring System
Users can color bars based on different conditions, enhancing visual clarity. Bar coloring modes include: FRAMA RSI threshold (bars change color based on whether FRAMA RSI is above or below the threshold), ZLMA crossover (bars change when ZLMA crosses overbought or oversold levels), buy/sell signals (bars change when official signals trigger), divergence (bars highlight when bullish or bearish divergence is detected), and reversals (bars indicate when RSI reaches overbought or oversold conditions confirmed by FRAMA RSI). The system also remembers the last applied bar color, ensuring a smooth visual transition.
Input Parameters and Features
Core Inputs
RSI Length (default: 14) defines the period for RSI calculations.
FRAMA Lookback (default: 16) determines the length for the FRAMA smoothing function.
RSI Bull Threshold (default: 50) sets the level above which the market is considered bullish and below which it is bearish.
Noise Filter (default: 1.0) ensures that small fluctuations do not trigger false bullish or bearish signals.
Additional Features
Show Bull and Bear Alerts (default: true) enables notifications when FRAMA RSI crosses the threshold.
Enable Divergence Detection (default: false) highlights bullish and bearish divergences based on price and FRAMA RSI pivots.
Show Potential Reversal Signals (default: false) identifies overbought (70) and oversold (30) levels as possible trend reversal points.
Buy and Sell Signal Option (default: ZLMA) allows traders to choose between ZLMA-based signals or FRAMA RSI-based signals for trade entry.
ZLMA Enhancements
ZLMA Length (default: 14) determines the period for the Zero-Lag Moving Average applied to FRAMA RSI.
Visualization Options
Show Internal Stats Table (default: false) displays real-time FRAMA calculations, including fractal dimension and the adaptive alpha smoothing factor.
Show Threshold FRAMA Signals (default: false) plots buy and sell labels when FRAMA RSI crosses the threshold level.
How It Works
FRAMA Calculation
FRAMA dynamically adjusts smoothing based on the price fractal dimension. The alpha smoothing factor is derived from the fractal dimension or can be set manually to maintain responsiveness.
RSI with FRAMA Smoothing
RSI is calculated using the user-defined lookback period. FRAMA is then applied to the RSI to make it more adaptive to volatility. Optionally, ZLMA is applied to further refine the signals and reduce lag.
Bullish and Bearish Threshold Crosses
A bullish condition occurs when FRAMA RSI crosses above the threshold, while a bearish condition occurs when it falls below. The noise filter ensures that only significant trend shifts generate signals.
Buy and Sell Signal Options
Traders can choose between ZLMA crossovers or FRAMA RSI crossovers as the basis for buy and sell signals, offering flexibility in trade entry timing.
Divergence Detection
The indicator identifies divergences where price action and FRAMA RSI momentum do not align, potentially signaling upcoming reversals.
Reversal Signal Labels
When classic RSI overbought or oversold levels are confirmed by FRAMA RSI conditions, reversal labels are added on the chart to highlight potential exhaustion points.
Bar Coloring System
Bars are dynamically colored based on various conditions such as RSI thresholds, ZLMA crossovers, buy/sell signals, divergence, and reversals, allowing traders to quickly interpret market sentiment.
Alerts and Internal Stats
Customizable alerts notify traders of key events, and an optional internal stats table displays real-time calculations (fractal dimension, alpha value, and RSI values) to help users understand the underlying dynamics of the indicator.
Summary
The Uptrick: FRAMA Matrix RSI offers an enhanced approach to momentum analysis by combining RSI with adaptive FRAMA smoothing and additional layers of signal refinement. The indicator now includes adaptive RSI smoothing to reduce noise and improve responsiveness, Zero-Lag Moving Average filtering to minimize lag, divergence and reversal detection to identify potential turning points, customizable buy/sell signal options that let traders choose between different signal methodologies, a fully customizable bar coloring system to visually distinguish market conditions, and an internal stats table for real-time insight into FRAMA calculation parameters.
Whether used for trend confirmation, divergence detection, or momentum-based strategies, this indicator provides a powerful and adaptive approach to trading.
Disclaimer
This script is for informational and educational purposes only. Trading involves risk, and past performance does not guarantee future results. Always conduct proper research and consult with a financial advisor before making trading decisions.
Multi-Timeframe Stochastic OverviewPurpose of the Multi-Timeframe Stochastic Indicator:
The Multi-Timeframe Stochastic Indicator provides a consolidated view of market conditions across multiple timeframes (M1, M5, M15, H1) based on the Stochastic Oscillator, a popular technical analysis tool. The main objective is to allow traders to quickly assess momentum and potential trend reversals across different timeframes on a single chart, helping to make informed trading decisions.
---
General Purpose of Stochastic Oscillator:
The Stochastic Oscillator measures the relationship between a security's closing price and its price range over a given period, aiming to identify momentum, overbought/oversold levels, and potential reversal points. It works on the assumption that:
1. In uptrends, prices tend to close near their highs.
2. In downtrends, prices tend to close near their lows.
It consists of two lines:
%K (fast line): Represents the raw Stochastic value.
%D (slow line): A moving average of %K, used to smooth the data for better signals.
The indicator is generally used to:
Identify Overbought (price above 80% threshold) and Oversold (price below 20% threshold) conditions.
Spot Bullish and Bearish divergences for potential trend reversals.
Evaluate momentum strength within a trend.
---
How This Multi-Timeframe Indicator Enhances Stochastic's Utility:
1. Multi-Timeframe Overview:
The indicator calculates Stochastic values for multiple timeframes (1-minute, 5-minute, 15-minute, and 1-hour) and displays their market conditions (e.g., Bullish, Bearish, Overbought, Oversold, or Indecision) in an organized table format.
This gives traders a broad perspective on short-term, mid-term, and long-term trends simultaneously.
2. Market Condition Summary:
Bullish: Indicates upward momentum (both %K and %D > 50%).
Bearish: Indicates downward momentum (both %K and %D < 50%).
Overbought: Suggests potential trend exhaustion (both %K and %D > 80%).
Oversold: Suggests a potential reversal to the upside (both %K and %D < 20%).
Indecision: Highlights uncertainty when %K and %D are on opposite sides of the 50% level.
3. Quick Decision-Making:
The color-coded table (green for Bullish/Overbought, red for Bearish/Oversold, orange for Indecision) allows traders to quickly identify dominant conditions and momentum alignment across timeframes, helping in trade confirmation.
4. Trend Analysis:
By observing alignment or divergence in market conditions across timeframes, traders can gauge the strength of a trend or anticipate reversals. For example:
If all timeframes show "Bullish," it suggests strong momentum.
If smaller timeframes are "Overbought" while larger ones are "Bearish," it warns of a possible pullback.
5. Customizable Parameters:
The indicator allows customization of Stochastic K, D, smoothing values, and overbought/oversold levels, enabling users to tailor the analysis to specific trading styles or market conditions.
---
Use Cases:
1. Scalping:
A scalper can use lower timeframes (e.g., M1, M5) to find overbought/oversold zones for quick trades.
2. Swing Trading:
Swing traders can align smaller timeframes with higher ones (e.g., M15 and H1) to confirm momentum before entering a trade.
3. Trend Reversals:
Overbought or oversold conditions across all timeframes may indicate a major reversal point, helping traders plan exits or countertrend entries.
4. Trend Continuation:
Consistent bullish or bearish conditions across all timeframes confirm the continuation of a trend, providing confidence to hold positions.
---
Summary:
This indicator enhances the traditional Stochastic Oscillator by giving a multi-timeframe snapshot of market momentum, overbought/oversold conditions, and trend direction. It enables traders to quickly assess the overall market state, spot opportunities, and make more informed trading decisions.
ZenAlgo - HazeThe ZenAlgo - Haze indicator offers an advanced framework for analyzing market trends, momentum shifts, and potential reversals. By integrating dynamic crossovers, predictive zones, and historical validation into a single tool, it provides traders with actionable insights for better decision-making. Its configurable settings for Crypto and Traditional adapt seamlessly to the unique characteristics of each market.
Features
Dynamic Trend Labels: Identifies "Bull," "Bear," "Super Bull," and "Super Bear" states based on crossover logic, price levels, and historical trends.
Market-Specific Adaptability: Switch between Crypto and Traditional settings for optimized analysis tailored to each market’s behavior.
Predictive Kumo Cloud: Forward-projected support and resistance zones help traders anticipate potential price movements.
Lagging Span Validation: Validates trends using historical price context for improved reliability.
Integrated Signals and Alerts: Combines crossovers and momentum shifts with real-time alerts for trend confirmation.
Added Value: Why Is This Indicator Original/Why Shall You Pay for This Indicator?
The Haze indicator differentiates itself through a carefully designed synergy of components, providing a depth of analysis that extends beyond traditional Ichimoku or Donchian-based indicators. Here’s what makes it valuable to traders:
1. Dynamic and Contextual Market Labels
Labels like Bull , Bear , Super Bull , and Super Bear do not merely indicate crossovers but also account for the relative position of price to predictive cloud zones and historical trends. This layered approach ensures signals are contextual and provide a clear understanding of the market's underlying strength or weakness.
These states are especially powerful because they simplify decision-making by summarizing complex market dynamics into actionable insights.
2. Market-Specific Optimization
The ability to switch between Crypto and Traditional configurations adapts the indicator to specific market conditions. For instance, Crypto's volatility requires wider periods for trend calculations, while Forex's tighter price movements benefit from shorter, more reactive settings. This adaptability ensures precision without needing multiple separate tools.
3. Predictive Insights
The forward-shifted Kumo cloud is designed to anticipate future support and resistance zones. Unlike reactive indicators that only analyze past data, this predictive feature gives traders an edge by offering a glimpse into potential price movements.
4. Integrated Synergy
The integration of components—Donchian channels for trend calculation, Kumo cloud for projections, and Lagging Span for historical validation—creates a holistic system. These components are not merely combined but interact to validate and reinforce each other's signals, reducing noise and increasing reliability.
5. Simplification Without Sacrificing Depth
By consolidating multiple elements into a single interface, Haze reduces chart clutter. It eliminates the need for traders to interpret separate indicators manually, saving time and improving clarity. This streamlined approach is particularly useful for traders working in fast-paced markets like Crypto.
How It Works
1. Dynamic Trend Detection
The indicator evaluates crossovers between the conversion and baseline lines. However, these are not simple crossovers—Haze analyzes the relative position of the price to the forward-displaced cloud and validates signals based on historical context (Lagging Span). For example:
A Super Bull signal is generated only when the conversion line crosses above the baseline, remains above the cloud, and is supported by rising price trends. This ensures that the signal reflects sustained bullish momentum rather than temporary spikes.
Similarly, a Super Bear signal requires the price and conversion line to be below the cloud, validated by a consistent downward trend.
2. Forward-Projected Kumo Cloud
The Kumo cloud is calculated by projecting key levels derived from Donchian channels into the future. This feature helps traders identify upcoming areas of support and resistance, enabling them to anticipate market behavior rather than reacting to it.
Cloud thickness indicates the strength of these zones; a wide cloud reflects robust support or resistance, while a narrow cloud suggests potential indecision or consolidation.
3. Lagging Span Validation
By plotting the current price backward, the Lagging Span provides historical validation of trends. For example:
If the Lagging Span remains above the cloud and price, it reinforces the bullish trend.
Conversely, if it falls below the cloud and price, it confirms bearish conditions. This backward-looking validation ensures that current signals are consistent with past market behavior.
4. Real-Time Alerts
Alerts are triggered when the Fast and Slow lines (calculated from Donchian channels) cross. These alerts are offset by the cloud’s displacement period to align with forward projections. This ensures t
5. Multi-Layered Label System
The indicator dynamically adjusts the visibility of labels based on the detected market state, providing traders with concise yet comprehensive feedback. For example:
Bull and Bear labels appear for preliminary signals, while Super Bull and Super Bear labels are reserved for high-confidence trends that meet stricter conditions.
6. Market-Specific Configurations
For Crypto, the indicator uses longer periods to capture broader trends and account for high volatility.
For Traditional, shorter periods provide quicker signals, tailored to the relatively stable nature of currency pairs.
Usage Examples
The Haze indicator is designed to be intuitive yet comprehensive, offering multiple layers of analysis to guide traders. Here's how to interpret its outputs effectively:
1. Interpreting Labels
Bull and Bear : Indicate the start of potential upward or downward momentum. These labels appear when the conversion line crosses the baseline but remain within or near the cloud, signaling a trend shift with moderate confidence.
Super Bull and Super Bear : Represent strong, confirmed trends. These labels require the conversion line and price to remain firmly above (Super Bull) or below (Super Bear) the cloud, validated by consistent price movements in the same direction.
Use the Super labels as confirmation of robust trends with high reliability, ideal for entering longer-term positions or scaling into existing trades.
2. Using the Kumo Cloud
The cloud serves as a visual representation of projected support and resistance levels.
Wide Cloud Zones: Indicate strong barriers, suggesting significant price consolidation or resistance at those levels.
Narrow Cloud Zones: Suggest weaker areas of support or resistance, often seen during periods of low volatility or indecision.
Above the Cloud: Signals a bullish market condition, where price is more likely to find support near the upper cloud boundary.
Below the Cloud: Indicates bearish conditions, with resistance likely near the lower cloud boundary.
3. Incorporating Alerts
Alerts for Fast/Slow Crossover provide a timely signal of potential momentum shifts.
A Cross Up occurring near or above the cloud strengthens bullish momentum.
A Cross Down near or below the cloud reinforces bearish momentum.
Use these alerts to refine entry and exit points, particularly in trending markets.
4. Validating Trends with the Lagging Span
The Lagging Span acts as a confirmation tool, validating current trends against historical price levels:
If the Lagging Span is above both the cloud and the current price, it confirms a strong bullish trend.
If it is below both the cloud and the price, it reinforces a bearish trend.
5. Multi-Timeframe Analysis
Analyze the indicator across multiple timeframes to gain a broader perspective on the market.
Use higher timeframes (e.g., daily or 4-hour charts) to identify dominant trends.
Use lower timeframes (e.g., 1-hour or 15-minute charts) for precise entry and exit points within the context of the larger trend.
6. Combining Labels and Cloud Zones
A Bull label within the cloud indicates a nascent uptrend but warrants caution until price moves above the cloud.
A Super Bull label above the cloud confirms strong bullish momentum, making it a high-confidence signal for taking long positions.
Conversely, a Super Bear label below the cloud signals strong downward momentum and potential shorting opportunities.
By interpreting these elements together, traders can gain a clearer understanding of market conditions and make more informed decisions without relying on multiple separate tools.
Limitations
Low-Volume Markets: In illiquid markets, such as some altcoins or exotic forex pairs, signals may be less reliable. Pair the indicator with additional tools like RSI or Bollinger Bands to filter out noise.
Sideways Markets: During periods of consolidation, frequent crossovers may produce false signals. Use complementary tools to confirm breakout conditions.
Short Timeframes: On very short timeframes (e.g., 1-minute charts), market noise may lead to unreliable signals. Applying the indicator to higher timeframes can improve reliability.
Volatile Events: In markets with extreme volatility, signals may lag behind rapid price movements. For better results, combine the indicator with a volatility filter, such as the Average True Range (ATR).
Important Notes
The indicator is a technical tool designed to support market analysis and should be used alongside other strategies, including fundamental analysis and sound risk management.
Always use stop-loss orders and proper position sizing to mitigate risks, particularly in volatile or uncertain market conditions.
This indicator does not guarantee trading success or profit and should be used as part of a comprehensive strategy.
tripleFlows Master EUR - by ManhDNThe TripleFlows Master EUR indicator is a technical analysis tool designed for TradingView to systematically evaluate the strength or weakness of the Euro (EUR) across 7 major currency pairs. This indicator provides a clear and objective measure of EUR momentum by analyzing moving averages, aggregating the data into a comprehensive Flow Index, and visualizing the collective price action of the Euro.
---
How It Works
1. Data Collection:
- The indicator pulls price data from the 7 most significant EUR currency pairs:
EUR/USD, EUR/JPY, EUR/GBP, EUR/AUD, EUR/CAD, EUR/NZD, and EUR/CHF.
2. Moving Average Calculation:
- For each of the 7 currency pairs, the indicator computes:
- A 5-period moving average (MA).
- A 20-period moving average (MA).
- It then compares these two moving averages to identify whether the trend for each pair is bullish or bearish:
- If MA(5) > MA(20), the trend is considered bullish for the Euro.
- If MA(5) < MA(20), the trend is considered bearish for the Euro.
3. Flow Index Aggregation:
- The indicator aggregates the trend signals from all 7 currency pairs to calculate a Flow Index, which ranges from -100 to +100:
- +100: All 7 pairs indicate a bullish trend for EUR (maximum strength).
- -100: All 7 pairs indicate a bearish trend for EUR (maximum weakness).
- Values closer to 0 indicate a more neutral market condition.
4. Visual Representation of Composite Price Action:
- In addition to the Flow Index, the TripleFlows Master EUR generates a **composite candlestick chart** based on the aggregated price action of the 7 EUR pairs.
- This chart provides a clear visual representation of the Euro's overall price behavior, allowing traders to analyze trends directly through candlestick patterns and moving averages.
- By observing this chart, traders can make decisions based on the combined action of all 7 pairs, rather than relying on a single pair.
5. Triple Flow Calculation Across Timeframes:
- The Flow Index is calculated on three timeframes:
- Junior (short timeframe).
- Medior (medium timeframe).
- Senior (long timeframe).
- The indicator evaluates the Flow Index across these three timeframes to determine Triple Flow:
- Triple Flow Up (Bullish): All three timeframes show a Flow Index of +100.
- Triple Flow Down (Bearish): All three timeframes show a Flow Index of -100.
---
Purpose and Application
- Trend Confirmation:
The TripleFlows Master EUR provides objective trend confirmation by synthesizing data across multiple pairs and timeframes.
- Bullish Trend: Look for opportunities to go long when Triple Flow Up is confirmed.
- Bearish Trend: Look for opportunities to go short when Triple Flow Down is confirmed.
- Multi-Timeframe Consistency:
The synchronization of the Flow Index across junior, medior, and senior timeframes ensures high-probability setups by aligning short-term and long-term trends.
- Composite Price Action Analysis:
The composite candlestick chart simplifies the analysis of EUR price behavior by aggregating data from 7 pairs, helping traders identify trends, key levels, and patterns visually.
---
Outputs and Visuals
1. Flow Index:
- Displayed as a value between -100 and +100, showing the aggregated strength or weakness of the Euro.
2. Composite Candlestick Chart:
- A real-time chart that represents the Euro's collective price action across 7 pairs.
3. Triple Flow Status:
- Visual indication of Triple Flow conditions (e.g., Triple Flow Up or Triple Flow Down) based on the alignment of Flow Index values across all three timeframes.
4. Alerts:
- The indicator includes alerts for when a Triple Flow Up or Down condition is detected, allowing users to respond to key market opportunities.
---
Technical Notes
- Flow Index Calculation:
The calculation is based purely on the relative position of the 5-period and 20-period moving averages across 7 pairs. It does not rely on external factors, ensuring the results are fully derived from price data.
- Composite Price Action:
The composite candlestick chart integrates the aggregated price movements of 7 pairs into a single, easy-to-read visual representation.
- Scalability Across Timeframes:
The TripleFlows Master EUR can be applied to any trading style, as it adapts to various timeframes:
- Junior timeframe for intraday analysis.
- Medior timeframe for swing trading.
- Senior timeframe for position trading.
---
Conclusion
The TripleFlows Master EUR indicator provides a robust, data-driven solution for analyzing the Euro’s performance across major currency pairs. By aggregating price action from 7 pairs into a composite candlestick chart and synchronizing trends across multiple timeframes, the indicator eliminates the limitations of analyzing individual pairs in isolation. This comprehensive approach ensures traders can identify trends and opportunities with greater accuracy and confidence.
TrendPredator ESThe TrendPredator Essential (ES)
Stacey Burke, a seasoned trader and mentor, developed his trading system over the years, drawing insights from influential figures such as George Douglas Taylor, Tony Crabel, Steve Mauro, and Robert Schabacker. His popular system integrates select concepts from these experts into a consistent framework. While powerful, it is highly discretionary, requiring significant real-time analysis, which can be challenging for novice traders.
The TrendPredator ES indicator supports this approach by automating the essential analysis required to trade the system effectively and incorporating a mechanical bias and multi-timeframe concept.
It provides value to traders by significantly reducing the time needed for session preparation and offering relevant chart analysis and signals for live trading through real-time updates and a unique consolidated table format.
The Stacey Burke Master Pattern
Inspired by Taylor’s 3-day cycle and Steve Mauro’s work with “Beat the Market Maker,” Burke’s system views markets as cyclical, driven by the manipulative patterns of market makers. These patterns often trap traders at the extremes of moves above or below significant levels with peak formations, then reverse to utilize their liquidity, initiating the next phase. Breakouts away from these traps often lead to range expansions, as described by Tony Crabel and Robert Schabacker. After multiple consecutive breakouts, especially after the psychological number three, overextension might develop. A break in structure may then lead to reversals or pullbacks. Burke’s system is designed to track these cycles on the daily timeframe and provides signals and trade setups to navigate along them.
Bias Logic and Multi-Timeframe Concept
The indicator covers the basic signals of his system:
- First Red Day (FRD): Bearish break in structure, signalling weak longs in the market.
- First Green Day (FGD): Bullish break in structure signalling weak shorts in the markt.
- Three Days of Longs (3DL): Overextension signalling potential weak longs in the market.
- Three Days of Shorts (3DS): Overextension signalling potential weak shorts in the market.
- Inside Day (ID): Contraction, signalling potential impulsive reversal or range expansion move.
It enhances the original system by introducing:
Structured Bias Logic:
Tracks bias by following how price trades concerning the last previous candle high or low that was hit. For example if the high was hit, we are bullish above and bearish below.
- Bullish state: Breakout (BO), Fakeout Low (FOL)
- Bearish state: Breakdown (BD), Fakeout High (FOH)
Multi-Timeframe Perspective:
- Tracks all signals across H4, H8, D, W, and M timeframes, to look for alignment and follow trends and momentum in a mechanical way.
The indicator monitors the bias and signals of the system across all relevant timeframes and automates the related graphical chart analysis to generate the information needed for the trader to identify key setups. Additional to the SB pattern, the system helps to identify the higher timeframe situation and follow the moves driven by other timeframe traders.
Example: Full Bullish Cycle on the Daily Timeframe with Signals
- The Trap/Peak Formation
The market breaks down from a previous day’s and maybe week’s low—potentially after multiple breakdowns—but fails to move lower and pulls back up to form a peak formation low and closes as a first green day.
Signal: Bullish daily and weekly fakeout low; three consecutive breakdown days (1W Curr FOL, 1D Curr FOL, BO 3S).
- Pullback and Consolidation
The next day pulls further up after first green day signal, potentially consolidates inside the previous day’s range.
Signal: Fakeout low and first green day closing as an inside day (1D Curr IS, Prev FOL, First G).
- Range Expansion/Trend
The following day breaks up through the previous day’s high, launching a range expansion away from the trap.
Signal: Bullish daily breakout of an inside day (1D Curr BO, Prev IS).
- Overextension
After multiple consecutive breakouts, the market reaches a state of overextension, signalling a possible reversal or pullback.
Signal: Three days of breakout longs (1D Curr BO, Prev BO, BO 3L).
Note: This is only one possible scenario; there are many variations and combinations.
Example Chart: Full Bullish Cycle with Correlated Signals
Note: The signals shown along the move are manually added illustrations. The indicator shows these in realtime in the table at the bottom right. This is only one possible scenario; there are many variations and combinations.
Due to the fractal nature of markets, this cycle can be observed across timeframes. The strongest setups show multi-timeframe alignment. For example, a peak formation and potential reversal on the daily timeframe has high probability and follow-through if it also aligns with bearish signals on higher timeframes (e.g., weekly/monthly BD/FOH) and confirmation on lower timeframes (H4/H8 FOH/BD). With this perspective the system enables the trader to follow the trend and momentum and identify rollover points in a very differentiated way.
Detailed Features and Options
1. Historic Highs and Lows
Displays historic highs and lows per timeframe for added context, enabling users to track sequences over time.
Timeframes: H4, H8, D, W, M
Options: Customize for timeframes shown, number of historic candles per timeframe, colors, formats, and labels.
2. Previous High and Low Extensions
Displays extended previous levels (high, low, and close) for each timeframe to assess how price trades relative to these levels.
H4: P4H, P4L, P4C
H8: P8H, P8L, P8C
Daily: PDH, PDL, PDC
Weekly: PWH, PWL, PWC
Monthly: PMH, PML, PMC
Options: Fully customizable for timeframes shown, colors, formats, and labels.
3. Breach Lines
Tracks live market reactions (e.g., breakouts or fakeouts) per timeframe for the last previous high or low that was hit, highlighting these levels originating at the breached candle to indicate bias (color-coded).
Red: Bearish below
Green: Bullish above
H4: 4FOL, 4FOH, 4BO, 4BD
H8: 8FOL, 8FOH, 8BO, 8BD
D: dFOL, dFOH, dBO, dBD
W: wFOL, wFOH, wBO, wBD
M: mFOL, mFOH, mBO, mBD
Options: Fully customizable for timeframes shown, colors, formats, and labels.
4. Multi-Timeframe Table
Provides a real-time view of system signals, including:
Current Timeframe (Curr): Bias states.
- Breakout (green BO): Bullish after breaking above the previous high.
- Fakeout High (red FOH): Bearish after breaking above the previous high but pulling back down.
- Breakdown (red BD): Bearish after breaking below the previous low.
- Fakeout Low (green FOL): Bullish after breaking below the previous low but pulling back up.
- Inside (IS): Price trading neutral inside the previous range, taking the previous bias (color indicates the previous bias).
Previous Timeframe (Prev): Tracks last candle bias state and transitions dynamically.
- Bias for last candle: BO, FOH, BD, FOL in respective colors.
- Inside bar (yellow IS): Indicated as standalone signal.
Note: Also previous timeframes get constantly updated in real time to track the bias state in relation to the level that was hit. This means a BO can still lose the level and become a FOH, and vice versa, and a BD can still become a FOL, and vice versa. This is critical to see for example if traders that are trapped in that timeframe with a FOH or FOL are released. An inside bar stays fixed, though, since no level was hit in that timeframe.
Breakouts (BO): Breakout count 3 longs and 3 shorts.
- 3 Longs (red 3L): Bearish after three breakouts without hitting a previous low.
- 3 Shorts (green 3S): Bullish after three breakdowns without hitting a previous high.
First Countertrend Close (First): Tracks First Red or Green Day.
- First Green (G): After two consecutive red closes.
- First Red (R): After two consecutive green closes.
Options: Customizable font size and label colors.
Overall Options:
Toggle single feature groups on/off.
Customize H8 open/close time as an offset to UTC to be provider independent.
Colour settings for dark or bright backgrounds.
Using the Indicator for Trading
The automated analysis provided by the indicator can be used for thesis generation in preparation for a session as well as for live trading, leveraging the real-time updates. It is recommended to customize the settings accordingly, such as hiding the lower timeframes for thesis generation to keep the charts clean.
1. Setup Identification:
Follow the bias of daily and H8 timeframes. A setup always requires alignment of these.
Setup Types:
- Trend Trade: Trade in alignment with the previous day’s trend.
Example: Price above the previous day’s high → Focus on long setups (dBO, H8 FOL) until overextension or reversal signs appear (H8 BO 3L, First R).
- Reversal Trade: Identify reversal setups when lower timeframes show rollovers after higher timeframe weakness.
Example: Price below the previous day’s high after FOH → Look for reversal signals at the current high of day (H8 FOH, BO 3L, First R).
2. Context Assessment:
Evaluate alignment of higher timeframes (e.g., Month/Week, Week/Day). More alignment → Stronger setups. Conflicting situations → Setups invalidated.
3. Entry Confirmation:
Confirm entries based on H8 and H4 alignment and candle closes (e.g., M15 or M5 close after entering setup zone as confirmation).
Example Chart for Reversal Trade:
1. Setup Identification: FOH continuation after BO 3L overextension, confirmed by H8 FOH, First R.
2. Context Assessment: Month in FOL with bearish First R; Week in BO but bearishly overextended with BO 3L.
3. Entry Confirmation: H4 BD, M5 close.
Further recommendations:
- Higher timeframe context: TPO or volume profile indicators can be used to gain an even better overview.
- Entry confirmation: Momentum indicators like VWAP, Supertrend, or EMA are helpful for increasing precision. Additionally, tracking lower timeframe fakeouts can provide powerful confluence.
- Late session trading: Entries later in the session, such as during the 3rd hour of the NY session, offer better analysis and follow-through on setups.
Limitations:
Data availability using TradingView has its limitations. The indicator leverages only the real-time data available for the specific timeframe being used. This means it cannot access data from timeframes lower than the one displayed on the chart. For example, if you are on a daily chart, it cannot use H8 data. Additionally, on very low timeframes, the historical availability of data might be limited, making higher timeframe signals unreliable.
To address this, the indicator automatically hides the affected columns in these specific situations, preventing false signals.
Disclaimer
This indicator is for educational purposes only and does not guarantee profits.
None of the information provided shall be considered financial advice.
The indicator does not provide final buy or sell signals but highlights zones for potential setups.
Users are fully responsible for their trading decisions and outcomes.
Codi's Perp-Spot Basis# Perp-Spot Basis Indicator
This indicator calculates the percentage basis between perpetual futures and spot prices for crypto assets. It is inspired by the original concept from **Krugermacro**, with the added improvement of **automatic detection of the asset pairs** based on the current chart symbol. This enhancement makes it faster and easier to apply across different assets without manual configuration.
## How It Works
The indicator compares the perpetual futures price (e.g., `BTCUSDT.P`) to the spot price (e.g., `BTCUSDT`) on Binance. The difference is expressed as a percentage: (Perp - Spot) / Spot * 100
The results are displayed in a color-coded graph:
- **Blue (Positive Basis):** Perpetual futures are trading at a premium, indicating **bullish sentiment** among derivatives traders.
- **Red (Negative Basis):** Perpetual futures are trading at a discount, indicating **bearish sentiment** among derivatives traders.
This percentage basis is a core component in understanding funding rates and derivatives market dynamics. It serves as a faster proxy for funding rates, which typically lag behind real-time price movements.
---
## How to Use It
### General Concept
- **Red (Negative Basis):** Ideal to execute **longs** when derivatives traders are overly bearish.
- **Blue (Positive Basis):** Ideal to execute **shorts** when derivatives traders are overly bullish.
### Pullback Sniping
1. During an **uptrend**:
- If the basis turns **red** temporarily, it can signal an opportunity to **buy the dip**.
2. During a **downtrend**:
- If the basis turns **blue** temporarily, it can signal an opportunity to **sell the rip**.
3. Wait for the basis to **pop back** (higher in uptrend, lower in downtrend) to time entries more effectively—this often coincides with **stop runs** or **liquidations**.
### Intraday Execution
- **When price is falling**:
- If the basis is **red**, the move is derivatives-led (**normal**).
- If the basis is **blue**, spot traders are leading, and perps are offside—wait for **price dumps** before longing.
- **When price is rising**:
- If the basis is **blue**, the move is derivatives-led (**normal**).
- If the basis is **red**, spot traders are leading, and perps are offside—wait for **price pops** before shorting.
### Larger Time Frames
- **Consistently Blue Basis:** Indicates a **bull market** as derivatives traders are bullish over the long term.
- **Consistently Red Basis:** Indicates a **bear market** as derivatives traders are bearish over the long term.
---
## Improvements Over the Original
This version of the Perp-Spot Basis indicator **automatically detects the Binance perpetual futures and spot pairs** based on the current chart symbol. For example:
- If you are viewing `ETHUSDT`, it automatically references `ETHUSDT.P` for the perpetual futures pair and `ETHUSDT` for the spot pair in BINANCE.
XAUMOvisionXAUMOvision: T he XAU/USD Composite Correlation Indicator with Weighted Spillover & Dynamic Lines
XAUMOvision is a custom-built trading indicator designed to track the intricate relationship between XAU/USD (Gold) and key economic factors: DXY (US Dollar Index), US Treasury Yields, S&P 500, and Crude Oil. By blending correlation metrics with weighted spillover effects, XAUMOvision offers actionable insights to refine your Gold trading strategy.
Core Features of XAUMOvision
1. Correlation (CC)
Definition: Measures how closely two assets move together over a given period.
Calculation: Pearson Correlation is used to assess Gold's relationship with:
DXY: Negative correlation—when DXY rises, Gold typically falls.
US Treasury Yields: Negative correlation—higher yields reduce Gold’s appeal.
S&P 500: Opposite movement, as Gold acts as a safe-haven.
Crude Oil: Positive correlation—both often rise during inflationary pressures.
2. Weighted Spillover
What It Does: Quantifies how movements in each asset (DXY, Yields, etc.) influence Gold.
Weighting: User-defined values (e.g., DXY weight = 0.4) scale each factor’s impact.
Result: A total spillover score reveals bullish or bearish sentiment for XAU/USD.
3. Composite Bias Line
Purpose: Consolidates spillover impacts into a single sentiment indicator.
Readings:
Strong Bullish: Composite Bias > 0.5.
Neutral: Close to 0.
Strong Bearish: Composite Bias < -0.5.
Output: A directional bias to guide your trading decisions.
4. Traffic Signal Line
Visual Cues:
Green: Strong Bullish Signal.
Red: Strong Bearish Signal.
Gray: Neutral—avoid trading.
Utility: A quick, color-coded overview of market conditions.
Using XAUMOvision Effectively
When to Use
During high volatility or major news events (e.g., CPI, interest rate decisions).
To understand macroeconomic forces driving Gold’s price action.
Recommended Timeframes
4-Hour: Ideal for swing traders seeking medium-term setups.
Daily: Perfect for macro trend analysis.
Weekly: Suitable for long-term investors aligning with broader trends.
---------------------------------------------------------------------------------
Practical Example
Monday, January 13, 2025 (Neutral Market)
Market Behavior: Gold stagnated (-0.96%), with low volume (681.13K).
Indicator Insights:
Composite Spillover: -0.92 (mild bearish pressure).
Traffic Signal Line: Gray—stay out of the market.
Bias Line: Weak Bearish (-1), signaling no strong trend.
Result: XAUMOvision kept traders from entering a choppy, low-volume market.
Wednesday, January 15, 2025 (CPI-Driven Rally)
CPI Release: Core CPI softer than expected (0.2% vs. 0.3%), weakening the DXY and Yields. Gold surged.
Indicator Insights:
Composite Spillover: +0.57 (strong bullish sentiment).
Traffic Signal Line: Green—clear buy signal.
Bias Line: Strong Bullish (+2), confirming the trend.
Result: Traders aligned with institutional flows and profited from the CPI-driven rally.
--------------------------------------------------------------------------------
Why XAUMOvision Stands Out
Avoids Bad Trades: Neutral signals and low-volume days keep you sidelined during indecisive markets.
Pinpoints Big Moves: Green signals during high-impact events help you capitalize on major trends.
Volume Validation: Confirms institutional activity to distinguish real trends from fakeouts.
Conclusion: Trade Like a Pro
XAUMOvision blends macroeconomic analysis with real-time technical indicators, ensuring you stay ahead of market moves. Whether navigating neutral markets or CPI-driven surges, this tool provides clarity and confidence in your trading decisions. For swing traders and macro enthusiasts, XAUMOvision is the ultimate weapon in Gold trading.
Green/Red Candle Probability (EMA 7, SMA 20, SMA 200)### Strategy Explanation for Candle Probability Indicator
This script is designed to calculate the **probability of bullish (green) and bearish (red) candles** over a given analysis period. It leverages three key moving averages to identify market trends and display these probabilities directly on the chart, making it easier for traders to make informed decisions.
#### **How the Script Works:**
1. **Trend Detection Using Moving Averages:**
- The script calculates three moving averages:
- **EMA (Exponential Moving Average) over 7 periods**
- **SMA (Simple Moving Average) over 20 periods**
- **SMA over 200 periods**
The trend is classified as:
- **Bullish:** When EMA 7 > SMA 20 > SMA 200
- **Bearish:** When EMA 7 < SMA 20 < SMA 200
2. **Candle Analysis:**
The script analyzes the last "n" candles (based on the user-defined lookback period) to count the number of bullish and bearish candles:
- **Bullish (green) candle:** The closing price is higher than the opening price.
- **Bearish (red) candle:** The closing price is lower than the opening price.
3. **Probability Calculation:**
The probabilities are calculated as a percentage of bullish and bearish candles in the lookback period:
- **Green Probability (%) = (Number of Green Candles / Lookback Period) × 100**
- **Red Probability (%) = (Number of Red Candles / Lookback Period) × 100**
4. **Displaying Results in a Table:**
The results are displayed in a table on the chart, including:
- **Green Probability (%)**
- **Red Probability (%)**
- **Current Trend (Bullish, Bearish, or Neutral)**
#### **Strategy Overview:**
This indicator provides traders with a quick overview of the candle probabilities and the current market trend based on moving averages. It helps traders:
- Gauge the likelihood of bullish or bearish candles appearing in the near future.
- Identify the prevailing trend (bullish, bearish, or neutral).
- Adjust their trading strategies based on statistical probabilities rather than assumptions.
### **Important Notes:**
- The lookback period can be customized between **10 and 200 periods**.
- The indicator does not provide buy/sell signals but gives insights into market behavior.
By understanding the candle probabilities and the trend, traders can better assess market conditions and improve their decision-making process.
Colored Stacked EMA RibbonThis script is my interpretation of an idea from John Carter in his interview with Richard Moglen.
The idea of moving average ribbons or simply multiple moving averages has been around since moving averages were created. But many of these ideas, such as the Guppy Multiple Moving Averages focus on price closes above a moving average (or multiple moving averages).
In this version, the idea is that the EMAs are compared to each other from shortest to longest. In a completely bullish alignment, the EMAs are referred to as "stacked" in which, for example, the 8 EMA > 13 EMA, the 13 EMA > 21 EMA and so on. When the EMAs are "stacked" in a fully bullish alignment, the EMA cloud is filled green. When the EMAs are "stacked" in a fully bearish alignment, the EMA cloud is filled red.
In addition, I've colored the EMA lines themselves according to if they are rising (green) or falling (red) over a user inputted lookback. The default is "1" period, but it is adjustable. (Generally, I use "1" for the lookback.)
When the EMA lines flip from mixed (rising/falling) to all rising, a green triangle is drawn under the bar/candle. Similarly, when the EMA lines flip from mixed (falling/rising) to all falling, a red triangle is drawn over the bar/candle. This gives the user another potential entry in the context of a stacked EMA cloud. It also can give early signals for entry in a neutral cloud.
Candles/bars are colored according to the EMA cloud & EMA line status. So, for example, a bullish stacked EMA cloud (green) and all EMA lines green, will result in a bright green candle color. IF the cloud is green, but the EMA lines are mixed (red/green), this will result in a dark green candle. Similar logic applies to the bearish conditions which result in red (most bearish) or orange (still bearish) candle colors. IF the EMA cloud is neither bullishly stacked or bearishly stacked, then those candles will appear as gray (neutral).
There are many ways to use this script, but it excels in a trending market. John Carter often sets limit buys in an area near the 21D EMA in names that are trending & he wants to get in. The 13D EMA linewidth is set at 2 and the 21D EMA linewidth is set a 3 to easily identify this area. Now, you can "buy the dip" or "short the rip" within the context of a trending market (which the script identifies with green or red EMA clouds). Or you can wait for some confirmation via the green triangle (or something else like a candle stick pattern or trendline break). Remember to set stops in case price goes against you.
1 final note this is not a "magic bullet", but for a single indicator it does alot of work & personally I've found it to be very useful on multiple time frames. I do recommend combining it with volume (or a volume-based indicator).
Update #1: This updated version allows the user to adjust candle colors, forces the script to wait for bar closes on intraday charts (if conditions are met) before plotting triangles, and removes a link to YT. In addition, non-intraday charts (daily, weekly, etc) will flash a triangle intraday (if conditions are met) before updating completely at the close.
Multi SMA EMA VWAP1. Moving Average Crossover
This is one of the most common strategies with moving averages, and it involves observing crossovers between EMAs and SMAs to determine buy or sell signals.
Buy signal: When a faster EMA (like a short-term EMA) crosses above a slower SMA, it can indicate a potential upward movement.
Sell signal: When a faster EMA crosses below a slower SMA, it can indicate a potential downward movement.
With 4 EMAs and 5 SMAs, you can set up crossovers between different combinations, such as:
EMA(9) crosses above SMA(50) → buy.
EMA(9) crosses below SMA(50) → sell.
2. Divergence Confirmation Between EMAs and SMAs
Divergence between the EMAs and SMAs can offer additional confirmation. If the EMAs are pointing in one direction and the SMAs are still in the opposite direction, it is a sign that the movement could be stronger and continue in the same direction.
Positive divergence: If the EMAs are making new highs while the SMAs are still below, it could be a sign that the market is in a strong trend.
Negative divergence: If the EMAs are making new lows and the SMAs are still above, you might consider that the market is in a downtrend or correction.
3. Using EMAs as Dynamic Support and Resistance
EMAs can act as dynamic support and resistance in strong trends. If the price approaches a faster EMA from above and doesn’t break it, it could be a good entry point for a long position (buy). If the price approaches a slower EMA from below and doesn't break it, it could be a good point to sell (short).
Buy: If the price is above all EMAs and approaches the fastest EMA (e.g., EMA(9)), it could be a good buy point if the price bounces upward.
Sell: If the price is below all EMAs and approaches the fastest EMA, it could be a good sell point if the price bounces downward.
4. Combining SMAs and EMAs to Filter Signals
SMAs can serve as a trend filter to avoid trading in sideways markets. For example:
Bullish trend condition: If the longer-term SMAs (such as SMA(100) or SMA(200)) are below the price, and the shorter EMAs are aligned upward, you can look for buy signals.
Bearish trend condition: If the longer-term SMAs are above the price and the shorter EMAs are aligned downward, you can look for sell signals.
5. Consolidation Zone Between EMAs and SMAs
When the price moves between EMAs and SMAs without a clear trend (consolidation zone), you can expect a breakout. In this case, you can use the EMAs and SMAs to identify the direction of the breakout:
If the price is in a narrow range between the EMAs and SMAs and then breaks above the fastest EMA, it’s a sign that an upward trend may begin.
If the price breaks below the fastest EMA, it could indicate a potential downward trend.
6. "Golden Cross" and "Death Cross" Strategy
These are classic strategies based on crossovers between moving averages of different periods.
Golden Cross: Occurs when a faster EMA (e.g., EMA(50)) crosses above a slower SMA (e.g., SMA(200)), which suggests a potential bullish trend.
Death Cross: Occurs when a faster EMA crosses below a slower SMA, which suggests a potential bearish trend.
Additional Recommendations:
Combining with other indicators: You can combine EMA and SMA signals with other indicators like the RSI (Relative Strength Index) or MACD (Moving Average Convergence/Divergence) for confirmation and to avoid false signals.
Risk management: Always use stop-loss and take-profit orders to protect your capital. Moving averages are trend-following indicators but don’t guarantee that the price will move in the same direction.
Timeframe analysis: It’s recommended to use different timeframes to confirm the trend (e.g., use EMAs on hourly charts along with SMAs on daily charts).
VWAP
1. VWAP + EMAs for Trend Confirmation
VWAP can act as a trend filter, confirming the direction provided by the EMAs.
Buy Signal: If the price is above the VWAP and the EMAs are aligned in an uptrend (e.g., short-term EMAs are above longer-term EMAs), this indicates that the trend is bullish and you can look for buy opportunities.
Sell Signal: If the price is below the VWAP and the EMAs are aligned in a downtrend (e.g., short-term EMAs are below longer-term EMAs), this suggests a bearish trend and you can look for sell opportunities.
In this case, VWAP is used to confirm the overall trend. For example:
Bullish: Price above VWAP, EMAs aligned to the upside (e.g., EMA(9) > EMA(50) > EMA(200)), buy.
Bearish: Price below VWAP, EMAs aligned to the downside (e.g., EMA(9) < EMA(50) < EMA(200)), sell.
2. VWAP as Dynamic Support and Resistance
VWAP can act as a dynamic support or resistance level during the day. Combining this with EMAs and SMAs helps you refine your entry and exit points.
Support: If the price is above VWAP and starts pulling back to VWAP, it could act as support. If the price bounces off the VWAP and aligns with bullish EMAs (e.g., EMA(9) crossing above EMA(50)), you can consider entering a buy position.
Resistance: If the price is below VWAP and approaches VWAP from below, it can act as resistance. If the price fails to break through VWAP and aligns with bearish EMAs (e.g., EMA(9) crossing below EMA(50)), it could be a good signal for a sell.