Dual Keltner Channels Strategy [Eastgate3194]This strategy utilised 2 Keltner Channels to perform counter trade.
The strategy have 2 steps:
Long Position:
Step 1. Close price must cross under Outer Lower band of Keltner Channel.
Step 2. Close price cross over Inner Lower band of Keltner Channel.
Short Position:
Step 1. Close price must cross over Outer Upper band of Keltner Channel.
Step 2. Close price cross under Inner Upper band of Keltner Channel.
Volatilità
Normalized FX Weighted Daily % Change vs DXYThis indicator tracks international liquidity flows by measuring the USD’s relative strength against major currencies—EUR, CNY, JPY, GBP, and CAD. It calculates the weighted percentage change of each pair over a specified interval. A positive reading means the USD is weakening (liquidity flowing out of the US), while a negative reading indicates the USD is strengthening (liquidity flowing in). Additionally, the indicator incorporates the DXY index and VIX, with all components normalized using Z-scores for clear, comparable insights into market dynamics.
Combined Up down with volumeThis indicator plots a purple dot 🟣 when a stock moves up or down by 5% or more with a minimum volume of 500,000.
✅ You can customize the volume and percentage settings to fit your trading style.
📌 More dots = High volatility & liquidity
📌 Fewer dots = Slow-moving stock
Perfect for spotting fast-moving opportunities!
Elastic Volume-Weighted Student-T TensionOverview
The Elastic Volume-Weighted Student-T Tension Bands indicator dynamically adapts to market conditions using an advanced statistical model based on the Student-T distribution. Unlike traditional Bollinger Bands or Keltner Channels, this indicator leverages elastic volume-weighted averaging to compute real-time dispersion and location parameters, making it highly responsive to volatility changes while maintaining robustness against price fluctuations.
This methodology is inspired by incremental calculation techniques for weighted mean and variance, as outlined in the paper by Tony Finch:
📄 "Incremental Calculation of Weighted Mean and Variance" .
Key Features
✅ Adaptive Volatility Estimation – Uses an exponentially weighted Student-T model to dynamically adjust band width.
✅ Volume-Weighted Mean & Dispersion – Incorporates real-time volume weighting, ensuring a more accurate representation of market sentiment.
✅ High-Timeframe Volume Normalization – Provides an option to smooth volume impact by referencing a higher timeframe’s cumulative volume, reducing noise from high-variability bars.
✅ Customizable Tension Parameters – Configurable standard deviation multipliers (σ) allow for fine-tuned volatility sensitivity.
✅ %B-Like Oscillator for Relative Price Positioning – The main indicator is in form of a dedicated oscillator pane that normalizes price position within the sigma ranges, helping identify overbought/oversold conditions and potential momentum shifts.
✅ Robust Statistical Foundation – Utilizes kurtosis-based degree-of-freedom estimation, enhancing responsiveness across different market conditions.
How It Works
Volume-Weighted Elastic Mean (eμ) – Computes a dynamic mean price using an elastic weighted moving average approach, influenced by trade volume, if not volume detected in series, study takes true range as replacement.
Dispersion (eσ) via Student-T Distribution – Instead of assuming a fixed normal distribution, the bands adapt to heavy-tailed distributions using kurtosis-driven degrees of freedom.
Incremental Calculation of Variance – The indicator applies Tony Finch’s incremental method for computing weighted variance instead of arithmetic sum's of fixed bar window or arrays, improving efficiency and numerical stability.
Tension Calculation – There are 2 dispersion custom "zones" that are computed based on the weighted mean and dynamically adjusted standard student-t deviation.
%B-Like Oscillator Calculation – The oscillator normalizes the price within the band structure, with values between 0 and 1:
* 0.00 → Price is at the lower band (-2σ).
* 0.50 → Price is at the volume-weighted mean (eμ).
* 1.00 → Price is at the upper band (+2σ).
* Readings above 1.00 or below 0.00 suggest extreme movements or possible breakouts.
Recommended Usage
For scalping in lower timeframes, it is recommended to use the fixed α Decay Factor, it is in raw format for better control, but you can easily make a like of transformation to N-bar size window like in EMA-1 bar dividing 2 / decayFactor or like an RMA dividing 1 / decayFactor.
The HTF selector catch quite well Higher Time Frame analysis, for example using a Daily chart and using as HTF the 200-day timeframe, weekly or monthly.
Suitable for trend confirmation, breakout detection, and mean reversion plays.
The %B-like oscillator helps gauge momentum strength and detect divergences in price action if user prefer a clean chart without bands, this thanks to pineScript v6 force overlay feature.
Ideal for markets with volume-driven momentum shifts (e.g., futures, forex, crypto).
Customization Parameters
Fixed α Decay Factor – Controls the rate of volume weighting influence for an approximation EWMA approach instead of using sum of series or arrays, making the code lightweight & computing fast O(1).
HTF Volume Smoothing – Instead of a fixed denominator for computing α , a volume sum of the last 2 higher timeframe closed candles are used as denominator for our α weight factor. This is useful to review mayor trends like in daily, weekly, monthly.
Tension Multipliers (±σ) – Adjusts sensitivity to dispersion sigma parameter (volatility).
Oscillator Zone Fills – Visual cues for price positioning within the cloud range.
Posible Interpretations
As market within indicators relay on each individual edge, this are just some key ideas to glimpse how the indicator could be interpreted by the user:
📌 Price inside bands – Market is considered somehow "stable"; price is like resting from tension or "charging batteries" for volume spike moves.
📌 Price breaking outer bands – Potential breakout or extreme movement; watch for reversals or continuation from strong moves. Market is already in tension or generating it.
📌 Narrowing Bands – Decreasing volatility; expect contraction before expansion.
📌 Widening Bands – Increased volatility; prepare for high probability pull-back moves, specially to the center location of the bands (the mean) or the other side of them.
📌 Oscillator is just the interpretation of the price normalized across the Student-T distribution fitting "curve" using the location parameter, our Elastic Volume weighted mean (eμ) fixed at 0.5 value.
Final Thoughts
The Elastic Volume-Weighted Student-T Tension indicator provides a powerful, volume-sensitive alternative to traditional volatility bands. By integrating real-time volume analysis with an adaptive statistical model, incremental variance computation, in a relative price oscillator that can be overlayed in the chart as bands, it offers traders an edge in identifying momentum shifts, trend strength, and breakout potential. Think of the distribution as a relative "tension" rubber band in which price never leave so far alone.
DISCLAIMER:
The Following indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
The following indicator was made for NON LUCRATIVE ACTIVITIES and must remain as is, following TradingView's regulations. Use of indicator and their code are published for work and knowledge sharing. All access granted over it, their use, copy or re-use should mention authorship(s) and origin(s).
WARNING NOTICE!
THE INCLUDED FUNCTION MUST BE CONSIDERED FOR TESTING. The models included in the indicator have been taken from open sources on the web and some of them has been modified by the author, problems could occur at diverse data sceneries, compiler version, or any other externality.
Fib BB on VWMA*ATRThis TradingView Pine Script is designed to plot Fibonacci Bollinger Bands on a Volume Weighted Moving Average (VWMA) using the Average True Range (ATR). The script takes a higher timeframe (HTF) approach, allowing traders to analyze price action and volatility from a broader market perspective.
🔹 How It Works
Higher Timeframe Data Integration
Users can select a specific timeframe to calculate the VWMA and ATR.
This allows for a more macro perspective, avoiding the noise of lower timeframes.
Volume Weighted Moving Average (VWMA)
Unlike the Simple Moving Average (SMA), VWMA gives higher weight to price movements with larger volume.
Calculation Formula:
𝑉𝑊𝑀𝐴=∑(𝐶𝑙𝑜𝑠𝑒×𝑉𝑜𝑙𝑢𝑚𝑒) / ∑𝑉𝑜𝑙𝑢𝑚𝑒
Since VWMA accounts for volume, it is more reactive to price zones with high buying or selling activity, making it useful for identifying liquidity zones.
ATR-Based Fibonacci Bollinger Bands
The Average True Range (ATR) is used to measure market volatility.
Instead of standard deviation-based Bollinger Bands, Fibonacci multipliers (2.618, 3.0, 3.414) are applied to ATR.
These bands adjust dynamically with market volatility.
🔹 Key Findings from Exploration
Through testing and analysis, this indicator seems to effectively detect supply and demand zones, particularly at the Fibonacci levels of 2.618 to 3.414.
Price frequently reacts at these bands, indicating that they capture key liquidity zones.
Potential Order Block Detection:
The ends of the Fibonacci Bollinger Bands (especially at 2.618, 3.0, and 3.414) tend to align with order blocks—areas where institutional traders previously accumulated or distributed positions.
This is particularly useful for order flow traders who focus on unfilled institutional orders.
🔹 How to Use This Indicator?
Identifying Order Blocks
When price reaches the upper or lower bands, check if there was a strong reaction (rejection or consolidation).
If price rapidly moves away from a band, that level might be an order block.
Spotting Liquidity Pools
VWMA’s nature enhances liquidity detection since it emphasizes high-volume price action.
If a price level repeatedly touches the band without breaking through, it suggests institutional orders may be absorbing liquidity there.
Trend Confirmation
If VWMA is trending upwards and price keeps rejecting the lower bands, it confirms a strong bullish trend.
Conversely, constant rejection from the upper bands suggests a bearish market.
This script is designed for open-source publication and offers traders a refined approach to detecting order blocks and liquidity zones using Fibonacci-based volatility bands.
📌 한글 설명 (상세 설명)
이 트레이딩뷰 파인스크립트는 거래량 가중 이동평균(VWMA)과 평균 실제 범위(ATR)를 활용하여 피보나치 볼린저 밴드를 표시하는 지표입니다.
또한, 고차 타임프레임(HTF) 데이터를 활용하여 시장의 큰 흐름을 분석할 수 있도록 설계되었습니다.
🔹 지표 작동 방식
고차 타임프레임(HTF) 데이터 적용
사용자가 원하는 타임프레임을 선택하여 VWMA와 ATR을 계산할 수 있습니다.
이를 통해 더 큰 시장 흐름을 분석할 수 있으며, 저타임프레임의 노이즈를 줄일 수 있습니다.
거래량 가중 이동평균(VWMA) 적용
VWMA는 단순 이동평균(SMA)보다 거래량이 많은 가격 움직임에 더 큰 가중치를 부여합니다.
계산 공식:
𝑉𝑊𝑀𝐴=∑(𝐶𝑙𝑜𝑠𝑒×𝑉𝑜𝑙𝑢𝑚𝑒) / ∑𝑉𝑜𝑙𝑢𝑚𝑒
거래량이 많이 발생한 가격 구간을 강조하는 특성이 있어, 시장의 유동성 구간을 더 정확히 포착할 수 있습니다.
ATR 기반 피보나치 볼린저 밴드 생성
ATR(Average True Range)를 활용하여 변동성을 측정합니다.
기존의 표준편차 기반 볼린저 밴드 대신, 피보나치 계수(2.618, 3.0, 3.414)를 ATR에 곱하여 밴드를 생성합니다.
이 밴드는 시장 변동성에 따라 유동적으로 조정됩니다.
🔹 탐구 결과: 매물대 및 오더블록 감지
테스트를 통해 Fibonacci 2.618 ~ 3.414 구간에서 매물대 및 오더블록을 포착하는 경향이 있음을 확인했습니다.
가격이 피보나치 밴드(특히 2.618, 3.0, 3.414)에 닿을 때 반응하는 경우가 많음
VWMA의 특성을 통해 오더블록을 감지할 가능성이 높음
🔹 오더블록(Order Block) 감지 원리
Fibonacci 밴드 끄트머리(2.618 ~ 3.414)에서 가격이 강하게 반응
이 영역에서 가격이 강하게 튀어 오르거나(매수 압력) 급락하는(매도 압력) 경우,
→ 기관들이 포지션을 청산하거나 추가 매집하는 구간일 가능성이 큼.
과거에 대량 주문이 체결된 가격 구간(= 오더블록)일 수 있음.
VWMA를 통한 유동성 감지
VWMA는 거래량이 집중된 가격을 기준으로 이동하기 때문에, 기관 주문이 많이 들어온 가격대를 강조하는 특징이 있음.
따라서 VWMA와 피보나치 밴드가 만나는 지점은 유동성이 높은 핵심 구간이 될 가능성이 큼.
매물대 및 청산 구간 분석
가격이 밴드에 도달했을 때 강한 반등이 나오는지를 확인 → 오더블록 가능성
가격이 밴드를 여러 번 테스트하면서 돌파하지 못한다면, 해당 지점은 강한 매물대일 가능성
🔹 활용 방법
✅ 오더블록 감지:
가격이 밴드(2.618~3.414)에 닿고 강하게 튕긴다면, 오더블록 가능성
해당 지점에서 거래량 증가 및 강한 반등 발생 시 매수 고려
✅ 유동성 풀 확인:
VWMA와 피보나치 밴드가 만나는 구간에서 반복적으로 거래량이 터진다면, 해당 지점은 기관 유동성 구간일 가능성
✅ 추세 확인:
VWMA가 상승하고 가격이 밴드 하단(지지선)에서 튕긴다면 강한 상승 추세
VWMA가 하락하고 가격이 밴드 상단(저항선)에서 거부당하면 하락 추세 지속
ADR Checker - Breakouts📈 ADR Checker – Breakouts
Gain the edge by knowing when a stock has already made its move.
🚀 What It Does:
The ADR Checker - Breakouts is a powerful yet simple visual tool that helps traders instantly assess whether a stock has already exceeded its Average Daily Range (ADR) for the day — a critical piece of information for momentum traders, swing traders, and especially those following breakout, VCP, or CANSLIM strategies.
Using a customizable on-screen table that always stays in view (regardless of zoom or chart scaling), this script shows:
✅ Average ADR% – 20-day average range, calculated in %.
📊 Today’s Move – how much the stock has moved today.
🔥 % of Avg ADR – today's move relative to its historical average, with live color feedback:
🟥 Over 100% (Overextended – danger!)
🟧 70-100% (Caution zone)
🟩 Below 70% (Room to move)
💡 Why It Matters:
One of the most overlooked mistakes by breakout traders is entering a trade after the move has already happened. If a stock has already moved more than its typical daily range, the odds of further continuation sharply decrease, while the risk of pullback or chop increases.
With this tool, you can:
🚫 Avoid chasing extended breakouts
🎯 Time entries before the real move
⚠️ Quickly assess risk/reward potential intraday
🧠 Example Use Case:
Imagine you're watching a classic VCP setup or flat base breakout. The stock breaks out on volume—but when you check this indicator, you see:
Today’s Move: 7.2%
Avg ADR: 5.3%
% of ADR: 135% 🟥
This tells you the stock is already well beyond its average daily range. While it may continue higher, odds now favor a consolidation, shakeout, or pullback. This is your cue to wait for a better entry or pass entirely.
On the flip side, if the breakout just started and the % of ADR is still under 50%, you have confirmation that there’s room to run — giving you more confidence to enter early.
⚙️ Fully Customizable:
Choose position on screen (top/bottom left/right)
Customize text color, background, and size
🔧 Install This Tool and:
✅ Stop chasing extended moves
✅ Add discipline to your entries
✅ Improve your breakout win rate
Perfect for VCP, CANSLIM, and BREAKOUT traders who want a clean, edge-enhancing visual guide.
Stocks Goats Ticker DisplayThis indicator displays a dynamic, customizable information panel overlay on your TradingView chart, providing at-a-glance details about the current asset. It’s perfect for traders who want quick access to essential stock fundamentals and real-time data without cluttering the chart.
🧩 What It Shows
✅ Company Name (with optional Market Cap)
✅ Ticker Symbol and Time Frame
✅ Industry & Sector
✅ Live Price
✅ Current Volume and 30-Day Average Volume
✅ ATR (14) Value with a Volatility Indicator (🔴 🟡 🟢)
⚙️ Customizable Options
You can tailor the display to your preferences using the settings panel:
📍 Positioning — Choose horizontal & vertical placement (left/middle/right, top/middle/bottom)
🎨 Text Appearance — Control text size, color, and background opacity
🏢 Toggle Display Elements:
Show/hide company name
Show/hide sector/industry
Show/hide symbol + time frame
Show/hide volume and price
Show/hide market cap
📈 ATR Volatility Emoji — Set custom thresholds for:
🔴 High volatility
🟡 Medium volatility
🟢 Low volatility Based on the percentage of ATR relative to price.
📌 Notes
Market Cap is calculated using shares_outstanding_total * close price
ATR is calculated using the standard 14-day average true range
Works best on stocks and ETFs with fundamental data available
[NLR] - SweetSpot ZonesThe Sweet Spot Zone helps you find the best spots to enter a trade, inspired by the " Follow Line Indicator " by Dreadblitz (big thanks to him!). It draws a colored zone on your chart to show ideal entry points, with a Base Point to keep you on track.
What It Does
Blue Zone: Uptrend—buy when the price dips into the zone.
Red Zone: Downtrend—sell or short when the price climbs into the zone.
Base Point: A gray line showing the key level the zone is built on.
How to Use It
Look for the colored zone:
- Blue: Buy if the price dips into the zone but stays above the Base Point.
- Red: Sell/short if the price climbs into the zone but stays below the Base Point.
Important: Avoid entering trade beyond base point - you might see low returns and face big drawdowns.
Confirm with other signals (like RSI/MACD) before entering.
Settings
ATR Length (10): How far back it looks to calculate price movement.
ATR Multiplier (2.5): How wide the zone is.
Error Margin (5.0): Keeps the zone steady during small price wiggles.
Uptrend/Downtrend Colors: Change the zone colors if you’d like!
Credits
Inspired by the "Follow Line Indicator" by Dreadblitz—check out his work for more great ideas!
BTC Volatility ForecastThe "BTC Volatility Forecast" indicator is designed to help traders anticipate Bitcoin (BTC) price volatility by analyzing historical daily price ranges and projecting future fluctuations. Inspired by advanced volatility forecasting studies, it calculates an approximate realized variance using the squared difference between each day’s high and low prices. By applying a simple linear regression model over the past five days of variance data (customizable via the "Lag Period" input), the indicator provides a forecast for the next day’s volatility. This makes it a valuable tool for BTC traders looking to gauge potential market turbulence and adjust their strategies accordingly.
On the chart, the indicator displays two lines: a blue solid line representing the current realized variance and an orange line showing the forecasted volatility for the upcoming day. Traders can set a "Volatility Threshold" to trigger alerts when the forecast exceeds a specified level, aiding in risk management or trade planning. A debug label on the last bar also shows the exact current and forecasted values for quick reference. While this version uses daily data for simplicity, it captures the essence of volatility prediction and can be a starting point for understanding BTC market dynamics—perfect for both novice and experienced traders on TradingView.
ThinkTech AI SignalsThink Tech AI Strategy
The Think Tech AI Strategy provides a structured approach to trading by integrating liquidity-based entries, ATR volatility thresholds, and dynamic risk management. This strategy generates buy and sell signals while automatically calculating take profit and stop loss levels, boasting a 64% win rate based on historical data.
Usage
The strategy can be used to identify key breakout and retest opportunities. Liquidity-based zones act as potential accumulation and distribution areas and may serve as future support or resistance levels. Buy and sell zones are identified using liquidity zones and ATR-based filters. Risk management is built-in, automatically calculating take profit and stop loss levels using ATR multipliers. Volume and trend filtering options help confirm directional bias using a 50 EMA and RSI filter. The strategy also allows for session-based trading, limiting trades to key market hours for higher probability setups.
Settings
The risk/reward ratio can be adjusted to define the desired stop loss and take profit calculations. The ATR length and threshold determine ATR-based breakout conditions for dynamic entries. Liquidity period settings allow for customized analysis of price structure for support and resistance zones. Additional trend and RSI filters can be enabled to refine trade signals based on moving averages and momentum conditions. A session filter is included to restrict trade signals to specific market hours.
Style
The strategy includes options to display liquidity lines, showing key support and resistance areas. The first 15-minute candle breakout zones can also be visualized to highlight critical market structure points. A win/loss statistics table is included to track trade performance directly on the chart.
This strategy is intended for descriptive analysis and should be used alongside other confluence factors. Optimize your trading process with Think Tech AI today!
Standard Deviation Lines v1.0Overview
The Standard Deviation Lines v1.0 indicator is designed to provide a statistical approach to market volatility by plotting multiple standard deviation levels based on price action. This tool helps traders identify key price levels where the market may experience significant reactions, making it useful for trend analysis, support/resistance identification, and volatility-based trading strategies.
Key Features
✅ Dynamic Standard Deviation Levels: Calculates and plots up to ±3 standard deviation levels, giving traders a clear view of price dispersion and potential overbought/oversold areas.
✅ Quadrant-Based Deviation Zones: Divides standard deviation ranges into smaller, meaningful levels (e.g., 0.214, 0.382, 0.50, 0.618, 0.786) for a granular analysis of price movements.
✅ VIX Integration for Volatility Adjustment: Incorporates CBOE:VIX to dynamically adjust standard deviation levels based on market volatility.
✅ Weekly vs. Daily Mode: Users can toggle between weekly and daily standard deviation calculations to adapt to different trading strategies.
✅ Auto-Updating Levels: The indicator refreshes at market close (17:00), ensuring traders work with the latest price data.
✅ Customizable Display: Uses color-coded lines to differentiate between positive and negative deviations, with dashed lines for mid-levels and key support/resistance areas.
How to Use
📌 Trend & Volatility Analysis – Higher standard deviation levels indicate strong price movements, helping traders assess trend strength and market volatility.
📌 Reversal & Continuation Signals – Prices reaching extreme standard deviation levels (±2 or ±3) may suggest potential reversals or breakouts.
📌 Support & Resistance Zones – The quadrant-based deviation zones help identify hidden support/resistance areas where price may react.
📌 Risk Management – Traders can use standard deviation bands to set stop-loss and take-profit levels based on statistical price dispersion.
Best For
🔹 Day traders & swing traders looking to incorporate volatility-based strategies.
🔹 Mean reversion traders who capitalize on price returning to statistical averages.
🔹 Momentum traders who want to confirm trend strength and continuation.
Try the Standard Deviation Lines v1.0 now and enhance your market analysis with a statistical edge!
Trapped Traders Order BlocksHow It Works
The Trapped Traders Order Blocks indicator identifies specific price action patterns that suggest large market participants ("big money") have been trapped in losing positions after significant price sweeps, creating potential opportunities for reversals. The indicator detects both "bullish trap blocks" (where bearish traders are trapped) and "bearish trap blocks" (where bullish traders are trapped). Here’s the step-by-step process for each:
Bullish Trap Block (Bears Trapped):
A bearish candle (Candle A) must sweep the high of the previous candle (Candle B), meaning its high exceeds the high of the prior candle.
This bearish candle must have a longer upper wick than its lower wick, indicating rejection of higher prices.
The candle must not be a doji (i.e., it must have a significant body, defined as the body being at least 10% of the candle's range).
The next candle (Candle C) must close above the body of the bearish candle (Candle A), suggesting that price has immediately moved against the bearish sweep, potentially trapping bearish traders who entered short positions expecting a downward move.
The body of the bearish candle (Candle A) is marked as a "bullish trap block." A box is drawn around this candle's body, and a label ("Bullish Trap") is placed below it.
Bearish Trap Block (Bulls Trapped):
A bullish candle (Candle A) must sweep the low of the previous candle (Candle B), meaning its low is below the low of the prior candle.
This bullish candle must have a longer lower wick than its upper wick, indicating rejection of lower prices.
The candle must not be a doji.
The next candle (Candle C) must close below the body of the bullish candle (Candle A), suggesting that price has immediately moved against the bullish sweep, potentially trapping bullish traders who entered long positions expecting an upward move.
The body of the bullish candle (Candle A) is marked as a "bearish trap block." A box is drawn around this candle's body, and a label ("Bearish Trap") is placed above it.
Dynamic Box Extension:
For both bullish and bearish trap blocks, the box extends dynamically to the current bar unless it exceeds a user-defined age (default is 52 bars), at which point it stops at the maximum age.
Sweep Detection:
Bullish Sweep (of any trap block, bullish or bearish):
The current candle's open is above the top of the box.
The low is below the top of the box.
The close is above the top of the box.
The lower wick is longer than the upper wick (indicating rejection of lower prices).
The close is above 50% of the candle's range (ensuring a strong bullish bias).
When a bullish sweep occurs, a label ("Bullish Sweep") is placed at the low of the candle, pointing upward, and an alert is triggered.
Bearish Sweep (of any trap block, bullish or bearish):
The current candle's open is below the bottom of the box.
The high is above the bottom of the box.
The close is below the bottom of the box.
The upper wick is longer than the lower wick (indicating rejection of higher prices).
The close is below 50% of the candle's range (ensuring a strong bearish bias).
When a bearish sweep occurs, a label ("Bearish Sweep") is placed at the high of the candle, pointing downward, and an alert is triggered.
When to Be Used
The Trapped Traders Order Blocks indicator is best used in the following scenarios:
Reversal Trading:
Use this indicator to identify potential reversal points in the market. Bullish trap blocks suggest that trapped bears may unwind their short positions, leading to a potential bullish move. Bearish trap blocks suggest that trapped bulls may unwind their long positions, leading to a potential bearish move.
Look for sweeps of these blocks as confirmation of a directional move. A bullish sweep indicates a potential upward move, while a bearish sweep indicates a potential downward move.
Range-Bound Markets:
In sideways or ranging markets, trapped blocks can highlight key levels where large players have been caught off-guard. These levels often act as support or resistance, and a sweep of the block can signal a breakout or continuation in the direction of the sweep.
Confluence with Other Indicators:
Combine the trapped blocks with other technical analysis tools, such as support/resistance levels, Fibonacci retracements, or volume analysis, to increase the probability of a successful trade. For example, a bullish trap block near a strong support level with a bullish sweep can provide a high-probability setup for a long position, while a bearish trap block near a strong resistance level with a bearish sweep can signal a short opportunity.
Timeframes:
The indicator is most effective on higher timeframes such as 1-day (1D), 1-week (1W), and 1-month (1M) charts. These timeframes are more likely to capture significant moves involving large market participants, reducing noise and false signals compared to lower timeframes. While it can be used on lower timeframes (e.g., 1-hour or 4-hour), the signals may be less reliable due to increased market noise.
Logic Behind It
The logic behind the Trapped Traders Order Blocks indicator is rooted in market psychology and the behavior of large market participants ("big money"). When a large sweep candle occurs where price spikes in one direction but then quickly reverses it often indicates that traders have entered positions in the direction of the sweep, expecting a continuation. However, if the price immediately moves against them, these traders are now trapped in losing positions.
Bullish Trap Block (Bears Trapped):
A large bearish sweep candle (spiking upward but closing lower) suggests that bearish traders (bears) have entered short positions at the top of the move, expecting a downward continuation. If the next candle closes above the bearish candle's body, these bears are trapped in losing positions.
The body of the bearish candle becomes a "bullish trap block" because the trapped bears are likely to have placed their stop-loss orders or break-even exit orders just above the high of the sweep candle or within the body of the candle. As price revisits this level in the future, these trapped traders may attempt to unwind their positions by buying back their shorts, which can drive the price higher. This unwinding process often attracts new buyers, leading to a potential bullish reversal or continuation.
The bullish sweep conditions (e.g., close > box top, longer lower wick, and close above 50% of the range) ensure that the price action at the block level shows strong bullish momentum and rejection of lower prices, confirming the potential for a move higher.
Bearish Trap Block (Bulls Trapped):
A large bullish sweep candle (spiking downward but closing higher) suggests that bullish traders (bulls) have entered long positions at the bottom of the move, expecting an upward continuation. If the next candle closes below the bullish candle's body, these bulls are trapped in losing positions.
The body of the bullish candle becomes a "bearish trap block" because the trapped bulls are likely to have placed their stop-loss orders or break-even exit orders just below the low of the sweep candle or within the body of the candle. As price revisits this level in the future, these trapped traders may attempt to unwind their positions by selling their longs, which can drive the price lower. This unwinding process often attracts new sellers, leading to a potential bearish reversal or continuation.
The bearish sweep conditions (e.g., close < box bottom, longer upper wick, and close below 50% of the range) ensure that the price action at the block level shows strong bearish momentum and rejection of higher prices, confirming the potential for a move lower.
Summary
Bullish Trap Block: Occurs when bears get trapped after a bearish sweep candle is immediately followed by a bullish candle, indicating a potential reversal as trapped bears may unwind their positions.
Bearish Trap Block: Occurs when bulls get trapped after a bullish sweep candle is immediately followed by a bearish candle, indicating a potential bearish reversal.
Use Case: Ideal for identifying reversal opportunities, especially in range-bound markets or at key support/resistance levels on higher timeframes like 1D, 1W, and 1M, and can be combined with other indicators for confluence.
Logic: Large sweep candles followed by an immediate reversal suggest that big money has been trapped, and these traders may unwind their positions at break-even in the near future, driving price in the opposite direction of their initial trade.
This indicator provides a visual and actionable way to identify these trapped trader scenarios, with customizable settings for box display, sweep visuals, and alerts to help traders capitalize on these opportunities, particularly on higher timeframes where the signals are most reliable.
Smart Stop-Loss (SSL)Smart Stop-Loss (SSL) Indicator
Overview
The Smart Stop-Loss (SSL) indicator is an advanced risk management tool designed to help traders set dynamic stop-loss levels based on market structure, volatility, and momentum. Unlike traditional fixed stop-loss methods, SSL adapts to changing market conditions, helping to avoid premature exits while protecting capital during true reversals.
Key Features
1. Volatility-Based Adjustments
- Uses Average True Range (ATR) to measure market volatility
- Automatically widens stop-loss during volatile periods and tightens during calm markets
- Customizable ATR multiplier (default: 1.5x) to adjust sensitivity
2. Market Structure Integration
- Identifies significant swing highs and lows to establish support/resistance levels
- Places stop-loss levels beyond these structural points to avoid common stop hunts
3. Fair Value Gap (FVG) Detection
- Identifies imbalances in order flow that often lead to strong directional moves
- Bullish FVG: A gap up where the current high is below previous low
- Bearish FVG: A gap down where the current low is above previous high
4. Smart Stop-Loss Tightening
- Automatically tightens stop-loss when FVGs are mitigated (filled)
- Uses RSI as a momentum filter to prevent premature adjustments
- Creates a trailing effect that locks in profits as trades move favorably
How to Use
For Long Positions:
1. **Entry**: Look for bullish FVG formations (green step line appears)
2. **Stop-Loss Placement**: Set your stop at or slightly below the green step line
3. **Stop Adjustment**: When price closes above the FVG zone and RSI > 50, the stop will automatically tighten
4. **Exit**: Exit the position when price closes below the green line or when your profit target is reached
For Short Positions:
1. **Entry**: Look for bearish FVG formations (red step line appears)
2. **Stop-Loss Placement**: Set your stop at or slightly above the red step line
3. **Stop Adjustment**: When price closes below the FVG zone and RSI < 50, the stop will automatically tighten
4. **Exit**: Exit the position when price closes above the red line or when your profit target is reached
Real-World Examples
Example 1: Trend Continuation
In an uptrend, when a bullish FVG appears, it often indicates institutional buying pressure. The SSL will place a stop below the swing low with an ATR buffer. As price continues upward and mitigates the FVG, the SSL tightens to protect profits while allowing the trend to continue.
Example 2: Avoiding Premature Exits
During normal market fluctuations, traditional fixed stops might get triggered too early. The SSL's adaptive nature accounts for volatility, keeping you in profitable trades longer by positioning stops beyond noise levels.
Example 3: Protecting Against Reversals
When a true reversal occurs, the momentum filter (RSI) will confirm the change in direction, allowing the SSL to maintain wider protection rather than prematurely tightening in a false move.
Tips for Best Results
1. **Timeframe Selection**: Works best on 1H, 4H and daily charts where market structure is more reliable
2. **Combine with Trend Analysis**: Use in conjunction with trend identification tools
3. **ATR Adjustment**: Increase the ATR multiplier for more volatile instruments
4. **Alert Setup**: Configure the built-in alerts to notify you when stop levels are breached
5. **Visual Confirmation**: The labels show exact stop values to help with order placement
Disclaimer
This indicator is provided for informational and educational purposes only. While it uses advanced techniques to determine potential stop-loss levels, no indicator can predict market movements with certainty. Always manage your risk appropriately and never risk more than you can afford to lose. Past performance is not indicative of future results. The developer of this indicator accepts no liability for trading losses incurred from its use. Always test thoroughly on demo accounts before using in live trading.
Hourly Volatility Explorer📊 Hourly Volatility Explorer: Master The Market's Pulse
Unlock the hidden rhythms of price action with this sophisticated volatility analysis tool. The Hourly Volatility Explorer reveals the most potent trading hours across multiple time zones, giving you a strategic edge in timing your trades.
🌟 Key Features:
⏰ Multi-Timezone Analysis
• GMT (UTC+0)
• EST (UTC-5) - New York
• BST (UTC+1) - London
• JST (UTC+9) - Tokyo
• AEST (UTC+10) - Sydney
Perfect for tracking major market sessions and their overlaps!
📈 Dynamic Visualization
• Color-gradient hourly bars for instant pattern recognition
• Real-time volatility comparison
• Interactive data table with comprehensive statistics
• Automatic highlighting of peak volatility periods
🎯 Strategic Applications:
Day Trading:
• Identify optimal trading windows
• Avoid low-liquidity periods
• Capitalize on session overlaps
• Fine-tune entry/exit timing
Risk Management:
• Set appropriate stop losses based on hourly volatility
• Adjust position sizes for different market hours
• Optimize risk-reward ratios
• Plan around high-impact hours
Global Market Analysis:
• Track volatility across all major sessions
• Spot institutional trading patterns
• Identify quiet vs. active periods
• Monitor 24/7 market dynamics
💡 Perfect For:
• Forex traders navigating global sessions
• Crypto traders in 24/7 markets
• Day traders optimizing execution times
• Algorithmic traders fine-tuning strategies
• Risk managers calibrating exposure
📊 Advanced Features:
• Rolling 3-month analysis for reliable patterns
• Precise pip movement calculations
• Sample size tracking for statistical validity
• Real-time current hour comparison
• Color-coded visual system for instant insights
⚡ Pro Trading Tips:
• Use during major session overlaps for maximum opportunity
• Compare patterns across different instruments
• Combine with volume analysis for deeper insights
• Track seasonal variations in hourly patterns
• Build trading schedules around peak hours
🎓 Educational Value:
• Understand market microstructure
• Learn global market dynamics
• Master timezone relationships
• Develop timing intuition
🛠️ Customization:
• Adjustable lookback period
• Flexible pip multiplier
• Multiple timezone options
• Visual preference settings
Whether you're scalping the 1-minute chart or managing longer-term positions, the Hourly Volatility Explorer provides the precise timing intelligence needed for today's global markets.
Transform your trading schedule from guesswork to science. Know exactly when markets move, why they move, and how to position yourself for maximum opportunity.
#TechnicalAnalysis #Trading #Volatility #MarketTiming #DayTrading #Forex #Crypto #TradingView #PineScript #MarketAnalysis #TradingStrategy #RiskManagement #GlobalMarkets #FinancialMarkets #TradingTools #MarketStructure #PriceAction #Scalping #SwingTrading #AlgoTrading
Daily Movement AnalysisDaily Volatility Explorer: 7-Day Market Pulse Indicator
Unlock the hidden rhythms of market movements with this powerful analytical tool designed for both traditional and crypto traders. This indicator meticulously tracks and analyzes price volatility patterns across all seven days of the week, giving you a strategic edge in planning your trades.
🎯 Key Features:
• Dynamic 3-month rolling analysis of daily price movements
• Real-time volatility comparison across all trading days
• Clear visual representation through color-coded bar charts
• Detailed statistical table with exact pip movements
• Sample size tracking for statistical reliability
• Works seamlessly on both traditional and crypto markets
💡 Why Traders Need This:
1. Optimal Trade Timing
- Identify the most volatile trading days for maximum opportunity
- Discover the quietest days to avoid choppy markets
- Perfect for swing traders and day traders alike
2. Risk Management Enhancement
- Set smarter stop-losses based on typical daily ranges
- Adjust position sizes according to daily volatility patterns
- Avoid overtrading during historically low-volatility periods
3. Strategic Planning
- Plan your trading week around peak volatility days
- Optimize entry and exit points based on historical movements
- Better time management by focusing on the most active days
4. Market Psychology Insights
- Understand weekly market rhythm and institutional patterns
- Identify how weekend gaps affect crypto markets
- Spot changes in market behavior across different days
🔍 Perfect For:
• Forex traders tracking major currency pairs
• Crypto traders navigating 24/7 markets
• Gold and commodity traders
• Day traders optimizing their trading schedule
• Swing traders planning optimal entry/exit days
📊 Data-Driven Decisions:
The indicator maintains a rolling 3-month window of data, providing fresh, relevant insights while filtering out outdated patterns. Each day's analysis is based on actual market movements, giving you reliable, actionable intelligence for your trading decisions.
⚡ Pro Tip: Use this indicator alongside your existing strategy to enhance your trading plan and improve your timing. The color-coded visual system makes it easy to spot patterns at a glance, while the detailed statistics table provides the hard numbers you need for precise planning.
Remember: Markets evolve, and this indicator helps you stay on top of changing patterns in real-time. Whether you're trading traditional markets or crypto, understanding daily volatility patterns is crucial for consistent trading success.
Percentage ChangeThis is a very simple script. It calculations the percentage the stocks price has changed with 3 different metrics over the configured lookback period.
- Close to Open: calculates the percentage difference between the opening bar at the beginning of the lookback period to the closing current bar.
- Low to High: calculates the percentage difference between the lowest low to the highest high over the period.
- High to Low: calculates the percentage difference between the highest high to the lowest low over the period.
This indicator is used to call out especially volatile periods allowing traders to target spikes up or down.
Nef33 Forex & Crypto Trading Signals PRO
1. Understanding the Indicator's Context
The indicator generates signals based on confluence (trend, volume, key zones, etc.), but it does not include predefined SL or TP levels. To establish them, we must:
Use dynamic or static support/resistance levels already present in the script.
Incorporate volatility (such as ATR) to adjust the levels based on market conditions.
Define a risk/reward ratio (e.g., 1:2).
2. Options for Determining SL and TP
Below, I provide several ideas based on the tools available in the script:
Stop Loss (SL)
The SL should protect you from adverse movements. You can base it on:
ATR (Volatility): Use the smoothed ATR (atr_smooth) multiplied by a factor (e.g., 1.5 or 2) to set a dynamic SL.
Buy: SL = Entry Price - (atr_smooth * atr_mult).
Sell: SL = Entry Price + (atr_smooth * atr_mult).
Key Zones: Place the SL below a support (for buys) or above a resistance (for sells), using Order Blocks, Fair Value Gaps, or Liquidity Zones.
Buy: SL below the nearest ob_lows or fvg_lows.
Sell: SL above the nearest ob_highs or fvg_highs.
VWAP: Use the daily VWAP (vwap_day) as a critical level.
Buy: SL below vwap_day.
Sell: SL above vwap_day.
Take Profit (TP)
The TP should maximize profits. You can base it on:
Risk/Reward Ratio: Multiply the SL distance by a factor (e.g., 2 or 3).
Buy: TP = Entry Price + (SL Distance * 2).
Sell: TP = Entry Price - (SL Distance * 2).
Key Zones: Target the next resistance (for buys) or support (for sells).
Buy: TP at the next ob_highs, fvg_highs, or liq_zone_high.
Sell: TP at the next ob_lows, fvg_lows, or liq_zone_low.
Ichimoku: Use the cloud levels (Senkou Span A/B) as targets.
Buy: TP at senkou_span_a or senkou_span_b (whichever is higher).
Sell: TP at senkou_span_a or senkou_span_b (whichever is lower).
3. Practical Implementation
Since the script does not automatically draw SL/TP, you can:
Calculate them manually: Observe the chart and use the levels mentioned.
Modify the code: Add SL/TP as labels (label.new) at the moment of the signal.
Here’s an example of how to modify the code to display SL and TP based on ATR with a 1:2 risk/reward ratio:
Modified Code (Signals Section)
Find the lines where the signals (trade_buy and trade_sell) are generated and add the following:
pinescript
// Calculate SL and TP based on ATR
atr_sl_mult = 1.5 // Multiplier for SL
atr_tp_mult = 3.0 // Multiplier for TP (1:2 ratio)
sl_distance = atr_smooth * atr_sl_mult
tp_distance = atr_smooth * atr_tp_mult
if trade_buy
entry_price = close
sl_price = entry_price - sl_distance
tp_price = entry_price + tp_distance
label.new(bar_index, low, "Buy: " + str.tostring(math.round(bull_conditions, 1)), color=color.green, textcolor=color.white, style=label.style_label_up, size=size.tiny)
label.new(bar_index, sl_price, "SL: " + str.tostring(math.round(sl_price, 2)), color=color.red, textcolor=color.white, style=label.style_label_down, size=size.tiny)
label.new(bar_index, tp_price, "TP: " + str.tostring(math.round(tp_price, 2)), color=color.blue, textcolor=color.white, style=label.style_label_up, size=size.tiny)
if trade_sell
entry_price = close
sl_price = entry_price + sl_distance
tp_price = entry_price - tp_distance
label.new(bar_index, high, "Sell: " + str.tostring(math.round(bear_conditions, 1)), color=color.red, textcolor=color.white, style=label.style_label_down, size=size.tiny)
label.new(bar_index, sl_price, "SL: " + str.tostring(math.round(sl_price, 2)), color=color.red, textcolor=color.white, style=label.style_label_up, size=size.tiny)
label.new(bar_index, tp_price, "TP: " + str.tostring(math.round(tp_price, 2)), color=color.blue, textcolor=color.white, style=label.style_label_down, size=size.tiny)
Code Explanation
SL: Calculated by subtracting/adding sl_distance to the entry price (close) depending on whether it’s a buy or sell.
TP: Calculated with a double distance (tp_distance) for a 1:2 risk/reward ratio.
Visualization: Labels are added to the chart to display SL (red) and TP (blue).
4. Practical Strategy Without Modifying the Code
If you don’t want to modify the script, follow these steps manually:
Entry: Take the trade_buy or trade_sell signal.
SL: Check the smoothed ATR (atr_smooth) on the chart or calculate a fixed level (e.g., 1.5 times the ATR). Also, review nearby key zones (OB, FVG, VWAP).
TP: Define a target based on the next key zone or multiply the SL distance by 2 or 3.
Example:
Buy at 100, ATR = 2.
SL = 100 - (2 * 1.5) = 97.
TP = 100 + (2 * 3) = 106.
5. Recommendations
Test in Demo: Apply this logic in a demo account to adjust the multipliers (atr_sl_mult, atr_tp_mult) based on the market (forex or crypto).
Combine with Zones: If the ATR-based SL is too wide, use the nearest OB or FVG as a reference.
Risk/Reward Ratio: Adjust the TP based on your tolerance (1:1, 1:2, 1:3)
PROFIT ZONE PRO Profit Zone Pro:
ProfitZone Pro is a risk-reward indicator that helps traders identify trade setups, manage risk, and set profit targets. Designed for simplicity, this free tool generates entry, stop-loss, and take-profit levels based on support and resistance, Trailing Stoploss and built in automated alerts, with additional features to enhance trade planning, Along with a learning mode based on successful trades made
Features
Trade Setup Identification: Detects potential buy (long) or sell (short) entries using support and resistance levels, with an optional trend filter based on a 50-period SMA.
Risk-Reward Zones: Displays entry (yellow), stop-loss (red), and take-profit (green) levels, with shaded risk (red) and reward (green) zones.
Position Sizing: Calculates position size based on user-defined risk percentage and account balance.
Breakeven and Trailing Stop: Includes a breakeven feature to move the stop-loss to the entry price at a user-defined percentage of the take-profit distance, and an optional trailing stop to lock in profits.
Confidence Score: Provides a volatility-based confidence score (0-100%) to assess setup reliability.
Learning Adjustment: Adjusts stop-loss distances based on the number of successful trades entered by the user.
Info Label: Shows position size, risk, reward, direction, confidence score, ATR, trend direction (if enabled), and trailing stop status.
Alerts: Sends notifications for entry, stop-loss, take-profit, breakeven, trailing stop, and theme changes.
Customizable Display: Offers options for zone opacity, line styles (solid, circles, dotted), zone labels, and color themes (Light, Dark, Custom).
Long Mode Feature:
Short Mode Feature:
Trend Filter Feature:
Auto Trading Mode:
Usage Instructions
Add the indicator to your chart.
Adjust settings in the indicator’s properties:
Set Risk % of Account and Account Balance to define your risk and position size.
Choose Trade Direction (Auto, Long, or Short) to filter setups.
Enable Trend Filter to align trades with the market trend.
Turn on Trailing Stop and set Trailing Stop % of Reward to lock in profits.
Customize visuals (zone opacity, line style, colors) as needed.
Monitor the chart for entry (yellow), stop-loss (red), and take-profit (green) levels.
Use the info label to view position size, risk, reward, confidence score, and other details.
Set alerts for entry, stop-loss, take-profit, breakeven, and trailing stop events.
After a successful trade, increment Number of Successful Trades to adjust future stop-loss distances.
This Script is to help you have a better idea on those famous questions we ask ourselves:
Entry
Take Profit
Stoploss
The confidence score, R:R calculator, Trend Filter, Learning Mode further helps to zone in on accuracy
Happy Trading
- EZ ALGO
DrNon Action Zone📈 Strategy Title:
DrNon Action Zone — EMA Cross with ATR Stop, % Take-Profit, Alerts & Date Range
⸻
🧠 Strategy Concept:
DrNon Action Zone is a long-only trend-following strategy that enters trades when momentum aligns with long-term trend confirmation. It uses:
• EMA Cross (Fast vs. Slow) to identify momentum shift
• Optional EMA Filter based on days to confirm that price is in a “trend zone”
• ATR-based trailing stop for adaptive risk management
• Percentage Take-Profit for reward targeting
• Date Range Filter for focused backtesting or event-based execution
It also includes alerts, visual signals, and full customization via inputs.
⸻
⚙️ Strategy Inputs Explained:
Input Name Description
Fast EMA Length Period of the short-term EMA used for crossover signals (default: 5)
Slow EMA Length Period of the long-term EMA used for crossover signals (default: 200)
ATR Period Period used to calculate the Average True Range (ATR)
ATR Multiplier Multiplies ATR value to calculate the trailing stop distance
Take-Profit % Percentage above entry price to exit the trade for profit
Use EMA Filter? If enabled, long entries require price to be above a customizable EMA filter
EMA Filter Days Number of days used for EMA filter (converted to bars based on chart timeframe)
Use Date Range? Enable or disable the date filter
Start Date / End Date Specify a custom range to apply the strategy
⸻
✅ Long Entry Conditions (The Action Zone):
A long trade is entered when:
1. EMA(Fast) crosses above EMA(Slow)
2. If EMA Filter is enabled, Close > EMA(Filter Days)
3. If Date Filter is enabled, current candle is within specified start and end dates
⸻
❌ Exit Conditions:
The strategy will close the position when either:
• Price drops to ATR-based trailing stop, OR
• Price reaches the Take-Profit % target
⸻
🛎️ Alerts:
Alert Name Trigger Condition
Long Entry Alert EMA cross and all filters passed (entry signal triggered)
Exit Alert Price hit ATR Stop or Take-Profit (exit signal triggered)
⸻
📊 Visual Elements:
• Yellow Line — Fast EMA
• Blue Line — Slow EMA
• Purple Line — EMA Filter (based on user-defined days)
• Red Line — ATR-based Trailing Stop
• Lime Line — Take-Profit Level
• Green Triangle — Long Entry Signal (on crossover)
⸻
🧪 Backtesting Tips:
• Adjust EMA Filter Days to simulate different trend conditions (e.g., 100d, 150d, 200d).
• Use ATR Multiplier to adapt the stop-loss to market volatility.
• Combine date filtering with known events (e.g., earnings, FOMC meetings).
• Test in multiple timeframes — 1H, 4H, or Daily for stronger signals.
Regime Multi-Band [wac]Regime Multi-Band indicator aims to highlight when the market transitions between bullish and bearish regimes, confirm how often price has interacted with key band levels, and factor in RSI extremes to emphasize potential stronger signals. It is designed to visualize market regimes and potential trend changes with a multi-band system around an SMA. It combines multiple layers of bands, RSI-based adjustments, and a cooldown mechanism to limit how often signals appear.
Applying this indicator across various timeframes can offer a broader understanding of how the bands and signals behave under different market conditions. A faster timeframe might show more frequent band interactions and shorter-term whipsaws, while higher timeframes can provide a smoother overall trend picture.
Experimenting with different indicator inputs can give you fresh perspectives on market behavior. By tweaking parameters to suit each timeframe’s volatility and price action characteristics, you may discover more consistent signals.
filterThres1 = input.int(7, 'Filter Threshold 1',tooltip='A larger value means checking more bars over a longer period, which can allow more signals to appear. Essentially, it extends the filter window to capture longer-term market context.')
filterThres2 = input.int(2, 'Filter Threshold 2', tooltip='A larger value reduces the number of mini-signals by emphasizing stronger momentum. It represents how many times the upper/lower bands must be touched to confirm the market’s speed or volatility.')
※ This script is designed to wait until each bar is fully closed before performing its calculations. Because it does not compute or update signals in the middle of a forming bar, you will not see any “intrabar” repainting.
Deviation ChannelsIndicator Name: Deviation Channels (Dev Chan)
Why Use This Indicator?
Visualize Volatility Ranges:
The indicator plots Keltner Channels at four levels above and below an average line, letting you easily see how far price has deviated from a typical range. Each “dev” line highlights potential support or resistance during pullbacks or surges.
Color-Coded Clarity:
Each band shifts color intensity depending on whether the current price is trading above or below it, letting you spot breakouts and rejections at a glance. Meanwhile, the Fast SMA (default 10) also changes color – green if price is above, red if below – adding a quick momentum read.
Adjustable Source & Length:
Choose your input source (open, close, ohlc4, or hlc3) and set your Keltner length to suit different asset classes or timeframes. Whether you want a tighter, more reactive channel or a smoother, longer-term reading, the script adapts with minimal effort.
A Simple Trading Approach
Identify Trend with Fast SMA:
If the Fast SMA (default length 10) is green (price above it), treat that as a bullish environment. If it’s red (price below), favor bearish or neutral stances.
Wait for Price to Reach Lower/Upper Deviations:
In a bullish setup (Fast SMA green), watch for price to dip into one of the lower channels (e.g., -1 Dev or -2 Dev). Such pullbacks can become potential “buy the dip” zones if price stabilizes and resumes upward momentum.
Conversely, if the Fast SMA is red, watch for price to test the upper channels (1 Dev or 2 Dev). That might be a short opportunity or a place to close out any remaining longs before a deeper correction.
Manage Risk with Channel Levels:
Place stop-losses just beyond the next “dev” band to protect against volatility. For example, if you enter on a bounce at -1 Dev, consider placing a stop near -2 Dev or -3 Dev, depending on your risk tolerance.
Take Profits Gradually:
In an uptrend, you might scale out of positions as price moves toward higher lines (e.g., 1 Dev or 2 Dev). Conversely, if price fails to hold above the Fast SMA or repeatedly closes below a key band, it might be time to exit.
Disclaimer: No single indicator is foolproof. Always combine with sound risk management, observe multiple timeframes, and consider fundamental factors before making trading decisions. Experiment with the Keltner length and Fast SMA fastLength to find the sweet spot for your market and time horizon.
Adaptive Bollinger BandsAdaptive Bollinger Bands
This indicator displays Bollinger Bands with parameters that dynamically adjust based on market volatility. Unlike standard Bollinger Bands with fixed parameters, this version adaptively modifies both the period and standard deviation multiplier in real-time based on measured market conditions.
Key Features
Dynamic adjustment of period and standard deviation based on normalized volatility
Color-coded visualization of current volatility regime (expanding, normal, contracting)
Integration with Keltner Channels for band refinement
Bandwidth analysis for volatility regime identification
Optional on-chart parameter labels showing current settings
Band cross alerts and visual markers
Volatility Visualization
The indicator uses color-coding to display different volatility regimes:
Red: Expanding volatility regime (higher measured volatility)
Blue: Normal volatility regime (average measurements)
Green: Contracting volatility regime (lower measured volatility)
Technical Information
The indicator calculates volatility by analyzing price returns over a configurable lookback period (default 50 bars). The standard deviation of returns is normalized against historical extremes to create an adaptive scaling factor.
Band adaptation occurs through two primary mechanisms:
1. Period adjustment: Higher volatility uses shorter periods (more responsive), while lower volatility uses longer periods (more stable)
2. Standard deviation multiplier adjustment: Higher volatility increases the multiplier (wider bands), while lower volatility decreases it (tighter bands)
The middle band uses a simple moving average with the adaptive period. Additional refinement occurs through Keltner Channel integration, which can tighten bands when contained within Keltner boundaries.
Volatility regimes are determined by analyzing Bollinger Bandwidth relative to its recent history, providing contextual information about the current market state.
Settings Customization
The indicator provides extensive customization options:
- Base parameters (period and standard deviation)
- Adaptive range limits (min/max period and standard deviation)
- Keltner Channel parameters for band refinement
- Bandwidth analysis settings
- Display options for visual elements
Limitations and Considerations
All technical indicators have inherent limitations and should not be used in isolation
Past performance does not guarantee future results
The indicator requires sufficient historical data for proper volatility normalization
Smaller timeframes may produce more noise in the adaptive calculations
Parameters may require adjustment for different markets and trading styles
Band crosses are not trading signals on their own and should be evaluated with other factors
This indicator is designed to provide objective information about market volatility conditions and potential support/resistance zones. Always combine with other analysis methods within a comprehensive trading approach.
Invictus📝 Invictus – Probabilistic Trading Indicator
🔍 1. General Introduction
Invictus is a technical trading indicator designed to support traders by identifying potential buy and sell signals through a probabilistic and adaptive analytical approach. It aims to enhance the analytical process rather than provide explicit trading recommendations. The indicator integrates multiple analytical components—price pattern detection, momentum analysis (RSI), dynamic trend lines (Kalman Line), and volatility bands (ATR)—to offer traders a structured and contextual framework for making informed decisions.
Invictus does not guarantee profitable outcomes but seeks to enhance analytical clarity and support cautious decision-making through multiple validation layers.
⚙️ 2. Main Components
🌊 2.1. Price Pattern Detection
Invictus identifies potential market shifts by analyzing specific candlestick sequences:
Bearish Patterns (Sell): Detected when consecutive candles close below their openings, indicating increased selling pressure.
Bullish Patterns (Buy): Detected when consecutive candles close above their openings, suggesting increased buying interest.
These patterns provide historical insights rather than absolute predictions for market movements.
⚡ 2.2. Momentum Confirmation (RSI)
To improve signal clarity, Invictus employs the Relative Strength Index (RSI):
Buy Signal: RSI below a predefined threshold (e.g., 30), signaling potential oversold conditions.
Sell Signal: RSI above a threshold (e.g., 70), signaling potential overbought conditions.
RSI acts exclusively as an additional validation filter to reduce, though not eliminate, false signals derived solely from price patterns.
🌀 2.3. Kalman Dynamic Line
The Kalman Dynamic Line smooths price action and dynamically tracks trends using a Kalman filter algorithm:
Noise Reduction: Minimizes minor price fluctuations.
Trend Direction Indicator: Line slope visually represents bullish or bearish market bias.
Adaptive Support/Resistance: Adjusts continuously to market conditions.
Volatility Sensitivity: Adjustments use ATR to scale proportionally with market volatility.
This adaptive dynamic line provides clear context, aiding traders by filtering short-term volatility.
📊 2.4. Volatility Bands (ATR-based)
ATR-based volatility bands define potential breakout zones and market extremes dynamically:
Upper/Lower Bands: Positioned relative to the Kalman Line based on ATR (volatility multiplier).
Volatility Zones: Highlight potential areas of trend continuation or reversal due to significant price movements.
These bands assist traders in visually assessing significant market movements and reducing the focus on minor fluctuations.
🧠 3. Component Interaction and Validation Logic
Invictus is designed to enhance analytical clarity by integrating multiple technical components, requiring independent confirmations before signals may be considered as potentially actionable
🔗 Step 1: Pattern + RSI Validation
Initial identification of price patterns.
Signal validation through RSI conditions (oversold/overbought).
🔗 Step 2: Trend Alignment (Kalman Line)
Validated signals undergo further assessment with respect to the Kalman Dynamic Line.
Buy signals require price action above the Kalman Line; sell signals require price action below.
🔗 Step 3: Volatility Confirmation (ATR Bands)
Price action must penetrate and close beyond the corresponding volatility band.
Ensures signals align with adequate market volatility and momentum.
🔄 4. Comprehensive Decision-Making Flow
Identify price patterns (initial indication).
Confirm momentum via RSI.
Verify trend alignment using the Kalman Line.
Confirm adequate volatility via ATR bands.
💡 5. Practical Example (Buy Scenario)
Invictus signals a potential buy scenario.
Trader waits for the price to cross above the Kalman Line.
Entry consideration occurs only after a confirmed close above the upper ATR volatility band.
⚠️ 6. Important Limitations
Do not rely solely on Invictus signals; always perform broader market analysis.
Invictus performs optimally in trending markets; exercise caution in sideways or range-bound markets.
Always evaluate broader market context and the dominant trend before making decisions.
📝 7. Risk Management & Responsible Trading
Invictus serves as an analytical support tool, not a guarantee of market outcomes:
Set prudent stop-loss levels.
Apply conservative leverage, especially in volatile conditions.
Conduct thorough backtesting and practice on a demo account before live trading.
⚠️ Disclaimer: Trading involves significant risks. Invictus generates signals based on historical and technical analysis. Past performance is not indicative of future results. Responsible trading practices are strongly advised.
💡 8. Final Considerations
Invictus provides an analytical framework integrating various supportive technical methodologies designed to enhance decision-making and comprehensive analysis. Its multi-layered validation process encourages disciplined analysis and informed decision-making without implying any guarantees of profitability.
Traders should incorporate Invictus within broader strategic frameworks, consistently applying disciplined risk management and thorough market analysis.
FlexATRFlexATR: A Dynamic Multi-Timeframe Trading Strategy
Overview: FlexATR is a versatile trading strategy that dynamically adapts its key parameters based on the timeframe being used. It combines technical signals from exponential moving averages (EMAs) and the Relative Strength Index (RSI) with volatility-based risk management via the Average True Range (ATR). This approach helps filter out false signals while adjusting to varying market conditions — whether you’re trading on a daily chart, intraday charts (30m, 60m, or 5m), or even on higher timeframes like the 4-hour or weekly charts.
How It Works:
Multi-Timeframe Parameter Adaptation: FlexATR is designed to automatically adjust its indicator settings depending on the timeframe:
Daily and Weekly: On higher timeframes, the strategy uses longer periods for the fast and slow EMAs and standard periods for RSI and ATR to capture more meaningful trend confirmations while minimizing noise.
Intraday (e.g., 30m, 60m, 5m, 4h): The parameters are converted from “days” into the corresponding number of bars. For instance, on a 30-minute chart, a “day” might equal 48 bars. The preset values for a 30-minute chart have been slightly reduced (e.g., a fast EMA is set at 0.35 days instead of 0.4) to improve reactivity while maintaining robust filtering.
Signal Generation:
Entry Signals: The strategy enters long positions when the fast EMA crosses above the slow EMA and the RSI is above 50, and it enters short positions when the fast EMA crosses below the slow EMA with the RSI below 50. This dual confirmation helps ensure that signals are reliable.
Risk Management: The ATR is used to compute dynamic levels for stop loss and profit target:
Stop Loss: For a long position, the stop loss is placed at Price - (ATR × Stop Loss Multiplier). For a short position, it is at Price + (ATR × Stop Loss Multiplier).
Profit Target: The profit target is similarly set using the ATR multiplied by a designated profit multiplier.
Dynamic Trailing Stop: FlexATR further incorporates a dynamic trailing stop (if enabled) that adjusts according to the ATR. This trailing stop follows favorable price movements at a distance defined by a multiplier, locking in gains as the trend develops. The use of a trailing stop helps protect profits without requiring a fixed exit point.
Capital Allocation: Each trade is sized at 10% of the total equity. This percentage-based position sizing allows the strategy to scale with your account size. While the current setup assumes no leverage (a 1:1 exposure), the inherent design of the strategy means you can adjust the leverage externally if desired, with risk metrics scaling accordingly.
Visual Representation: For clarity and accessibility (especially for those with color vision deficiencies), FlexATR employs a color-blind friendly palette (the Okabe-Ito palette):
EMA Fast: Displayed in blue.
EMA Slow: Displayed in orange.
Stop Loss Levels: Rendered in vermilion.
Profit Target Levels: Shown in a distinct azzurro (light blue).
Benefits and Considerations:
Reliability: By requiring both EMA crossovers and an RSI confirmation, FlexATR filters out a significant amount of market noise, which reduces false signals at the expense of some delayed entries.
Adaptability: The automatic conversion of “day-based” parameters into bar counts for intraday charts means the strategy remains consistent across different timeframes.
Risk Management: Using the ATR for both fixed and trailing stops allows the strategy to adapt to changing market volatility, helping to protect your capital.
Flexibility: The strategy’s inputs are customizable via the input panel, allowing traders to fine-tune the parameters for different assets or market conditions.
Conclusion: FlexATR is designed as a balanced, adaptive strategy that emphasizes reliability and robust risk management across a variety of timeframes. While it may sometimes enter trades slightly later due to its filtering mechanism, its focus on confirming trends helps reduce the likelihood of false signals. This makes it particularly attractive for traders who prioritize a disciplined, multi-timeframe approach to capturing market trends.