Weighted Regression Bands (Zeiierman)█ Overview
Weighted Regression Bands is a precision-engineered trend and volatility tool designed to adapt to the real market structure instead of reacting to price noise.
This indicator analyzes Weighted High/Low medians and applies user-selectable smoothing methods — including Kalman Filtering, ALMA, and custom Linear Regression — to generate a Fair Value line. Around this, it constructs dynamic standard deviation bands that adapt in real-time to market volatility.
The result is a visually clean and structurally intelligent trend framework suitable for breakout traders, mean reversion strategies, and trend-driven analysis.
█ How It Works
⚪ Structural High/Low Analysis
At the heart of this indicator is a custom high/low weighting system. Instead of using just the raw high or low values, it calculates a midline = (high + low) / 2, then applies one of three weighting methods to determine which price zones matter most.
Users can select the method using the “Weighted HL Method” setting:
Simple
Selects the single most dominant median (highest or lowest) in the lookback window. Ideal for fast, reactive signals.
Advanced
Ranks each bar based on a composite score: median × range × recency. This method highlights structurally meaningful bars that had both volatility and recency. A built-in Kalman filter is applied for extra stability.
Smooth
Blends multiple bars into a single weighted average using smoothed decay and range. This provides the softest and most stable structural response.
⚪ Smoothing Methods (ALMA / Linear Regression)
ALMA provides responsive, low-lag smoothing for fast trend reading.
Linear Regression projects the Fair Value forward, ideal for trend modeling.
⚪ Kalman Smoothing Filter
Before trend calculations, the indicator applies an optional Kalman-style smoothing filter. This helps:
Reduce choppy false shifts in trend,
Retain signal clarity during volatile periods,
Provide stability for long-term setups.
⚪ Deviation Bands (Dynamic Volatility Envelopes)
The indicator builds ±1, ±2, and ±3 standard deviation bands around the fair value line:
Calculated from the standard deviation of price,
Bands expand and contract based on recent volatility,
Visualizes potential overbought/oversold or trending conditions.
█ How to Use
⚪ Trend Trading & Filtering
Use the Fair Value line to identify the dominant direction.
Only trade in the direction of the slope for higher probability setups.
⚪ Volatility-Based Entries
Watch for price reaching outer bands (+2σ, +3σ) for possible exhaustion.
Mean reversion entries become higher quality when far from Fair Value.
█ Settings
Length – Lookback for Weighted HL and trend smoothing
Deviation Multiplier – Controls how wide the bands are from the fair value line
Method – Choose between ALMA or Linear Regression smoothing
Smoothing – Strength of Kalman Filter (1 = none, <1 = stronger smoothing)
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicators and strategies
Long Wick Detector [LuxAlgo]The Long Wick Detector tool allows traders to identify candle wicks longer than a user-defined volatility threshold. This makes it useful for spotting zones with high supply or demand.
The tool displays mitigated and unmitigated levels and changes the color of the candles based on wick size and level breakouts.
🔶 USAGE
By default, the tool displays long mitigated and unmitigated candle wicks, with a maximum duration for an unmitigated long wick of 1,000 bars. What does all this mean?
🔹 Wick Threshold
Traders can adjust the volatility threshold to identify long wicks, with a higher threshold detecting more significant wicks.
As we can see in the image above, the tool detects more wicks with a smaller threshold compared to a higher one.
🔹 Level %
Traders can choose the percentage of the wick at which the level is located. By default, the level is displayed at the extremes of the wick. This parameter accepts values between 0 and 100.
100: extreme of the wick
50: middle of the wick
0: start of the wick
🔹 Max Duration
This parameter allows traders to specify the number of bars for the levels. The tool will only display mitigated or unmitigated levels up to the specified number of bars.
As shown in the above image, a longer duration allows more room for mitigation, displaying more levels.
🔹 Colored Candles
The tool allows for color customization using two parameters from the settings panel. The chart shows the different outputs.
The setting "Wick-Based Transparency" makes candles with smaller wicks less visible and candles with longer wicks more visible.
On the other hand, "Breakout-Based Color" changes the base color of the candles based on the mitigation of long wicks. When the price breaks above a detected top wick, the bullish color is used. When the price breaks below a detected bottom wick, the bearish color is used.
🔶 SETTINGS
Wick Threshold: The volatility threshold for wick detection. Use a smaller value to detect smaller wicks.
Level %: Placement of the plotted level relative to the wick.
Max Duration: The maximum duration in bars of mitigated wicks.
Mitigated Wicks: Enable or disable mitigated wicks.
🔹 Style
Wick Based Transparency: Make candles with smaller wicks more transparent and candles with longer wicks more solid.
Breakout Based Color: Change the base color based on wick mitigation.
Bullish & Bearish Colors
Enhanced BTC Order Block IndicatorThe script you provided is an "Enhanced BTC Order Block Indicator" written in Pine Script v5 for TradingView. It is designed to identify and visually mark Order Blocks (OBs) on a Bitcoin (BTC) price chart, specifically tailored for a high-frequency scalping strategy on the 5-minute (M5) timeframe. Order Blocks are key price zones where institutional traders are likely to have placed significant buy or sell orders, making them high-probability areas for reversals or continuations. The script incorporates customizable filters, visual indicators, and alert functionality to assist traders in executing the strategy outlined earlier.
Key Features and Functionality
Purpose:
The indicator detects bullish Order Blocks (buy zones) and bearish Order Blocks (sell zones) based on a predefined percentage price movement (default 0.5–1%) and volume confirmation.
It marks these zones on the chart with colored boxes and provides alerts when an OB is detected.
User-Configurable Inputs:
Price Move Range: minMovePercent (default 0.5%) and maxMovePercent (default 1.0%) define the acceptable price movement range for identifying OBs.
Volume Threshold: volumeThreshold (default 1.5x average volume) ensures OB detection is backed by significant trading activity.
Lookback Period: lookback (default 10 candles) determines how many previous candles are analyzed to find the last candle before a strong move.
Wick/Body Option: useWick (default false) allows users to choose whether the OB zone is based on the candle’s wick or body.
Colors: bullishOBColor (default green) and bearishOBColor (default red) set the visual appearance of OB boxes.
Box Extension: boxExtension (default 100 bars) controls how far the OB box extends to the right on the chart.
RSI Filter: useRSI (default true) enables an RSI filter, with rsiLength (default 14), rsiBullishThreshold (default 50), and rsiBearishThreshold (default 50) for trend confirmation.
M15 Support/Resistance: useSR (default true) and srLookback (default 20) integrate M15 timeframe swing highs and lows for additional OB validation.
Core Logic:
Bullish OB Detection: Identifies a strong upward move (0.5–1%) with volume above the threshold. It then looks back to the last bearish candle before the move to define the OB zone. RSI > 50 and proximity to M15 support/resistance (optional) enhance confirmation.
Bearish OB Detection: Identifies a strong downward move (0.5–1%) with volume confirmation, tracing back to the last bullish candle. RSI < 50 and M15 resistance proximity (optional) add validation.
The OB zone is drawn as a rectangle from the high to low of the identified candle, extended rightward.
Visual Output:
Boxes: Uses box.new to draw OB zones, with left set to the previous bar (bar_index ), right extended by boxExtension, top and bottom defined by the OB’s high and low prices. Each box includes a text label ("Bullish OB" or "Bearish OB") and is semi-transparent.
Colors distinguish between bullish (green) and bearish (red) OBs.
Alerts:
Global alertcondition definitions trigger notifications for "Bullish OB Detected" and "Bearish OB Detected" when the respective conditions are met, displaying the current close price in the message.
Helper Functions:
f_priceChangePercent: Calculates the percentage price change between open and close prices.
isNearSR: Checks if the price is within 0.2% of M15 swing highs or lows for support/resistance confluence.
How It Works
The script runs on each candle, evaluating the current price action against the user-defined criteria.
When a bullish or bearish move is detected (meeting the percentage, volume, RSI, and S/R conditions), it identifies the preceding candle to define the OB zone.
The OB is then visualized on the chart, and an alert is triggered if configured in TradingView.
Use Case
This indicator is tailored for your BTC scalping strategy, where trades last 1–15 minutes targeting 0.3–0.5% gains. It helps traders spot institutional order zones on the M5 chart, confirmed by secondary M1 analysis, and integrates with your use of EMAs, RSI, and volume. The customizable settings allow adaptation to varying market conditions or personal preferences.
Limitations
The M15 S/R detection is simplified (using swing highs/lows), which may not always align perfectly with manual support/resistance levels.
Alerts depend on TradingView’s alert system and require manual setup.
Performance may vary with high volatility or low-volume periods, necessitating parameter adjustments.
cd_respect2_EQ_Cx🔹 Overview :
Many traders form a bias or look for trade setups by analyzing the high (H) and low (L) of previous higher timeframe candles. For example: a close above the previous daily high, a failure to close after breaking the high, or approaching the level without making a new high. As we’ve been taught to focus on these key levels, I wanted to draw attention to what's happening at the mid-levels (Equilibrium) of the current and higher timeframe candles.
We’ve all heard the phrase “Strong price reacts from equilibrium,” yet most of us wait at the extremes.
While working on equilibrium levels of both higher timeframes and the current timeframe, I noticed that when a current candle closes above/below the previous HTF candle's high/low, price often respects the part of the candle that caused the break — which I refer to as the Last Block. When respected, price tends to continue with momentum; when lost, a pullback or reversal often follows.
________________________________________
🔹 About the Indicator:
This tool analyzes four different higher timeframes and shows:
• Current candle equilibrium levels
• Previous candle equilibrium levels (2 display options):
1. On Box – classic display
2. On Candle – equilibrium is linked to the last candle that includes the level, making those candles more meaningful or "strengthened"
• Alerts (standard) and on-screen warnings when price approaches previous equilibrium levels
• High/Low levels of previous HTF candles
• High/Low levels of live HTF candles
• Last Block: the upper or lower part of the candle that caused the breakout when price closes above/below the previous HTF high/low
• Countdown timer until the close of selected HTFs
________________________________________
🔹 Menus & Usage:
🔸 Show/Hide Tab:
• Toggle Previous Equilibrium display (On Candle / On Box)
• Toggle Live Equilibrium levels, color selection, and left extension
• Toggle Current Candle Equilibrium and colors
• Alert on Chart: flashing on-screen visual alert
• Approach Limit: sets how close price must be to trigger alert
• Remaining Time (RT): toggle countdown display for selected timeframes
________________________________________
🔸 HTF H/L Levels Tab:
• Show previous and live HTF candle highs/lows
• Customize colors, starting points, and left extension options
________________________________________
🔸 Timeframes & Options Tab:
• Select which timeframes to display
• Choose level colors
• Enable price alerts
• Control visibility in the time chart
• Toggle Last Block display (close-to-high/low)
🔸 Look Back HTF Candles Tab:
• Delete filled levels: removes invalidated zones; only unmitigated remain
• Back Control: set how many candles to look back per timeframe (unlimited if not set)
________________________________________
🔸 HTF Boxes Tab:
• Display HTF candles in boxes
• Set colors (single color or per timeframe)
• Adjust font sizes across the chart
________________________________________
🔹 Usage & Last Blocks:
The core idea behind both equilibrium levels and last blocks is:
Price should “gain” and respect them to validate continuation.
Viewing multiple timeframes together strengthens bias.
Each level is treated as part of the candle it's associated with — defining the “area to be gained.”
“Did price respect the level because of that candle, or did the candle gain significance because it aligned with the level? That’s open for debate.”
(In my opinion, the candle gains significance because it aligns with the level.)
When respected, these levels/blocks act as support; when lost, they act as resistance.
In suitable timeframes, reclaiming previous equilibrium levels may be interpreted as choch/ cisd / idm depending on the context.
The real-time equilibrium box is colored bullish if the price is above the equilibrium level across all selected timeframes, bearish if below, and range-colored when in between. (Bias)
________________________________________
🔹 Usage Example – Last Blocks:
I personally trade on 1-minute and use Daily / H4 / H1 / 15m as selected timeframes.
For example, if price reclaims the previous 15m level, I view it as a change of character. I then expect the next candle to show respect in that direction.
Choose timeframes based on your trading style.
Sometimes, HTF levels (past and live) cluster tightly — these areas are key watch zones for me.
That’s the reason I decided to share this indicator.
________________________________________
🔹 Chart Examples:
🔸 Example 1:
Price closes above both the 12:45 15m candle and the 12:00 H1 equilibrium levels.
Last Block forms. After retracing, price mitigates the block and respects live equilibrium levels (H4/H1/15m).
🔸 Example 2:
Explained on chart – Levels that pushed price down in the bearish trend later acted as support.
🔸 Example 3 – CHoCH/CISD/IDM Alternative:
Explained on chart – Replacing structural signals with equilibrium levels.
Trick: I see this pattern often — very effective.
🔸 Example 4:
Many levels are clustered in a narrow range; price shows respect across the board.
________________________________________
🔹 Final Note:
Hope you like the tool. I’d love to hear your thoughts and suggestions.
"Keep in mind, strong price reverses from equilibrium."
Cheerful trading!
Enjoy!
Notes: "Examples have been added to the comments section."
Multi-Timeframe Sweep and AlertThis indicator is designed to be used with the Fractal Model in that it will visually alert you when there has been a sweep on the 15m, 30m, 1h, and 4H time frames. You can also have it send you alerts as well
Candle Range DetectorCandle Range Detector
// Pine Script v6
// Detects candle-based ranges, mitigations, and sweeps with advanced logic
Overview
This indicator automatically detects price ranges based on candle containment, then tracks when those ranges are mitigated (broken) and when a sweep occurs. It is designed for traders who want to identify liquidity events and range breaks with precision.
How It Works
- Range Detection: A range is formed when a candle is fully contained within the previous candle (its high is lower and its low is higher). This marks a potential area of price balance or liquidity.
- Mitigation: A range is considered mitigated when price closes beyond its extension levels (configurable by normal or Fibonacci logic). This signals that the range has been invalidated or "taken out" by price action.
- Sweep Detection: After mitigation, the script watches for a sweep event: a candle that both trades through the range extreme and closes decisively beyond the log-mid of the candle itself. This is a strong sign of a liquidity grab or stop run.
- Alerts & Visuals: You can enable alerts and on-chart labels for sweeps. Only the most recent mitigated range can be swept, and each range can only be swept once.
- Timeframe Sensitivity: On weekly or monthly charts, a candle can both mitigate and sweep a range on the same bar. On lower timeframes, only one event can occur per bar.
Why It Works
- Candle containment is a robust way to identify natural price ranges and liquidity pools, as it reflects where price is consolidating or being absorbed.
- Mitigation marks the moment when a range is no longer defended, often leading to new directional moves.
- Sweeps are powerful signals of stop hunts or liquidity grabs, especially when confirmed by a close beyond the log-mid of the candle, indicating strong intent.
Visual Explanation
Tip: Use this tool to spot high-probability reversal or continuation zones, and to get alerted to key liquidity events in real time.
Ultimate Scalping Tool[BullByte]Overview
The Ultimate Scalping Tool is an open-source TradingView indicator built for scalpers and short-term traders released under the Mozilla Public License 2.0. It uses a custom Quantum Flux Candle (QFC) oscillator to combine multiple market forces into one visual signal. In plain terms, the script reads momentum, trend strength, volatility, and volume together and plots a special “candlestick” each bar (the QFC) that reflects the overall market bias. This unified view makes it easier to spot entries and exits: the tool labels signals as Strong Buy/Sell, Pullback (a brief retracement in a trend), Early Entry, or Exit Warning . It also provides color-coded alerts and a small dashboard of metrics. In practice, traders see green/red oscillator bars and symbols on the chart when conditions align, helping them scalp or trend-follow without reading multiple separate indicators.
Core Components
Quantum Flux Candle (QFC) Construction
The QFC is the heart of the indicator. Rather than using raw price, it creates a candlestick-like bar from the underlying oscillator values. Each QFC bar has an “open,” “high/low,” and “close” derived from calculated momentum and volatility inputs for that period . In effect, this turns the oscillator into intuitive candle patterns so traders can recognize momentum shifts visually. (For comparison, note that Heikin-Ashi candles “have a smoother look because take an average of the movement”. The QFC instead represents exact oscillator readings, so it reflects true momentum changes without hiding price action.) Colors of QFC bars change dynamically (e.g. green for bullish momentum, red for bearish) to highlight shifts. This is the first open-source QFC oscillator that dynamically weights four non-correlated indicators with moving thresholds, which makes it a unique indicator on its own.
Oscillator Normalization & Adaptive Weights
The script normalizes its oscillator to a fixed scale (for example, a 0–100 range much like the RSI) so that various inputs can be compared fairly. It then applies adaptive weighting: the relative influence of trend, momentum, volatility or volume signals is automatically adjusted based on current market conditions. For instance, in very volatile markets the script might weight volatility more heavily, or in a strong trend it might give extra weight to trend direction. Normalizing data and adjusting weights helps keep the QFC sensitive but stable (normalization ensures all inputs fit a common scale).
Trend/Momentum/Volume/Volatility Fusion
Unlike a typical single-factor oscillator, the QFC oscillator fuses four aspects at once. It may compute, for example, a trend indicator (such as an ADX or moving average slope), a momentum measure (like RSI or Rate-of-Change), a volume-based pressure (similar to MFI/OBV), and a volatility measure (like ATR) . These different values are combined into one composite oscillator. This “multi-dimensional” approach follows best practices of using non-correlated indicators (trend, momentum, volume, volatility) for confirmation. By encoding all these signals in one line, a high QFC reading means that trend, momentum, and volume are all aligned, whereas a neutral reading might mean mixed conditions. This gives traders a comprehensive picture of market strength.
Signal Classification
The script interprets the QFC oscillator to label trades. For example:
• Strong Buy/Sell : Triggered when the oscillator crosses a high-confidence threshold (e.g. breaks clearly above zero with strong slope), indicating a well-confirmed move. This is like seeing a big green/red QFC candle aligned with the trend.
• Pullbacks : Identified when the trend is up but momentum dips briefly. A Pullback Buy appears if the overall trend is bullish but the oscillator has a short retracement – a typical buying opportunity in an uptrend. (A pullback is “a brief decline or pause in a generally upward price trend”.)
• Early Buy/Sell : Marks an initial swing in the oscillator suggesting a possible new trend, before it is fully confirmed. It’s a hint of momentum building (an early-warning signal), not as strong as the confirmed “Strong” signal.
• Exit Warnings : Issued when momentum peaks or reverses. For instance, if the QFC bars reach a high and start turning red/green opposite, the indicator warns that the move may be ending. In other words, a Momentum Peak is the point of maximum strength after which weakness may follow.
These categories correspond to typical trading concepts: Pullback (temporary reversal in an uptrend), Early Buy (an initial bullish cross), Strong Buy (confirmed bullish momentum), and Momentum Peak (peak oscillator value suggesting exhaustion).
Filters (DI Reversal, Dynamic Thresholds, HTF EMA/ADX)
Extra filters help avoid bad trades. A DI Reversal filter uses the +DI/–DI lines (from the ADX system) to require that the trend direction confirms the signal . For example, it might ignore a buy signal if the +DI is still below –DI. Dynamic Thresholds adjust signal levels on-the-fly: rather than fixed “overbought” lines, they move with volatility so signals happen under appropriate market stress. An optional High-Timeframe EMA or ADX filter adds a check against a larger timeframe trend: for instance, only taking a trade if price is above the weekly EMA or if weekly ADX shows a strong trend. (Notably, the ADX is “a technical indicator used by traders to determine the strength of a price trend”, so requiring a high-timeframe ADX avoids trading against the bigger trend.)
Dashboard Metrics & Color Logic
The Dashboard in the Ultimate Scalping Tool (UST) serves as a centralized information hub, providing traders with real-time insights into market conditions, trend strength, momentum, volume pressure, and trade signals. It is highly customizable, allowing users to adjust its appearance and content based on their preferences.
1. Dashboard Layout & Customization
Short vs. Extended Mode : Users can toggle between a compact view (9 rows) and an extended view (13 rows) via the `Short Dashboard` input.
Text Size Options : The dashboard supports three text sizes— Tiny, Small, and Normal —adjustable via the `Dashboard Text Size` input.
Positioning : The dashboard is positioned in the top-right corner by default but can be moved if modified in the script.
2. Key Metrics Displayed
The dashboard presents critical trading metrics in a structured table format:
Trend (TF) : Indicates the current trend direction (Strong Bullish, Moderate Bullish, Sideways, Moderate Bearish, Strong Bearish) based on normalized trend strength (normTrend) .
Momentum (TF) : Displays momentum status (Strong Bullish/Bearish or Neutral) derived from the oscillator's position relative to dynamic thresholds.
Volume (CMF) : Shows buying/selling pressure levels (Very High Buying, High Selling, Neutral, etc.) based on the Chaikin Money Flow (CMF) indicator.
Basic & Advanced Signals:
Basic Signal : Provides simple trade signals (Strong Buy, Strong Sell, Pullback Buy, Pullback Sell, No Trade).
Advanced Signal : Offers nuanced signals (Early Buy/Sell, Momentum Peak, Weakening Momentum, etc.) with color-coded alerts.
RSI : Displays the Relative Strength Index (RSI) value, colored based on overbought (>70), oversold (<30), or neutral conditions.
HTF Filter : Indicates the higher timeframe trend status (Bullish, Bearish, Neutral) when using the Leading HTF Filter.
VWAP : Shows the V olume-Weighted Average Price and whether the current price is above (bullish) or below (bearish) it.
ADX : Displays the Average Directional Index (ADX) value, with color highlighting whether it is rising (green) or falling (red).
Market Mode : Shows the selected market type (Crypto, Stocks, Options, Forex, Custom).
Regime : Indicates volatility conditions (High, Low, Moderate) based on the **ATR ratio**.
3. Filters Status Panel
A secondary panel displays the status of active filters, helping traders quickly assess which conditions are influencing signals:
- DI Reversal Filter: On/Off (confirms reversals before generating signals).
- Dynamic Thresholds: On/Off (adjusts buy/sell thresholds based on volatility).
- Adaptive Weighting: On/Off (auto-adjusts oscillator weights for trend/momentum/volatility).
- Early Signal: On/Off (enables early momentum-based signals).
- Leading HTF Filter: On/Off (applies higher timeframe trend confirmation).
4. Visual Enhancements
Color-Coded Cells : Each metric is color-coded (green for bullish, red for bearish, gray for neutral) for quick interpretation.
Dynamic Background : The dashboard background adapts to market conditions (bullish/bearish/neutral) based on ADX and DI trends.
Customizable Reference Lines : Users can enable/disable fixed reference lines for the oscillator.
How It(QFC) Differs from Traditional Indicators
Quantum Flux Candle (QFC) Versus Heikin-Ashi
Heikin-Ashi candles smooth price by averaging (HA’s open/close use averages) so they show trend clearly but hide true price (the current HA bar’s close is not the real price). QFC candles are different: they are oscillator values, not price averages . A Heikin-Ashi chart “has a smoother look because it is essentially taking an average of the movement”, which can cause lag. The QFC instead shows the raw combined momentum each bar, allowing faster recognition of shifts. In short, HA is a smoothed price chart; QFC is a momentum-based chart.
Versus Standard Oscillators
Common oscillators like RSI or MACD use fixed formulas on price (or price+volume). For example, RSI “compares gains and losses and normalizes this value on a scale from 0 to 100”, reflecting pure price momentum. MFI is similar but adds volume. These indicators each show one dimension: momentum or volume. The Ultimate Scalping Tool’s QFC goes further by integrating trend strength and volatility too. In practice, this means a move that looks strong on RSI might be downplayed by low volume or weak trend in QFC. As one source notes, using multiple non-correlated indicators (trend, momentum, volume, volatility) provides a more complete market picture. The QFC’s multi-factor fusion is unique – it is effectively a multi-dimensional oscillator rather than a traditional single-input one.
Signal Style
Traditional oscillators often use crossovers (RSI crossing 50) or fixed zones (MACD above zero) for signals. The Ultimate Scalping Tool’s signals are custom-classified: it explicitly labels pullbacks, early entries, and strong moves. These terms go beyond a typical indicator’s generic “buy”/“sell.” In other words, it packages a strategy around the oscillator, which traders can backtest or observe without reading code.
Key Term Definitions
• Pullback : A short-term dip or consolidation in an uptrend. In this script, a Pullback Buy appears when price is generally rising but shows a brief retracement. (As defined by Investopedia, a pullback is “a brief decline or pause in a generally upward price trend”.)
• Early Buy/Sell : An initial or tentative entry signal. It means the oscillator first starts turning positive (or negative) before a full trend has developed. It’s an early indication that a trend might be starting.
• Strong Buy/Sell : A confident entry signal when multiple conditions align. This label is used when momentum is already strong and confirmed by trend/volume filters, offering a higher-probability trade.
• Momentum Peak : The point where bullish (or bearish) momentum reaches its maximum before weakening. When the oscillator value stops rising (or falling) and begins to reverse, the script flags it as a peak – signaling that the current move could be overextended.
What is the Flux MA?
The Flux MA (Moving Average) is an Exponential Moving Average (EMA) applied to a normalized oscillator, referred to as FM . Its purpose is to smooth out the fluctuations of the oscillator, providing a clearer picture of the underlying trend direction and strength. Think of it as a dynamic baseline that the oscillator moves above or below, helping you determine whether the market is trending bullish or bearish.
How it’s calculated (Flux MA):
1.The oscillator is normalized (scaled to a range, typically between 0 and 1, using a default scale factor of 100.0).
2.An EMA is applied to this normalized value (FM) over a user-defined period (default is 10 periods).
3.The result is rescaled back to the oscillator’s original range for plotting.
Why it matters : The Flux MA acts like a support or resistance level for the oscillator, making it easier to spot trend shifts.
Color of the Flux Candle
The Quantum Flux Candle visualizes the normalized oscillator (FM) as candlesticks, with colors that indicate specific market conditions based on the relationship between the FM and the Flux MA. Here’s what each color means:
• Green : The FM is above the Flux MA, signaling bullish momentum. This suggests the market is trending upward.
• Red : The FM is below the Flux MA, signaling bearish momentum. This suggests the market is trending downward.
• Yellow : Indicates strong buy conditions (e.g., a "Strong Buy" signal combined with a positive trend). This is a high-confidence signal to go long.
• Purple : Indicates strong sell conditions (e.g., a "Strong Sell" signal combined with a negative trend). This is a high-confidence signal to go short.
The candle mode shows the oscillator’s open, high, low, and close values for each period, similar to price candlesticks, but it’s the color that provides the quick visual cue for trading decisions.
How to Trade the Flux MA with Respect to the Candle
Trading with the Flux MA and Quantum Flux Candle involves using the MA as a trend indicator and the candle colors as entry and exit signals. Here’s a step-by-step guide:
1. Identify the Trend Direction
• Bullish Trend : The Flux Candle is green and positioned above the Flux MA. This indicates upward momentum.
• Bearish Trend : The Flux Candle is red and positioned below the Flux MA. This indicates downward momentum.
The Flux MA serves as the reference line—candles above it suggest buying pressure, while candles below it suggest selling pressure.
2. Interpret Candle Colors for Trade Signals
• Green Candle : General bullish momentum. Consider entering or holding a long position.
• Red Candle : General bearish momentum. Consider entering or holding a short position.
• Yellow Candle : A strong buy signal. This is an ideal time to enter a long trade.
• Purple Candle : A strong sell signal. This is an ideal time to enter a short trade.
3. Enter Trades Based on Crossovers and Colors
• Long Entry : Enter a buy position when the Flux Candle turns green and crosses above the Flux MA. If it turns yellow, this is an even stronger signal to go long.
• Short Entry : Enter a sell position when the Flux Candle turns red and crosses below the Flux MA. If it turns purple, this is an even stronger signal to go short.
4. Exit Trades
• Exit Long : Close your buy position when the Flux Candle turns red or crosses below the Flux MA, indicating the bullish trend may be reversing.
• Exit Short : Close your sell position when the Flux Candle turns green or crosses above the Flux MA, indicating the bearish trend may be reversing.
•You might also exit a long trade if the candle changes from yellow to green (weakening strong buy signal) or a short trade from purple to red (weakening strong sell signal).
5. Use Additional Confirmation
To avoid false signals, combine the Flux MA and candle signals with other indicators or dashboard metrics (e.g., trend strength, momentum, or volume pressure). For example:
•A yellow candle with a " Strong Bullish " trend and high buying volume is a robust long signal.
•A red candle with a " Moderate Bearish " trend and neutral momentum might need more confirmation before shorting.
Practical Example
Imagine you’re scalping a cryptocurrency:
• Long Trade : The Flux Candle turns yellow and is above the Flux MA, with the dashboard showing "Strong Buy" and high buying volume. You enter a long position. You exit when the candle turns red and dips below the Flux MA.
• Short Trade : The Flux Candle turns purple and crosses below the Flux MA, with a "Strong Sell" signal on the dashboard. You enter a short position. You exit when the candle turns green and crosses above the Flux MA.
Market Presets and Adaptation
This indicator is designed to work on any market with candlestick price data (stocks, crypto, forex, indices, etc.). To handle different behavior, it provides presets for major asset classes. Selecting a “Stocks,” “Crypto,” “Forex,” or “Options” preset automatically loads a set of parameter values optimized for that market . For example, a crypto preset might use a shorter lookback or higher sensitivity to account for crypto’s high volatility, while a stocks preset might use slightly longer smoothing since stocks often trend more slowly. In practice, this means the same core QFC logic applies across markets, but the thresholds and smoothing adjust so signals remain relevant for each asset type.
Usage Guidelines
• Recommended Timeframes : Optimized for 1 minute to 15 minute intraday charts. Can also be used on higher timeframes for short term swings.
• Market Types : Select “Crypto,” “Stocks,” “Forex,” or “Options” to auto tune periods, thresholds and weights. Use “Custom” to manually adjust all inputs.
• Interpreting Signals : Always confirm a signal by checking that trend, volume, and VWAP agree on the dashboard. A green “Strong Buy” arrow with green trend, green volume, and price > VWAP is highest probability.
• Adjusting Sensitivity : To reduce false signals in fast markets, enable DI Reversal Confirmation and Dynamic Thresholds. For more frequent entries in trending environments, enable Early Entry Trigger.
• Risk Management : This tool does not plot stop loss or take profit levels. Users should define their own risk parameters based on support/resistance or volatility bands.
Background Shading
To give you an at-a-glance sense of market regime without reading numbers, the indicator automatically tints the chart background in three modes—neutral, bullish and bearish—with two levels of intensity (light vs. dark):
Neutral (Gray)
When ADX is below 20 the market is considered “no trend” or too weak to trade. The background fills with a light gray (high transparency) so you know to sit on your hands.
Bullish (Green)
As soon as ADX rises above 20 and +DI exceeds –DI, the background turns a semi-transparent green, signaling an emerging uptrend. When ADX climbs above 30 (strong trend), the green becomes more opaque—reminding you that trend-following signals (Strong Buy, Pullback) carry extra weight.
Bearish (Red)
Similarly, if –DI exceeds +DI with ADX >20, you get a light red tint for a developing downtrend, and a darker, more solid red once ADX surpasses 30.
By dynamically varying both hue (green vs. red vs. gray) and opacity (light vs. dark), the background instantly communicates trend strength and direction—so you always know whether to favor breakout-style entries (in a strong trend) or stay flat during choppy, low-ADX conditions.
The setup shown in the above chart snapshot is BTCUSD 15 min chart : Binance for reference.
Disclaimer
No indicator guarantees profits. Backtest or paper trade this tool to understand its behavior in your market. Always use proper position sizing and stop loss orders.
Good luck!
- BullByte
Quant Trading Zero Lag Trend Signals (MTF) Strategy🧠 Strategy Overview
The Quant Trading Zero Lag Trend Signals (MTF) Strategy is a high-precision, multi-timeframe trend-following system designed for traders seeking early trend entries and intelligent exits. Built around ZLEMA-based signal detection, it includes dynamic risk management features and is optimized for automation via the Quant Trading Strategy Optimizer Chrome extension. Based on the original Zero Lag Trend Signals (MTF) from AlgoAlpha.
Based on popular request, I am including more documentation related to the strategy.
🔍 Key Components
1️⃣ ZLEMA Trend Engine
ZLEMA (Zero-Lag EMA) forms the foundation of the trend signal system.
Detects bullish and bearish momentum by analyzing price action crossing custom ZLEMA bands.
Optional confirmation using 5-bar ZLEMA slope filters (up/down trends) ensures high-conviction entries.
2️⃣ Volatility-Based Signal Bands
Dynamic bands are calculated using ATR (volatility) stretched over 3× period length.
These bands define entry zones (outside the bands) and trend strength.
Price crossing above/below the bands triggers trend change detection.
3️⃣ Entry Logic
Primary long entries occur when price crosses above the upper ZLEMA band.
Short entries (optional) trigger on downside cross under the lower band.
Re-entry logic allows continuation trades during strong trends.
Filters include date range, ZLEMA confirmation, and previous position state.
4️⃣ Exit Logic & Risk Management
Supports multiple customizable exit mechanisms:
🔺 Stop-Loss & Take-Profit
ATR-Based SL/TP: Uses ATR multipliers to dynamically set levels based on volatility.
Fixed Risk-Reward TP: Targets profit based on predefined RR ratios.
Break-Even Logic: Automatically moves SL to entry once a threshold RR is hit.
EMA Exit: Optional trailing exit based on price vs. short EMA.
🔀 Trailing Stop
Follows price action using a trailing ATR-based buffer that tightens with trend movement.
🔁 Trend-Based Exit
Automatically closes positions when the detected trend reverses.
5️⃣ Multi-Option Trade Filtering
Enable/disable short trades, ZLEMA confirmations, re-entries, etc.
Time-based backtesting filters for isolating performance within custom periods.
6️⃣ Visual Feedback & Annotations
Trend shading overlays: Green for bullish, red for bearish zones.
Up/Down triangle markers show when ZLEMA is rising/falling for 5 bars.
Stop-loss, TP, trailing lines drawn dynamically on the chart.
Floating stats table displays live performance (PnL, win %, GOA, drawdown, etc.).
Trade log labels annotate closed trades with entry/exit, duration, and reason.
7️⃣ CSV Export Integration
Seamless export of trade data including:
Entry/exit prices
Bars held
Encoded exit reasons
Enables post-processing or integration with external optimizers.
⚙️ Configurable Parameters
All key elements are customizable:
Entry band length and multiplier
ATR lengths, multipliers, TP/SL, trailing stop, break-even
Profit target RR ratio
Toggle switches for confirmations, trade types, and exit methods
🚀 Optimizer-Ready
This strategy was built for advanced backtesting automation:
100% compatible with the Quant Trading Strategy Optimizer Chrome Extension
Supports parameter sweeps, multi-symbol, and multi-timeframe optimization
Pro Trading Art - Swing Trading Master V2The Pro Trading Art - Swing Trading Master V2 (STM V2) is an exclusive, invite-only TradingView indicator crafted for swing traders aiming to capture medium-term price movements across stocks, forex, crypto, and commodities. This sophisticated tool integrates trend analysis, momentum evaluation, and pattern recognition to deliver precise trade signals, customizable risk management, and real-time performance tracking. Optimized for trending and ranging markets, STM V2 empowers traders with a robust, user-friendly system.
HOW IT WORKS
STM V2 uses a multi-faceted approach to identify high-probability swing trading opportunities.
Key concepts include:
Trend and Momentum Analysis: Derives a dynamic trend price from price data and volatility, smoothed with an EMA for clarity. Momentum is assessed via a modified Commodity Channel Index (CCI), enhanced with an EMA to confirm trend strength and spot reversals. Candlestick colors reflect short-term price momentum.
Market Zone Identification: Displays color-coded backgrounds (green for bullish, red for bearish, yellow for neutral) based on CCI crossovers and pivot-based averages. A secondary timeframe using Heikin Ashi candles reinforces signal accuracy.
Signal Generation: Triggers buy/sell signals when price aligns with the trend price and CCI conditions (e.g., CCI > -100 for buys, < -100 for sells). Signals are filtered by a user-defined EMA and plotted as labeled shapes (“BUY” or “SELL”).
Pattern Recognition: Detects double top and bottom patterns via pivot calculations, marked with lines and labels to highlight potential reversals.
Performance Tracking: Provides real-time trade metrics (last trade, returns, time elapsed) in a customizable dashboard, with returns calculated from entry/exit prices.
KEY FEATURES
Precision Swing Signals: Clear, labeled buy/sell signals validated by price and momentum.
Dynamic Market Zones: Color-coded backgrounds with secondary timeframe confirmation.
Pattern Detection: Identifies double top/bottom patterns for reversal confirmation.
Trade Summary Dashboard: Real-time metrics, including trade type, date, percentage return, and elapsed time.
Customizable Inputs: Adjust alert type, signal length, pivot lookback, and background display.
Alert System: Configurable alerts for signals and patterns, triggered once per bar close.
HOW TO USE
Setup:
Add STM V2 to your TradingView chart and configure inputs:
Alert Type: “Long,” “Short,” or “Both.”
Signal Length: EMA period (default: 14).
Pivot Length: Lookback for patterns (default: 10).
Show BG: Enable/disable background colors.
Start Time: Set reference time for markers.
Trading: Monitor “BUY” (green) or “SELL” (red) signals, background colors, and double top/bottom patterns. Use the dashboard to track trades.
Alerts: Enable notifications for signals or patterns via TradingView’s alert menu.
Risk Management: Set manual stop-loss/take-profit levels using signals as entry points.
WHY IT’S VALUABLE
STM V2 stands out by combining a proprietary trend price, momentum-adjusted CCI, secondary timeframe analysis, and pattern detection, surpassing standard indicators like moving averages or RSI. Its trade summary dashboard offers unmatched transparency, and customizable inputs ensure adaptability across markets. This originality and practicality make it a premium tool for disciplined swing traders.
LIMITATIONS
Market Dependency: Performance may vary in volatile or illiquid markets.
Invite-Only: Access is restricted to invited users.
Educational Use: Use alongside proper risk management.
ORB - Opening Range Breakout + AlertsThe only ORB indicator you'll ever need.
- Flexible Range: Tailor the opening range (e.g., 5m, 15m, 30m) to your trading style.
- Key Levels: Auto-plots striking pink/purple support/resistance lines post-range for clear trade setups.
- Breakout Alerts: Reliable LONG/SHORT signals on 5m chart for confirmed breakouts; enable/disable as needed.
- Personalized Design: Customize line color and thickness for optimal visibility.
A friendly reminder that no tool or indicator guarantees success. Integrate this into a robust trading plan.
Supply and Demand Zones🔍 Supply and Demand Zones
by The_Forex_Steward
This indicator automatically identifies Supply and Demand Zones based on aggregated synthetic candles, helping traders pinpoint potential reversal or breakout levels with clarity and precision.
🧠 How It Works:
This tool aggregates price data over a set number of candles (defined by the Aggregation Factor ) to create "synthetic candles" that smooth out noise and highlight significant institutional price activity. These candles are then analyzed to detect bullish or bearish order blocks , which are visualized as zones:
-Demand Zones (Green) : Formed when price breaks above the high of a previous bearish synthetic candle.
-Supply Zones (Red) : Formed when price breaks below the low of a previous bullish synthetic candle.
These areas often represent key institutional interest where price is likely to react.
⚙️ Key Features:
-Aggregation Factor : Groups candles to form larger, synthetic ones. Higher values smooth price and reduce noise.
-Custom Zone Length : Define how far zones extend forward (up to 500 bars).
-Mitigation Logic : Choose whether to auto-delete zones once price breaks through them.
-Visual Customization : Customize zone colors and borders to suit your charting style.
-Alerts : Get notified when new Supply or Demand zones are formed.
📈 How to Use It:
1. Trend Trading : Use zones as dynamic support/resistance to enter with trend pullbacks.
2. Reversals : Look for price reactions at untested zones for potential counter-trend setups.
3. Breakouts : Monitor for zone breaks that signal strong momentum or shifts in market structure.
4. Confluence : Combine with other indicators (like RSI or volume) for more robust trade setups.
🔔 Alerts:
Receive alerts when new demand or supply zones are formed so you can take action in real time.
✅ Recommended Settings:
For intraday trading : Use lower aggregation values (e.g., 3–5).
For swing/position trading : Higher values (e.g., 6–10) may give better structure.
Anchored VWAP by Time (Math by Thomas)📄 Description
This tool lets you plot an Anchored Volume Weighted Average Price (VWAP) starting from any specific date and time you choose. Unlike standard VWAPs that reset daily or weekly, this version gives you full control to track institutional pricing zones from precise anchor points—such as key swing highs/lows, market open, or news-driven candles.
It’s especially useful for price action and Smart Money Concepts (SMC) traders who track liquidity, fair value gaps (FVGs), and institutional zones.
🇮🇳 For NSE India Traders
You can anchor VWAP to Indian market open (e.g., 9:15 AM IST) or major events like RBI policy, earnings, or breakout candles.
The time input uses UTC by default, so for Indian Standard Time (IST), remember:
9:15 AM IST = 3:45 AM UTC
3:30 PM IST = 10:00 AM UTC
⚙️ How to Use
Add the indicator to your chart.
Open the settings panel.
Under “Anchor Start Time”, choose the date & time to begin the VWAP.
Use UTC format (adjust from IST if needed).
Customize the line color and thickness to suit your chart style.
The VWAP will begin plotting from that time forward.
🔎 Best Use Cases
Track VWAP from intraday range breakouts
Anchor from swing highs/lows to identify mean reversion zones
Combine with your FVGs, Order Blocks, or CHoCHs
Monitor VWAP reactions during key macro events or expiry days
🔧 Clean Design
No labels are used, keeping your chart clean.
Works on all timeframes (1min to Daily).
Designed for serious intraday & positional traders.
target tendance//@version=6
indicator("target tendance", "TT", overlay = true)
// Trend settings
st_factor = input.float(12, title="Supertrend Factor", minval=1, step=0.5, group="Trend Settings",
tooltip="Multiplier for the ATR to determine Supertrend bands width. Higher values create wider bands and fewer signals.")
st_atr_period = input.int(90, title="Supertrend ATR Period", minval=1, group="Trend Settings",
tooltip="Number of bars used to calculate the ATR for Supertrend. Longer periods create smoother, less reactive bands.")
wma_length = input.int(40, title="WMA Length", minval=1, group="Trend Settings",
tooltip="Length of the Weighted Moving Average applied to the SuperTrend. Higher values create smoother, less reactive lines.")
ema_length = input.int(14, title="EMA Length", minval=1, group="Trend Settings",
tooltip="Length of the Exponential Moving Average applied to the WMA. Controls the final smoothness of the trend line.")
//Continuation settings
cont_factor = input.int(3, title="Confirmation count", minval=1, group="Rejection Settings",
tooltip="Number of consecutive bars that must consolidate at the trend line before a rejection signal is generated. Higher values require more bars to confirm a trend.")
// Volatility settings
shw_TP1 = input.bool(true, title="Show Take Profit Levels", group="Targets",
tooltip="Toggle visibility of take profit target levels on the chart.")
atr_period = input.int(14, title="Volatility (ATR) period", minval=1, group="Targets",
tooltip="Number of bars used to calculate the Average True Range for position sizing and targets.")
sl_multiplier = input.float(5, title="Stop Loss ATR Multiplier", minval=0.1, step=0.1, group="Targets",
tooltip="Multiplier applied to ATR to determine stop loss distance from entry. Higher values place stops further away.")
tp1_multiplier = input.float(0.5, title="TP1 Multiplier", minval=0.1, step=0.1, tooltip="Multiple of SL distance for first take profit target.", group="Targets")
tp2_multiplier = input.float(1.0, title="TP2 Multiplier", minval=0.1, step=0.1, tooltip="Multiple of SL distance for second take profit target.", group="Targets")
tp3_multiplier = input.float(1.5, title="TP3 Multiplier", minval=0.1, step=0.1, tooltip="Multiple of SL distance for third take profit target.", group="Targets")
volatility = ta.atr(atr_period)
// Appearance settings
green = input.color(#95eed6, title="Bullish Color", tooltip="Color used for bullishness", group="Appearance")
red = input.color(#ff1100, title="Bearish Color", tooltip="Color used for bearishness", group="Appearance")
pine_supertrend(factor, atrPeriod) =>
src = hl2
atr = ta.atr(atrPeriod)
upperBand = src + factor * atr
lowerBand = src - factor * atr
prevLowerBand = nz(lowerBand )
prevUpperBand = nz(upperBand )
lowerBand := lowerBand > prevLowerBand or close < prevLowerBand ? lowerBand : prevLowerBand
upperBand := upperBand < prevUpperBand or close > prevUpperBand ? upperBand : prevUpperBand
= pine_supertrend(st_factor, st_atr_period)
tL = ta.ema(ta.wma(math.avg(lwr, upr), wma_length), ema_length)
var trend = 0
if ta.crossover(tL, tL )
trend := 1
if ta.crossunder(tL, tL )
trend := -1
var rejcount = 0
bullishrej = trend == 1 and high > tL and low < tL
bearishrej = trend == -1 and high > tL and low < tL
if (bullishrej or bearishrej)
rejcount += 1
if ta.cross(trend, 0) or (not (bullishrej or bearishrej) and rejcount > 0)
rejcount := 0
plotchar((rejcount > cont_factor and trend == 1) ? tL : na, "Bullish Rejection", "▲", location.belowbar, green, size = size.tiny)
plotchar((rejcount > cont_factor and trend == -1) ? tL : na, "Bearish Rejection", "▼", location.abovebar, red, size = size.tiny)
plot(tL, "Baseline", color=trend == 1 ? color.new(green, 50) : color.new(red, 50), linewidth = 2)
barcolor(trend == 1 ? color.new(green, 50) : color.new(red, 50))
plotshape(ta.crossover(tL, tL ) ? tL : na, title="Bullish Trend Change", style=shape.labelup, location=location.absolute, size=size.small, color=green)
plotshape(ta.crossunder(tL, tL ) ? tL : na, title="Bearish Trend Change", style=shape.labeldown, location=location.absolute, size=size.small, color=red)
longSignal = ta.crossover(trend, 0)
shortSignal = ta.crossunder(trend, 0)
var SL = 0.0
var TP1_lvl = 0.0
var TP2_lvl = 0.0
var TP3_lvl = 0.0
var line entry_line = na
var line sl_line = na
var line tp1_line = na
var line tp2_line = na
var line tp3_line = na
var label entry_label = na
var label sl_label = na
var label tp1_label = na
var label tp2_label = na
var label tp3_label = na
if longSignal and shw_TP1
SL := low - volatility * sl_multiplier
TP1_lvl := close + math.abs(close - SL) * tp1_multiplier
TP2_lvl := close + math.abs(close - SL) * tp2_multiplier
TP3_lvl := close + math.abs(close - SL) * tp3_multiplier
entry_line := line.new(bar_index, close, bar_index, close, color = green, width = 3)
entry_label := label.new(bar_index, close, text = "Entry ▸ " + str.tostring(close, format.mintick), style = label.style_label_left, color = green, textcolor = color.white)
sl_line := line.new(bar_index, SL, bar_index, SL, color = color.new(red, 80), width = 3)
sl_label := label.new(bar_index, SL, text = "✘ SL ▸ " + str.tostring(SL, format.mintick), style = label.style_label_left, color = color.new(red, 80), textcolor = color.white)
Chris Order Flow Progives order flow on the 1min 5min and the 1h. it identifies the trend for you so you dont need to waste time analysing the charts. and improve your trading. by: @chr_futures on tiktok
Volume FIltered RSI Buy/Sell StrategyVolume Filtered RSI Buy/Sell Strategy
Introduction
This publication introduces the "Volume Filtered RSI Buy/Sell Strategy," a systematic trading approach designed specifically for cryptocurrency markets. This strategy combines RSI momentum signals with volume confirmation and precise candle pattern recognition to identify high-probability entry points while filtering out weak signals.
Overview
The strategy implements a multi-layered filtering system that requires several conditions to align before entering a trade. By requiring RSI momentum shifts, significant volume, and strong candle patterns, the system aims to capture only the most reliable trade setups. Built-in risk management features provide automatic stop-loss and take-profit placement based on either ATR volatility or fixed percentage risk.
Strategy Core Components:
RSI Momentum Detection : Identifies transitions from oversold to bullish (for longs) and overbought to bearish (for shorts)
Volume Confirmation : Ensures entries occur with above-average volume, filtering out low-liquidity signals
Candle Pattern Analysis : Requires strong bullish/bearish candles where the body comprises at least 50% of the candle range
Optional Supertrend Filter : Provides trend alignment confirmation across multiple timeframes
Dynamic ATR Stop-Loss System : Adapts protection levels based on current market volatility
Default Settings:
RSI Parameters : 14-period length with 70/30 overbought/oversold levels
Risk Management : 1.5 risk-reward ratio with option for ATR-based or fixed 0.5% stop-loss
Commission : 0.055% per trade (realistic for major exchanges)
Initial Capital : 100 USDT (realistic for average trader)
Order Size : Recommended 20 USDT per trade (20% risk per trade)
Entry Logic:
The strategy creates a powerful filtering system by requiring all of the following conditions to align:
Long Entry : RSI crosses above 30 from below + Strong bullish candle (body > 50% of range) + Volume > 14-period SMA
Short Entry : RSI crosses below 70 from above + Strong bearish candle (body > 50% of range) + Volume > 14-period SMA
Optional Trend Alignment : When enabled, entries must align with Supertrend direction
Exit Methods:
The strategy offers two comprehensive exit approaches:
ATR-Based : Dynamically calculates stop-loss and take-profit levels based on current volatility (3.5x ATR multiplier)
Fixed Percentage : Uses a consistent 0.5% stop-loss with take-profit set at 1.5x the risk distance
Visualization : All entry points, stop-loss levels and take-profit targets are clearly displayed on the chart
Why This Combination Works:
The power of this strategy comes from its multi-confirmation approach:
RSI identifies potential momentum shifts but can produce false signals in ranging markets
Volume confirmation ensures trades are only taken when sufficient market interest exists
Candle pattern requirements filter out weak reversals by demanding strong price action
When combined, these three filters significantly reduce false signals while capturing strong momentum shifts
Backtesting Results:
When tested on BTCUSDT 5-minute chart with the default settings:
Total trades: 53 (provides sufficient sample size)
Profitable trades: 58.49%
Profit factor: 1.472
Max drawdown: 3.01%
Net profit: +6.52%
Recommended Usage:
Optimal Timeframe : 5-minute chart for BTCUSDT
Trade Direction : Can be configured for Long-only, Short-only or Both directions
Risk Management : The default settings risk approximately 1% per trade with the recommended 20 USDT order size on 100 USDT capital
Indicator Mode : For those who prefer manual trade management, right-click on chart and disable "Trades On Chart"
Customization Options:
The strategy provides multiple parameters that can be adjusted to match different trading styles:
RSI length and overbought/oversold levels
ATR period for stop-loss calculation
Risk-reward ratio
Fixed stop-loss percentage
Optional Supertrend filter with adjustable factor and period
Disclaimer
This strategy is shared for educational purposes only. The default parameters have been tested to provide a balance between win rate and profitability, but past performance does not guarantee future results. The commission setting (0.055%) reflects realistic exchange fees, and the recommended position sizing (20% of capital) is higher than traditional 1-2% but represents common practice in cryptocurrency trading. Users should thoroughly test any changes to parameters before trading real capital.
5min orb trade box (9:45 end)plots a tradebox on the first5min candle that can open and close above or below the 5min orb
fully customizable between 15m 30m orbs and trend filters
MestreDoFOMO Future Projection BoxMestreDoFOMO Future Projection Box - Description & How to Use
Description
The "MestreDoFOMO Future Projection Box" is a TradingView indicator tailored for crypto traders (e.g., BTC/USDT on 1H, 4H, or 1D timeframes). It visualizes current price ranges, projects future levels, and confirms trends using semi-transparent boxes. With labeled price levels and built-in alerts, it’s a simple yet powerful tool for identifying support, resistance, and potential price targets.
How It Works
Blue Box (Current Channel): Shows the recent price range over the last 10 bars (adjustable). The top is the highest high plus an ATR buffer, and the bottom is the lowest low minus the buffer. Labels display exact levels (e.g., "Top: 114000", "Bottom: 102600").
Green Box (Future Projection): Projects the price range 10 bars ahead (adjustable) based on the trend slope of the moving average. Labels show "Proj Top" and "Proj Bottom" for future targets.
Orange Box (Moving Average): Traces a 50-period EMA (adjustable) to confirm the trend. An upward slope signals a bullish trend; a downward slope signals a bearish trend. A label shows the current MA value (e.g., "MA: 105000").
Alerts: Triggers when the price nears the projected top or bottom, helping you catch breakouts or retracements.
How to Use
Add the Indicator: Apply "MestreDoFOMO Future Projection Box" to your chart in TradingView.
Interpret the Trend: Check the orange box’s slope—upward for bullish, downward for bearish.
Identify Key Levels: Use the blue box’s top as resistance and bottom as support. On a 4H chart, if the top is 114,000, expect resistance; if the bottom is 102,600, expect support.
Plan Targets: Use the green box for future targets—top for profit-taking (e.g., 114,000), bottom for stop-loss or buying (e.g., 102,600).
Set Alerts: Enable alerts for "Near Upper Projection" or "Near Lower Projection" to get notified when the price hits key levels.
Trade Examples:
Bullish: If the price breaks above the blue box top (e.g., 114,000), buy with a target at the green box top. Set a stop-loss below the green box bottom.
Bearish: If the price rejects at the blue box top and drops below the orange MA, short with a target at the blue box bottom.
Customize: Adjust the lookback period, projection bars, ATR multiplier, and MA length in the settings to fit your trading style.
Tips
Use on 1H for short-term trades, 4H for swing trades, or 1D for long-term trends.
Combine with volume or RSI to confirm signals.
Validate levels with market structure (e.g., candlestick patterns).
Swing Highs and Lows Detector🔍 Swing Highs and Lows Detector
The Swing Highs and Lows Detector is a powerful tool for traders looking to identify meaningful structural shifts in price action, based on swing point logic and internal trend shifts.
📈 What It Does
This indicator automatically identifies and labels:
HH (Higher High) – Price broke above the previous swing high
LH (Lower High) – Price failed to break the previous high, signaling potential weakness
LL (Lower Low) – Price broke below the previous swing low
HL (Higher Low) – Price maintained a higher support level, indicating strength
The script distinguishes between bullish and bearish internal shifts and tracks the highest/lowest points between those shifts to determine the swing structure.
⚙️ How It Works
You can choose between two shift detection modes:
"Open": Compares closing price to the first open of the opposite streak
"High/Low": Uses the high of bearish or low of bullish candles
Once a shift is confirmed, the indicator scans the bars between shifts to find the most significant swing high or low
When a valid swing is detected, it’s labeled directly on the chart with color-coded markers
🛎️ Built-in Alerts
Set alerts for:
Higher High
Lower High
Lower Low
Higher Low
These alerts help you catch key structural shifts in real time — great for breakout traders, structure-based analysts, and smart money concepts (SMC) strategies.
✅ How to Use
Confirm Trend Strength or Reversals – Use HH/HL to confirm an uptrend, LL/LH to confirm a downtrend
Combine with Liquidity Sweeps or Zones – Ideal for SMC or Wyckoff-style setups
Entry/Exit Triggers – Use swing breaks to time entries or exits near key structural points
Order Blocks📈 Order Blocks Only (With Mitigation Alerts)
This indicator identifies bullish and bearish order blocks on your chart and alerts you when they are formed or mitigated . Order blocks are key institutional price levels where strong buying or selling has previously occurred, often leading to significant future price reactions.
🔍 How It Works:
-Bullish Order Block: Formed when price closes above the high of a recent bearish candle. This suggests buyers have taken control.
-Bearish Order Block: Formed when price closes below the low of a recent bullish candle. This signals seller dominance.
-Once an order block is formed, a box is drawn on the chart to highlight the zone.
-These boxes last for a user-defined number of bars (default is 20) and can be automatically removed when price mitigates (retests and closes beyond) the zone.
🛠 User Settings:
-Show Bullish Order Blocks – Toggle green zones on/off.
-Show Bearish Order Blocks – Toggle red zones on/off.
-Order Block Duration – How many bars the boxes should remain on the chart.
-Delete Mitigated Boxes – If enabled, mitigated zones are automatically removed.
-Custom Colors – Personalize the fill and border colors of bullish and bearish blocks.
🔔 Alerts:
This tool supports four built-in alert types:
-Bullish Order Block Formed
-Bearish Order Block Formed
-Bullish Order Block Mitigated
-Bearish Order Block Mitigated
Set these alerts to stay on top of key price reactions.
✅ How to Use It:
1. Apply the indicator to any chart and timeframe.
2. Watch for new order blocks to form after strong price breaks.
3. Use these zones as potential entry points, stop placement areas, or take profit zones.
4. Enable alerts to catch key institutional levels as they form or are retested.
Nifty Spot First 5-Minute Levels with Daily ResetThis is trend based indicator which confirm buy and short entry and its 80% accurate
SMA Backtest Optimizer [Mr_Rakun]The SMA Backtest Optimizer is a powerful Pine Script tool designed to systematically analyze and compare various Simple Moving Average (SMA) periods to identify the most profitable configuration for trading strategies. This indicator tests multiple SMA periods (from 10 to 100) using a crossover strategy where buys occur when price crosses above the SMA and sells when price crosses below it.
Key Features:
Tests 10 different SMA periods to determine optimal settings
Calculates profit/loss based on a defined starting capital
Tracks total profit and number of trades for each period
Visually highlights the best performing SMA on your chart
Displays comprehensive results in an easy-to-read table
Labels the chart with key performance metrics
This code serves as a core framework that traders can customize for their specific needs. You can easily modify the strategy parameters, test different technical indicators, adjust capital settings, or implement more complex entry/exit rules. The optimization methodology can be applied to virtually any trading approach you wish to evaluate.
Feel free to adapt this framework to test your own trading ideas and discover which parameters work best in different market conditions.
Zonas con Retrocesofibonacci [Nachomixcrypto]The "Zonas con Retrocesofibonacci " Pine Script indicator for TradingView visualizes Smart Money Concepts (SMC) by displaying premium, discount, and equilibrium zones, along with a Fibonacci Golden Zone (0.50–0.786 retracement), tailored to the chart’s timeframe.
Premium Zone: Red box near recent highs (trailing.top), labeled "Premium," marking overbought areas for potential selling. Customizable via premiumZoneColorInput, with toggleable borders (premiumBorderToggle).
Discount Zone: Green box near recent lows (trailing.bottom), labeled "Descuento," indicating oversold areas for potential buying. Customizable via discountZoneColorInput, with toggleable borders.
Equilibrium Zone: Gray box at the midpoint of recent high/low, labeled "Equilibrio," showing a neutral price area. Customizable via equilibriumZoneColorInput, with toggleable borders.
Fibonacci Golden Zone: Gold box spanning 0.50 to 0.786 retracement levels from recent high to low, labeled "Zona Dorada." Includes labels for 0.50, 0.618, and 0.786 levels, though prices may be inaccurate due to continuous updates of trailing.top/trailing.bottom. Optional dashed range line connects high to low (showFiboRangeLineInput).
Functionality:
Zones are drawn as semi-transparent boxes from the high/low bar to the current bar, adapting to the timeframe using trailingExtremes for recent highs/lows.
Fibonacci retracement uses trailing.top and trailing.bottom, with a box and labels highlighting the 0.50–0.786 range.
Controlled by showPremiumDiscountZonesInput and showFiboGoldenZoneInput (both default: true).
Use Case: Ideal for SMC traders identifying institutional buying/selling zones and Fibonacci-based reversal areas on higher timeframes (e.g., 1H, 4H) in liquid markets.
Limitation: Fibonacci price labels may show incorrect values due to dynamic updates of trailing.top/trailing.bottom.Premium Zone: Red box near recent highs, labeled "Premium," indicating a potential selling area.
Discount Zone: Green box near recent lows, labeled "Descuento," indicating a potential buying area.
Equilibrium Zone: Gray box at the midpoint, labeled "Equilibrio," marking a neutral zone.
Golden Zone: Gold box from 0.50 to 0.786 retracement, labeled "Zona Dorada," with additional labels for 0.50, 0.618, and 0.786 levels (e.g., "0.50--------", "0.618------", "0.786------").
Range Line: Optional dashed gold line connecting the high to the low used for Fibonacci retracement.
Customization: Users can toggle zones and Fibonacci, adjust colors (premiumZoneColorInput, fiboGoldenZoneColorInput), and enable/disable borders via settings.
LANZ Strategy 2.0 [Backtest]🔷 LANZ Strategy 2.0 — Structural Breakout Logic with Dynamic Swing Protection
LANZ Strategy 2.0 is a precision-focused backtesting system built for intraday traders who rely on structural confirmations before the London session to guide directional bias. This tool uses smart swing detection, risk-defined position sizing, and strict time-based execution to simulate real trading conditions with clarity and control.
🧠 Core Components:
Structural Confirmation (Trend & BoS): Detects trend direction and break of structure (BoS) using a three-swing logic, aligning trade entries with valid structural movement.
Time-Based Execution: Trades are triggered exclusively at 02:00 a.m. New York time, ensuring disciplined and repeatable intraday testing.
Swing-Based SL Models: Traders can select between three stop-loss protection types:
First Swing: Most recent structural level
Second Swing: Prior level
Full Coverage: All recent swing levels + configurable pip buffer
Dynamic TP Calculation: Take-Profit is projected as a risk-based multiple (RR), fully adjustable via input.
Capital-Based Risk Management: Risk is defined as a percentage of a fixed account size (e.g., $100 per trade from $10,000), and lot size is automatically calculated based on SL distance.
Fallback Entry Logic: If structural breakout is present but trend is not confirmed, a secondary entry is triggered.
End-of-Session Management: Any open trades are automatically closed at 11:45 a.m. NY time, with optional manual labeling or review.
📊 Visual Features (Optional in Indicator Version):
(Note: Visuals apply to the indicator version of LANZ 2.0, not this backtest script)
Swing level labels (1st, 2nd) and dynamic SL/TP lines.
Real-time session coloring for clarity: Pre-London, Entry Window, and NY Close.
Outcome labels: +RR, -RR, or net % at close.
Auto-cleanup of previous drawings for a clean chart per session.
⚙️ How It Works:
Detects last trend and BoS using swing logic before 02:00 a.m. NY.
At 02:00 a.m., evaluates directional bias and executes BUY or SELL if confirmed.
Applies selected SL logic (1st, 2nd, or full swing protection).
Sets TP based on the RR multiplier.
Closes the trade either on SL, TP, or at 11:45 a.m. NY manually.
🔔 Alerts:
Time-of-day alert at 02:00 a.m. NY to monitor execution.
Can be extended to cover SL/TP triggers or new BoS events.
📝 Notes:
Designed for backtesting precision and discretionary decision-making.
Ideal for Forex pairs, indices, or assets active during the London session.
Fully customizable: session timing, swing logic, SL buffer, and RR.
👤 Credits:
Strategy built by @rau_u_lanz using Pine Script v6, combining structural logic, capital-based risk control, and London-session timing in a backtest-ready framework for traders who demand accuracy and structure.
My script
### 🔥 **4AM–5AM GMT Breakout Strategy (5-Min Entry Confirmation)**
#### ⏱ **Time Zone**
* **All times are GMT+0 (UTC)**
---
### 📌 **Step-by-Step Guide**
1. **Timeframe Setup**
* Use the **1-hour chart** to identify the 4:00 AM – 5:00 AM candle.
* Mark the **high and low** of that specific candle (the range).
2. **Draw Levels**
* At **5:00 AM**, after the candle closes:
* Draw a **horizontal line or zone** at the **high** and another at the **low** of the 4:00–5:00 AM candle.
3. **Switch Timeframe**
* Switch to the **5-minute chart**.
4. **Breakout Confirmation**
* Wait for a **5-minute candle to break**:
* **Buy Entry**: If a 5-minute candle **closes above the high**, enter a **BUY**.
* **Sell Entry**: If a 5-minute candle **closes below the low**, enter a **SELL**.
5. **Trade Management (Recommended)**
* **Stop Loss (SL)**: Just below/above the opposite side of the range.
* **Take Profit (TP)**: Use a risk-to-reward ratio (1:1.5 or 1:2), or follow market structure.
* Optional: Trail the stop loss once in profit.
---
### ✅ **Strategy Highlights**
* Works best with **GOLD (XAUUSD)** due to its volatile movement during London Open.
* Also effective with pairs like **GBPUSD, EURUSD**, etc., but test before use.
* Avoid using it on days with high-impact news during this time.
---