Forex Sessions - Simple//@version=5
indicator("Forex Sessions - Simple", overlay=true)
// === INPUTS === //
showSydney = input.bool(true, "Show Sydney")
showTokyo = input.bool(true, "Show Tokyo")
showLondon = input.bool(true, "Show London")
showNY = input.bool(true, "Show New York")
// Color customization
colorSydney = input.color(color.new(color.blue, 70), "Sydney Color")
colorTokyo = input.color(color.new(color.orange, 70), "Tokyo Color")
colorLondon = input.color(color.new(color.green, 70), "London Color")
colorNY = input.color(color.new(color.red, 70), "New York Color")
// === SESSION LOGIC (UTC TIME) === //
sydneySession = showSydney and ((hour >= 22) or (hour < 7))
tokyoSession = showTokyo and (hour >= 0 and hour < 9)
londonSession = showLondon and (hour >= 8 and hour < 17)
nySession = showNY and (hour >= 13 and hour < 22)
// Determine active session (priority order: NY > London > Tokyo > Sydney)
sessionColor = color(na)
if nySession
sessionColor := colorNY
else if londonSession
sessionColor := colorLondon
else if tokyoSession
sessionColor := colorTokyo
else if sydneySession
sessionColor := colorSydney
// === BACKGROUND COLOR === //
bgcolor(sessionColor, title="Session Highlight")
// === SESSION LEGEND === //
var table legend = table.new(position.top_right, 1, 5, border_width=1)
if bar_index == 0
table.cell(legend, 0, 0, "Sessions", bgcolor=color.gray, text_color=color.white)
table.cell(legend, 0, 1, "Sydney", bgcolor=colorSydney)
table.cell(legend, 0, 2, "Tokyo", bgcolor=colorTokyo)
table.cell(legend, 0, 3, "London", bgcolor=colorLondon)
table.cell(legend, 0, 4, "New York", bgcolor=colorNY)
Candlestick analysis
Buy/Sell Signal - RSI + EMA + MACDBUY/SELL based on RSI/MACD/EMA by ArunE
chatgpt powered
Signal 'Buy' if all of the following three conditions are true
Rsi crosses above 55
Ema 9 crosses over ema 21
Macd histogram shows second green on
Signal 'Sell' if all of the following three conditions are true
Rsi crosses below 45
Ema 9 crosses below Ema 21
Macd histogram shows second red on
Daily Range % with Conditional SPX DirectionThis indicator visualizes the short-term market sentiment by combining the trend of the S&P 500 index (SPX) with daily price volatility (DP%).
Key Features:
Calculates a 5-period Exponential Moving Average (EMA) of SPX to detect trend direction:
Rising EMA → Uptrend
Falling EMA → Downtrend
Calculates a 5-period Simple Moving Average (SMA) of Daily Price Range % (DP%) to assess volatility trend:
Rising DP% → Increasing volatility
Falling DP% → Decreasing volatility
Background Colors:
Green: SPX trend up & volatility down → Bullish
Yellow:
SPX trend up & volatility up, or
SPX trend down & volatility down → Neutral
Red: SPX trend down & volatility up → Bearish
On-screen Labels:
Displays SPX trend direction (⬆️ / ⬇️)
Displays volatility direction (⬆️ / ⬇️)
Displays overall market sentiment: Bullish / Neutral / Bearish
This tool is designed to help traders quickly assess the relationship between trend and volatility, aiding in market environment analysis and discretionary trading decisions.
Liquidity Sweep + BoS + FVG (Up & Down)Description of the Alert – Liquidity Sweep + Break of Structure + Fair Value Gap (FVG)
This custom TradingView indicator is designed to identify high-probability market reversal or continuation setups based on smart money concepts (SMC). Specifically, it detects a 3-step price action pattern:
1. Liquidity Sweep:
A candle breaks above recent highs (buy-side liquidity) or below recent lows (sell-side liquidity), indicating that liquidity has been grabbed.
2. Break of Structure (BoS):
After the sweep, price breaks above a significant previous high (bullish BoS) or below a significant previous low (bearish BoS), confirming a directional shift.
3. Fair Value Gap (FVG):
A price imbalance is created — typically a gap between candle bodies — showing where price may return before continuing in the new direction.
When all three conditions occur in the correct sequence within a short timeframe, the indicator generates a visual alert on the chart and optionally triggers a TradingView alert notification.
How to Use It
1. Add the Script to Your Chart:
Save and add it to your chart.
2. Set Alerts:
Right-click on the chart or open the “Alerts” tab.
Choose the condition:
Buy Setup → Bullish liquidity sweep + BoS + FVG
Sell Setup → Bearish liquidity sweep + BoS + FVG
Choose how you want to be notified (popup, sound, email, mobile push).
3. Trading Strategy:
Buy Setup: Look for long positions when the indicator shows a green box and “BUY Setup” label. Wait for price to revisit the FVG zone and look for confirmation (e.g., bullish engulfing candle).
Sell Setup: Look for short positions when a red box and “SELL Setup” label appear. Confirm on price return to the bearish FVG zone.
4. Timeframe:
Best used on 1H, 4H or Daily charts for cleaner structure and stronger setups.
**Note:
This is a pattern-based alert, not a full entry system. Combine it with your own confirmations (e.g., MACD, RSI, candlestick formations) and risk management plan.
Liquidity Sweep Detector – PDH/PDL LevelsPrevious Day High/Low Liquidity Sweep Detector (Intraday Accurate)
This indicator tracks the previous day's high and low using intraday data, rather than the daily candle, ensuring precise sweep detection across lower timeframes (15m to 4H).
It monitors for liquidity sweeps—moments when price briefly moves above the previous high or below the previous low—and visually marks these events on the chart.
Key Features
Intraday-accurate PDH/PDL tracking
Real-time sweep detection
On-chart labels marking sweep events
Toggleable table showing sweep status
Alert conditions for PDH/PDL sweep triggers
Best For
Traders who use Smart Money Concepts (SMC), liquidity-based strategies, or look for stop hunts and reversal zones tied to key prior-day levels.
Works well across FX, crypto, and indices on 15m, 1H, and 4H charts.
[Tradevietstock] Market Trend Detector_Pulse CrafterBest technical indicator to detect market trend- Pulse Crafter
Hello folks, it's Tradevietstock again! Today, I will introduce you to Pulse Crafter Indicator, which can help you identify market cycle and find your best entry/exit effectively.
i. Overview
1. What is Market Trend Detector_ Pulse Crafter?
Market Trend Detector_ Pulse Crafter is a robust TradingView indicator built to analyze market trends and deliver actionable insights across multiple asset classes. Packed with tools like Bollinger Bands, Ichimoku Cloud, customizable Moving Averages, the Tradevietstock Super HMA, and Beta Volatility Detection, it’s a comprehensive solution for traders seeking clarity in complex markets.
2. The Logic Behind
The market is highly unpredictable, and many traders may not possess advanced skills in data analysis or quantitative techniques. To address this, I developed an indicator that combines well-known trend-detection tools with enhanced mathematical functions for improved precision.
For example, I customized the Bollinger Bands by adjusting their color scheme to better reflect short-term trends. I also enhanced the widely-used Ichimoku Cloud indicator by adding a gradient color effect, making market trends more visually intuitive and easier to interpret. These thoughtful visual adjustments—built upon established technical analysis principles—help transform basic indicators into a more accessible and visually compelling toolset for traders.
In addition, the system includes a flexible combination of moving averages. Users can seamlessly switch between SMA (Simple Moving Average) and EMA (Exponential Moving Average) based on their preferences or trading strategy. This set includes six different moving averages, each with full monitoring capabilities for comprehensive trend tracking.
a. Bollinger Bands with display adjustment
Bollinger Bands can be used in trading to identify volatility, trend strength, and potential reversal points. When the price consistently touches or rides the upper band, it signals strong upward momentum, while riding the lower band indicates a strong downtrend. A common strategy is to use the middle band (a 20-period simple moving average) as dynamic support or resistance during trends. Another powerful setup is the Bollinger Band Squeeze, which occurs when the bands contract tightly—signaling a period of low volatility.
This often precedes a breakout; if the price breaks above the upper band with strong volume, it may suggest a buying opportunity, while a break below the lower band may indicate a potential short position. Traders can also watch for price to revert to the mean after touching the outer bands—especially in a ranging market—using the middle band as a target for profit-taking. However, it's essential to confirm these signals with other indicators or price action to reduce the risk of false entries. Some notable enhancements include the custom color settings, which help traders quickly identify short-term trends. A red band indicates a bearish trend, while a green band suggests a bullish trend. This visual cue allows traders to align their Buy and Sell decisions more effectively with the prevailing market direction shown by the indicator.
b. Ichimoku Clouds and the adjustment of colors
To use the Ichimoku Cloud effectively in trading, start by identifying the overall market trend. When the price is above the cloud, it's considered an uptrend; when below, it's a downtrend; and when it's inside the cloud, the market is likely ranging or neutral.
For a buy signal, traders typically look for the price to break above the cloud, the Tenkan-sen (conversion line) to cross above the Kijun-sen (base line), and the Chikou Span (lagging line) to be positioned above the price and the cloud—these conditions together signal strong bullish momentum. For a sell signal, the opposite applies: price breaks below the cloud, the Tenkan-sen crosses below the Kijun-sen, and the Chikou Span is below the price and cloud. Stop-losses are often placed just outside the opposite edge of the cloud, and traders may use the Kijun-sen as a dynamic trailing stop to lock in profits while riding the trend. It’s important to avoid trading when the price is inside the cloud, as this suggests indecision or a lack of clear direction.
c. Moving Average lines
With the Market Trend Detector_Pulse Crafter Indicator, traders have access to a flexible set of six Moving Averages, with the ability to switch between SMA (Simple Moving Average) and EMA (Exponential Moving Average) options. One of the most common strategies involving moving averages is the crossover technique, where a shorter-period MA crosses above (bullish signal) or below (bearish signal) a longer-period MA. While this strategy is widely used, it's important to note that it can sometimes produce false signals or delayed entries, leading to potential losses—especially in choppy markets. Therefore, I recommend that beginners go beyond just the crossover method and explore additional applications of moving averages. For instance, moving averages can serve as dynamic support and resistance levels, or be used as a statistical benchmark in more advanced strategies, helping traders gauge overall market momentum and make better-informed decisions.
D. Volatility Range and Beta Volatility
This is the most important feature in the entire script. I built it to better detect market trends and capture decisive movements that could signal either a reversal or a strong confirmation.
The Volatility Range (True Range Bands) is a dynamic indicator built on the Average True Range (ATR), designed to adapt to market volatility in real time. Unlike traditional indicators that use static ranges or fixed values, the True Range Band adjusts its upper and lower limits based on recent market activity. It wraps around a Hull Moving Average (HMA), expanding during high volatility and tightening during quiet periods. This makes it particularly useful for identifying trend strength, breakout opportunities, and potential reversal zones. Because it reacts to the intensity of market movement, traders can use it to fine-tune their entry and exit points with greater precision than with standard tools like Bollinger Bands.
The Beta Volatility Detection feature adds another layer of sophistication by incorporating a statistical approach to measuring how much an asset moves in relation to a broader market index, like the S&P 500. This is done by calculating the beta coefficient over a specified lookback period, revealing whether an asset is trending more aggressively than the market itself. When beta exceeds a certain threshold, the system highlights it visually, signaling a strong market trend or deviation. This helps traders stay aligned with momentum-driven movements and avoid false signals that more rigid indicators might miss.
II. How to Use and Trade with the Trend
1. Setting Up
There are two core setups available for traders, but let’s start with the one I personally use the most:
a. Default Setting (My Go-To Setup)
In the Default setting, we activate the Volatility Range (True Range Bands), the 250 and 50 Simple Moving Averages (SMA), and Beta Volatility Detection. This is my preferred configuration, and for good reason.
Unlike traditional strategies that rely heavily on moving average crossovers, I use moving averages purely as statistical reference points. According to Tradevietstock's framework, the SMA 250 represents the long-term trend. Every time the price touches or reacts to this line, it means something—it’s not random. It’s a statistically significant moment, and that's where we pay close attention.
The Volatility Range (True Range Bands) is the centerpiece of this setup. These bands adapt to market volatility and mark critical moments when price breaks beyond its recent range. A move outside the bands often signals either a trend reversal or a strong continuation—both are decision points.
Next, we have Beta Volatility, which reads the market’s pulse. When beta spikes past your threshold, it shows the asset is moving with conviction—exactly the kind of momentum we want. But in low-volatility, sideways markets, trades stall. We avoid that. We wait for volatility—because we trade trends, not noise.
Also included is an updated feature: Bullish/Bearish Breakout Signals —highlighting Volatility Range breakouts to spot decisive market moves and anticipate future trends.
For example:
A yellow triangle + yellow candlestick = Bullish breakout. That candlestick is your ideal entry for a potential rally.
A blue triangle + blue candlestick = Bearish signal. That warns of a likely downtrend.
Lastly, every asset has its own volatility profile—its own beta. That’s why you should adjust the Min Breakout % Change . This setting defines how much price must move to count as a decisive breakout—usually a rare, significant price shift that signals something big is happening.
b. Alternate Setting with Basic Indicators (Beginner-Friendly, Still Powerful)
While this isn’t my primary setup, it’s still extremely useful—especially for newer traders who haven’t yet developed statistical techniques or quantitative experience. Think of this as the go-to mode for beginners who are still getting familiar with trend detection tools.
In this setup, you’ll be working with Bollinger Bands, Ichimoku Clouds, and Moving Average strategies. These are foundational indicators that have stood the test of time. They’re visually intuitive and easy to interpret, making them perfect for anyone still building their trading instincts.
Bollinger Bands help you understand volatility and identify price extremes. When the price touches or moves outside the bands, it can signal potential reversals or the continuation of a breakout.
Ichimoku Clouds offer a full-picture trend framework—support, resistance, momentum, and even future projections—all in one. It's a bit complex at first glance, but once you get used to it, it’s a powerful all-in-one tool.
Moving Averages (like the 10, 50, 100, or 200 SMA/EMA) let you track trend direction and strength over various timeframes. While I personally don’t trade off MA crossovers, they’re still valuable for understanding the market’s broader structure.
This setup is less about statistical modeling and more about building good habits: watching trend alignment, understanding support/resistance zones, and staying on the right side of momentum. If you’re just starting out, it’s a solid, practical foundation that can take you far.
2. Trading strategy according to each set up
a. Default Mode
With my go-to setup, we focus heavily on price breakouts and the background color, which signals high volatility in the market. These are the moments when the market speaks loudest—either a trend is about to explode or reverse sharply. But there’s another key piece we watch closely: the distance between the current price and the 250-day moving average (SMA 250). This gap isn’t just a visual—it's a risk gauge.
The larger the gap between price and the 250-day moving average (SMA 250), the higher the risk—especially for newcomers. When price stretches too far above this long-term average, it often signals overextension. A sharp spike above the 250MA isn’t a green light to buy—it’s usually a warning. It can indicate that the market is overheating, often driven by FOMO and greed, not fundamentals. That’s the moment to consider taking profits, scaling out, or even fully cashing out, because these parabolic moves frequently mark a market top.
Recognizing these extremes helps you avoid chasing hype and getting trapped in the inevitable pullback. A perfect example is TSLA, which was recently trading nearly 94% above its 250-day moving average. That kind of distance is not a smart entry—it’s a caution flag. And this is exactly why I treat the 250MA as a benchmark, not a signal. It’s a context tool that helps you understand when the market is out of balance, not something to blindly trade off of.
Now let’s apply another part of the Default Mode: breakouts and volatility. When price breaks above the True Range Bands and then crosses above the SMA250, it’s a strong bullish signal. This combo often confirms a trend reversal from a bear market. That’s the perfect moment to BUY.
This strategy helps us capture both the right timing and price zone for entering a new bull market. Take the example we used earlier—the stock doubled after the initial buy, perfectly aligning with the breakout signals from this indicator.
Furthermore, avoiding flat markets is essential—especially in the CFD market, where no trend means no trade. This is where Beta Volatility becomes critical. It helps us identify whether we’re in a bull or bear phase, so we can position ourselves early and ride the wave ahead. Once the trend is confirmed, we use the other tools in this strategy—like True Range Bands and SMA benchmarks—to catch the right signals and execute high-probability trades.
Example: With AMZN, we saw the price break below the True Range Bands—an early bearish signal. This was followed by a sharp drop that pushed the price below the 250-day moving average (SMA250), all during a period of high volatility. Together, these signs confirm a strong bearish trend in AMZN, indicating that the stock has entered a bear market phase.
=> With this Default Mode strategy—built on True Range Bands, Beta Volatility, and the SMA250—we can easily identify the trend and time our entries and exits with precision.
✅ Buy/Entry Signals: Breakout above True Range Bands + Breakout above SMA250 + High Volatility (confirmed by Beta Volatility)
This combo signals strong momentum and a trend shift—ideal for entry.
❌ Sell/Exit Signals: Breakout below True Range Bands + Breakout below SMA250 + High Volatility (confirmed by Beta Volatility)
This combination signals strong downside momentum and potential trend reversal—ideal for exiting or shorting.
b. Basic Strategy for Newbies
Buy/Entry Signals
As I’ve mentioned before, we only trade when there’s a trend—no trend, no trade. In this basic strategy, a bullish signal begins when the Bollinger Bands turn green, indicating upward momentum. But we don’t rely on that alone. We wait for additional confirmation, such as a shorter moving average crossing above a longer moving average, which signals trend strength and continuation.
For example, I applied this setup with LMT (Lockheed Martin). After the Bollinger Bands turned green and the moving averages crossed bullishly, I entered the trade. The result? LMT rose by around 15%—a solid move confirmed by simple, beginner-friendly indicators.
Sell/Exit Signals
Conversely, for sell or exit signals, we look for the Bollinger Bands to turn red, indicating bearish momentum. We also wait for the shorter moving average to cross below the longer one, confirming a downtrend. Additionally, price should break below key support levels or moving averages to validate the breakout.
For extra confirmation, we can use Ichimoku Clouds. The larger the cloud, the stronger the trend. Its color also reflects trend strength, making it a useful tool to support the trading signals mentioned above. A large, bold green cloud indicates a strong bull market. The size and intensity of the color reflect strong momentum and trend confidence, signaling that buyers are firmly in control.
During a major trend, minor correction waves are normal. To determine whether it's just a small pullback or a true reversal, watch the size of the Ichimoku cloud and its color.
iii. Optimal Use by Market Type
Here’s how we suggest using Pulse Crafter depending on what you trade:
Stocks: Best used on the Daily or Weekly chart for swing trades.
Cryptocurrency: Works well on BTC, ETH, or major altcoins using Daily and Weekly charts. Great for catching larger trend reversals.
CFDs and Forex: QFI is built for higher timeframes (H4, D1, W1), where it produces cleaner and more reliable signals.
Best Ways to Use It
🟢 Stocks
Works well on Weekly and Daily charts for swing entries
🟡 Crypto
Works best on Weekly and Daily charts
Good for trend-catching on BTC, ETH, or altcoins
🔴 CFDs
Designed with precision in mind — works on bigger timeframes, like H4, D1, and W1
The Pulse Crafter Indicator is a flexible and powerful tool for navigating full market trends. Its ability to highlight key phases and generate timely signals makes it easier to plan entries, ride trends with confidence, and exit at the right moments.
In addition to its core features, Pulse Crafter supports multiple indicators for confirmation, allowing traders to strengthen their strategies with additional layers of insight. Whether you're trading the spot market or CFDs, and especially when working with larger timeframes like daily (D) or weekly (W), this indicator helps you trade with clarity and confidence.
If you're serious about understanding market structure and improving your timing, Market Trend Detector_Pulse Crafter, the best Indicator to detect market trends, can become a central part of your strategy — no matter what market you're in.
SoloTrade SMThis indicator displays historical Order Blocks, Imbalances, and highlights price candles with the highest volumes in a color of your choice to ensure you don’t miss key volume entries.
+ Fractals have been added.
________
Данный индикатор отображает на истории ОрдерБлоки, Имбалансы, также ценовые свечи с наибольшими объемами окрашиваются в нужный для вас цвет, чтобы вы не пропустили вход объемов.
+Добавлены фракталы.
REW Ver3 - CNTIntroducing Our VIP Indicators – Your Edge in the Markets
Our VIP Indicators are advanced, battle-tested tools designed for serious traders who seek accuracy, consistency, and high-performance signals. Built upon a solid foundation of price action, volume dynamics, and trend momentum, these indicators provide real-time alerts for optimal entry and exit points across major assets like Forex, Gold (XAUUSD), and Crypto. With intuitive visual cues, clean interface, and regular updates, they help you trade with confidence and clarity. Trusted by hundreds of dedicated members, our VIP system is not just an indicator – it’s your strategic trading partner.
Contact: www.zalo.me
Venberg - MA PresetsIndicator: Moving Averages with Trend Detection
This script creates a versatile moving average indicator with two preset configurations and automatic trend detection. Here's what it does:
Core Functionality:
1. Dual Preset System:
- Intraday Preset*: Toggles 7-period SMA and 30-period SMA (short-term analysis)
- Trend Preset*: Toggles 365-period EMA, 200-period EMA, and 20-period EMA (long-term analysis)
2. Moving Average Calculations:
- EMA 365 (365-day exponential)
- EMA 200 (200-day exponential)
- EMA 20 (20-day exponential)
- SMA 30 (30-day simple)
- SMA 7 (7-day simple)
3. Trend Detection Logic:
- Monitors crossovers between SMA7 and SMA30
- ▲ Bullish signal when SMA7 crosses above SMA30
- ▼ Bearish signal when SMA7 crosses below SMA30
- Maintains last trend state when no new crosses occur
4. **Visual Customization**:
- Thin lines (width=1) for SMA7 and EMA20
- Thick lines (width=2) for other MAs
- Color scheme:
* SMA7: Orange
* SMA30: Blue
* EMA365: Green
* EMA200: Red
* EMA20: Purple
5. Trend Display Table:
- Appears in top-right corner
- Only visible when Intraday preset is active
- Dynamic coloring:
* Green text for bullish trends
* Red text for bearish trends
- Semi-transparent gray background
Key Features:
- Independent toggle for each preset
- Auto-updating trend labels
- Optimized line thickness for clear chart reading
- Multiple time horizon analysis in one indicator
Practical Uses:
1. Identify short-term reversals (SMA7/SMA30 crosses)
2. Confirm long-term trends (EMA200/EMA365 positions)
3. Filter market noise using multiple timeframe confirmation
4. Visualize support/resistance levels through MA clusters
The indicator automatically hides inactive elements when presets are disabled, keeping your chart clean while maintaining all functionality. The trend table provides instant visual confirmation of the current market direction based on your selected configuration.
Tolga's EMA Scalper – Buy / SellEMA line – Calculates a 20‑period Exponential Moving Average (EMA) of the chosen price series (close by default) and plots it in blue.
8‑bar range – Finds the highest and lowest closing prices over the last 8 bars and plots them as a red upper band and a green lower band, giving you a mini‑range reference.
Buy / Sell signals –
Sell: When price crosses the EMA and the current close is lower than the previous close, a red “Sell” arrow appears above the bar.
Buy: When price crosses the EMA and the current close is higher than the previous close, a green “Buy” arrow appears below the bar.
Alerts – Two alertcondition rules let TradingView fire alerts whenever a buy or sell signal is generated.
ORB фон (США + Европа, 5 мин)The opening of the European and American session is displayed with vertical highlighting. 5 minute tf
Открытие европейской и американской сессии отображается вертикальной подсветкой. 5 минутный тф
SessionBarThis PineScript is designed to display various visual elements on a chart to help traders track session activity within the lower time frames, specifically for the USA main session. Here's a breakdown of the script's functionality:
Session Tracking
The script tracks the USA main session, defined as 9:30 AM to 4:00 PM ET, Monday through Friday.
Visual Elements
The script displays various visual elements, including:
1. Session Open and Close Lines: Lines marking the open and close of the USA main session.
2. Session High and Low Lines: Lines marking the high and low of the USA sessions.
3. Active Session Bar: A Realtime Candle as the current session bar.
4. Overnight Session Bar: A Realtime Candle as the overnight session bar.
5. Session Timer: A label displaying the time left until the next session.
6. Background Colors: Colors indicating different session periods, such as pre-market, post-market, and active session.
Customization
The script allows users to customize various aspects, including:
1. Session Time: Users can adjust the session time.
2. Colors: Users can choose colors for different visual elements.
3. Display Options: Users can toggle the display of various visual elements.
Overall, this script provides a educational tool for traders to track session activity and visualize key market data.
Swing Rays + SFP Detector-created by friends of $BRETT.
this indicator marks out Swing Highs and Lows and a specific reversal pattern known as SFP ( helps you catch the bottom and tops )
Momentum Candle Early AlertMomentum Candles Indicator and Alert,
You can change the factor from 1x to 1,5x
Liquidity Sweep AlertThis alert script detects liquidity sweeps, which occur when price briefly breaks above a recent high or below a recent low, then quickly reverses. These events often indicate institutional stop hunts and potential market reversals. The alert is triggered when a candle exceeds a defined high/low range but fails to close beyond it—signaling a failed breakout. It's ideal for identifying high-probability reversal zones in both trending and ranging markets.
🤖🧠 ALGO Sniper🤖🧠 How the Script Works
The ALGO Sniper Indicator is a powerful trend-following tool designed to identify high-probability trading opportunities with precise buy and sell signals. Built on Pine Script v5, it leverages advanced trend detection and risk management features to enhance trading decisions. Below are the key mechanics of the script:
1. Advanced Trend Detection: Utilizes a smoothed range algorithm and the proprietary Algo Sniper filter to identify market trends, ensuring accurate trend direction analysis.
2. Candle-Close Signals: Generates buy and sell signals only after candle confirmation (barstate.isconfirmed), eliminating lag and ensuring reliable entries.
3. Sideways Market Filter: Includes a "No Signal in Sideways Market" option to avoid false signals during low-volatility, range-bound conditions.
4. Dynamic Stop-Loss: Offers both manual (ATR-based) and auto (20-40 pips) stop-loss options, allowing users to manage risk effectively.
5. Flexible Take-Profit: Supports manual (user-defined pips) and auto (300-800 pips) take-profit settings for customizable profit targets.
6. Visual Clarity: Plots clear buy/sell signals with "STRONG BUY" and "STRONG SELL" labels, along with dashed stop-loss and entry lines for easy trade monitoring.
7. Customizable Inputs: Provides user-friendly inputs for scan range, observation period, stop-loss offset, line colors, and thicknesses to tailor the indicator to individual preferences.
8. Alert System: Includes alert conditions for buy, sell, and take-profit events, enabling users to stay informed about market opportunities.
9. Volatility Adjustment: Adapts to market conditions using a smoothed range multiplier, ensuring robust performance across different assets and timeframes.
10. Non-Repainting Logic: Signals are generated post-candle close, preventing repainting and providing dependable trade setups.
AlgoRanger FlowState//@version=5
indicator("AlgoRanger FlowState", overlay=true)
// === INPUTS ===
atrPeriod = input.int(10, title="ATR Period")
factor = input.float(3.0, title="Multiplier")
// === ATR & BASIC BANDS ===
atr = ta.atr(atrPeriod)
hl2 = (high + low) / 2
upperBand = hl2 + factor * atr
lowerBand = hl2 - factor * atr
// === SUPER TREND LOGIC ===
var float supertrend = na
var bool isUpTrend = true
if na(supertrend)
supertrend := hl2
else
if close > supertrend
supertrend := math.max(lowerBand, supertrend)
isUpTrend := true
else
supertrend := math.min(upperBand, supertrend)
isUpTrend := false
// === TREND REVERSAL SIGNALS ===
buySignal = isUpTrend and not isUpTrend
sellSignal = not isUpTrend and isUpTrend
// === PLOT SUPER TREND ===
plot(supertrend, title="Supertrend", color=isUpTrend ? color.green : color.red, linewidth=2)
// === PLOT COLOR-CODED BARS ===
barcolor(isUpTrend ? color.new(color.green, 0) : color.new(color.red, 0))
Whale Zones (Accumulation & Distribution)Zone d'accumulation - Défendue / Zone de Distribution - Zone d'achat impulsive
Buying vs Selling Pressure **Buying vs Selling Pressure**
This indicator measures and visualizes intrabar buying and selling pressure using a normalized ATR-based formula. It helps identify which side—buyers or sellers—is currently in control.
🔍 How it works:
Buying Pressure: Calculated from the distance between the close and low, adjusted by ATR.
Selling Pressure: Calculated from the distance between the high and close, also adjusted by ATR.
Histogram bars change color based on which side is stronger:
🟢 Green = Buying pressure dominant
🔴 Red = Selling pressure dominant
🔵 Blue = Potential transition or imbalance
Includes a zero line for easy reference.
This script is useful for spotting intraday momentum shifts and understanding market behavior beyond just candlestick patterns.