Multi-Timeframe Resonance v2.0📌 Multi-Timeframe Resonance System — Identify trend, range, and turning points at a glance
✨ Core Advantages:
🔹 Multi-timeframe resonance analysis: Detects trend direction and range across timeframes. Helps identify M tops, W bottoms, consolidation turning points, and trend switches.
🔹 Clear phase visualization: Highlights trend momentum (green) and consolidation zones (red).
🔹 Universally compatible: Works on stocks/ETFs, futures/commodities, forex, gold, crypto — parameter tuning is the only requirement.
🎯 Target Users:
✅ Traders needing fast structure analysis
✅ Trend-followers, swing traders, or range-arbitrageurs
✅ Multi-timeframe analysts & volume researchers
✅ Quant teams seeking stable signal output
📈 Market Structure Evolution Sequence:
**Same-Bear → Small Box Bull → Medium Box Bull → Large Box Bull → Same-Bull → Small Box Bear → Medium Box Bear → Large Box Bear → Same-Bear**
- “Same-Bear”/“Same-Bull”: full agreement among timeframes,strongest trend stages.
- “Small/Medium/Large Box”: represent increasing-level consolidations indicating trend emergence or turn.
🔍 By identifying the current structure phase, traders can determine if:
- The market is in the **early trend stage** (Same-Bull/Same-Bear)
- Or in a **trend shift period** (Bear→Bull or Bull→Bear)
- Or still **oscillating** (structures switching)
⚠️ **Practical Note:**
Although structure usually follows the sequence above, in strong or volatile moves it may:
- **Skip steps** (e.g., Same-Bear → Large Box Bull)
- **Switch rapidly** within a few candles
Traders should use volume, candle patterns, and higher-timeframe trends to confirm valid structure changes or avoid false breakouts.
📌 Execution Logic:
This indicator applies **multi-timeframe resonance** to capture **trend pullbacks**:
- Identifies trend direction via higher timeframes
- Uses pullback in shorter timeframe to signal entry
- Executes trend-following trades at pullback points
- Protects with structured stop-loss based on higher timeframe structure
🔒 This is a protected script. For access details, please see the Author’s Instructions.
📌 多周期共振识别系统 — 趋势、震荡与拐点,一目了然
✨ 核心优势:
🔹 多周期共振分析:同时检测多个周期的趋势方向与震荡结构,辅助识别 M 顶 / W 底 / 震荡拐点 / 趋势转换等关键信号。
🔹 趋势与震荡清晰可视:自动高亮趋势推进(绿色)与震荡盘整(红色)区域,一眼看清市场节奏。
🔹 全品种通用:适配股票 / ETF、期货 / 商品、外汇 / 黄金、加密货币等市场,仅需轻微参数微调。
🎯 适用人群:
✅ 需要快速识别图表结构的交易者
✅ 趋势跟随者、波段捕捉者、震荡套利者
✅ 热衷于多周期分析与量能行为研究的交易者
✅ 追求稳定信号输出的量化策略团队
📈 市场结构演变路径:
同空 → 小箱多 → 中箱多 → 大箱多 → 同多 → 小箱空 → 中箱空 → 大箱空 → 同空
“同空” / “同多”:表示多周期趋势完全一致,代表趋势最强阶段
“小箱 / 中箱 / 大箱”:代表不同级别的震荡结构,结构逐步递进,表示趋势正在酝酿或转向
🔍 通过识别当前所处的结构阶段,交易者可以判断:
当前是否处于趋势初期阶段(如同空 / 同多)
是否处于趋势转换区间(如由空转多或由多转空)
或仍处于震荡反复区间(结构频繁切换)
⚠️ 实战提醒:
虽然市场结构通常遵循上述顺序演化,但在强趋势或剧烈波动行情下,可能出现以下情况:
跳跃演化(如从“同空”直接进入“大箱多”阶段)
快速切换(几根K线内连续跳过多个结构)
因此,交易者应结合量能、K线形态及更高周期趋势,判断结构变化是否“有效”或为“假突破”。
📌 执行逻辑:
本指标通过多周期趋势共振确认,捕捉趋势中的回踩机会:
利用高阶周期判断趋势方向
在低阶周期的回踩位置作为进场信号
顺势交易,捕捉主趋势中的低吸 / 高抛机会
止损位置依据上位周期结构确认,明确清晰
🔒 本脚本为受控授权版本,如需获取使用权限,请参阅“作者说明”。
Penunjuk dan strategi
trade bằng mông xu hướng//@description=This TradingView indicator is designed to detect key price structure levels by identifying swing highs and lows on the chart. It automatically labels these points and draws trend zones (ranges) based on confirmed breakouts. The indicator helps traders visualize market structure shifts, determine trend direction (uptrend, downtrend, or neutral), and make more informed trading decisions. It includes customizable settings such as lookback period, label visibility, and zone colors, and supports multi-timeframe analysis for greater flexibility.
Triple CCI Multi-TimeframeIts simple 3 cci with 3 periods and 3 time frames all original settings just for those people who love to work with cci
Universal Trend Predictor//@version=5
indicator("Universal Trend Predictor", overlay=true, max_labels_count=500)
// === INPUTS ===
len_trend = input.int(50, "Trend Length (regression)", minval=10, maxval=200)
len_mom = input.int(14, "Momentum Length", minval=5, maxval=50)
len_vol = input.int(20, "Volume SMA Length", minval=5, maxval=100)
correlation_weight = input.float(0.5, "Correlation Weight (0-1)", minval=0, maxval=1)
// === TREND LINE (Linear Regression) ===
reg = ta.linreg(close, len_trend, 0)
reg_slope = ta.linreg(close, len_trend, 0) - ta.linreg(close, len_trend, 1)
// === MOMENTUM ===
mom = ta.mom(close, len_mom)
// === VOLUME ===
vol_sma = ta.sma(volume, len_vol)
vol_factor = volume / vol_sma
// === CORRELATION ASSETS ===
spx = request.security("SPX", timeframe.period, close)
dxy = request.security("DXY", timeframe.period, close)
xau = request.security("XAUUSD", timeframe.period, close)
// === CORRELATION LOGIC ===
spx_mom = ta.mom(spx, len_mom)
dxy_mom = ta.mom(dxy, len_mom)
xau_mom = ta.mom(xau, len_mom)
// Корреляция: усиливаем сигнал, если BTC и SPX растут, ослабляем если DXY растет
correlation_score = 0.0
correlation_score := (mom > 0 and spx_mom > 0 ? 1 : 0) - (mom > 0 and dxy_mom > 0 ? 1 : 0) + (mom > 0 and xau_mom > 0 ? 0.5 : 0)
correlation_score := correlation_score * correlation_weight
// === SIGNAL LOGIC ===
trend_up = reg_slope > 0
trend_down = reg_slope < 0
strong_mom = math.abs(mom) > ta.stdev(close, len_mom) * 0.5
high_vol = vol_factor > 1
buy_signal = trend_up and mom > 0 and strong_mom and high_vol and correlation_score >= 0
sell_signal = trend_down and mom < 0 and strong_mom and high_vol and correlation_score <= 0
// === ПАРАМЕТРЫ ДЛЯ ПРОГНОЗА ===
months_forward = 3
bars_per_month = timeframe.isintraday ? math.round(30 * 24 * 60 / timeframe.multiplier) :
timeframe.isdaily ? 30 :
timeframe.isweekly ? 4 :
30
bars_forward = math.min(months_forward * bars_per_month, 500) // TradingView лимит
// === ОГРАНИЧЕНИЕ ЧАСТОТЫ СИГНАЛОВ ===
var float last_buy_bar = na
var float last_sell_bar = na
can_buy = na(last_buy_bar) or (bar_index - last_buy_bar >= 15)
can_sell = na(last_sell_bar) or (bar_index - last_sell_bar >= 15)
buy_signal_final = buy_signal and can_buy
sell_signal_final = sell_signal and can_sell
if buy_signal_final
last_buy_bar := bar_index
if sell_signal_final
last_sell_bar := bar_index
// === ВЫДЕЛЕНИЕ СИЛЬНЫХ СИГНАЛОВ ===
strong_signal = strong_mom and math.abs(reg_slope) > ta.stdev(close, len_trend) * 0.5
// === VISUALIZATION ===
// Trend line (основная)
plot(reg, color=trend_up ? color.green : color.red, linewidth=2, title="Trend Line")
// Прогноз трендовой линии вперёд
reg_future = reg + reg_slope * bars_forward
line.new(x1=bar_index, y1=reg, x2=bar_index + bars_forward, y2=reg_future, color=color.new(color.blue, 0), width=2, extend=extend.none)
// Buy/Sell labels
plotshape(buy_signal_final and not strong_signal, style=shape.labelup, location=location.belowbar, color=color.new(color.green, 0), size=size.small, text="BUY", title="Buy Signal")
plotshape(buy_signal_final and strong_signal, style=shape.labelup, location=location.belowbar, color=color.new(color.lime, 0), size=size.large, text="BUY", title="Strong Buy Signal")
plotshape(sell_signal_final and not strong_signal, style=shape.labeldown, location=location.abovebar, color=color.new(color.red, 0), size=size.small, text="SELL", title="Sell Signal")
plotshape(sell_signal_final and strong_signal, style=shape.labeldown, location=location.abovebar, color=color.new(color.fuchsia, 0), size=size.large, text="SELL", title="Strong Sell Signal")
// Trend direction forecast (arrow)
plotarrow(trend_up ? 1 : trend_down ? -1 : na, colorup=color.green, colordown=color.red, offset=0, title="Trend Forecast Arrow")
// === ALERTS ===
alertcondition(buy_signal, title="Buy Alert", message="Universal Trend Predictor: BUY signal!")
alertcondition(sell_signal, title="Sell Alert", message="Universal Trend Predictor: SELL signal!")
// === END ===
NQ31NQ market open 2m range breakout strategy
Retest entry
Entry at Range high or low
SL size equal to Range size
TP 2x range size TP1 and BE
TP2 3x range size
TP3 4x range size
NY time 9:30 1m timeframe
Multi-Timeframe EMA Table (Woche, Tag, 4h, 1h)Title: Multi-Timeframe EMA Table (Weekly, Daily, 4h, 1h)
Description:
This Pine Script indicator provides a concise and clear Multi-Timeframe (MTF) Exponential Moving Average (EMA) analysis directly on your TradingView chart. It displays the EMA values for the 1-hour, 4-hour, 1-day, and 1-week timeframes in a customizable table.
Features:
Clear Table Display: Shows the current EMA values for predefined higher timeframes (1h, 4h, Day, Week).
Dynamic Status: The status column immediately visualizes whether the current price of your chart is above (Green) or below (Red) its respective Multi-Timeframe EMA.
Customizable EMA Length: The length of the EMA can be easily adjusted via the indicator settings, allowing you to tailor it to your preferred analysis.
Visual Confirmation: The corresponding Multi-Timeframe EMA lines are optionally plotted directly on the chart to visually confirm the table values.
Non-Repainting: The displayed EMA values and lines are programmed to be non-repainting, meaning their values do not change on already closed candles.
This indicator is a useful tool for traders who want to quickly get an overview of the EMA's position across different timeframes without constantly switching their chart timeframe. It's ideal for confirming trends and identifying support and resistance levels from a higher perspective.
NSE: N50, BN, MIDCP, FINNIFTY Gainers/Losers Jitendra
Title: NSE: N50, BN, MIDCP, FINNIFTY Gainers/Losers + Compact View by Jitendra
Purpose
Script Designed to Check Advance Decline Stocks of that Indices
It is Divided in to Two Part
1st part - Full Gainers/Losers Table:
Lists stock names and their daily percentage change.
2nd part - Compact Count Table:
Shows the number of gaining and losing stocks.
How To Use This Script
To Analysis NSE Indices :- Stocks Component You Can Easily Plot On chart or in 1 click Dropdown setting You can change Indices
Settings Detail
drive.google.com
Symbol Lists Defined:
The script uses array.from() to define these symbol groups:
highWeightList: Top 39 Nifty stocks by weightage.
lowWeightList: Remaining 11 Nifty stocks.
bankNiftyList: 12 Bank Nifty stocks.
finServList: 20 Financial Services index stocks.
midcapList: 25 selected Midcap stocks.
All Stock Used in Script is As per Latest Data Published by NSE, you can also check buy clicking below link
www.niftyindices.com
📤 Data Fetch Logic:
For each symbol in the selected list:
= request.security(sym, 'D', [close, close ])
This fetches today's close (c) and previous close (y) using request.security().
Percentage change:
chg = na(y) ? na : (c - y) / y * 100
Display Logic:
🧾 Full Table:
Shows columns: Script Name and % Change.
Lists each symbol with its daily % change.
Row text color changes based on whether % change is positive, negative, or neutral.
📌 Compact Count Table:
Displays total number of gainers and losers in the list.
Each count shown with respective color-coded background.
📎 Data Fetch Command Summary:
= request.security(sym, 'D', [close, close ])
Additional Settings
You can choose from 9 positions for each table:
Table Location Option Available
Text Size Option Available
f_getPos(posStr) =>
posStr == "Top Left" ? position.top_left :
posStr == "Top Center" ? position.top_center :
posStr == "Top Right" ? position.top_right :
posStr == "Middle Left" ? position.middle_left :
posStr == "Middle Center" ? position.middle_center :
posStr == "Middle Right" ? position.middle_right :
posStr == "Bottom Left" ? position.bottom_left :
posStr == "Bottom Center" ? position.bottom_center :
posStr == "Bottom Right" ? position.bottom_right :
position.top_right // default fallback
Thanks
money printerDescription: Combined Random & Regression Cross Signal Generator with Advanced Filtering and Management Table
This advanced indicator generates high-quality buy and sell signals based on two mathematically robust, logic-driven methods—Randomized Direction (with optional regression correction) and Regression Line Cross Confirmation—each filtered for true market activity and disciplined trade execution.
Signal Generation Logic
Random Signal Source
Generates a buy or sell signal at a user-defined interval (every N bars), using a robust pseudo-random number generator.
Optionally applies regression correction: If enabled, the signal is overridden to match the direction of the linear regression trend, adding a dynamic “smart filter” to the randomness.
Signals are color-coded:
Green/Red: Pure random
Blue/Orange: Corrected by regression
Regression Cross Confirmation Source
Detects genuine trend shifts by waiting for a candle to cross the linear regression line (from below to above or above to below), then requires two consecutive strong candles (bullish or bearish) to confirm the breakout.
Plots a buy (fuchsia) or sell (purple) only after strict double confirmation, filtering out “fake” breaks and weak trend changes.
Unified No-Repeat Logic
Ensures discipline:
Never plots consecutive buy or consecutive sell signals, regardless of which method generated the last trade.
The script tracks the last signal direction and blocks same-type repeats, reducing overtrading in choppy conditions.
Market Activity & Quality Filters
ATR Filter:
Ensures that signals are only taken in periods of sufficient volatility.
Blocks signals if current volatility (ATR) is too low compared to recent averages.
Body Size Filter:
Blocks trades on “weak” or indecisive bars (small candle bodies).
Ensures only strong, high-momentum candles can trigger signals.
Trade Management Table
A dynamic table (bottom-right of your chart) displays the current SL (Stop Loss) and three TP (Take Profit) levels for both long and short trades.
Calculations use user-defined multipliers applied to the current ATR value for maximum adaptability across timeframes and assets.
Alert System
Unified alerts:
One for all buy signals (of any type), one for all sell signals.
Each alert message includes the symbol and the chart’s timeframe for easy cross-market monitoring.
Works perfectly with TradingView’s webhook and notification system.
Visual Scheme
Random Buy: Green
Random Buy (Corrected): Blue
Regression Cross Buy: Fuchsia
Random Sell: Red
Random Sell (Corrected): Orange
Regression Cross Sell: Purple
Customization & Controls
All key logic and filters are fully adjustable:
Signal interval, regression length, ATR/body filter thresholds, correction toggle, and TP/SL multipliers.
Linear regression line can be shown/hidden for visual clarity.
Best For
Spot gold (XAUUSD) and other assets where classic volume is unavailable or unreliable.
Traders who want to combine mathematical randomness, robust trend confirmation, and strict quality controls—plus clear risk/reward management.
How to Use
Adjust filter and trade settings for your symbol and timeframe.
Watch for colored signals and check the TP/SL table for management.
Set up two alerts (buy/sell) for instant notifications with timeframe.
This script is a powerful, flexible, and disciplined trading tool—perfect for active traders who want both mathematical edge and chart-based confirmation!
[MAD] FVG with LTF-POC/TPOOverview
The Fair Value Gap (FVG) Detector is a precision tool designed to automatically identify, draw, and track market inefficiencies. These gaps, also known as imbalances, often act as powerful magnets for future price action.
This indicator handles the entire lifecycle of an FVG: from its creation and extension, to the moment it is first touched, and through its entire mitigation process. To add an even deeper layer of analysis, it can now optionally plot two types of micro-analysis lines for the middle candle of the FVG pattern: a volume-based Point of Control (LTF-POC) and a time-based Time Price Opportunity (LTF-TPO). These high-precision lines pinpoint the most significant price levels within the imbalance itself.
By providing a clean and objective visualization of these critical price zones, the FVG Detector gives traders a clear framework for spotting high-probability setups and understanding how the market returns to areas of inefficiency to become balanced once again.
█ How It Works
The indicator’s logic is built on precise detection, dynamic visualization, and intelligent state tracking to provide a comprehensive view of market imbalances.
⚪ The FVG Detection Engine
At its core, the indicator uses a classic three-candle pattern to identify FVGs. This mechanical definition removes all subjectivity:
Bullish FVG: A gap is identified when the high of the first candle is lower than the low of the third candle. The space between these two prices creates the bullish FVG.
Bearish FVG: A gap is identified when the low of the first candle is higher than the high of the third candle. The space between these two prices creates the bearish FVG.
⚪ Dynamic Drawing and Mitigation
Once an FVG is detected, the indicator automatically draws a colored box to represent the gap. This box is then managed through its entire lifecycle:
Extension: If enabled, the FVG box extends forward in time with each new candle, acting as a visible, forward-looking zone of interest.
Partial Mitigation Trigger: The moment price first "touches" the gap, the box changes color to signal that it is no longer a fresh, unmitigated zone. The statistics table counts this as a "Partially Mitigated" event.
Shrinking FVG: As price moves further into the gap, the colored box dynamically shrinks, providing a real-time visual of how much of the imbalance has been filled.
Historical Outline: An optional secondary outline box is drawn to preserve the FVG's original size. This outline stops extending when the FVG is first touched, leaving a permanent historical marker.
⚪ Optional LTF Analysis for Added Precision
The indicator can look "inside" the FVG's middle candle to find its most significant price levels.
LTF-POC (Volume-Based): Using data from a lower timeframe, it analyzes the volume profile of the FVG-creating candle to find the single price level from the lower-timeframe bar with the highest trading volume.
LTF-TPO (Time-Based): It also identifies the Time Price Opportunity by dividing the candle's price range into distinct "bins." The script counts how many lower-timeframe price ticks occurred in each bin, and the TPO line is drawn at the center of the busiest bin.
Visual Confluence: These are drawn as distinct horizontal lines (defaulting to orange for POC and yellow for TPO) that extend and are managed alongside the FVG's historical outline, serving as precise levels of interest within the broader FVG zone.
█ Why This Indicator is Different
While many traders can spot FVGs manually, this indicator offers a significant edge through the possibility of the lowertimeframe analysis and showing the syntetic TPO or POCs for the relevant candles.
⚪ Automated and Objective
The market moves fast, and manually drawing FVGs is impractical and prone to error. This tool automates the entire process.
Never Miss a Gap: The detector impartially scans every three-candle sequence, ensuring no FVG is missed.
No Subjectivity: The rules for detection, mitigation, and LTF analysis are based on fixed mathematical models, removing subjective judgment.
Multi-Timeframe Clarity: The indicator works flawlessly on any timeframe, allowing you to maintain a consistent view of market structure.
⚪ Visualizing Market Memory
This tool does more than just draw boxes; it tells a story. Watching a box change color and shrink provides a visual of market dynamics in action. The optional historical outlines and LTF analysis lines build a "map" on your chart, showing where significant reactions and high-liquidity zones occurred in the past, which provides invaluable context for future price movements.
█ How to Use
⚪ Identifying High-Probability Zones
The primary use of the FVG Detector is to identify high-probability zones where price may react.
Entries: Unmitigated (fresh) FVGs can serve as powerful entry zones. Traders may look for price to return to a bullish FVG to take a long position, or to a bearish FVG to take a short position.
Targets: An FVG in your path can also act as a logical profit target. For example, if you are in a long position, you might take profit as price fills a nearby bearish FVG above you.
⚪ Confluence and Confirmation
FVGs are most powerful when they align with other forms of technical analysis. Look for FVGs that have "confluence" with:
Market Structure: A bullish FVG found at a key support level or after a bullish break of structure is a higher-probability setup.
Order Blocks: An FVG that overlaps with a bullish or bearish order block creates a very potent point of interest.
Premium/Discount Zones: FVGs found deep in a premium (for shorts) or discount (for longs) area of a trading range often yield strong reactions.
The LTF Lines (POC & TPO): Use these lines as a source of internal confluence. While the FVG gives you a zone, the POC and TPO give you precise levels within that zone. The POC shows where the highest volume was traded, while the TPO shows where price spent the most time. Confluence between these two lines can signal an extremely strong level.
█ Settings
Max Number of FVGs to Display: Controls how many active FVGs are kept on the chart to prevent clutter and maintain performance.
Extend Unmitigated FVGs: When enabled, FVG boxes will extend to the right until price touches them.
Show Bullish/Bearish FVGs: Toggles the visibility of bullish or bearish FVGs.
Show FVG Labels: Toggles the visibility of the "FVG" text labels.
Keep Mitigated Outlines: If checked, the historical outline box (and its associated POC/TPO lines) will remain on the chart even after the FVG is completely filled.
Show Statistics: Toggles the visibility of the statistics table, which tracks total, partly mitigated, and fully mitigated FVGs.
Show LTF-TPO (Time-Based): Toggles the calculation and display of the Time Price Opportunity line.
Show LTF-POC (Volume-Based): Toggles the calculation and display of the Point of Control line.
Use Custom LTF for Analysis: Check this to manually select a timeframe for the POC/TPO calculation. If unchecked, the script auto-selects a lower timeframe.
Lower Timeframe: The specific lower timeframe to use when the "Custom LTF" box is checked.
Magnifier (Bars per Slice): Controls how the script auto-selects a lower timeframe (higher number = lower timeframe). Only active when "Custom LTF" is unchecked.
█ The Logic Explained
This indicator uses a clear, rules-based system based on mathematical and conditional principles.
The 3-Candle FVG Pattern
The detection engine precisely identifies FVGs by comparing the price extremes of a three-candle sequence. For a bullish FVG, it confirms that the high of the first candle is strictly below the low of the third candle. For a bearish FVG, the low of the first candle must be strictly above the high of the third. This leaves an objective, unfilled gap in the market.
The Mitigation and Shrinking Process
Once an FVG is created, the indicator monitors it on every subsequent bar. The moment a candle's price action enters the FVG's zone, it's flagged as "partially mitigated," and its color changes. The script then continues to track how far price pushes into the gap, dynamically shrinking the box to visually represent the remaining imbalance.
Lower-Timeframe (LTF) Analysis Explained
To add precision, the indicator performs a micro-analysis of the middle candle of the FVG pattern. This is achieved by mathematically deconstructing that single candle using data from a smaller timeframe.
The lower timeframe is determined either manually or automatically via the Magnifier. The Magnifier works by dividing the chart's current timeframe. For example, on a 60-minute chart, a Magnifier of 60 tells the indicator to perform its analysis using 1-minute data (60÷60=1).
Once the LTF data is obtained, two calculations are performed:
LTF Point of Control (Volume-Based): This method seeks the price of maximum commitment. The indicator analyzes the volume of every single lower-timeframe bar within the main candle and identifies the one bar with the highest trading volume. The closing price of that specific high-volume bar is designated as the POC.
LTF Time Price Opportunity (Time-Based): This method finds the price where the market spent the most time trading. The process is a form of price distribution analysis:
The total price range (high to low) of the main candle is measured.
This range is divided into 40 equal price zones, or "bins". For a candle with a $2 range, each bin would represent a price slice of 5 cents
The indicator then counts how many of the lower-timeframe closing prices fall within each of the 40 bins.
The TPO line is drawn at the midpoint of the single bin that contained the most prices, representing the "busiest" price level.
Time-Based Drawing for Accuracy
To ensure perfect alignment across all historical data and chart reloads, all drawings are anchored to the precise timestamp of the bar, not its sequential position on the chart. This robust method guarantees that all zones remain fixed and accurate regardless of how much historical data is loaded.
█ Disclaimer
Investors are fully responsible for any investment decisions they make.
Have fun trading :-)
SMC BOS Strategy for XAUUSDThis is a custom-built TradingView strategy that uses Smart Money Concept (SMC) logic to identify high-probability trend continuation and reversal entries based on Break of Structure (BOS) on XAUUSD. It is designed for traders looking to test institutional-style structure breaks with dynamic entry and risk-managed exits.
The strategy detects BOS using swing highs and lows, then enters trades based on price momentum (bullish or bearish candle confirmation). Each trade is automatically managed using a fixed stop loss in pips and a customizable risk-to-reward (RR) ratio. The goal is to backtest how BOS alone can drive clean directional entries, simulating Smart Money precision without repainting or false signals.
🔑 Key Features:
BOS-Based Entry Logic: Enters trades only after a valid break of structure (new higher high or lower low), signaling continuation from a Smart Money shift.
Momentum Filtered Entry: Requires candle confirmation to validate direction (e.g., bullish close after bullish BOS).
Full Backtest Engine: Built using strategy() functions, allowing you to test SL/TP performance and adjust position sizing.
Custom Risk Control: Adjust Stop Loss (in pips) and Target Profit using a flexible RR ratio (e.g. 1:2 or 1:3 setups).
Works Across Timeframes: Optimized for 15m, 1H, and 4H on XAUUSD, but works on any asset that respects structure.
⚙️ Settings:
Swing Sensitivity – Controls how strict pivot highs/lows are
Minimum Bar Spacing – Prevents overtrading after recent BOS
Stop Loss (in pips) – Fixed distance from entry
Risk/Reward Ratio – Multiplies SL for dynamic take-profit
Trade Direction – Supports both long and short with momentum
📊 How It Works:
Detects new structure break (BOS)
Confirms momentum with candle direction (close > open for long, close < open for short)
Triggers entry and sets TP/SL automatically
Logs results in the Strategy Tester for full backtest evaluation
📌 Optimized For:
XAUUSD (Gold)
Smart Money / SMC / ICT traders
Trend continuation + reversal structures
Backtest-focused strategy building
Institutional-level analysis
📎 Release Notes:
v1.0 – Initial release of BOS-only SMC strategy with full entry/exit simulation and strategy tester support.
⚠️ Disclaimer:
This strategy is built for educational and research purposes only. It is not a signal provider or financial advice. Always combine with your personal confirmation, confluence tools, and risk management.
9:15 AM Bullish SetupBAsically it will tell if market open price is greater than 1 % of prev close and also above 20 and 200 SMA
SMC Structure Levels – BOS & CHoCH for XAUUSDThis is a custom-made TradingView indicator designed to visualize high-confidence market structure shifts based on Smart Money Concepts (SMC), focusing on Break of Structure (BOS) and Change of Character (CHoCH) points. The tool is optimized for XAUUSD but works across all major forex, crypto, and index markets.
It identifies key pivot points and filters them using both price distance and bar spacing, helping traders focus only on meaningful structural changes — not noisy signals. This makes it ideal for traders looking to track institutional-style price behavior with clarity.
🔑 Key Features:
Clean BOS & CHoCH Labels: The indicator plots “BOS” above candles when a structural break occurs in the trend direction, and “CHoCH” below candles when early signs of a reversal appear.
Spaced Signals: Only plots structure shifts that meet both time and price distance filters, preventing clutter and overplotting on the chart.
Swing-Based Logic: Built on pivot high/low analysis with adjustable sensitivity, ensuring flexible structure detection on any timeframe.
Fully Customizable: Modify:
Swing Sensitivity (number of bars before/after pivot)
Minimum bar spacing between BOS/CHoCH signals
Minimum price movement (in pips) between labels
Toggle BOS or CHoCH visibility individually
No Repainting: Once confirmed, signals remain fixed on the chart for historical review.
Zero Clutter: Unlike typical SMC tools that flood the chart, this indicator prioritizes clarity and signal quality.
🧠 What is BOS & CHoCH?
Break of Structure (BOS): Indicates continuation of the current market trend.
Change of Character (CHoCH): Suggests a potential early trend reversal or shift in momentum.
These tools are often used by Smart Money traders to mark significant turning points and trend confirmations.
⚙️ Use Cases:
Structural tracking in Smart Money Concepts (SMC)
Identifying trend continuation or early reversal
XAUUSD (Gold) swing and intraday analysis
Support for Order Blocks, Liquidity Grabs, and FVG confluence
Backtesting market structure break behavior
📌 Best Pairs:
XAUUSD (Gold)
Any asset where structure-based analysis is relevant
📎 Release Notes:
v1.0 – Initial release of BOS/CHoCH structure tool with spacing and pip-distance filtering for XAUUSD analysis.
⚠️ Disclaimer:
This indicator is built for educational and analytical purposes only. It does not constitute trading advice or guarantee profitable signals. Always use with a proper risk management strategy and confirm signals with additional confluence.
✅ This matches the exact quality and structure of the description you showed earlier.
Just copy this into your TradingView script page when publishing. If you'd like the next version with Order Blocks or FVG, say the word.
xGhozt Percentage Price ChangeDisplays two dynamic horizontal lines at ±X% from the current price, with customizable colors and labels. Useful for visualizing profit targets, stop loss zones, or expected volatility ranges. Labels show both the percentage and the corresponding price.
Dudix 1-2-3 TABELKA lot (EMA238)This indicator is designed to detect 1-2-3 reversal patterns within a clearly defined trend, using a triple EMA filter (EMA 20, EMA 50, and EMA 238).
By requiring that the EMAs be aligned (e.g., EMA 20 > EMA 50 > EMA 238 for an uptrend), the script effectively avoids false signals during sideways/consolidation phases, focusing only on entries in the direction of the dominant trend.
It highlights both Bullish 1-2-3 and Bearish 1-2-3 formations based on price structure and EMA positioning.
Additionally, the indicator includes a customizable point-distance calculator that shows how far the current candle’s close is from the EMA 50, helping traders gauge momentum or entry timing. The point size can be adjusted (e.g., 0.00001 for GBPUSD or 0.01 for JPY pairs) directly from the settings panel.
✅ Ideal for scalpers and intraday traders who want to:
Trade with the trend
Avoid chop and consolidation
Enter on price confirmation patterns
HSI First 30m Candle Strategy (5m Chart)## HSI First Candle Breakout Strategy
USE on 10m TF for max profit rate.
**The HSI First Candle Breakout Strategy** is a systematic trading approach tailored for Hang Seng Index Futures during the main Hong Kong day session. The strategy is designed to capture early market momentum by reacting to the first significant move of the day.
### How It Works
- **Reference Candle:** At the start of each day session (09:00), the high and low of the first 15-minute candle are recorded.
- **Breakout Trigger:**
- A **buy (long) trade** is initiated if price breaks above the first candle’s high.
- A **sell (short) trade** is initiated if price breaks below the first candle’s low.
- **Stop Loss & Take Profit:**
- Stop-loss is placed on the opposite side of the reference candle.
- Take-profit target is set at a distance equal to the size of the reference candle (1R).
- **Filters:**
- Skip the day if the first candle’s range exceeds 200 index points.
- Only the first triggered direction is traded per session.
- All trades are closed before the market closes if neither target nor stop is hit.
- **Execution:** The strategy works best on intraday charts (5m or 15m) and is ideal for traders seeking disciplined, systematic intraday setups.
### Key Features
- Captures the day’s initial momentum burst.
- Strict risk management with predefined stops and targets.
- One trade per day, reducing overtrading and noise.
- Clear-cut, rule-based, and objective system—no discretion required.
**This strategy offers a transparent and robust framework for traders to systematically capture high-probability breakouts in the Hang Seng Index Futures market.**
Smart MTF S/R Levels[BullByte]
Smart MTF S/R Levels
Introduction & Motivation
Support and Resistance (S/R) levels are the backbone of technical analysis. However, most traders face two major challenges:
Manual S/R Marking: Drawing S/R levels by hand is time-consuming, subjective, and often inconsistent.
Multi-Timeframe Blind Spots: Key S/R levels from higher or lower timeframes are often missed, leading to surprise reversals or missed opportunities.
Smart MTF S/R Levels was created to solve these problems. It is a fully automated, multi-timeframe, multi-method S/R detection and visualization tool, designed to give traders a complete, objective, and actionable view of the market’s most important price zones.
What Makes This Indicator Unique?
Multi-Timeframe Analysis: Simultaneously analyzes up to three user-selected timeframes, ensuring you never miss a critical S/R level from any timeframe.
Multi-Method Confluence: Integrates several respected S/R detection methods—Swings, Pivots, Fibonacci, Order Blocks, and Volume Profile—into a single, unified system.
Zone Clustering: Automatically merges nearby levels into “zones” to reduce clutter and highlight areas of true market consensus.
Confluence Scoring: Each zone is scored by the number of methods and timeframes in agreement, helping you instantly spot the most significant S/R areas.
Reaction Counting: Tracks how many times price has recently interacted with each zone, providing a real-world measure of its importance.
Customizable Dashboard: A real-time, on-chart table summarizes all key S/R zones, their origins, confluence, and proximity to price.
Smart Alerts: Get notified when price approaches high-confluence zones, so you never miss a critical trading opportunity.
Why Should a Trader Use This?
Objectivity: Removes subjectivity from S/R analysis by using algorithmic detection and clustering.
Efficiency: Saves hours of manual charting and reduces analysis fatigue.
Comprehensiveness: Ensures you are always aware of the most relevant S/R zones, regardless of your trading timeframe.
Actionability: The dashboard and alerts make it easy to act on the most important levels, improving trade timing and risk management.
Adaptability: Works for all asset classes (stocks, forex, crypto, futures) and all trading styles (scalping, swing, position).
The Gap This Indicator Fills
Most S/R indicators focus on a single method or timeframe, leading to incomplete analysis. Manual S/R marking is error-prone and inconsistent. This indicator fills the gap by:
Automating S/R detection across multiple timeframes and methods
Objectively scoring and ranking zones by confluence and reaction
Presenting all this information in a clear, actionable dashboard
How Does It Work? (Technical Logic)
1. Level Detection
For each selected timeframe, the script detects S/R levels using:
SW (Swing High/Low): Recent price pivots where reversals occurred.
Pivot: Classic floor trader pivots (P, S1, R1).
Fib (Fibonacci): Key retracement levels (0.236, 0.382, 0.5, 0.618, 0.786) over the last 50 bars.
Bull OB / Bear OB: Institutional price zones based on bullish/bearish engulfing patterns.
VWAP / POC: Volume Weighted Average Price and Point of Control over the last 50 bars.
2. Level Clustering
Levels within a user-defined % distance are merged into a single “zone.”
Each zone records which methods and timeframes contributed to it.
3. Confluence & Reaction Scoring
Confluence: The number of unique methods/timeframes in agreement for a zone.
Reactions: The number of times price has touched or reversed at the zone in the recent past (user-defined lookback).
4. Filtering & Sorting
Only zones within a user-defined % of the current price are shown (to focus on actionable areas).
Zones can be sorted by confluence, reaction count, or proximity to price.
5. Visualization
Zones: Shaded boxes on the chart (green for support, red for resistance, blue for mixed).
Lines: Mark the exact level of each zone.
Labels: Show level, methods by timeframe (e.g., 15m (3 SW), 30m (1 VWAP)), and (if applicable) Fibonacci ratios.
Dashboard Table: Lists all nearby zones with full details.
6. Alerts
Optional alerts trigger when price approaches a zone with confluence above a user-set threshold.
Inputs & Customization (Explained for All Users)
Show Timeframe 1/2/3: Enable/disable analysis for each timeframe (e.g., 15m, 30m, 1h).
Show Swings/Pivots/Fibonacci/Order Blocks/Volume Profile: Select which S/R methods to include.
Show levels within X% of price: Only display zones near the current price (default: 3%).
How many swing highs/lows to show: Number of recent swings to include (default: 3).
Cluster levels within X%: Merge levels close together into a single zone (default: 0.25%).
Show Top N Zones: Limit the number of zones displayed (default: 8).
Bars to check for reactions: How far back to count price reactions (default: 100).
Sort Zones By: Choose how to rank zones in the dashboard (Confluence, Reactions, Distance).
Alert if Confluence >=: Set the minimum confluence score for alerts (default: 3).
Zone Box Width/Line Length/Label Offset: Control the appearance of zones and labels.
Dashboard Size/Location: Customize the dashboard table.
How to Read the Output
Shaded Boxes: Represent S/R zones. The color indicates type (green = support, red = resistance, blue = mixed).
Lines: Mark the precise level of each zone.
Labels: Show the level, methods by timeframe (e.g., 15m (3 SW), 30m (1 VWAP)), and (if applicable) Fibonacci ratios.
Dashboard Table: Columns include:
Level: Price of the zone
Methods (by TF): Which S/R methods and how many, per timeframe (see abbreviation key below)
Type: Support, Resistance, or Mixed
Confl.: Confluence score (higher = more significant)
React.: Number of recent price reactions
Dist %: Distance from current price (in %)
Abbreviations Used
SW = Swing High/Low (recent price pivots where reversals occurred)
Fib = Fibonacci Level (key retracement levels such as 0.236, 0.382, 0.5, 0.618, 0.786)
VWAP = Volume Weighted Average Price (price level weighted by volume)
POC = Point of Control (price level with the highest traded volume)
Bull OB = Bullish Order Block (institutional support zone from bullish price action)
Bear OB = Bearish Order Block (institutional resistance zone from bearish price action)
Pivot = Pivot Point (classic floor trader pivots: P, S1, R1)
These abbreviations appear in the dashboard and chart labels for clarity.
Example: How to Read the Dashboard and Labels (from the chart above)
Suppose you are trading BTCUSDT on a 15-minute chart. The dashboard at the top right shows several S/R zones, each with a breakdown of which timeframes and methods contributed to their detection:
Resistance zone at 119257.11:
The dashboard shows:
5m (1 SW), 15m (2 SW), 1h (3 SW)
This means the level 119257.11 was identified as a resistance zone by one swing high (SW) on the 5-minute timeframe, two swing highs on the 15-minute timeframe, and three swing highs on the 1-hour timeframe. The confluence score is 6 (total number of method/timeframe hits), and there has been 1 recent price reaction at this level. This suggests 119257.11 is a strong resistance zone, confirmed by multiple swing highs across all selected timeframes.
Mixed zone at 118767.97:
The dashboard shows:
5m (2 SW), 15m (2 SW)
This means the level 118767.97 was identified by two swing points on both the 5-minute and 15-minute timeframes. The confluence score is 4, and there have been 19 recent price reactions at this level, indicating it is a highly reactive zone.
Support zone at 117411.35:
The dashboard shows:
5m (2 SW), 1h (2 SW)
This means the level 117411.35 was identified as a support zone by two swing lows on the 5-minute timeframe and two swing lows on the 1-hour timeframe. The confluence score is 4, and there have been 2 recent price reactions at this level.
Mixed zone at 118291.45:
The dashboard shows:
15m (1 SW, 1 VWAP), 5m (1 VWAP), 1h (1 VWAP)
This means the level 118291.45 was identified by a swing and VWAP on the 15-minute timeframe, and by VWAP on both the 5-minute and 1-hour timeframes. The confluence score is 4, and there have been 12 recent price reactions at this level.
Support zone at 117103.10:
The dashboard shows:
15m (1 SW), 1h (1 SW)
This means the level 117103.10 was identified by a single swing low on both the 15-minute and 1-hour timeframes. The confluence score is 2, and there have been no recent price reactions at this level.
Resistance zone at 117899.33:
The dashboard shows:
5m (1 SW)
This means the level 117899.33 was identified by a single swing high on the 5-minute timeframe. The confluence score is 1, and there have been no recent price reactions at this level.
How to use this:
Zones with higher confluence (more methods and timeframes in agreement) and more recent reactions are generally more significant. For example, the resistance at 119257.11 is much stronger than the resistance at 117899.33, and the mixed zone at 118767.97 has shown the most recent price reactions, making it a key area to watch for potential reversals or breakouts.
Tip:
“SW” stands for Swing High/Low, and “VWAP” stands for Volume Weighted Average Price.
The format 15m (2 SW) means two swing points were detected on the 15-minute timeframe.
Best Practices & Recommendations
Use with Other Tools: This indicator is most powerful when combined with your own price action analysis and risk management.
Adjust Settings: Experiment with timeframes, clustering, and methods to suit your trading style and the asset’s volatility.
Watch for High Confluence: Zones with higher confluence and more reactions are generally more significant.
Limitations
No Future Prediction: The indicator does not predict future price movement; it highlights areas where price is statistically more likely to react.
Not a Standalone System: Should be used as part of a broader trading plan.
Historical Data: Reaction counts are based on historical price action and may not always repeat.
Disclaimer
This indicator is a technical analysis tool and does not constitute financial advice or a recommendation to buy or sell any asset. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management and consult a financial advisor if needed.
Call and Put signals[vivekm8955]🔍 Strategy Overview
This adaptive strategy generates clear CALL (Buy) and PUT (Sell) signals by combining:
✅ Dual EMA structure
✅ Heikin Ashi trend confirmation
✅ Smoothed Stochastic Momentum Index (SMI)
✅ Take Profit (TP) signals via momentum reversal
✅ Dynamic support from average price action
The goal: Give retail traders institutional-grade signals with clarity, without lag.
📊 Trade Entry Logic
🔼 CALL Signal (Buy):
Fast EMA < Avg Price
Slow EMA < Avg Price
Slow EMA < Fast EMA
Confirmed by crossover
➡️ This implies price has dipped below value zones and is showing strength.
🔽 PUT Signal (Sell):
Fast EMA > Avg Price
Slow EMA > Avg Price
Slow EMA > Fast EMA
Confirmed by crossover
➡️ Indicates price is elevated and showing weakness.
🏁 Exit Logic (Take Profit)
✅ TP Buy Signal: SMI crosses below 0 → Weakening upside
✅ TP Sell Signal: SMI crosses above 0 → Weakening downside
These act as exit cues or partial booking areas.
📌 Visualization & Alerts
🔼 CALL Signal → Green label below candle
🔽 PUT Signal → Red label above candle
✅ TP Signal → Small label (TP) showing ideal exit points
🔔 Real-time alerts enabled (CALL, PUT, TP alerts)
Background color changes based on EMA crossovers for added confirmation.
🕯️ Additional Filters Used
Heikin Ashi Candles: For smoothing out noise and validating trends.
SMI (Double EMA): A momentum indicator better suited for trending markets.
📈 Dashboard Included
Displays current signal, SMI value, and TP status in real-time
Color-coded for easy interpretation
Auto-adaptive table (fixes out-of-bound issues)
📎 Ideal Timeframes
Timeframe Use Case
5m – 15m Intraday Scalping
1h – 4h Swing Trading
1D Positional Plays
🚦 Suggested Usage
Step Action
1️⃣ Confirm signal (CALL or PUT) on 1TF and 1 higher TF
2️⃣ Enter near signal candle close
3️⃣ Exit on TP label OR SMI reversal
4️⃣ Avoid entry during high volatility news events
⚠️ Disclaimer – Use with Caution!
⚠️ This script is for educational & analytical purposes only.
It does NOT guarantee profits, nor is it a financial advisory tool.
Always use risk management: Stop-losses, position sizing, capital preservation.
Do not trade blindly. Backtest it across market conditions.
Past performance is not indicative of future results.
Consult a SEBI-registered advisor for real trading decisions.
Seasonal Forecaster ProSeasonal Forecaster Pro
This script is an advanced analytical tool designed to uncover and measure historical seasonal (or cyclical) tendencies in any market. It visualizes how an asset has performed on average during specific times of the year and provides a real-time score to gauge how closely the current price action is following these historical patterns.
The primary goal is to provide traders with a unique analytical layer, helping to identify periods of historical strength or weakness and to validate current trends against historical norms.
Key Features
📈 Multi-Period Seasonality Lines: The indicator plots multiple seasonal patterns simultaneously. Each colored line represents the average historical performance over a different lookback period (e.g., 3-year, 5-year, 10-year average). This allows you to compare short-term versus long-term seasonal trends.
🔮 Forward Projection: The seasonal lines are projected into the future, illustrating the average historical path for the upcoming days and weeks. This is not a price prediction, but a visual guide to an asset's typical behavior based on past data.
📊 Correlation Table: A powerful, real-time dashboard that measures how strongly the current price is correlated with each historical seasonality pattern.
High Correlation (> 75%): 🟢 Indicates that the current price is moving in strong alignment with its historical tendency.
Medium Correlation (50% to 75%): 🟠 Shows a moderate relationship.
Low Correlation (< 50%): 🔴 Signals that the price is currently deviating from its historical norm.
🛡️ Advanced Outlier Filtering: The core calculation uses a robust statistical method to filter out extreme, one-off market events like flash crashes or major news spikes. This ensures that the resulting seasonal patterns are more stable and representative of typical market behavior.
⚙️ Full Customization: You have complete control over the indicator's appearance. You can toggle any seasonality line on or off, and customize the colors, line width, and the on-screen table's position and colors to perfectly match your chart's theme.
How It Helps Your Trading
This indicator is a tool for analysis and confluence, not for generating buy/sell signals. Here’s how you can integrate it into your strategy:
Identify Seasonal Trends: Easily spot times of the year where an asset has historically shown bullish or bearish tendencies. For example, if the lines are consistently trending upwards from March to May, it highlights a period of historical strength.
Confirm Trend Strength: Use the correlation table to add confidence to your analysis. If you see an asset is in an uptrend and the correlation score for its dominant seasonal pattern is high and green, it provides powerful confirmation that the move is aligned with historical precedent.
Spot Divergences: Identify when the market is behaving abnormally. If the historical pattern suggests an uptrend, but the current price is falling and the correlation score is low and red, it signals a divergence. This can alert you that current market drivers are overriding seasonal tendencies and may warrant extra caution.
This script is an analysis tool and does not provide financial advice or trade signals. All trading involves risk, and past performance is not indicative of future results. Please use this indicator as part of a comprehensive trading plan. This script is invite-only and its source code is protected.
🔍 Candle Scanner (75m/D/W/M) + Volume + EMA + Trend//@version=5
indicator("🔍 Candle Scanner (75m/D/W/M) + Volume + EMA + Trend", overlay=true)
is75min = timeframe.period == "75"
// Time Slot Logic for 75-min only
startTime = timestamp("Asia/Kolkata", year, month, dayofmonth, 9, 15)
candle75 = math.floor((time - startTime) / (75 * 60 * 1000)) + 1
candleNo = is75min and candle75 >= 1 and candle75 <= 5 ? candle75 : na
getTimeSlot(n) =>
slot = ""
if n == 1
slot := "09:15–10:30"
else if n == 2
slot := "10:30–11:45"
else if n == 3
slot := "11:45–13:00"
else if n == 4
slot := "13:00–14:15"
else if n == 5
slot := "14:15–15:30"
slot
// EMA Filters
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
aboveEMA20 = close > ema20
aboveEMA50 = close > ema50
// Volume Strength
avgVol = ta.sma(volume, 20)
volStrength = volume > avgVol ? "High Volume" : "Low Volume"
// Candle Body Strength
bodySize = math.abs(close - open)
fullSize = high - low
bodyStrength = fullSize > 0 ? (bodySize / fullSize > 0.6 ? "Strong Body" : "Small Body") : "Small Body"
// Prior Trend
priorTrend = close < close and close < close ? "Downtrend" :
close > close and close > close ? "Uptrend" : "Sideways"
// Patterns
bullishEngulfing = close > open and close < open and close > open and open < close
bearishEngulfing = close < open and close > open and close < open and open > close
hammer = (high - low) > 3 * bodySize and (close - low) / (0.001 + high - low) > 0.6 and (open - low) / (0.001 + high - low) > 0.6
shootingStar = (high - low) > 3 * bodySize and (high - close) / (0.001 + high - low) > 0.6 and (high - open) / (0.001 + high - low) > 0.6
doji = bodySize <= fullSize * 0.1
morningStar = close < open and bodySize < (high - low ) * 0.3 and close > (open + close ) / 2
eveningStar = close > open and bodySize < (high - low ) * 0.3 and close < (open + close ) / 2
// Pattern Selection
pattern = ""
sentiment = ""
colorBox = color.gray
yOffset = 15
if bullishEngulfing
pattern := "Bull Engulfing"
sentiment := "Bullish"
colorBox := color.green
yOffset := -15
else if bearishEngulfing
pattern := "Bear Engulfing"
sentiment := "Bearish"
colorBox := color.red
yOffset := 15
else if hammer
pattern := "Hammer"
sentiment := "Bullish"
colorBox := color.green
yOffset := -15
else if shootingStar
pattern := "Shooting Star"
sentiment := "Bearish"
colorBox := color.red
yOffset := 15
else if doji
pattern := "Doji"
sentiment := "Neutral"
colorBox := color.gray
yOffset := 15
else if morningStar
pattern := "Morning Star"
sentiment := "Bullish"
colorBox := color.green
yOffset := -15
else if eveningStar
pattern := "Evening Star"
sentiment := "Bearish"
colorBox := color.red
yOffset := 15
timeSlot = is75min and not na(candleNo) ? getTimeSlot(candleNo) : ""
info = pattern != "" ? "🕒 " + (is75min ? timeSlot + " | " : "") + pattern + " (" + sentiment + ") | " + volStrength + " | " + bodyStrength + " | Trend: " + priorTrend + " | EMA20: " + (aboveEMA20 ? "Above" : "Below") + " | EMA50: " + (aboveEMA50 ? "Above" : "Below") : ""
// Label Draw
var label lb = na
if info != ""
lb := label.new(bar_index, high + yOffset, text=info, style=label.style_label_down, textcolor=color.white, size=size.small, color=colorBox)
label.delete(lb )
// Smart Alert
validAlert = pattern != "" and (volStrength == "High Volume") and bodyStrength == "Strong Body" and (aboveEMA20 or aboveEMA50)
alertcondition(validAlert, title="📢 Smart Candle Alert", message="Smart Alert: Candle with Volume + EMA + Trend + Pattern Filtered")
Marker 25 Points Above Candle HighThis custom TradingView indicator places a small red circular marker (●) exactly 25 points above the high of each candle. It's useful for visualizing buffer zones above price highs, such as potential breakout areas, stop-loss regions, or resistance levels.
CM Donchian Channel Pro Mod V3// ==============================================================================
// CM Donchian Channel Pro Mod V3
//
// 🔹 Original Author: ChrisMoody
// 🔹 Modified By: Markking77
// 🔹 License: Mozilla Public License 2.0
// 🔹 License Link: mozilla.org
//
// ------------------------------------------------------------------------------
// Description:
// This is an enhanced version of the original Donchian Channel by ChrisMoody,
// modified under the MPL 2.0 license by Markking77.
//
// This indicator plots upper and lower Donchian Channels with added options
// for mid-line, breakout highlights, arrows, and channel fill.
// It helps traders identify breakout zones and trend reversals.
//
// ------------------------------------------------------------------------------
// ✨ Features:
// ✅ Adjustable Upper & Lower Channel Lengths
// ✅ Optional Mid-Line for trend confirmation
// ✅ Highlight breakout bars on channel breaks
// ✅ Optional breakout entry arrows
// ✅ Channel fill for better zone visibility
// ✅ Built-in alerts for breakout above/below
//
// ------------------------------------------------------------------------------
// Disclaimer:
// This Pine Script® code is for educational purposes only and does not provide
// financial advice. Use it at your own risk. Always manage your risk properly.
//
// ------------------------------------------------------------------------------
// Tip:
// You can adjust lengths, colors and display options to suit your trading style.
//
// ==============================================================================
Multi-Timeframe RSI Table# Multi-Timeframe RSI Table
## Overview
This indicator displays RSI (Relative Strength Index) values across multiple timeframes in a convenient table format, allowing traders to quickly assess momentum conditions across different time horizons without switching charts.
## Features
• *7 Timeframes*: 5m, 15m, 1h, 4h, Daily, Weekly, Monthly
• *Color-coded RSI Values*:
- 🔴 Red: Overbought (≥70)
- 🟢 Green: Oversold (≤30)
- 🟠 Orange: Bullish momentum (50-70)
- 🟡 Yellow: Bearish momentum (30-50)
• *Clean Table Display*: Positioned in top-right corner for easy viewing
• *Customizable Settings*: Adjustable RSI length and overbought/oversold levels
## How to Use
1. Add the indicator to your chart
2. The table automatically displays current RSI values for all timeframes
3. Use color coding to quickly identify:
- *Buying opportunities* when multiple timeframes show green (oversold)
- *Selling opportunities* when multiple timeframes show red (overbought)
- *Trend alignment* when higher timeframes match your trading direction
## Trading Applications
• *Multi-timeframe analysis*: Confirm signals across different time horizons
• *Entry timing*: Find optimal entry points when shorter timeframes align with longer trends
• *Risk management*: Avoid trades when higher timeframes show opposite momentum
• *Swing trading*: Identify when daily/weekly RSI supports your position direction
## Settings
• *RSI Length*: Default 14 periods (standard RSI calculation)
• *Overbought Level*: Default 70 (customizable)
• *Oversold Level*: Default 30 (customizable)
## Best Practices
• Look for alignment across multiple timeframes for stronger signals
• Use higher timeframe RSI to determine overall trend direction
• Combine with price action and support/resistance levels
• Avoid trading against strong momentum shown in higher timeframes
Perfect for day traders, swing traders, and anyone who needs quick multi-timeframe RSI analysis without constantly switching chart timeframes.