OTE & A-B-C Zone Indicator SwiftEdgeOTE & A-B-C Zone Indicator SwiftEdge
Overview
The OTE & A-B-C Zone Indicator SwiftEdge is a versatile tool designed to help traders identify high-probability trading setups using a combination of Optimal Trade Entry (OTE) zones, Fibonacci levels, and A-B-C price patterns. This indicator is particularly useful for traders who rely on price action and Fibonacci-based strategies to find entry points, set stop-losses, and target potential take-profit levels. By integrating swing point detection, trend analysis, and Fibonacci projections, SwiftEdge provides a clear visual framework for making informed trading decisions across various timeframes.
What It Does
SwiftEdge identifies key price levels and zones to guide your trading:
OTE Zone: Highlights the Optimal Trade Entry zone between swing points A (swing high) and B (swing low) using Fibonacci retracement levels (default: 0.618 to 0.786). This zone represents a high-probability area for price reversals, making it an ideal entry point for trades.
A-B-C Pattern: Marks the latest swing points as A (swing high), B (swing low), and C (projected take-profit level) with dashed lines and labels. A solid line connects A to B to C, visually illustrating the price movement from entry to target.
Take-Profit Zones: Projects three customizable take-profit levels (TP1, TP2, TP3) based on Fibonacci extensions (default: 1.272, 1.618, 2.0) from the A-B swing, helping traders plan exits with favorable risk-reward ratios.
How It Works
SwiftEdge combines several technical components to create a cohesive trading system:
Swing Point Detection: Identifies significant swing highs (A) and swing lows (B) using a dynamic lookback period that adjusts to the selected timeframe. On lower timeframes like 1-minute charts, an ATR-based filter reduces noise by requiring price movements to exceed a threshold (0.5 * ATR(14)).
Trend Analysis: Uses an Exponential Moving Average (EMA) to determine the trend direction (default: 50-period EMA on 1H). The indicator marks uptrends (price above EMA) in green and downtrends (price below EMA) in red, ensuring trades align with the market's direction.
Fibonacci Levels: Applies Fibonacci retracement to define the OTE zone between A and B, and Fibonacci extensions to project take-profit levels (C) beyond the initial swing. This approach leverages the natural tendency of markets to respect Fibonacci ratios for reversals and extensions.
Visual Clarity: Displays only the latest A-B-C pattern with three dashed lines (A, B, C) and a solid connecting line, ensuring the chart remains uncluttered and easy to interpret.
The combination of these elements creates a structured setup where the OTE zone (between A and B) serves as an entry point, while the projected C level offers a target, all within the context of the prevailing trend. This synergy makes SwiftEdge a powerful tool for traders seeking to combine price action, trend analysis, and Fibonacci strategies.
How to Use
Add the Indicator: Apply the indicator to your chart via TradingView's indicator menu.
Identify the Trend: The OTE zone and A-B-C pattern will be colored green in uptrends (price above EMA) or red in downtrends (price below EMA). Use this to determine the market direction.
Entry Point: Look for price reversals within the OTE zone (between A and B). This zone is typically between the 0.618 and 0.786 Fibonacci retracement levels of the A-B swing, making it a high-probability area for entries.
Stop-Loss: Place your stop-loss below the OTE zone in an uptrend (or above in a downtrend) to protect against false breakouts.
Take-Profit Targets: Use the projected take-profit zones (TP1, TP2, TP3) as potential exit levels. These are based on Fibonacci extensions and can be toggled on/off in the settings.
Customization:
Adjust the Fibonacci levels for the OTE zone (Fibonacci Level 1 and Fibonacci Level 2) to suit your strategy.
Modify the take-profit levels (Fibonacci Extension Level for TP1/TP2/TP3) to target different extension ratios.
Change the lookback period (Base Lookback Period) and EMA period (Base EMA Period) to fine-tune swing point detection and trend sensitivity.
Customize colors for uptrends, downtrends, and A-B-C lines to match your preferences.
What Makes It Unique
SwiftEdge stands out by integrating swing point detection, Fibonacci-based OTE zones, and A-B-C price patterns into a single, visually intuitive indicator. Unlike standalone Fibonacci tools or trend indicators, SwiftEdge combines these elements to provide a complete trading setup: it identifies entry zones (OTE), confirms trend direction (EMA), and projects take-profit targets (Fibonacci extensions). The dynamic timeframe adjustment ensures consistent performance across all chart intervals, while the clean A-B-C visualization (with only the latest pattern displayed) prevents chart clutter, making it easier to focus on the most relevant price levels.
Notes
This indicator is designed for traders familiar with price action and Fibonacci strategies. It does not guarantee profits and should be used in conjunction with other analysis tools and proper risk management.
Performance may vary depending on market conditions and timeframe. Test the indicator on a demo account before using it in live trading.
Indicators and strategies
ICT Core Macro Times (EST)ICT Core Macro Times where there's reversals and liquidity lies. Shows deadzones as well.
My script//@version=5
indicator("12M High Volume Screener", overlay=false, screen=true)
// Calculate 12-month window dynamically
var int lookbackDays = 252
var int maxBarsBack = 5000
// Define timeframe for volume analysis (daily regardless of chart TF)
dailyVolume = request.security(syminfo.tickerid, "D", volume, lookahead=barmerge.lookahead_on)
// Calculate highest volume over trailing 12 months (excl. current bar)
highestVol = ta.highest(dailyVolume , lookbackDays)
// Detect volume breakout condition
volumeBreakout = dailyVolume > highestVol and barstate.isrealtime
// Screener output formatting
screener_output = volumeBreakout ? 1 : 0
// Visual confirmation (optional)
plot(screener_output, "Volume Breakout", plot.style_columns,
color=volumeBreakout ? color.new(color.green, 70) : color.gray)
Likidite Avı + Dönüş Stratejisi (TP/SL + Zaman Bazlı)Checks if the previous top/bottom is pinned.
Then it generates a signal as soon as a sharp and opposite candle comes.
It looks for a reactionary reversal, not a pullback.
It gives fewer but more meaningful signals.
✅ Previous top/bottom pin (liquidity hunt)
✅ Immediately followed by a strong reversal candle
✅ And there is a signal system that gives these conditions instantly, together with the candle closing.
12-Month High Volume12 month high vol
show on the bar
//@version=5
indicator("12-Month High Volume", overlay=true)
// Define lookback period (12 months ~ 252 trading days)
lookback = 252
// Get highest volume in the last 252 bars (excluding current bar)
highest_vol = ta.highest(volume , lookback)
// Check if today's volume is higher than the previous 252 days
is_highest_today = volume > highest_vol
// Plot signal on chart
plotshape(is_highest_today, title="Highest Volume in 12 Months", location=location.belowbar, color=color.red, style=shape.labelup, text="12M High Vol")
// Optional: Display volume on chart
//plot(volume, title="Volume", color=color.gray, style=plot.style_columns)
Order Block StrategyStrategy Overview
Key Features
Order Block Detection: Utilizes the LuxAlgo Order Block Detector to identify bullish (support) and bearish (resistance) order blocks based on volume peaks and price action.
Position Size: $3,000 per trade, reflecting $300 capital with 10x leverage.
Risk Management:
Stop Loss: Below the bottom of bullish order blocks for longs, above the top of bearish order blocks for shorts.
Take Profit: 5%, 15%, and 50% from the entry price, each closing 33.33% of the position.
Webhook Compatibility: Uses strategy.entry() and strategy.exit() for TradingView alert integration.
Buy and Sell Conditions
Buy:
Triggered when the price low enters the most recent unmitigated bullish order block (low ≤ bull_top ) and closes above it (close > bull_top ), indicating a bounce from support.
Sell:
Triggered when the price high enters the most recent unmitigated bearish order block (high ≥ bear_btm ) and closes below it (close < bear_btm ), indicating a rejection from resistance.
Risk Management
Stop Loss:
Long: Set at bull_btm (low of the bullish order block).
Short: Set at bear_top (high of the bearish order block).
Take Profit:
Long: 5% (entry * 1.05), 15% (entry * 1.15), 50% (entry * 1.50).
Short: 5% (entry * 0.95), 15% (entry * 0.85), 50% (entry * 0.50).
Each level closes approximately one-third of the position.
Scalping Template - XAUUSD//@version=5
indicator("Scalping Template - XAUUSD", overlay=true)
// EMA
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
plot(ema50, color=color.blue, title="EMA 50")
plot(ema200, color=color.orange, title="EMA 200")
// QQE Mod Histogram (simplified)
src = close
rsi = ta.rsi(src, 14)
rsiEma = ta.ema(rsi, 5)
hist = rsi - rsiEma
plot(hist, title="QQE Histogram", color=hist >= 0 ? color.aqua : color.fuchsia, style=plot.style_columns, linewidth=2)
// Stochastic RSI
k = ta.stoch(close, high, low, 14)
d = ta.sma(k, 3)
plot(k, title="Stoch %K", color=color.green)
plot(d, title="Stoch %D", color=color.red)
hline(80, "Overbought", color=color.gray)
hline(20, "Oversold", color=color.gray)
ATR Trailing Stop Loss (True)ATR Trailing Stop – Sir Robrecht’s Edition
This is not your average trailing stop. This is my personal take — forged in the fires of trend following and designed to keep emotions on a leash. It uses the Average True Range to adaptively trail behind price, locking in profits as a trend unfolds and giving it just enough room to breathe. No random percentages. No guesswork. Just pure, calculated breathing space.
The stops rise with the trend but never fall. Once a new level is set, it stays put — protecting you when price inevitably decides to pull back. It doesn’t flinch. It doesn't chase. It waits. And when that pullback turns into a full reversal, it taps you on the shoulder and says, “Time to go.”
Why use this? Because it removes the psychological torture of ‘should I sell now?’ and replaces it with a clear, elegant line in the sand. You enter with purpose, you follow the trend, and you let this thing trail behind you like a loyal guard dog. No micromanaging. No impulse exits. Just mechanical, stress-free trend following.
Set it. Forget it. Watch the trend do the heavy lifting while you lean back and act like you’ve been here before.
nineLivesUtilLibLibrary "nineLivesUtilLib"
isDateInRange(currentTime, useTimeFilter, startDate, endDate)
Checks if the current time is within the specified date range.
Parameters:
currentTime (int) : The current bar's time (time).
useTimeFilter (bool) : Bool 📅: Enable the date range filter.
startDate (int) : Timestamp 📅: The start date for the filter.
endDate (int) : Timestamp 📅: The end date for the filter.
Returns: True if the current time is within the range or filtering is disabled, false otherwise.
@example
inDateRange = nineLivesUtilLib.isDateInRange(time, useTimeFilter, startDate, endDate)
if inDateRange
// Execute trading logic
checkVolumeCondition(currentVolume, useVolumeFilter, volumeThresholdMultiplier, volumeLength)
Checks if the current volume meets the threshold condition.
Parameters:
currentVolume (float) : The current bar's volume (volume).
useVolumeFilter (bool) : Bool 📊: Enable the volume filter.
volumeThresholdMultiplier (float) : Float 📊: Volume threshold relative to average (e.g., 1.5 for 1.5x average).
volumeLength (int) : Int 📊: Lookback length for the volume average.
Returns: True if the volume condition is met or filtering is disabled, false otherwise.
@example
volumeOk = nineLivesUtilLib.checkVolumeCondition(volume, useVolumeFilter, volumeThreshold, volumeLength)
if volumeOk
// Proceed with trading logic
checkMultiTimeframeCondition(currentClose, currentOpen, htfClose, htfOpen, useMultiTimeframe, alignment)
Checks alignment with higher timeframe direction.
Parameters:
currentClose (float) : Float: The current bar's closing price (close).
currentOpen (float) : Float: The current bar's opening price (open).
htfClose (float) : Float: The closing price from the higher timeframe (must be fetched by the calling script using request.security).
htfOpen (float) : Float: The opening price from the higher timeframe (must be fetched by the calling script using request.security).
useMultiTimeframe (bool) : Bool ⏱️: Enable multi-timeframe analysis.
alignment (string) : String ⏱️: Desired alignment ("same", "opposite", "any").
Returns: True if the timeframe alignment condition is met or analysis is disabled, false otherwise.
@example
// In the calling script:
= request.security(syminfo.tickerid, higherTimeframe, )
tfOk = nineLivesUtilLib.checkMultiTimeframeCondition(close, open, htfClose, htfOpen, useMultiTimeframe, tfAlignment)
if tfOk
// Proceed with trading logic
checkMarketRegime(useMarketRegime, regimeIndicator, regimeThreshold, regimeLength, regimeMode)
Detects the market regime (trending or ranging) and checks if trading is allowed.
Parameters:
useMarketRegime (bool) : Bool 🔍: Enable market regime detection.
regimeIndicator (string) : String 🔍: Indicator to use ("ADX" or "Volatility").
regimeThreshold (int) : Int 🔍: Threshold for trend strength/volatility.
regimeLength (simple int) : Int 🔍: Lookback length for the indicator.
regimeMode (string) : String 🔍: Trading mode based on regime ("trend_only", "range_only", "adaptive").
Returns: A tuple containing:
: conditionMet (bool) - True if trading is allowed based on the regime mode and detection, false otherwise.
: inTrendingRegime (bool) - True if the current regime is trending based on the indicator and threshold.
@example
= nineLivesUtilLib.checkMarketRegime(useMarketRegime, regimeIndicator, regimeThreshold, regimeLength, regimeMode)
if regimeOk
// Proceed with trading logic
applyCooldown(buySignal, sellSignal, cooldownBars)
Applies a cooldown period after a signal.
Parameters:
buySignal (bool) : Bool: Buy signal (potentially after primary entry logic).
sellSignal (bool) : Bool: Sell signal (potentially after primary entry logic).
cooldownBars (int) : Int ⏳: The number of bars to wait after a signal before allowing another.
Returns: A tuple containing:
: cooldownFilteredBuy (bool) - Buy signal after cooldown filter.
: cooldownFilteredSell (bool) - Sell signal after cooldown filter.
@example
= nineLivesUtilLib.applyCooldown(rawBuySignal, rawSellSignal, iCool)
applyAllFilters(rawBuy, rawSell, inDateRange, tradeDirection, volumeOk, tfOk, regimeOk, drawdownOk, cooldownOkBuy, cooldownOkSell)
Applies all filtering conditions to the buy and sell signals.
Parameters:
rawBuy (bool) : Bool: The initial buy signal candidate (from primary entry logic, e.g., after cooldown).
rawSell (bool) : Bool: The initial sell signal candidate (from primary entry logic, e.g., after cooldown).
inDateRange (bool) : Bool 📅: Result from isDateInRange.
tradeDirection (string) : String 🔄: Overall trade direction preference ("longs_only", "shorts_only", "both").
volumeOk (bool) : Bool 📊: Result from checkVolumeCondition.
tfOk (bool) : Bool ⏱️: Result from checkMultiTimeframeCondition.
regimeOk (bool) : Bool 🔍: Result from checkMarketRegime.
drawdownOk (bool) : Bool 📉: Result from checkDrawdownExceeded (or equivalent).
cooldownOkBuy (bool) : Bool ⏳: Result from applyCooldown for buy.
cooldownOkSell (bool) : Bool ⏳: Result from applyCooldown for sell.
Returns: A tuple containing:
: finalBuySignal (bool) - The final buy signal after all filters.
: finalSellSignal (bool) - The final sell signal after all filters.
@example
= nineLivesUtilLib.applyAllFilters(cooldownBuy, cooldownSell, inDateRange, tradeDirection, volumeOk, tfOk, regimeOk, !drawdownExceeded, cooldownBuy, cooldownSell)
NOTE: This function filters signals generated by your primary entry logic (e.g., EMA crossover).
checkDrawdownExceeded(currentEquity, useMaxDrawdown, maxDrawdownPercent)
Tracks maximum equity and checks if current drawdown exceeds a threshold.
Parameters:
currentEquity (float) : Float: The strategy's current equity (strategy.equity).
useMaxDrawdown (bool) : Bool 📉: Enable max drawdown protection.
maxDrawdownPercent (float) : Float 📉: The maximum allowed drawdown as a percentage.
Returns: True if drawdown protection is enabled and the current drawdown exceeds the threshold, false otherwise.
@example
drawdownExceeded = nineLivesUtilLib.checkDrawdownExceeded(strategy.equity, useMaxDrawdown, maxDrawdownPercent)
if drawdownExceeded
// Consider stopping entries or exiting positions in the strategy script
calculateExitPrice(positionAvgPrice, percentage, isStop, isLong)
Calculates a stop loss or take profit price based on a percentage from the average entry price.
Parameters:
positionAvgPrice (float) : Float: The average price of the current position (strategy.position_avg_price).
percentage (float) : Float: The stop loss or take profit percentage (e.g., 2.0 for 2%).
isStop (bool) : Bool: True if calculating a stop loss price, false if calculating a take profit price.
isLong (bool) : Bool: True if the position is long, false if short.
Returns: The calculated stop price or take profit price, or na if no position or percentage is invalid.
@example
longSL = nineLivesUtilLib.calculateExitPrice(strategy.position_avg_price, stopLossPercent, true, true)
shortTP = nineLivesUtilLib.calculateExitPrice(strategy.position_avg_price, takeProfitPercent, false, false)
calculateTrailingStopLevel(positionAvgPrice, trailOffsetPercent, trailPercent, currentHigh, currentLow, isLong)
Calculates the current trailing stop level for a position.
Parameters:
positionAvgPrice (float) : Float: The average price of the current position (strategy.position_avg_price).
trailOffsetPercent (float) : Float 🔄: The percentage price movement to activate the trailing stop.
trailPercent (float) : Float 🔄: The percentage distance the stop trails behind the price.
currentHigh (float) : Float: The current bar's high (high).
currentLow (float) : Float: The current bar's low (low).
isLong (bool) : Bool: True if the position is long, false if short.
Returns: The calculated trailing stop price if active, otherwise na.
@example
longTrailStop = nineLivesUtilLib.calculateTrailingStopLevel(strategy.position_avg_price, trailOffset, trailPercent, high, low, true)
shortTrailStop = nineLivesUtilLib.calculateTrailingStopLevel(strategy.position_avg_price, trailOffset, trailPercent, high, low, false)
if not na(longTrailStop)
strategy.exit("Long Trail", from_entry="Long", stop=longTrailStop)
Support/Resistance Breakout DetectorThis indicator automatically detects and plots dynamic support and resistance levels using pivot highs and lows.
✅ It draws red resistance lines and blue support lines,
✅ The lines extend forward but automatically stop when the price touches them,
✅ It monitors for breakouts with strong volume,
✅ When a breakout happens, it shows labels like “B” or “Bull Wick” / “Bear Wick” on the chart,
✅ It also triggers alerts when support or resistance breaks with high volume.
Main settings:
Pivot lookback period
Show/hide breakout labels
Minimum volume for breakout
Maximum extension length for lines
This tool helps traders easily spot key price levels and watch for meaningful breakouts.
[COW] Market DirectionA script that will plot a table on screen that shows your RSI and EMA directions for multiple timeframes. This will help determine your direction and bias for multiple timeframes. I have included some code that I have in a private library as well showing how I handle types with pine script and how they come in handy.
This indicator is useful to help determine chop, directional movement, and more!
ATR Strength Index~~~~~~~ATRRSI~~~~~~~~~
Understanding the ATR Strength IndexThe "ATR Strength Index" (ATR SI) is a custom technical indicator derived by applying the calculation methodology of the Relative Strength Index (RSI) to the values of the Average True Range (ATR).
While the standard RSI measures the momentum of price changes, the ATR SI measures the momentum of volatility itself, as represented by the ATR.It is important to note that this is not a standard, widely recognised indicator like the traditional RSI or ATR.
It's a custom construction designed to provide a different perspective on market dynamics – specifically, the speed and magnitude of changes in volatility.
How it is Calculated
The calculation of the ATR Strength Index follows the same steps as the standard RSI, but the input data is the ATR value for each period, rather than the price.Let ATRi be the Average True Range value for the current period i.Let ATRi−1 be the Average True Range value for the previous period i−1.Calculate the period-over-period change in ATR:ΔATRi=ATRi−ATRi−1Separate ATR Gains and ATR Losses:If ΔATRi>0, then ATR,Gaini=ΔATRi and ATR,Lossi=0.If ΔATRi<0, then ATR,Gaini=0 and ATR,Lossi=∣ΔATRi∣.If ΔATRi=0, then ATR,Gaini=0 and ATR,Lossi=0.Calculate the Smoothed Average ATR Gain and Average ATR Loss over a specified lookback period (let's call this the "RSI Length" or n).
This typically uses a smoothing method similar to Wilder's original RSI calculation (a modified moving average or exponential moving average).Average,ATR,Gainn=Smoothed Average of ATR,Gain over n periodsAverage,ATR,Lossn=Smoothed Average of ATR,Loss over n periodsCalculate the ATR Relative Strength (ATR RS):ATR,RSn=Average,ATR,LossnAverage,ATR,GainnCalculate the ATR Strength Index:ATR,SIn=100−1+ATR,RSn100The resulting index oscillates between 0 and 100, just like the standard RSI.
How to Use It
Interpreting the ATR Strength Index focuses on the momentum of volatility rather than price momentum:High Values (e.g., above 70): Indicate that volatility (as measured by ATR) has been increasing rapidly over the chosen period.
This could suggest a market transitioning from a period of low volatility to high volatility, potentially preceding or accompanying strong directional price moves or increased choppiness.Low Values (e.g., below 30): Indicate that volatility has been decreasing rapidly.
This could suggest a market transitioning from high volatility to low volatility, potentially entering a period of consolidation or ranging price action.Midline (50): Represents a balance between increasing and decreasing volatility momentum.Divergence: You could potentially look for divergence between the ATR value itself and the ATR Strength Index. For example, if ATR is making higher highs but the ATR SI is making lower highs, it might suggest that while volatility is still increasing, the speed of that increase is slowing down. The interpretation and reliability of such divergence would need careful testing.
This indicator is best used as a supplementary tool to gain insight into the underlying volatility dynamics of the market, rather than as a primary signal generator for price direction.
It can help in understanding the current market environment – whether volatility is picking up or dying down – which can inform the suitability of different trading strategies (e.g., trend-following strategies might be more effective when volatility momentum is high, while range-bound strategies might suit periods of low volatility momentum).
Uniqueness
The ATR Strength Index is unique because it applies a momentum oscillator's logic (RSI) to a volatility indicator's output (ATR).Standard RSI: Focuses on the directional force of price movements.Standard ATR: Measures the amount of volatility, regardless of direction.ATR Strength Index: Measures the speed and direction of change in volatility.
It provides a perspective that neither the standard RSI nor ATR offers on their own – a quantified measure of how quickly the market's choppiness or range is expanding or contracting. This can be valuable for traders who incorporate volatility analysis into their decision-making process.In summary, the ATR Strength Index is a custom indicator that adapts the RSI calculation to measure the momentum of volatility, offering a unique view on market dynamics by showing how rapidly volatility is increasing or decreasing.
ADX Full [Titans_Invest]ADX Full
This is, without a doubt, the most complete ADX indicator available on TradingView — and quite possibly the most advanced in the world. We took the classic ADX structure and fully optimized it, preserving its essence while elevating its functionality to a whole new level. Every aspect has been enhanced — from internal logic to full visual customization. Now you can see exactly what’s happening inside the indicator in real time, with tags, flags, and informative levels. This indicator includes over 22 long entry conditions and 22 short entry conditions , covering absolutely every possibility the ADX can offer. Everything is transparent, adjustable, and ready to fit seamlessly into any professional trading strategy. This isn’t just another ADX — it’s the definitive ADX, built for traders who take the market seriously.
⯁ WHAT IS THE ADX❓
The Average Directional Index (ADX) is a technical analysis indicator developed by J. Welles Wilder. It measures the strength of a trend in a market, regardless of whether the trend is up or down.
The ADX is an integral part of the Directional Movement System, which also includes the Plus Directional Indicator (+DI) and the Minus Directional Indicator (-DI). By combining these components, the ADX provides a comprehensive view of market trend strength.
⯁ HOW TO USE THE ADX❓
The ADX is calculated based on the moving average of the price range expansion over a specified period (usually 14 periods). It is plotted on a scale from 0 to 100 and has three main zones:
Strong Trend: When the ADX is above 25, indicating a strong trend.
Weak Trend: When the ADX is below 20, indicating a weak or non-existent trend.
Neutral Zone: Between 20 and 25, where the trend strength is unclear.
⯁ ENTRY CONDITIONS
The conditions below are fully flexible and allow for complete customization of the signal.
______________________________________________________
🔹 CONDITIONS TO BUY 📈
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND or OR .
🔹 +DI > -DI
🔹 +DI < -DI
🔹 +DI > ADX
🔹 +DI < ADX
🔹 -DI > ADX
🔹 -DI < ADX
🔹 ADX > Threshold
🔹 ADX < Threshold
🔹 +DI > Threshold
🔹 +DI < Threshold
🔹 -DI > Threshold
🔹 -DI < Threshold
🔹 +DI (Crossover) -DI
🔹 +DI (Crossunder) -DI
🔹 +DI (Crossover) ADX
🔹 +DI (Crossunder) ADX
🔹 +DI (Crossover) Threshold
🔹 +DI (Crossunder) Threshold
🔹 -DI (Crossover) ADX
🔹 -DI (Crossunder) ADX
🔹 -DI (Crossover) Threshold
🔹 -DI (Crossunder) Threshold
______________________________________________________
______________________________________________________
🔸 CONDITIONS TO SELL 📉
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND or OR .
🔸 +DI > -DI
🔸 +DI < -DI
🔸 +DI > ADX
🔸 +DI < ADX
🔸 -DI > ADX
🔸 -DI < ADX
🔸 ADX > Threshold
🔸 ADX < Threshold
🔸 +DI > Threshold
🔸 +DI < Threshold
🔸 -DI > Threshold
🔸 -DI < Threshold
🔸 +DI (Crossover) -DI
🔸 +DI (Crossunder) -DI
🔸 +DI (Crossover) ADX
🔸 +DI (Crossunder) ADX
🔸 +DI (Crossover) Threshold
🔸 +DI (Crossunder) Threshold
🔸 -DI (Crossover) ADX
🔸 -DI (Crossunder) ADX
🔸 -DI (Crossover) Threshold
🔸 -DI (Crossunder) Threshold
______________________________________________________
______________________________________________________
🤖 AUTOMATION 🤖
• You can automate the BUY and SELL signals of this indicator.
______________________________________________________
______________________________________________________
⯁ UNIQUE FEATURES
______________________________________________________
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Table of Conditions: BUY/SELL
Conditions Label: BUY/SELL
Plot Labels in the graph above: BUY/SELL
Automate & Monitor Signals/Alerts: BUY/SELL
______________________________________________________
📜 SCRIPT : ADX Full
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy!
______________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
BBands Channels with EMAs# **BBands Channels with EMAs Indicator Explanation**
---
## **📌 Feature Overview**
### **1. Bollinger Bands**
- **Basis Line**: 160-period SMA (adjustable)
- **Inner Bands**:
- **Upper**: Basis + 2× Standard Deviation
- **Lower**: Basis - 2× Standard Deviation
- **Outer Bands**:
- **Upper Top**: Basis + 3× Standard Deviation
- **Lower Low**: Basis - 3× Standard Deviation
- **Fill Effect**: Semi-transparent black fill between inner and outer bands
### **2. Exponential Moving Averages (EMAs)**
| Period | Purpose | Line Style |
|--------------|-----------------------------|------------------|
| **EMA 27** | Short-term trend | Thin line |
| **EMA 120** | Short-to-medium-term trend | Medium line |
| **EMA 200** | Medium-term trend | Medium line |
| **EMA 1120** | Ultra-long-term trend | Thick line |
---
## **⚙️ Parameter Settings**
### **Bollinger Bands**
| Parameter | Default | Description |
|---------------|---------|--------------------------------------|
| `length` | 160 | SMA calculation period |
| `mult` | 2.0 | Standard deviation multiplier (inner bands) |
| `multOuter` | 3.0 | Standard deviation multiplier (outer bands) |
| `offset` | 0 | Time offset for plots (±500 bars) |
### **Exponential Moving Averages (EMAs)**
| Parameter | Default | Description |
|-----------------|---------|---------------------------|
| `ema1Length` | 27 | EMA 1 period |
| `ema2Length` | 120 | EMA 2 period |
| `ema3Length` | 200 | EMA 3 period |
| `ema4Length` | 1120 | EMA 4 period |
---
## **📊 Use Cases**
### **1. Trend Confirmation**
- **Bullish Trend**: Price above EMA200 + Bollinger Band expansion
- **Bearish Trend**: Price below EMA200 + Bollinger Band expansion
### **2. Overbought/Oversold Signals**
- **Upper Band Touch**: Price reaches Upper Top → Potential overbought
- **Lower Band Touch**: Price reaches Lower Low → Potential oversold
### **3. Volatility Strategies**
- **Band Squeeze**: Narrowing gap between bands → Breakout warning
- **Band Expansion**: Price breaks outer band → Trend acceleration
---
**✅ Summary**
This indicator combines **Bollinger Bands + Multi-period EMAs** for:
- Trend tracking
- Volatility analysis
- Multi-timeframe strategies
---
# **BBands Channels with EMAs 指標說明**
---
## **📌 功能概述**
### **1. 布林通道 (Bollinger Bands)**
- **基礎線 (Basis Line)**: 160週期SMA(可調整)
- **內通道 (Inner Bands)**:
- 上軌 (Upper): 基礎線 + 2倍標準差
- 下軌 (Lower): 基礎線 - 2倍標準差
- **外通道 (Outer Bands)**:
- 上外軌 (Upper Top): 基礎線 + 3倍標準差
- 下外軌 (Lower Low): 基礎線 - 3倍標準差
- **填充效果**: 內外通道間半透明黑色填充
### **2. 指數移動平均線 (EMAs)**
| 週期 | 用途 | 線條樣式 |
|-------------|-------------------|-----------------|
| **EMA 27** | 短期趨勢 | 細線 |
| **EMA 120** | 中短期趨勢 | 中等線 |
| **EMA 200** | 中期趨勢 | 中等線 |
| **EMA 1120**| 超長期趨勢 | 粗線 |
---
## **⚙️ 參數設定**
### **布林通道 (Bollinger Bands)**
| 參數名 | 預設值 | 說明 |
|-------------|--------|---------------------------|
| `length` | 160 | SMA計算週期 |
| `mult` | 2.0 | 內通道標準差倍數 |
| `multOuter` | 3.0 | 外通道標準差倍數 |
| `offset` | 0 | 線圖時間偏移(±500根K棒) |
### **指數移動平均線 (EMAs)**
| 參數名 | 預設值 | 說明 |
|----------------|---------|-------------------|
| `ema1Length` | 27 | 第一條EMA週期 |
| `ema2Length` | 120 | 第二條EMA週期 |
| `ema3Length` | 200 | 第三條EMA週期 |
| `ema4Length` | 1120 | 第四條EMA週期 |
---
## **📊 應用場景**
### **1. 趨勢確認**
- **多頭趨勢**: 價格在EMA200上方 + 布林通道擴張
- **空頭趨勢**: 價格在EMA200下方 + 布林通道擴張
### **2. 超買超賣信號**
- **觸及外軌**: 價格觸碰Upper Top → 可能超買
- **觸及下軌**: 價格觸碰Lower Low → 可能超賣
### **3. 波動率策略**
- **通道收窄**: 內外通道間距縮小 → 突破預警
- **通道擴張**: 價格突破外軌 → 趨勢加速
---
**✅ 總結**
本指標透過**布林通道+多週期EMA**的組合,適用於:
- 趨勢跟蹤
- 波動率分析
- 多時間框架策略
MAK Entry Zoneindicator("MAK Entry Zone", overlay=true)
// Detect MAK Reversal again
bearReversal = high > high and close < open
bullReversal = low < low and close > open
bearConfirm = bearReversal and close < close
bullConfirm = bullReversal and close > close
// Draw zone (line) at reversal candle's high/low
var line buyZoneLine = na
var line sellZoneLine = na
if (bullConfirm)
buyZoneLine := line.new(bar_index, low , bar_index + 20, low , color=color.green, style=line.style_dashed)
if (bearConfirm)
sellZoneLine := line.new(bar_index, high , bar_index + 20, high , color=color.red, style=line.style_dashed)
Hull Trend Strong ConfirmationHull Trend original adapted: Added Strong Confirmation. Original code: jaggesoft
Guaranteed Entry Strategy (Every 5 Bars)//@version=5
strategy("Guaranteed Entry Strategy (Every 5 Bars)", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100)
// Force trades every 5 bars after bar 10
canTrade = bar_index > 10
buySignal = canTrade and bar_index % 5 == 0
sellSignal = canTrade and bar_index % 5 == 3
// Entries and exits
if buySignal
strategy.entry("BUY", strategy.long)
strategy.exit("EXIT BUY", from_entry="BUY", profit=50, loss=25)
if sellSignal
strategy.entry("SELL", strategy.short)
strategy.exit("EXIT SELL", from_entry="SELL", profit=50, loss=25)
// Plots
plotshape(buySignal, location=location.belowbar, style=shape.labelup, color=color.green, text="BUY")
plotshape(sellSignal, location=location.abovebar, style=shape.labeldown, color=color.red, text="SELL")
OHLC Candles Overlay [Multi TF]- 3 CandlesMulti timeframe overlay candles for higher timeframe analysis on lower timeframes and vice versa.
Midpoint Line on Last Candleit gives the midpoint of the recent strong candle. a break to this line may cause a trend reversal.
2 Multi MA + ZLEMA + Multi-Session + Volume + 50% Body CandlesThis TradingView indicator combines multiple technical analysis tools into one comprehensive overlay. Key features include:
Dual Moving Averages (MA):
Configurable types (SMA, EMA, WMA, HMA, VWMA, LSMA, SMMA) for both MA 1 and MA 2.
Customizable periods and price sources.
Visualized with distinct colors (cyan and white).
Zero Lag EMA (ZLEMA):
Reduces lag using a price adjustment formula.
Multiple price source options (HLC3, HL2, Close, Open, OHLC4).
Purple-shaded fill between ZLEMA and MA 2 for trend clarity.
Multi-Session Zone Highlights:
Customizable New York, London, and Tokyo trading sessions.
Time zones and session hours/minutes adjustable.
Colored backgrounds (blue, red, green) for easy visual identification.
50% Body Candles:
Highlights candles where the body (open-close range) is ≤50% of the total candle range.
White-colored candles indicate low volatility or indecision.
Volume Metrics Table:
Displays real-time volume and moving averages (5, 20, 50, 100, 200 periods).
Color-coded to show which moving average the current volume is closest to.
TJR's BOS strategyBreak of Structure (BOS) Indicator: TJR version
This Break of Structure (BOS) Indicator helps you identify key market shifts by highlighting breaks in market structure. It uses price action to spot significant swing highs and swing lows and draws horizontal lines that extend to the right whenever a BOS occurs.
Features:
Real-Time Updates: The indicator continuously updates in real time, marking BOS points as they occur.
BOS Lines:
Bullish Break of Structure (BOS): Occurs when the price closes above a previously established high.
Bearish Break of Structure (BOS): Occurs when the price closes below a previously established low.
Customizable: Easily change the color and line length of the BOS markers to suit your charting preferences.
Max Lines Control: Limit the number of BOS lines shown in both upward and downward directions to keep the chart clean.
Visual Clarity: Lines are drawn directly on the high or low levels, marking clear BOS zones on the chart for easy identification.
How to Use:
BOS Up: A bullish BOS is marked when the price closes above a previously marked high.
BOS Down: A bearish BOS is marked when the price closes below a previously marked low.
Trend Direction: This indicator can be particularly useful for traders following trend continuation or reversal strategies, as BOS points represent key areas where market sentiment shifts.
Custom Settings:
Change the color of BOS lines for better visibility.
Adjust the maximum number of BOS lines to display.