Math by Thomas Liquidity PoolDescription
Math by Thomas Liquidity Pool is a TradingView indicator designed to visually identify potential liquidity pools on the chart by detecting areas where price forms clusters of equal highs or equal lows.
Bullish Liquidity Pools (Green Boxes): Marked below price where two adjacent candles have similar lows within a specified difference, indicating potential demand zones or stop loss clusters below support.
Bearish Liquidity Pools (Red Boxes): Marked above price where two adjacent candles have similar highs within the difference threshold, indicating potential supply zones or stop loss clusters above resistance.
This tool helps traders spot areas where smart money might hunt stop losses or where price is likely to react, providing valuable insight for trade entries, exits, and risk management.
Features:
Adjustable box height (vertical range) in points.
Adjustable maximum difference threshold between candle highs/lows to consider them equal.
Boxes automatically extend forward for visibility and delete when price sweeps through or after a defined lifetime.
Separate visual zones for bullish and bearish liquidity with customizable colors.
How to Use
Add the Indicator to your chart (preferably on instruments like Nifty where point-based thresholds are meaningful).
Adjust Inputs:
Box Height: Set the vertical size of the liquidity zones (default 15 points).
Max Difference Between Highs/Lows: Set the max price difference to consider two candle highs or lows as “equal” (default 10 points).
Box Lifetime: How many bars the box stays visible if not swept (default 120 bars).
Interpret Boxes:
Green Boxes (Bullish Liquidity Pools): Areas of potential demand and stop loss clusters below price. Watch for price bounces or accumulation near these zones.
Red Boxes (Bearish Liquidity Pools): Areas of potential supply and stop loss clusters above price. Watch for price rejections or distribution near these zones.
Trading Strategy Tips:
Use these zones to anticipate where stop loss hunting or liquidity sweeps may occur.
Combine with your Order Block, Fair Value Gap, and Market Structure tools for higher probability setups.
Manage risk by avoiding entries into price regions just before large liquidity pools get swept.
Automatic Cleanup:
Boxes delete automatically once price breaks above (for bearish zones) or below (for bullish zones) the zone or after the set lifetime.
Candlestick analysis
Liquidity Engulfing (Nephew_Sam_)🔥 Liquidity Engulfing Multi-Timeframe Detector
This indicator finds engulfing bars which have swept liquidity from its previous candle. You can use it across 6 timeframes with fibonacci entries.
⚡ Key Features
6 Customizable Timeframes - Complete market structure analysis
Smart Liquidity Detection - Finds patterns that sweep liquidity then reverse
Real-Time Status Table - Confirmed vs unconfirmed patterns with color coding
Fibonacci Integration - 5 customizable fib levels for precise entries
HTF → LTF Strategy - Spot reversals on higher timeframes, enter on lower timeframe fibs
📈 Engulfing Rules
Bullish: Current candle bullish + previous bearish + current low < previous low + current close > previous open
Bearish: Current candle bearish + previous bullish + current high > previous high + current close < previous open
Nifty Futures ATM Option Signal//@version=6
indicator('Nifty Futures ATM Option Signal', overlay = true)
// === Input symbols ===
// You must update these to match the live ATM options of current expiry.
niftyFutSymbol = input.symbol('NSE:NIFTY1!', 'Nifty Index Futures')
atmCallSymbol = input.symbol('NSE:NIFTY250605C24750', 'ATM Call Option (Same Expiry)')
atmPutSymbol = input.symbol('NSE:NIFTY250605P24750', 'ATM Put Option (Same Expiry)')
// === Get OHLC values from 5-minute charts ===
niftyOpen = request.security(niftyFutSymbol, '5', open)
niftyClose = request.security(niftyFutSymbol, '5', close)
callOpen = request.security(atmCallSymbol, '5', open)
callClose = request.security(atmCallSymbol, '5', close)
putOpen = request.security(atmPutSymbol, '5', open)
putClose = request.security(atmPutSymbol, '5', close)
// === Candle directions ===
niftyRed = niftyClose < niftyOpen
niftyGreen = niftyClose > niftyOpen
callGreen = callClose > callOpen
putGreen = putClose > putOpen
// === Trading signals ===
buySignal = niftyRed and callGreen
sellSignal = niftyGreen and putGreen
// === Plot signals on chart ===
plotshape(buySignal, title = 'Buy Signal', location = location.belowbar, color = color.green, style = shape.triangleup, size = size.small)
plotshape(sellSignal, title = 'Sell Signal', location = location.abovebar, color = color.red, style = shape.triangledown, size = size.small)
bgcolor(buySignal ? color.new(color.green, 85) : na, title = 'Buy Background')
bgcolor(sellSignal ? color.new(color.red, 85) : na, title = 'Sell Background')
Auto ICT Checklist + Trade Signal✅ Auto-detects Weekly Bias (from previous weekly candle)
✅ Auto-detects Daily Bias (from previous daily candle)
✅ Auto-detects Asia Session High/Low Break
✅ Displays a table with all 3 items
✅ Triggers an alert when:
Daily Bias & Weekly Bias are aligned
Asia High or Low has been taken
It recommends: Long 1 MNQ below Daily/Midnight open or Short 1 MNQ above Daily/Midnight open
Support & Resistance by WhalesDesk Support & Resistance by whales Desk.
This indicates mark automatically Support & Resistance on chart.
Nifty Futures vs ATM Options Signal//@version=5
indicator("Nifty Futures vs ATM Options Signal", overlay=true)
// === Input Symbols ===
// Use appropriate symbols available in your TradingView account
niftyFutSymbol = input.symbol("NSE:NIFTY1!", "Nifty Futures")
atmCallSymbol = input.symbol("NSE:NIFTY24JUN22400CE", "ATM Call Option")
atmPutSymbol = input.symbol("NSE:NIFTY24JUN22400PE", "ATM Put Option")
// === Fetch OHLC from 5-min candles for all symbols ===
niftyOpen = request.security(niftyFutSymbol, "5", open)
niftyClose = request.security(niftyFutSymbol, "5", close)
callOpen = request.security(atmCallSymbol, "5", open)
callClose = request.security(atmCallSymbol, "5", close)
putOpen = request.security(atmPutSymbol, "5", open)
putClose = request.security(atmPutSymbol, "5", close)
// === Condition 1: Buy Signal ===
// Nifty Futures RED candle and ATM Call Option GREEN candle
buySignal = (niftyClose < niftyOpen) and (callClose > callOpen)
// === Condition 2: Sell Signal ===
// Nifty Futures GREEN candle and ATM Put Option GREEN candle
sellSignal = (niftyClose > niftyOpen) and (putClose > putOpen)
// === Plot Buy/Sell Signals ===
plotshape(buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
bgcolor(buySignal ? color.new(color.green, 85) : na, title="Buy Background")
bgcolor(sellSignal ? color.new(color.red, 85) : na, title="Sell Background")
Fractals 1hFractals 1h, visible on 5m TF.
This indicator allows me to backtest my strategy "from zone to zone"...
FxInside你这段代码整体逻辑是正确的,但如果**实际运行后看不到空头信号(`short_signal`)**,那大概率是因为条件太苛刻,在你当前查看的图表、时间周期和币种上**并没有符合这些严格空头条件的K线**。
---
### ✅ 逐项检查你的 `short_signal` 条件:
```pinescript
short_signal = do_tick/st >= 2 and st / (high - low ) >= 0.05 and up_tick/st <= 0.75 and close < low
```
#### 解释:
1. `do_tick / st >= 2`:前一根K线下影线明显大于实体(**下影线 >= 实体的2倍**)✅
2. `st / (high - low ) >= 0.05`:实体不能太小(至少占K线5%)✅
3. `up_tick / st <= 0.75`:上影线不能太大 ✅
4. `close < low `:当前K线收盘价要**跌破前一根K线最低价**(这可能比较苛刻❗)
---
### 🔍 为什么很少或没有出现空头信号?
通常是因为 **`close < low `** 是比较少见的情况(意味着当前K线**收盘直接创新低**),在大部分正常震荡或下跌过程中,K线更多是影线破位而不是**实体收盘破位**。
---
### ✅ 如何验证问题?
你可以临时在图表中添加一个调试输出,例如:
```pinescript
label.new(bar_index, high, text="✓", color=color.red) if short_signal
```
或者添加调试 `plot`:
```pinescript
plot(close < low ? 1 : na, title="收盘破前低", color=color.red)
```
你会发现这个条件非常少成立。
---
### ✅ 两个可选改进方式:
#### ✅ 方式1:放宽空头条件的“收盘破低”为“最低价破低”
```pinescript
short_signal = do_tick/st >= 2 and st / (high - low ) >= 0.05 and up_tick/st <= 0.75 and low < low
```
这样只要**当前K线最低价跌破前低**就算空头信号,触发率大幅提升。
---
#### ✅ 方式2:同时显示条件组件,方便你调试
```pinescript
plotshape(do_tick/st >= 2, title="下影线够长", location=location.top, color=color.blue, style=shape.circle)
plotshape(st / (high - low ) >= 0.05, title="实体不小", location=location.top, color=color.yellow, style=shape.circle)
plotshape(up_tick/st <= 0.75, title="上影线不大", location=location.top, color=color.orange, style=shape.circle)
plotshape(close < low , title="收盘破低", location=location.top, color=color.red, style=shape.triangledown)
```
这样可以清晰地看到哪一个条件没有被满足。
---
如果你愿意,我也可以根据你的交易风格(比如追空激进 or 保守),重新优化空头条件。是否要我为你设计一个更高触发率的版本?
Candle Body Strength CounterThis indicator measures the total bullish and bearish candle body strength over a user-defined lookback period. For each bar, it sums the absolute body sizes of bullish candles (where close > open) and bearish candles (where close < open) within the lookback window. The result is two lines: one for bullish body strength and one for bearish body strength, making it easy to spot shifts in market momentum and bias.
Adjustable lookback period (default: 20 bars)
Green line: cumulative bullish body strength
Red line: cumulative bearish body strength
Use this tool to quickly assess which side (bulls or bears) has been stronger over your chosen timeframe.
Green Candle Buy Signal with Target Confirmationthis is fantastic signal for buy and sell .
simple strategy works in this market,
Blue Whale Trade StrategyThe Blue Whale Trade Strategy indicator determines the current support/resistance levels of the parity based on candle movements and keeps them constantly updated for the last 301 candles.
DEV many TimeFrame💡 DEV many TimeFrame – Multi-Timeframe Momentum Pattern Classification Using RSI
DEV many TimeFrame is a powerful technical indicator designed for TradingView. It combines RSI (Relative Strength Index) with smoothed moving averages (EMA and WMA) to detect and classify different market phases such as accumulation, breakout, and exhaustion. Its core strength lies in automatically identifying momentum models and classifying trend strength across time.
🔧 Key Components and Logic
1. RSI & Moving Average Calculation
RSI: Calculated with standard settings (default period = 14).
EMA RSI: Fast exponential moving average of the RSI.
WMA RSI: Slow weighted moving average of the RSI.
DEV: Measures the deviation between EMA RSI and WMA RSI, representing trend expansion strength.
2. Expansion Detection
A trend is considered "expanding" when the DEV exceeds a threshold (Consider_length, default = 7).
The indicator tracks each RSI movement model (defined between EMA/WMA crossovers) and evaluates its behavior—whether it's strengthening, weakening, or consolidating.
3. Momentum Model Classification
Based on:
Current bar count of the active model (Sonenhientai)
Whether there is momentum or not
Whether RSI is outside the 40–60 zone
Whether it's a strong/weak expansion
Whether the previous model succeeded or failed
➡️ The indicator classifies RSI momentum patterns into 9 main model types:
Strong Momentum
Normal Momentum
Weak Momentum
Fail Momentum
Done Momentum
Strong Accumulation
Normal Accumulation
Weak Accumulation
None (invalid or no clear model)
📊 Current Model – Market Phase
The indicator analyzes the current RSI model to determine whether the market is:
In active momentum
In a fail/reversal phase
Or undergoing accumulation / sideways movement
Recognized patterns include:
Adjust Momentum
Momentum in Fail Momentum
Fail Momentum
Strong Accumulating
Normal Accumulating
Sideway Upp▲ / Dow▼
Strong Model Support
Weak Model Support
⚡ Power – Momentum Strength
Measures the strength of the current momentum using 3 levels:
Very Strong: RSI moves aggressively above both EMA and WMA.
Strong: RSI remains between EMA and WMA, showing continued pressure.
Weak / Very Weak: RSI cuts below the averages, signaling potential weakening.
⚠️ If the model is already expanded but shows signs of exhaustion, it may signal a reversal.
🧯 Fuel – Trend Energy Remaining
Estimates how much "fuel" a trend has left based on how long the model has existed:
Under 10 bars: 100% energy
10–20 bars: 70%
20–30 bars: 50%
30–40 bars: 30%
Over 40 bars: 5% → Trend likely exhausted
✅ Summary Score – Status
The indicator assigns a total status score based on:
Model Support
Power
Fuel
Then classifies the overall trend into one of the following statuses:
Very Strong Bull▲
Strong Bull▲
Normal Bull▲
Sideway
Bear▼ (This category is not yet fully implemented in the code but can be extended similarly.)
🧠 Practical Applications
DEV many TimeFrame is more than a standard RSI—it is a smart behavioral system for RSI analysis that helps traders:
Identify when a trend begins and ends
Distinguish between accumulation, breakout, and fail breakout
Gauge trend strength with high precision
Make informed decisions on entry, hold, or exit
📝 Usage Tips
Combine with higher timeframes for trend confirmation
Use the Power and Fuel states to decide when to hold or exit trades
Avoid entries when in Sideway, Weak Momentum, or Fail Momentum states
Would you like:
A visual user guide with examples and screenshots?
A polished TradingView description for publishing?
A full SEO-optimized English write-up for marketing or social media?
Let me know how you'd like to proceed!
Year/Quarter Open LevelsDeveloped by ADEL CEZAR and inspired by insights from ERDAL Y, this indicator is designed to give traders a clear edge by automatically plotting the Yearly Open and Quarterly Open levels — two of the most critical institutional reference points in price action.
These levels often act as magnets for liquidity, bias confirmation zones, and support/resistance pivots on higher timeframes. With customizable settings, you can display multiple past opens, fine-tune label positions, and align your strategy with high-timeframe structure — all in a lightweight, non-intrusive design.
If you follow Smart Money Concepts (SMC), ICT models, or build confluence using HTF structures and range theory, this script will integrate seamlessly into your workflow.
VWAP Supply & Demand Zones with Trading SignalsVWAP Supply & Demand Zones with Trading Signals & Win Rate Stats
English Description
This advanced VWAP Supply & Demand indicator combines volume-weighted average price analysis with dynamic supply/demand zone detection to generate high-probability trading signals. The indicator offers four distinct signal generation methods:
Signal Methods:
Zone Bounce: Identifies reversal signals when price rejects from established supply/demand zones
VWAP Cross: Generates signals based on price crossing above or below the VWAP line
Zone Break: Captures breakout signals when price breaks through key supply/demand levels
Combined: Utilizes multiple confirmation factors for enhanced signal reliability
Key Features:
Real-time supply/demand zone creation and management
Zone strength validation through touch counting
Volume and momentum confirmation filters
Strong signal identification for zones with multiple tests
Comprehensive 10-minute win rate statistics tracking
Visual zone display with automatic extension and break detection
Signal Quality Levels:
Regular Signals: Meet basic criteria with optional volume confirmation
Strong Signals: Generated from zones with multiple touches (≥2 by default), indicating higher reliability
The indicator automatically tracks signal performance over 10-minute intervals using precise time-based calculations, providing detailed win rate statistics for overall performance, long/short signals, strong signals, and individual signal methods.
中文介绍
这是一个结合成交量加权平均价格(VWAP)分析和动态供需区域检测的高级交易指标,用于生成高概率交易信号。该指标提供四种不同的信号生成方法:
信号方法:
区域反弹: 当价格从已建立的供需区域反弹时识别反转信号
VWAP穿越: 基于价格穿越VWAP线生成信号
区域突破: 当价格突破关键供需水平时捕获突破信号
组合方法: 利用多重确认因子增强信号可靠性
核心特性:
实时供需区域创建和管理
通过触及次数验证区域强度
成交量和动量确认过滤器
识别多次测试区域的强势信号
全面的10分钟胜率统计追踪
可视化区域显示,自动延伸和突破检测
信号质量等级:
普通信号: 满足基本条件,可选成交量确认
强势信号: 来自多次触及的区域(默认≥2次),表示更高可靠性
该指标使用精确的时间基础计算自动追踪10分钟间隔的信号表现,提供总体表现、多空信号、强势信号和各种信号方法的详细胜率统计。
🦌 Horn Pattern - Horn + FT - Ming Joo🦌 Horn Pattern Reversal Strategy (By Ming Joo)
This strategy is based on a 3-bar reversal pattern known as the Horn Pattern (bull-bear-bull for longs, bear-bull-bear for shorts). A confirmation bar (bar ) follows the pattern to validate a breakout.
🔍 Context Filter:
To ensure high-quality trades, a simple trend filter is applied using EMA(20):
✅ Bullish Horn signals are valid only if the confirmation bar closes above EMA20
✅ Bearish Horn signals are valid only if the confirmation bar closes below EMA20
This prevents taking counter-trend reversals in weak conditions.
🎯 Entry Logic:
Long entry: Horn high + 1 tick
Short entry: Horn low – 1 tick
Target: 1R
Stop: Structural extreme (low/high of the horn)
Optionally shows 0.5R line
This structure-based reversal model is suitable for 5min–1H timeframes, and works best on volatile instruments (e.g. ES1!, NQ1!, BTCUSD, AAPL).
Bounce Zone📘 Bounce Zone – Indicator Description
The "Bounce Zone" indicator is a custom tool designed to highlight potential reversal zones on the chart based on volume exhaustion and price structure. It identifies sequences of candles with low volume activity and marks key price levels that could act as "bounce zones", where price is likely to react.
🔍 How It Works
Volume Analysis:
The indicator calculates a Simple Moving Average (SMA) of volume (default: 20 periods).
It looks for at least 6 consecutive candles (configurable) where the volume is below this volume SMA.
Color Consistency:
The candles must all be of the same color:
Green candles (bullish) for potential downward bounce zones.
Red candles (bearish) for potential upward bounce zones.
Zone Detection:
When a valid sequence is found:
For green candles: it draws a horizontal line at the low of the last red candle before the sequence.
For red candles: it draws a horizontal line at the high of the last green candle before the sequence.
Bounce Tracking:
Each horizontal line remains on the chart until it is touched twice by price (high or low depending on direction).
After two touches, the line is automatically removed, indicating the zone has fulfilled its purpose.
📈 Use Cases
Identify areas of price exhaustion after strong directional pushes.
Spot liquidity zones where institutions might step in.
Combine with candlestick confirmation for reversal trades.
Useful in both trending and range-bound markets for entry or exit signals.
⚙️ Parameters
min_consecutive: Minimum number of consecutive low-volume candles of the same color (default: 6).
vol_ma_len: Length of the volume moving average (default: 20).
🧠 Notes
The indicator does not repaint and is based purely on historical candle and volume structure.
Designed for manual strategy confirmation or support for algorithmic setups.
JonnyBtc Daily Pullback Strategy (Volume + ADX)📈 JonnyBtc Daily Optimized Pullback Strategy (With Volume + ADX)
This strategy is designed for Bitcoin swing trading on the daily timeframe and uses a combination of price action, moving averages, volume, RSI, and ADX strength filtering to time high-probability entries during strong trending conditions.
🔍 Strategy Logic:
Trend Filter: Requires price to be aligned with both 50 EMA and 200 EMA.
Pullback Entry: Looks for a pullback to a fast EMA (default 21) and a crossover signal back above it.
RSI Confirmation: RSI must be above a minimum threshold for long entries (default 55), or below for short entries.
Volume Filter: Entry is confirmed only when volume is above a 20-day average.
ADX Filter: Only enters trades when ADX is above a strength threshold (default 20), filtering out sideways markets.
Trailing Stop (optional): Uses ATR-based trailing stop-loss and take-profit system, fully configurable.
⚙️ Default Settings:
Timeframe: Daily
Trade Direction: Long-only by default (can be toggled)
Trailing Stop: Enabled (can disable)
Session Filter: Off by default for daily timeframe
📊 Best Use:
Optimized for Bitcoin (BTCUSD) on the 1D chart
Can be adapted to other trending assets with proper tuning
Works best in strong trending markets — not ideal for choppy/ranging conditions
🛠️ Customizable Parameters:
EMA lengths (Fast, Mid, Long)
RSI and ADX thresholds
ATR-based TP/SL multipliers
Trailing stop toggle
Volume confirmation toggle
Time/session filter
⚠️ Disclaimer:
This script is for educational and research purposes only. Past performance does not guarantee future results. Always backtest and verify before trading with real funds.
DeltaStrike — Aggressive Candle Detector by Chaitu50cDeltaStrike — Aggressive Candle Detector
by Chaitu50c
DeltaStrike is a simple and effective tool designed to help traders identify the most aggressive candles on the chart in real time. It works purely on price action and internal candle dynamics, with no reliance on lagging indicators.
The indicator combines delta (directional strength), candle range, and volume to compute an overall aggressiveness score for each candle. When this score exceeds a dynamic threshold based on recent market behavior, the candle is marked as an aggressive move.
Aggressive bullish candles are plotted as green diamonds below the candle, while aggressive bearish candles are plotted as red diamonds above the candle. The goal is to help traders visually spot moments of strong directional pressure, where potential trends or reversals may emerge.
The detection logic adapts automatically to changing market volatility and volume, making it suitable for all instruments and timeframes, including index futures, equities, and forex.
An integrated dashboard on the chart displays live readings of the key components contributing to each candle’s aggressiveness score: delta ratio, range ratio, and volume ratio. This helps traders understand the internal structure of each aggressive move.
Features:
Dynamic aggressiveness detection based on delta, range, and volume
Adaptive threshold for consistent behavior across timeframes and instruments
Clean chart output with clear diamond markers only on selected candles
Live dashboard with internal metrics for advanced analysis
Simple, lightweight, and optimized for intraday and swing trading
Works with any instrument: index, equity, forex, commodity
DeltaStrike is intended as an objective visual aid to help traders focus on genuine moments of strong market intent, filtering out ordinary or passive price movement. It can be used standalone or in combination with your existing trading strategy.
GBPUSD V2"GBPUSD V2" is a multi-confirmation trading strategy built specifically for GBP/USD, but adaptable to other major forex pairs. It combines Heikin-Ashi candles with EMA, MACD, RSI, and ADX filters to generate high-probability long and short signals.
Key Features:
📊 Heikin-Ashi EMA Trend Filter to smooth price action and filter direction
📈 MACD Crossovers confirm momentum entry points
🔍 RSI Thresholds for overbought/oversold validation
📉 ADX Filter ensures entries only occur in strong trending conditions
🕒 Customizable Time Session and Weekday Filters – trade only during preferred hours and days
🔁 Optional Multi-Timeframe Confirmation to align lower timeframe signals with higher timeframe EMA trends
📏 ATR-Based TP/SL Calculations with optional candle quality check
✅ Backtested and optimized on the 10-minute timeframe (M10), making it well-suited for short-term intraday strategies.
This strategy is suitable for both manual and automated trading approaches, especially for intraday and swing traders who prioritize precision and signal quality.
Sniper Perrón V3: Volumen Mogalef, Fechas y Velas de Colores🚀 Sniper Perrón V3: Featuring Mogalef Volume, Dates, and Color Candles 🚀
A complete script that combines technical analysis with Mogalef volume, colored candles, and visual alerts for buy, sell, and caution signals. Includes EMA’s (8 and 21), trend lines, and structure bands to identify rebounds, trends, and breakouts with precision.
✅ Mogalef Volume
✅ Candlestick Analysis
✅ Buy/Sell alerts with motivational messages
✅ Automatic date labels on the chart
✅ EMA’s for sniper trading
Perfect for traders who want to fine-tune their entries and exits with clear confirmations and a compadre-style approach. Let’s go for everything!
#TradingView #MogalefVolume #EMA8and21 #ColoredCandles #SniperTrading
David_FairPriceCandlestick_calculatedDescription:
This indicator displays the "Typical Price" for each candle as a visual marker (cross) directly on the chart. The Typical Price is calculated as the average of the High, Low, and Close values of each bar:
(High + Low + Close) / 3
The marker provides a quick visual reference to the fair or average price level within every single candle.
Unlike a Point of Control (POC) or volume-based indicators, this script works purely with price data and is independent of volume or order flow.
Use cases:
Identify where most trading activity may have been concentrated within the candle (for price-based strategies)
Support as a reference line for mean-reversion or fair value concepts
Works on all timeframes and instruments
Customization:
You can easily change the marker style (cross, dot, triangle, etc.) and color within the script.
Blue Whale Trade Strategyİlgili indikatör, paritenin son 301 mumunu tarar ve oluşmuş destek/direnç fiyatlarını paylaşır.
Candle Color Counter with Date RangeThis will allow you to check the number of specific red or green candles within a certain time frame
🦌 Horn Pattern - Horn + FT - Ming Joo太棒了!以下是你策略的中英文简介版本,专为 **TradingView 发布页面** 编写,突出你当前唯一的 context filter(基于 EMA20)。
---
## 🇬🇧 English Description — Horn Pattern Strategy with EMA Context Filter
**🦌 Horn Pattern Reversal Strategy (By Ming Joo)**
This strategy is based on a 3-bar reversal pattern known as the **Horn Pattern** (bull-bear-bull for longs, bear-bull-bear for shorts). A confirmation bar (bar\ ) follows the pattern to validate a breakout.
🔍 **Context Filter:**
To ensure high-quality trades, a simple trend filter is applied using EMA(20):
* ✅ **Bullish Horn** signals are valid **only if** the confirmation bar closes **above EMA20**
* ✅ **Bearish Horn** signals are valid **only if** the confirmation bar closes **below EMA20**
This prevents taking counter-trend reversals in weak conditions.
🎯 Entry Logic:
* Long entry: Horn high + 1 tick
* Short entry: Horn low – 1 tick
* Target: 1R
* Stop: Structural extreme (low/high of the horn)
* Optionally shows 0.5R line
This structure-based reversal model is suitable for 5min–1H timeframes, and works best on volatile instruments (e.g. ES1!, NQ1!, BTCUSD, AAPL).
---
## 🇨🇳 中文简介 — Horn 结构反转策略(含 EMA 趋势滤网)
**🦌 Horn 反转策略(By Ming Joo)**
本策略基于经典的 **Horn 形态**(多头为 bull-bear-bull,空头为 bear-bull-bear),由三根结构K线 + 一根确认K线构成,搭配 **EMA20 趋势过滤器** 筛选优质信号。
🔍 **上下文过滤条件(唯一 context filter):**
* ✅ **Bullish Horn** 仅在确认K线的收盘 **高于 EMA20** 时触发
* ✅ **Bearish Horn** 仅在确认K线的收盘 **低于 EMA20** 时触发
防止在弱趋势中逆势进场,提升成功率。
🎯 入场逻辑:
* 多头:Horn 高点 +1 tick 挂多
* 空头:Horn 低点 –1 tick 挂空
* 止盈:1R
* 止损:Horn 的结构极点
* 可选显示 0.5R 虚线
适合用于 5分钟至 1小时图表,特别适用于高波动性品种(如 ES1!, NQ1!, BTCUSD, AAPL 等)。
---