Smart Trend Envelopebased on original and publishing to use the upper and lower values in a strategy
Bands and Channels
Multi-TF Support LevelsThe Multi-TF Support Levels indicator identifies and displays key support levels based on swing lows across three user-selected timeframes.
How it works:
Input Parameters:
Lookback Period (100) — historical depth to search for swing lows.
Timeframe 1-3 (15, 45, 240) — three timeframes (e.g., 15min, 45min, 4hr).
Logic:
For each timeframe, a swing low is detected: the lowest price within the lookback period that is also lower than the two preceding candles.
Support levels update dynamically when new swing lows are formed.
The most recent levels are plotted as horizontal cross marks (blue, red, green for each timeframe).
Purpose: Visualize significant support zones from multiple timeframes to identify confluent areas for trading decisions.
Индикатор Multi-TF Support Levels (Мультитаймфреймовые уровни поддержки) определяет и отображает ключевые уровни поддержки на основе минимумов свингов (swing lows) на трёх выбранных таймфреймах.
Как работает:
Входные параметры:
Lookback Period (100) — глубина анализа для поиска минимумов.
Timeframe 1-3 (15, 45, 240) — три таймфрейма (например, 15 минут, 45 минут, 4 часа).
Логика:
Для каждого таймфрейма определяется свинг-минимум: цена, которая является самой низкой за период lookback и ниже двух предыдущих свечей.
Уровни поддержки обновляются при появлении новых свинг-минимумов.
Последние актуальные уровни отображаются на графике в виде горизонтальных линий-крестиков (синий, красный, зелёный для каждого таймфрейма).
Цель: Визуализировать значимые уровни поддержки с разных таймфреймов для поиска зон "конфлюэнса".
VVIDA & VPDAanalysing trend with deep entry or Sonic R entry to get the best position for a trade with trends confirmed by the VVIDA color.
Red VVIDA line is BEARISH, should only SHORT.
Green VVIDA line is BULLISH, should only LONG.
Stoploss, above VVIDA line for SHORT. Below VVIDA for long.
Still working for Target lines.
Multi-Timeframe Support Levels (Claude)Work features:
Analyzes three periods simultaneously (for example: 15min, 1h and 4h)
Filters false levels based on two criteria:
The minimum must be lower than N adjacent bars (set in "Number of bars for minimum")
Combines close levels (adjusted to "Proximity Percentage")
Draws horizontal lines in different colors for each period.
Updates levels when new data becomes available
Особенности работы:
Анализирует три периода одновременно (например: 15мин, 1ч и 4ч)
Фильтрует ложные уровни по двум критериям:
Минимум должен быть ниже N соседних баров (задается в "Число баров для минимума")
Объединяет близкие уровни (настраивается в "Процент близости")
Рисует горизонтальные линии разными цветами для каждого периода
02 SMC + BB Breakout (Improved)This strategy combines Smart Money Concepts (SMC) with Bollinger Band breakouts to identify potential trading opportunities. SMC focuses on identifying key price levels and market structure shifts, while Bollinger Bands help pinpoint overbought/oversold conditions and potential breakout points. The strategy also incorporates higher timeframe trend confirmation to filter out trades that go against the prevailing trend.
Key Components:
Bollinger Bands:
Calculated using a Simple Moving Average (SMA) of the closing price and a standard deviation multiplier.
The strategy uses the upper and lower bands to identify potential breakout points.
The SMA (basis) acts as a centerline and potential support/resistance level.
The fill between the upper and lower bands can be toggled by the user.
Higher Timeframe Trend Confirmation:
The strategy allows for optional confirmation of the current trend using a higher timeframe (e.g., daily).
It calculates the SMA of the higher timeframe's closing prices.
A bullish trend is confirmed if the higher timeframe's closing price is above its SMA.
This helps filter out trades that go against the prevailing long-term trend.
Smart Money Concepts (SMC):
Order Blocks:
Simplified as recent price clusters, identified by the highest high and lowest low over a specified lookback period.
These levels are considered potential areas of support or resistance.
Liquidity Zones (Swing Highs/Lows):
Identified by recent swing highs and lows, indicating areas where liquidity may be present.
The Swing highs and lows are calculated based on user defined lookback periods.
Market Structure Shift (MSS):
Identifies potential changes in market structure.
A bullish MSS occurs when the closing price breaks above a previous swing high.
A bearish MSS occurs when the closing price breaks below a previous swing low.
The swing high and low values used for the MSS are calculated based on the user defined swing length.
Entry Conditions:
Long Entry:
The closing price crosses above the upper Bollinger Band.
If higher timeframe confirmation is enabled, the higher timeframe trend must be bullish.
A bullish MSS must have occurred.
Short Entry:
The closing price crosses below the lower Bollinger Band.
If higher timeframe confirmation is enabled, the higher timeframe trend must be bearish.
A bearish MSS must have occurred.
Exit Conditions:
Long Exit:
The closing price crosses below the Bollinger Band basis.
Or the Closing price falls below 99% of the order block low.
Short Exit:
The closing price crosses above the Bollinger Band basis.
Or the closing price rises above 101% of the order block high.
Position Sizing:
The strategy calculates the position size based on a fixed percentage (5%) of the strategy's equity.
This helps manage risk by limiting the potential loss per trade.
Visualizations:
Bollinger Bands (upper, lower, and basis) are plotted on the chart.
SMC elements (order blocks, swing highs/lows) are plotted as lines, with user-adjustable visibility.
Entry and exit signals are plotted as shapes on the chart.
The Bollinger band fill opacity is adjustable by the user.
Trading Logic:
The strategy aims to capitalize on Bollinger Band breakouts that are confirmed by SMC signals and higher timeframe trend. It looks for breakouts that align with potential market structure shifts and key price levels (order blocks, swing highs/lows). The higher timeframe filter helps avoid trades that go against the overall trend.
In essence, the strategy attempts to identify high-probability breakout trades by combining momentum (Bollinger Bands) with structural analysis (SMC) and trend confirmation.
Key User-Adjustable Parameters:
Bollinger Bands Length
Standard Deviation Multiplier
Higher Timeframe
Higher Timeframe Confirmation (on/off)
SMC Elements Visibility (on/off)
Order block lookback length.
Swing lookback length.
Bollinger band fill opacity.
This detailed description should provide a comprehensive understanding of the strategy's logic and components.
***DISCLAIMER: This strategy is for educational purposes only. It is not financial advice. Past performance is not indicative of future results. Use at your own risk. Always perform thorough backtesting and forward testing before using any strategy in live trading.***
[TABLE] Moving Average Stage Indicator Table📈 MA Stage Indicator Table
🧠 Overview:
This script analyzes market phases based on moving average (MA) crossovers, classifying them into 6 distinct stages and displaying statistical summaries for each.
🔍 Key Features:
• Classifies market condition into Stage 1 to Stage 6 based on the relationship between MA1 (short), MA2 (mid), and MA3 (long)
• Provides detailed stats for each stage:
• Average Duration
• Average Width (MA distance)
• Slope (Angle) - High / Low / Average
• Shows current stage details in real-time
• Supports custom date range filtering
• Choose MA type: SMA or EMA
• Optional background coloring for stages
• Clean summary table displayed on the chart
ADR Nivele Horizontale dhe EMAThe user provided a Pine Script code for an indicator called "ADR Nivele Horizontale dhe EMA". The task is to explain how this code works. Hmm, first, I need to understand what this indicator does. The title mentions ADR levels and EMA, so it's probably combining horizontal lines based on Average Daily Range and some Exponential Moving Averages.
Looking at the code, the first part is the indicator declaration with version 6. The settings include an ADR period, levels above and below the mid, and line style. Then there's a section for calculations. They request daily high and low to compute the daily range. The ADR is the SMA of the daily range over the specified period. The mid is the average of daily high and low. The adr_val is half of ADR, maybe to create symmetrical levels around the mid.
Next, they create arrays for lines and labels above and below the mid. The loops go from 1 to levels_above/below, calculate each level, draw lines and labels. The mid line is also drawn with a different color. Then, there are several EMAs plotted: 13, 50, 200, 400, 600, 800, each with different colorsWait, but in Pine Script, when you use arrays to store lines and labels, you have to manage them properly to avoid repainting or memory issues. The code uses array.concat to add new lines and labels each bar. However, since this code is running on each bar, the for loops might be creating multiple lines each time, leading to too many objects. Oh right, but they use var to initialize the arrays, so they are only initialized once. Wait, no. The var keyword initializes the variable once, but in each iteration, they are concatenating new lines. Wait, no: the for loops are inside the main script, which runs on each bar. So every time a new bar is processed, the loops will run again, adding new lines and labels. That's a problem because each bar would create new lines, leading to an ever-increasing number of lines, which could hit the maximum limit (max_lines_count is set to 20, but maybe they have more bars). Oh, the indicator has max_lines_count=20, but the code might be creating multiple lines per bar. So maybe the code isn't handling the line management correctly. For example, if levels_above is 2, then each bar would create 2 new lines above and 2 below, plus the mid line. Over 20 bars, that's way over 20 lines. So this could cause the indicator to stop drawing after 20 lines. The user might not have realized that the lines are being recreated every bar, leading to a buildup. But perhaps the original code intended to have the lines update each bar, extending to the current bar. Let's see: in line.new, they use bar_index as the starting x1 and bar_index as x2. So each line is drawn from the previous bar's index to the current one. But since this is done on every bar, each line is only one bar long. Wait, no. Because on each new bar, the code creates a new line from the previous bar's index (bar_index , which is now the bar before the current one) to the current bar_index. So each line is just a segment from the previous bar to the current bar. But when the next bar comes, a new line is created again. So the result is that each level line is a series of one-bar-length segments, which might not be intended. The user probably wants continuous lines that extend from the left to the right, not just per bar. So this approach is incorrect. The correct way would be to have a line that starts at the first bar of the calculation and extends to the right, updating each bar. But the current code creates a new line each bar, leading to multiple short lines instead of one continuous line. That's a mistake.
So the main issue here is that the code is generating a new line segment for each bar, which is not efficient and would quickly hit the line limit. To fix this, instead of creating a new line every bar, they should create the line once and then update its position each bar. But in Pine Script, you can't directly update a line after it's created; instead, you need to track the line ID and use line.set_xy() to extend it. However, the current code uses array.concat to add new lines each bar, which isn't the right approach.
Therefore, the code as written will create multiple short lines instead of continuous horizontal lines. The correct approach for horizontal levels that extend to the right is to create the line once, starting at a certain bar and extending indefinitely, or to update the line's end point each new bar. But in Pine Script, you can't extend lines infinitely; you have to manage them each bar. Alternatively, using the 'line.extend' style might help, but I think the original code's logic is flawed here.
Additionally, the EMA part is straightforward: plotting multiple EMAs with different periods. That part should work as expected.
So the explanation should mention that the ADR levels are calculated based on the daily high and low, then the code attempts to draw horizontal lines above and below the mid-point. However, the way the lines are drawn may lead to multiple short segments instead of continuous lines, potentially causing performance issues or hitting the maximum line count. The EMAs are plotted correctly with various periods..
Fibonacci BB Strategy with RSI + 2% Exit📈 Fibonacci BB Strategy with RSI + 2% Profit Exit
This strategy combines a VWMA-based Bollinger Band system with RSI confirmation and a 2% profit-taking mechanism, offering a balanced blend of trend and momentum trading.
🔍 Key Features:
✅ VWMA-Based Bands: Uses a 200-period Volume Weighted Moving Average (VWMA) to create dynamic support and resistance bands with standard deviation. Helps capture trend direction with volume-weighted precision.
✅ Entry Signals:
Long Entry: When price crosses above the upper VWMA band.
Short Entry: When price crosses below the lower VWMA band.
✅ Exit Conditions:
Profit Target: Positions close automatically at a 2% profit (customizable).
RSI-Based Exit:
Longs close when RSI < 30 (oversold).
Shorts close when RSI > 70 (overbought).
✅ Built-in Risk Management: Avoids greed-based exits by locking in profits early or exiting on reversal signals.
⚙️ User Inputs:
VWMA length (default: 200)
Deviation multiplier for bands (default: 3.0)
RSI length (default: 14)
Profit target in % (default: 2%)
🧠 How to Use:
Works best in strong trending markets.
Can be combined with higher-timeframe trend filters or volume analysis.
Suitable for both swing trading and intraday strategies.
TJR Strategy Ultimate ProAll done — your TJR Strategy Ultimate indicator is now fully coded and live in the canvas.
This version includes:
Liquidity sweeps
OB and FVG zones
Session filter
RSI + multi-timeframe bias
Alerts + webhook formatting
Auto-drawing Entry / SL / TP boxes
Dashboard panel
Previous session highs/lows & equal highs/lows
Hanstrading-buysignalbreakoutTrading method based on donchian channel method and breakout strategy.
Buy on big buy signal and sell the entire portfolio on big sell signal reversal. Buy more at pullback points.
Vice versa for bearish trading.
SMA Crossover + MACD Zero Filter by AaronEscaThis indicator combines Simple Moving Average crossovers with a MACD zero-line filter to provide reliable buy/sell signals with momentum confirmation.
Toggle between:
20/50 SMA crossover – classic trend confirmation
9/20 SMA crossover – early reversal signals
Includes:
Visual fill between SMAs
MACD filter to confirm momentum
Instant BUY/SELL labels
Alerts for bullish and bearish entries
Created by AaronEsca to help traders reduce noise and act with confidence. Great for swing traders and intraday setups on the 15m–4H timeframes.
Mr gold ema5 cross ma21ema5 crossover ma21
ema5 white (5days)
ma21 red (1month)
ma50 orange (50days)
ma63 yellow (3month)
ma84 green (4month)
ma200 blue (200days)
ATR Probability + MAs + Bollinger Bands PROATR Probability + MAs + Bollinger Bands
Made by DeepSeek))
BTC High-Win Strategy### 📌 **BTC High-Win Strategy (Short Only) - TradingView Indicator**
This **short-only** indicator is designed for Bitcoin traders who focus on high-probability shorting opportunities. It integrates multiple confirmation signals to ensure **accurate entry and exit points** in bearish conditions.
### **🔹 Key Features:**
✅ **Trend Confirmation:** Uses the **200 EMA** to ensure trades align with the dominant bearish trend.
✅ **Momentum & Reversal Signals:** Detects overbought conditions with **RSI (Relative Strength Index) & Bollinger Bands**.
✅ **Breakout Confirmation:** Uses **VWAP (Volume-Weighted Average Price) & ATR** for volatility-based entries.
✅ **Sell Signals:**
- **Sell (Trend-Following):** When **MACD crosses below Signal Line**, price is under **200 EMA**, and RSI < 50.
- **Sell (Reversal):** When price hits the **upper Bollinger Band**, RSI > 70, and crosses down.
🔴 **Red Down Arrows** → Strong Short Entry
🟠 **Orange Down Arrows** → Overbought Short Entry
### **📌 How to Use:**
1️⃣ Copy and paste the script into **TradingView’s Pine Editor**.
2️⃣ Click **Add to Chart** to activate it.
3️⃣ **Enter Shorts** when a signal appears and confirm with volume analysis.
4️⃣ **Exit** based on next support level or **RSI returning to neutral**.
Would you like me to optimize it further for **scalping or swing trading?** 🚀
ITACHIHitachi in your case in case you want a little more about what was a great time in this time to take
ITACHI EMASItachi in all I have is about what was this email will not let go about how you can see it as possible in order that was just a few things
PowerZone Trading StrategyExplanation of the PowerZone Trading Strategy for Your Users
The PowerZone Trading Strategy is an automated trading strategy that detects strong price movements (called "PowerZones") and generates signals to enter a long (buy) or short (sell) position, complete with predefined take profit and stop loss levels. Here’s how it works, step by step:
1. What is a PowerZone?
A "PowerZone" (PZ) is a zone on the chart where the price has shown a significant and consistent movement over a specific number of candles (bars). There are two types:
Bullish PowerZone (Bullish PZ): Occurs when the price rises consistently over several candles after an initial bearish candle.
Bearish PowerZone (Bearish PZ): Occurs when the price falls consistently over several candles after an initial bullish candle.
The code analyzes:
A set number of candles (e.g., 5, adjustable via "Periods").
A minimum percentage move (adjustable via "Min % Move for PowerZone") to qualify as a strong zone.
Whether to use the full candle range (highs and lows) or just open/close prices (toggle with "Use Full Range ").
2. How Does It Detect PowerZones?
Bullish PowerZone:
Looks for an initial bearish candle (close below open).
Checks that the next candles (e.g., 5) are all bullish (close above open).
Ensures the total price movement exceeds the minimum percentage set.
Defines a range: from the high (or open) to the low of the initial candle.
Bearish PowerZone:
Looks for an initial bullish candle (close above open).
Checks that the next candles are all bearish (close below open).
Ensures the total price movement exceeds the minimum percentage.
Defines a range: from the high to the low (or close) of the initial candle.
These zones are drawn on the chart with lines: green or white for bullish, red or blue for bearish, depending on the color scheme ("DARK" or "BRIGHT").
3. When Does It Enter a Trade?
The strategy waits for a breakout from the PowerZone range to enter a trade:
Buy (Long): When the price breaks above the high of a Bullish PowerZone.
Sell (Short): When the price breaks below the low of a Bearish PowerZone.
The position size is set to 100% of available equity (adjustable in the code).
4. Take Profit and Stop Loss
Take Profit (TP): Calculated as a multiple (adjustable via "Take Profit Factor," default 1.5) of the PowerZone height. For example:
For a buy, TP = Entry price + (PZ height × 1.5).
For a sell, TP = Entry price - (PZ height × 1.5).
Stop Loss (SL): Calculated as a multiple (adjustable via "Stop Loss Factor," default 1.0) of the PZ height, placed below the range for buys or above for sells.
5. Visualization on the Chart
PowerZones are displayed with lines on the chart (you can hide them with "Show Bullish Channel" or "Show Bearish Channel").
An optional info panel ("Show Info Panel") displays key levels: PZ high and low, TP, and SL.
You can also enable brief documentation on the chart ("Show Documentation") explaining the basic rules.
6. Alerts
The code generates automatic alerts in TradingView:
For a bullish breakout: "Bullish PowerZone Breakout - LONG!"
For a bearish breakdown: "Bearish PowerZone Breakdown - SHORT!"
7. Customization
You can tweak:
The number of candles to detect a PZ ("Periods").
The minimum percentage move ("Min % Move").
Whether to use highs/lows or just open/close ("Use Full Range").
The TP and SL factors.
The color scheme and what elements to display on the chart.
Practical Example
Imagine you set "Periods = 5" and "Min % Move = 2%":
An initial bearish candle appears, followed by 5 consecutive bullish candles.
The total move exceeds 2%.
A Bullish PowerZone is drawn with a high and low.
If the price breaks above the high, you enter a long position with a TP 1.5 times the PZ height and an SL equal to the height below.
The system executes the trade and exits automatically at TP or SL.
Conclusion
This strategy is great for capturing strong price movements after consolidation or momentum zones. It’s automated, visual, and customizable, making it useful for both beginner and advanced traders. Try it out and adjust it to fit your trading style!
Volume Delta Divergence + Bollinger Bands (Filtered)📌 Volume Delta Divergence with Bollinger Bands (Filtered)
This script combines Volume Delta Divergence detection with Bollinger Bands to help identify high-probability buy and sell signals based on volume behavior and price action.
🔍 Key Features:
✅ Divergence Detection: Identifies when price moves in one direction (green/red candle), but the delta volume (buy vs sell volume) moves in the opposite direction — a common sign of hidden weakness or strength.
✅ Volume Strength Filter: Filters out weak divergence signals by checking if the delta volume is significantly larger than its historical average (user-defined lookback).
✅ Breakout Confirmation: A signal is only triggered when the next candle breaks the high or low of the divergence candle.
✅ Bollinger Bands Overlay: Adds standard Bollinger Bands (20-period SMA ± 2 standard deviations by default) for trend and volatility analysis.
✅ Clean Signal Display: Plots "BUY" and "SELL" labels only when strong divergences occur, reducing noise and false signals.
⚙️ User Inputs:
Custom timeframe for volume delta analysis
Delta volume average lookback period
Bollinger Band settings (length & deviation)
🧠 How to Use:
Use the divergence signals in conjunction with Bollinger Band positioning.
Consider SELL signals stronger when they occur near the upper Bollinger Band, and BUY signals near the lower band.
Combine with price action or RSI for added confluence.
Fibonacci BB Strategy with RSI + 2% Exit📈 Fibonacci BB Strategy with RSI + 2% Exit
This TradingView strategy combines Fibonacci Bollinger Bands (FBB) with Relative Strength Index (RSI) and a fixed 2% profit-taking mechanism to generate long and short trading signals. It’s designed for traders who want to capitalize on strong price movements with clear trend signals and smart exit logic.
🔍 What This Strategy Does
This script enters trades based on breakouts from a custom Bollinger Band derived from the VWMA (Volume Weighted Moving Average) and standard deviation, using the full 1.0 Fibonacci level. It then exits positions based on either:
A fixed 2% profit target, or
RSI-based reversal signals to lock in profits or limit downside.
📐 Indicator Components
VWMA Basis Line (Fuchsia)
A 200-period Volume Weighted Moving Average (VWMA), which forms the central basis of the Fibonacci Bollinger Bands. This line adjusts dynamically with volume, giving a better representation of trend direction in actively traded markets.
Upper Band (Red)
Calculated as: VWMA + (1 × standard deviation)
Represents a potential resistance or breakout trigger.
Lower Band (Green)
Calculated as: VWMA - (1 × standard deviation)
Represents a potential support or breakdown trigger.
RSI (Relative Strength Index)
A 14-period RSI is used to filter exits when momentum weakens:
RSI < 30 signals oversold (potential long exit).
RSI > 70 signals overbought (potential short exit).
🎯 Trade Entry Logic
Long Entry:
Triggered when the closing price crosses above the Upper Band (red).
Interpreted as bullish momentum strong enough to break resistance.
Short Entry:
Triggered when the closing price crosses below the Lower Band (green).
Interpreted as bearish momentum breaking through support.
🚪 Trade Exit Logic
Profit Target (2%):
For long positions: closes trade when price increases 2% above entry.
For short positions: closes trade when price drops 2% below entry.
RSI-Based Exit:
Long position: Exit if RSI < 30 (momentum weakening).
Short position: Exit if RSI > 70 (momentum fading).
This two-pronged exit strategy ensures that trades are closed either when the target is hit or when momentum reverses, offering flexibility and risk control.
⚙️ Customizable Inputs
VWMA Length – Number of periods for VWMA (default: 200)
Source – Price source for VWMA and bands (default: HLC3)
Deviation Multiplier – Standard deviation multiplier (default: 3.0)
RSI Length – RSI period (default: 14)
Profit Target (%) – Fixed percentage profit target (default: 2.0%)
📌 Best Use Cases
Trend Breakout Strategy: Captures momentum moves as price breaks out of key VWMA-based levels.
Scalping and Swing Trades: Can work on intraday or higher timeframes.
Risk-Controlled Trading: Combines price action with momentum and fixed-profit rules.
✅ Visual Aids
Fuchsia Line: VWMA basis
Red Line: Upper Band (buy trigger)
Green Line: Lower Band (sell trigger)
These help you see when the strategy will enter or exit trades based on key technical levels.
HADC Indicatorjust trying one to create hadc signal based on heikinashi candles. clear buy and sell signals