Double Smoothed Moving Average Buy/Sell//@version=5
indicator("Double Smoothed Moving Average Buy/Sell", overlay=true)
//--------------------
// Inputs
//--------------------
length = input.int(14, "DSMA Length", minval=1)
src = input.source(close, "Source")
//--------------------
// Double Smoothed Moving Average (DSMA)
//--------------------
// Step 1: Smooth once with EMA
smooth1 = ta.ema(src, length)
// Step 2: Smooth the smoothed value again
dsma = ta.ema(smooth1, length)
//--------------------
// Plot DSMA
//--------------------
plot(dsma, color=color.orange, linewidth=2, title="DSMA")
//--------------------
// Buy / Sell conditions
//--------------------
buySignal = ta.crossover(src, dsma)
sellSignal = ta.crossunder(src, dsma)
// Plot signals on chart
plotshape(buySignal, title="Buy", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="Sell", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
//--------------------
// Alerts
//--------------------
alertcondition(buySignal, title="Buy Alert", message="BUY Signal (Price crossed above DSMA)")
alertcondition(sellSignal, title="Sell Alert", message="SELL Signal (Price crossed below DSMA)")
Candlestick analysis
RB — Rejection Blocks (Price Structure)This indicator detects and visualizes Rejection Blocks (RBs) using pure price action logic.
A bullish RB occurs when a down candle forms a lower low than both its neighbors. A bearish RB occurs when an up candle forms a higher high than both its neighbors.
Validated RBs are displayed as boxes, optional lines, or labels. Blocks are automatically removed when invalidated (price closes through them), keeping the chart uncluttered and focused.
How to use
• Apply on any timeframe, from intraday to higher timeframes.
• Watch how price reacts when revisiting RB zones.
• Treat these zones as contextual areas, not entry signals.
• Combine with your own trading methods for confirmation.
Originality
Unlike generic support/resistance tools, this indicator isolates a specific structural pattern (rejection blocks) and renders it visually on the chart. This selective focus allows traders to study structural reactions with more clarity and precision.
⚠️ Disclaimer: This is not a trading system or a signal provider. It is a visual analysis tool designed for structural and educational purposes.
double ema and rsi divergence buy sell indicator time frame 5min//@version=5
indicator("Double EMA Pullback + RSI Divergence", overlay=true, max_lines_count=500, max_labels_count=500)
//--------------------
// Inputs
//--------------------
fastLen = input.int(20, "Fast EMA Length")
slowLen = input.int(50, "Slow EMA Length")
rsiLen = input.int(14, "RSI Length")
src = input.source(close, "Source")
pivotLen = input.int(5, "Pivot Lookback", minval=2)
//--------------------
// EMAs
//--------------------
emaFast = ta.ema(src, fastLen)
emaSlow = ta.ema(src, slowLen)
plot(emaFast, "Fast EMA", color=color.orange)
plot(emaSlow, "Slow EMA", color=color.blue)
//--------------------
// RSI
//--------------------
rsi = ta.rsi(src, rsiLen)
//--------------------
// Pullback Conditions
//--------------------
upTrend = emaFast > emaSlow
downTrend = emaFast < emaSlow
pullbackBuy = upTrend and ta.crossunder(src, emaFast)
pullbackSell = downTrend and ta.crossover(src, emaFast)
plotshape(pullbackBuy, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(pullbackSell, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
//--------------------
// RSI Divergence Detection
//--------------------
pivH = ta.pivothigh(src, pivotLen, pivotLen)
pivL = ta.pivotlow(src, pivotLen, pivotLen)
rsiPivH = ta.pivothigh(rsi, pivotLen, pivotLen)
rsiPivL = ta.pivotlow(rsi, pivotLen, pivotLen)
// Track last pivots
var float lastPriceLow = na
var float lastRsiLow = na
var float lastPriceHigh = na
var float lastRsiHigh = na
bullDiv = false
bearDiv = false
if not na(pivL)
if not na(lastPriceLow) and not na(lastRsiLow)
bullDiv := pivL < lastPriceLow and rsiPivL > lastRsiLow
if bullDiv
line.new(bar_index , pivL, bar_index , lastPriceLow, color=color.lime, width=2)
label.new(bar_index , pivL, "Bull Div", color=color.lime, style=label.style_label_up, textcolor=color.black)
lastPriceLow := pivL
lastRsiLow := rsiPivL
if not na(pivH)
if not na(lastPriceHigh) and not na(lastRsiHigh)
bearDiv := pivH > lastPriceHigh and rsiPivH < lastRsiHigh
if bearDiv
line.new(bar_index , pivH, bar_index , lastPriceHigh, color=color.red, width=2)
label.new(bar_index , pivH, "Bear Div", color=color.red, style=label.style_label_down, textcolor=color.white)
lastPriceHigh := pivH
lastRsiHigh := rsiPivH
//--------------------
// Alerts
//--------------------
alertcondition(pullbackBuy, title="Buy Pullback", message="Buy Pullback Signal")
alertcondition(pullbackSell, title="Sell Pullback", message="Sell Pullback Signal")
alertcondition(bullDiv, title="Bullish RSI Divergence", message="Bullish RSI Divergence")
alertcondition(bearDiv, title="Bearish RSI Divergence", message="Bearish RSI Divergence")
DubleB_ver.1Title:
Final Combo: Bollinger Bands + 5 SMAs + Cross Signals + Dual Pierce + Hammer Alerts
Description:
This indicator combines multiple technical tools into one comprehensive package:
Bollinger Bands:
• BB (Length 4, StdDev 4, source: Open, no midline)
• BB (Length 20, StdDev 2, source: Close, with SMA midline)
Moving Averages (5 lines):
• SMA 5, 20, 60, 120, 240
• Each line has customizable color, style, and visibility toggle
Cross Signals:
• 5/20, 60/120, 60/240, 120/240 crossovers
• Plot markers with customizable style and colors
• Alerts triggered instantly when the cross forms
Dual Bollinger Pierce:
• Signals when a candle pierces both the 4,4 and 20,2 Bollinger Bands simultaneously
• Alerts notify as “Double BB” event
Candlestick Patterns:
• Hammer and Inverted Hammer detection (with relaxed conditions)
• Signals only confirmed at bar close
• Alerts notify as “Hammer detected” or “Inverted Hammer detected”
Alerts:
• All signals (crosses, double BB pierce, hammers) come with built-in alertcondition()
• Alert messages include symbol name and timeframe automatically
How to Use:
Add the indicator to your chart
Configure moving averages, colors, and marker styles as needed
Set alerts directly from the chart using “Add Alert” → select the conditions you want
Ideal for traders who need combined volatility, trend, and candlestick reversal signals in one tool
M/S Signal v2 - Multi-Zone Signal SystemM/S Signal v2 - Multi-Zone Signal System
🔧 TECHNICAL DESCRIPTION
M/S Signal v2 solves false breakout problems through a dual filtering system, combining zone confluence analysis with higher timeframe control to generate high-precision trading signals.
📊 TRIPLE ZONE SYSTEM:
Zone 1 (Trend 100) - long-term trend analysis
Zone 2 (Impulse 60) - impulse movement detection
Zone 3 (Signal 20) - precise entry signals
Automatic detection of confluent zones
⏰ HTF SYNCHRONIZATION:
Select any higher timeframe (1H, 4H, 1D, etc.)
Filtering by last HTF signal
Shows only allowed direction
ON/OFF toggle for flexibility
🎯 SMART DUAL FILTERING:
Filter 1: Zone confluence (adjustable 0.1% tolerance)
Filter 2: Higher timeframe direction
Independent operation of each filter
Accurate signals without false entries
🔧 CORE ALGORITHMS:
1. Level Breakout Detection:
Code
if current_close > active_high:
generate_BUY_signal()
update_levels(current_high, current_low)
elif current_close < active_low:
generate_SELL_signal()
update_levels(current_high, current_low)
2. Zone Confluence Analysis:
Code
zones_match(level1, level2, tolerance) =>
diff = math.abs(level1 - level2)
avg_price = (level1 + level2) / 2
tolerance_value = avg_price * tolerance / 100
diff <= tolerance_value
3. HTF Filtering:
Code
htf_last_signal = request.security(symbol, htf_timeframe, get_trading_logic())
allow_buy = (htf_last_signal == "BUY")
allow_sell = (htf_last_signal == "SELL")
final_signal = base_signal AND zone_condition AND htf_condition
⚙️ TECHNICAL SPECIFICATIONS:
PineScript v6 - optimized code
45+ parameters in 8 setting groups
Overlay indicator - works on chart
500 max objects for stability
🎨 VISUALIZATION:
3 colored zones with fills between them
BUY/SELL labels with prices and arrows
Active support/resistance levels
Key breakout candle highlighting
Full color and size customization
🎯 ALGORITHM:
Zone analysis - find confluence levels
HTF control - determine allowed direction
Level breakout - generate M/S signal
Dual filtering - show only quality signals
📈 SETTINGS GROUPS:
Zone Settings - zone lengths and colors
Zone Signal Filters - zone confluence filtering
Higher Timeframe Filter - HTF control
BUY/SELL Signal - signal parameters
Alert Settings - notification system
Visual Settings - display and styles
Zone Fill Settings - fills between zones
Level Settings - active S/R levels
🔔 ADVANCED ALERTS:
Real-time signal notifications
Detailed info: price, time, symbol
Breakout level indication
Timeframe filtering
💡 APPLICATIONS:
Scalping - precise entries on M1-M5
Swing Trading - HTF analysis for H1-H4
Position Trading - long-term positions
Multi-timeframe analysis - all styles
🔧 HOW IT WORKS: The indicator tracks current price levels and generates signals when price breaks above resistance (BUY) or below support (SELL). The dual filtering system ensures signals only appear when zones align (confluence) and higher timeframe direction permits the trade.
📊 PERFECT FOR:
Professional traders seeking precision
Multi-timeframe strategy implementation
Reducing false signals and noise
Clear trend direction confirmation
Created by @Mko-777 | September 4, 2025
Bearish Doji Finder with Sell SignalBearish Doji Definition
A Bearish Doji is a candlestick formation that signals potential reversal from an uptrend into a downtrend. It occurs when market buying pressure starts to weaken and sellers begin to take control.
🔎 Characteristics
Small Candle Body
The open and close prices are very close (almost equal).
This shows indecision between buyers and sellers.
Longer Wicks (Shadows)
Typically, both the upper and lower wicks are larger than the body.
A long upper wick suggests rejection of higher prices.
Location in an Uptrend
Appears after a rally or in overbought conditions.
Gains importance if confirmed by RSI, MACD, or volume divergence.
📊 Psychology Behind It
Buyers push the price higher during the session.
Sellers push back and bring the close back near the open.
This indecision signals weakening bullish momentum.
If the next candle breaks below the Doji’s low, it confirms bearish momentum (sell signal).
✅ Trading the Bearish Doji
Entry: Sell when price breaks below the low of the Doji.
Stop Loss: Place above the high of the Doji (setup invalid if high breaks first).
Confirmation: Stronger when supported by overbought RSI, resistance levels, or declining volume on the prior rally.
10min Binary Option of BTC/ETH📌 Core Feature: Combines JMA trend with Dynamic Order Book resonance to precisely capture short-term entry points.
📌 Signal Alerts: Single-color circular labels, show at bar open, no need to wait for bar close confirmation.
📌 Smart Filtering: Uses resonance thresholds and trend slope to filter noise and reduce false signals in sideways markets.
📌 Applicable Range: Designed specifically for 10-minute event contracts, providing high-accuracy entry guidance.
📌 Adjustable: Thresholds can be tuned to match your strategy style, controlling signal frequency and precision.
Stacey Burke Signal Day LTE“Previously published as ‘Day Zero Fakeout Detector MTF’”
Stacey Burke Signal Day LTE
Automatic detection of Day Zero, Inside Days, and Outside Days for Stacey Burke’s intraday playbook
🔎 Stacey Burke’s Signal Days
This indicator highlights the key daily patterns that often lead to high-probability intraday setups in Stacey Burke’s methodology:
1️⃣ Day Zero
The reset days within a 3-day cycle (e.g. breakout → continuation → exhaustion/reversal).
Can mark the beginning of a new directional phase.
Trades back inside the prior range after a Peak Formation High (PFH) or Peak Formation Low (PFL).
Bias: Look for measured parabolic session moves. When combined with trend following indicators, these signal days can be very powerful.
2️⃣ Inside Day
A day where the entire range is contained within the prior day’s range.
Signals consolidation and energy build-up.
Often leads to explosive breakouts in the next session.
Bias: Trade breakouts of the inside day’s high/low or breakout reversal in the session at key timings in the direction of higher timeframe bias. When combined with trend following indicators, these signal days can be very powerful.
3️⃣ Outside Day (Engulfing Day)
`
A day where the range is larger than the prior day’s range, engulfing both high and low.
Marks trapped traders and fakeouts on both sides.
Often precedes strong continuations or sharp reversals from outside of the ranges.
Bias: Align trades with the true continuation move. When combined with trend following indicators, these signal days can be very powerful.
📌 How They Work Together
Day Zero → Signals the new cycle after PFH/PFL.
Inside Day → Signals compression → expect breakout setups.
Outside Day → Signals exhaustion/fakeouts → expect reversals or continuations.
Together, they give traders a clear daily roadmap for where liquidity sits and when to expect the highest-probability setups.
✅ Example in Practice
Market rallies for 3 days → PFH forms → Day Zero short bias.
Next day prints an Inside Day → watch for breakout continuation short, and breakout reversals.
Later, an Outside Day traps both longs and shorts → the following session offers a clean intraday reversal or continuation trade in line with the underlying MTF trend/bias.
⚙️ Features of This Indicator
Automatic detection of Day Zero, Inside Days, and Outside Days
Multi-Timeframe (MTF) support for cycle alignment
Visual markers for PFH/PFL and consolidation zones
Measured move projections for breakout targets
👉 Stacey Burke Signal Day LTE gives traders just a few of the most important signal days — Day Zero, Inside Day, and Outside Day — to structure their intraday trades around fake outs, breakouts, and reversals within the daily cycles of the week. (This is work in progress: Next up, FRD/FGD's, 3-day cycle detecting, 3DLs, 3DSs).
ALCHUSDT Binance-Bybit Premium v2ALCHUSDT perpetual contract spread between Binance and Bybit
Formula: spread = binance_close - bybit_close
[GrandAlgo] HTF Swing Sweep & Reversal IndicatorHTF Swing Sweep & Reversal Indicator
This indicator is built to spot liquidity sweeps of Higher Timeframe (HTF) swing levels and highlight potential reversal opportunities on your chosen Lower Timeframe (LTF).
✨ Core Idea
Markets often grab liquidity above highs or below lows before reversing. This script does the work for you by marking HTF swings, watching the LTF for sweeps, and confirming when price reclaims or rejects those levels.
🎯 Key Features
👉 Marks HTF swing highs (red) and HTF swing lows (green) using your chosen HTF Swing Length and timeframe.
👉 Detects a sweep whenever the LTF closes beyond an HTF swing level.
👉 Draws a temporary Breach Line at the sweep bar’s open, adjusting as price develops.
👉 Signals Long when price reclaims after sweeping an HTF low.
👉 Signals Short when price rejects after sweeping an HTF high.
👉 Includes optional filters for stricter confirmations:
• Mid Filter → requires stronger body confirmation.
• Strict Filter → requires close beyond the original HTF level.
👉 Customizable colors, line styles, and visibility options.
👉 Built-in alerts so you never miss a setup.
⚡ How to Use
👉 Select a Higher Timeframe (htf) for structure (e.g., 1H, 4H, Daily).
👉 Let the script plot HTF swing highs and lows.
👉 Watch for sweeps and wait for confirmation signals (labels + alerts).
👉 Combine with other tools (order blocks, FVGs, SMT, volume) for confluence.
✅ Notes
👉 Signals are non-repainting once confirmed.
👉 Both HTF and LTF are fully user-defined — there are no fixed defaults.
👉 Filters let you decide between aggressive entries or conservative confirmation.
⚠️ Disclaimer: This tool is for educational purposes only. Not financial advice. Always backtest and validate with your own strategy before using in live trading.
Artharjan Intraday Trading ZonesArtharjan Intraday Trading Zones (AITZ)
Overview
The AITZ indicator is designed to visually mark intraday trading zones on a chart by using the current day’s High (DH) and Low (DL) as reference points. It creates three distinct market zones:
Bullish Zone: Near the daily high, suggesting strength.
Bearish Zone: Near the daily low, suggesting weakness.
Neutral / No-Trade Zone: Between the bullish and bearish thresholds, where price movement is less directional.
These zones are highlighted with color-fills for quick visual identification, and the indicator automatically resets at the start of each new trading day.
Key Features
Daily Reference Levels: Automatically fetches Day High, Day Low, and uses them to calculate intraday zones.
Configurable Zone Depth: Traders can set the percentage distance from High/Low to define bullish and bearish zones.
Conditional Zone Coloring: Option to highlight zones only when price is actively trading inside them.
Dynamic Updates: Zone coloring adjusts in real time as the day progresses.
Customizable Appearance: Line thickness and zone colors can be adjusted to match chart preferences.
Inputs
Parameter Type Default Description
Level Thickness Integer 1 Thickness of all plotted levels (1–10).
(DH-DL)% below Day High Float 25 Distance from daily high (as % of DH–DL range) to define bullish threshold.
(DH-DL)% above Day Low Float 25 Distance from daily low (as % of DH–DL range) to define bearish threshold.
Plot Zone Colors (Conditional)? Boolean true If enabled, zones are colored only when price trades inside them. Otherwise, they remain visible regardless of price position.
Bullish Zone Color Color Teal (90% transparent) Fill color for bullish zone.
Neutral Zone Color Color Blue (90% transparent) Fill color for neutral/no-trade zone.
Bearish Zone Color Color Maroon (90% transparent) Fill color for bearish zone.
Core Calculations
Zones:
Bullish Zone = between DH and LTL
Bearish Zone = between DL and STL
Neutral Zone = between LTL and STL
Reset Behavior: At the start of each new daily session, old lines are deleted and fresh ones are drawn.
Usage Example
A trader sets:
(DH–DL)% below High = 20%
(DH–DL)% above Low = 20%
If today’s DH = 1000 and DL = 900 (Range = 100):
Bullish threshold = 1000 – (100 × 20%) = 980
Bearish threshold = 900 + (100 × 20%) = 920
Zones:
Bullish Zone: 980 → 1000
Neutral Zone: 920 → 980
Bearish Zone: 900 → 920
This creates clear trade zones for scalpers or intraday directional traders.
Practical Application
Trend Confirmation: If price sustains in the bullish zone, bias stays long.
Weakness Detection: Price falling into the bearish zone signals short opportunities.
Neutral Play: Avoid trades or expect sideways action inside the neutral zone.
Limitations
Works on instruments with clear daily highs/lows (equities, futures, FX).
May repaint levels intraday until the daily high/low is confirmed.
Zones depend on daily volatility—very narrow ranges may cause zones to overlap.
Sunset Zones by PDVSunset Zones by PDV is an intraday reference indicator that plots key horizontal levels based on selected “root candles” throughout the trading day. At each programmed time, the indicator identifies the high and low of the corresponding candle and projects those levels forward with extended lines, providing traders with a clean visual framework of potential intraday reaction zones.
These zones serve as reference levels for support, resistance, liquidity grabs, and session context, allowing traders to analyze how price reacts around time-specific structures. Unlike lagging indicators, Sunset Zones gives traders real-time, rule-based levels tied directly to the price action of specific moments in the session.
Key Features
Predefined Time Codes
The script comes with a curated list of intraday timestamps (in HHMM format). Each represents a “root candle” from which levels are generated. Examples include 03:12, 06:47, 07:41, 08:51, etc. These time codes can reflect historically important market moments such as session opens, liquidity sweeps, or volatility inflection points.
Automatic Zone Plotting
At each root time, the script captures the candle’s high and low and instantly extends those levels forward across the chart. This provides consistent, objective reference points for intraday trading.
Extended Lines
Levels are projected far into the future (default: 500 bars) so traders can easily track how price interacts with those zones throughout the day.
Color-Coded Levels
Each root time is assigned a distinct color for fast identification. For example:
03:12 → Fuchsia
06:47 → Purple
07:41 → Teal
08:51 → White
09:53 → White
10:20 → Orange
11:10 → Green
11:49 → Red
12:05 → White
13:05 → Teal
14:09 → Aqua
This helps traders quickly recognize which time-of-day level price is interacting with.
Lightweight & Visual
The indicator focuses purely on price and time, avoiding complexity or lagging signals. It can be layered with other analysis tools, order flow charts, or session-based studies.
Practical Use Cases
Intraday Bias:
Observe whether price respects, rejects, or consolidates around these reference levels to form a bias.
Liquidity Zones:
High/low sweeps of the root candle can act as liquidity pools where institutions might trigger stops or reversals.
Support & Resistance:
Extended lines create intraday S/R zones without the need to manually draw levels.
Confluence Finder:
Combine Sunset Zones with VWAP, session ranges, Fibonacci levels, or higher-timeframe structure for layered confluence.
Important Notes
This is a visual reference tool only. It does not generate buy or sell signals.
Default times are provided, but the concept is flexible — traders can adapt it by modifying or expanding the list of time codes.
Works best on intraday timeframes where session structure is most relevant (e.g., 1-minute to 15-minute charts).
✅ In short: Sunset Zones by PDV gives intraday traders a systematic way to anchor their charts to important time-based highs and lows, creating a consistent framework for analyzing price reactions across the day.
Pivot Wick GapsMulti Time frame pivot wick gap indicator with mitigation options: Respect, Violation, Disrespect. fortification options, label options color options and alerts.
One Candle ReversalThe script will change the bar color if the bar has a body larger the 55% of the range and a range more then 90% of the 20 period ATR.
OCR bars can be used for risk management (stop loss) or buy/sell decisions.
NB an OCR candle does not guarantee, with any probability, a reversal of direction.
It merely can be in indication of a cleanup action of buyers or sellers.
5 SMA Bands - Professional Adaptive Moving Average System🇺🇸 ENGLISH DESCRIPTION
Professional-grade technical indicator designed for elite traders who demand precision, visual clarity, and adaptive market analysis.
This sophisticated tool revolutionizes traditional Simple Moving Average analysis by transforming thin lines into dynamic, adaptive bands that provide superior trend identification and market structure visualization across all timeframes and asset classes.
🎯 Key Professional Features
5 Fully Configurable SMAs with independent period, color, and width controls
3 Advanced Adaptation Methods: Price Percentage, ATR Adaptive, Dynamic Volatility
Institutional-Grade Visual Design with thick, clearly visible bands
Real-Time Information Dashboard displaying all active parameters
Professional Default Setup: SMA 8 (Green), SMA 20 (Blue), SMA 200 (Red)
Precision Band Width Control from 0.05% to 2.0% with 0.05% increments
Individual Toggle Control for each moving average
Optional Center Lines for exact price level identification
📈 Advanced Adaptation Technology
Price Percentage Method: Band width as percentage of SMA value
ATR Adaptive Method (Recommended): Automatically adjusts to market volatility using Average True Range
Dynamic Volatility Method: Uses standard deviation for high-volatility instruments
💼 Professional Trading Applications
Multi-Timeframe Trend Analysis: Identify short, medium, and long-term trends simultaneously
Dynamic Support/Resistance Levels: Adaptive bands act as dynamic S/R zones
Market Structure Analysis: Visualize trend strength and momentum shifts
Entry/Exit Signal Enhancement: Clear visual confirmation of trend changes
Risk Management: Better position sizing based on volatility-adjusted bands
🏆 Competitive Advantages
Superior Visual Clarity: Thick bands are easier to identify than traditional thin lines
Automatic Volatility Adjustment: Adapts to any instrument's characteristics
Zoom-Independent Scaling: Maintains visual proportions at any chart zoom level
Universal Compatibility: Works flawlessly on Forex, Stocks, Crypto, Commodities, Indices
⚙️ Recommended Professional Setups
Scalping: SMAs 8, 20, 50 with ATR Adaptive method
Day Trading: SMAs 20, 50, 100 with 0.3-0.5% band width
Swing Trading: SMAs 50, 100, 200 with Dynamic Volatility method
Position Trading: SMAs 100, 200 with 0.5-0.8% band width
Engulfing + Doji Pro VIPIN — Detect, Recolor, Alerts (Safe v5)Description:
This indicator is designed to help traders visually identify Engulfing candlestick patterns (Bullish & Bearish) and optional Doji formations (Dragonfly & Gravestone).
It is intended for educational and analytical purposes only, not for direct buy/sell signals.
Features:
• ✅ Detects Bullish Engulfing and Bearish Engulfing
• ✅ Optional Dragonfly Doji and Gravestone Doji detection
• ✅ Flexible settings:
• Body vs Range % filter
• Min size ratio filter
• EMA confluence filter (optional)
• ✅ Visual customization:
• Candle recoloring
• Labels (Engulfing, Doji)
• Alert conditions
How to Use:
• Apply on your preferred timeframe.
• Use pattern signals only as confirmations with your trading strategy.
• For best results, combine with support/resistance, EMA, or volume analysis.
⚠️ Disclaimer:
This script is for educational purposes only.
It does not provide financial advice or guaranteed trading results.
Always do your own research and test thoroughly before using in live markets.
Мой скрипт//@version=5
indicator("Market Structure BOS/CHoCH", overlay=true, max_labels_count=500)
// === Settings ===
swingLen = input.int(3, "Swing Length", minval=1)
showBOS = input.bool(true, "Show BOS")
showCHoCH = input.bool(true, "Show CHoCH")
// === Identify swing highs and lows ===
var float lastHigh = na
var float lastLow = na
swingHigh = ta.pivothigh(high, swingLen, swingLen)
swingLow = ta.pivotlow(low, swingLen, swingLen)
if not na(swingHigh)
lastHigh := swingHigh
if not na(swingLow)
lastLow := swingLow
// === Determine HH, HL, LH, LL ===
hh = not na(swingHigh) and swingHigh > lastHigh
hl = not na(swingLow) and swingLow > lastLow
lh = not na(swingHigh) and swingHigh < lastHigh
ll = not na(swingLow) and swingLow < lastLow
// === Plot labels for structure points ===
if hh
label.new(bar_index, swingHigh, "HH", style=label.style_label_down, color=color.green, textcolor=color.white, yloc=yloc.abovebar)
if hl
label.new(bar_index, swingLow, "HL", style=label.style_label_up, color=color.green, textcolor=color.white, yloc=yloc.belowbar)
if lh
label.new(bar_index, swingHigh, "LH", style=label.style_label_down, color=color.red, textcolor=color.white, yloc=yloc.abovebar)
if ll
label.new(bar_index, swingLow, "LL", style=label.style_label_up, color=color.red, textcolor=color.white, yloc=yloc.belowbar)
// === BOS (Break of Structure) detection ===
bosUp = ta.crossover(close, lastHigh)
bosDown = ta.crossunder(close, lastLow)
if showBOS and bosUp
label.new(bar_index, high, "BOS ↑", style=label.style_label_down, color=color.blue, textcolor=color.white, yloc=yloc.abovebar)
if showBOS and bosDown
label.new(bar_index, low, "BOS ↓", style=label.style_label_up, color=color.blue, textcolor=color.white, yloc=yloc.belowbar)
// === CHoCH (Change of Character) detection ===
var int trend = 0 // 1 = uptrend, -1 = downtrend
if hh or hl
trend := 1
if lh or ll
trend := -1
chochUp = trend == -1 and bosUp
chochDown = trend == 1 and bosDown
if showCHoCH and chochUp
label.new(bar_index, high, "CHoCH ↑", style=label.style_label_down, color=color.lime, textcolor=color.white, yloc=yloc.abovebar)
if showCHoCH and chochDown
label.new(bar_index, low, "CHoCH ↓", style=label.style_label_up, color=color.lime, textcolor=color.white, yloc=yloc.belowbar)
// === Arrows for signals ===
plotshape(bosUp, title="BOS Buy Arrow", location=location.belowbar, color=color.blue, style=shape.labelup, size=size.small, text="↑ BOS")
plotshape(bosDown, title="BOS Sell Arrow", location=location.abovebar, color=color.blue, style=shape.labeldown, size=size.small, text="↓ BOS")
plotshape(chochUp, title="CHoCH Buy Arrow", location=location.belowbar, color=color.lime, style=shape.labelup, size=size.small, text="↑ CHoCH")
plotshape(chochDown, title="CHoCH Sell Arrow", location=location.abovebar, color=color.lime, style=shape.labeldown, size=size.small, text="↓ CHoCH")
AlphaLabs — Stacked Bid Ask Imbalance Uses candle stick theory to guess the stacked Bid Ask Imbalance, good on lower time frame for projecting moves
OB + CHoCH [El Baja Panty]The Baja Panty Indicator is a custom-built tool designed to help traders identify high-probability entry and exit zones using a blend of price action and momentum signals. It overlays visual cues directly on the chart to highlight potential trend reversals, continuation setups, and areas of confluence. This indicator is tailored for fast decision-making, with a focus on clarity and minimal lag, making it especially useful for scalpers and short-term traders.
ArmaX Smart Money LiteArmaX Smart Money Lite is the public version of our Smart Money indicator — designed to detect institutional inflows & outflows early.
It automatically flags the first candle of a new move (leg) where Smart Money activity is most likely to start.
🔹 Key Features (Lite version):
- Detects Smart Money inflow & outflow candles
- Highlights first candle of potential major legs
- Lightweight and easy-to-use — optimized for clarity
- Fixed parameters (non-editable) for consistency
⚡ Note:
This is the Lite version. For advanced features such as: multi-timeframe confirmation, on-chain integrations, institutional volume filters, and enhanced dashboard tools — upgrade to ArmaX Smart Money Pro.