SuperTrend + MACD Webhook (bandar)//@version=5
indicator("SuperTrend + MACD Webhook (bandar)", overlay=true)
// === إعدادات SuperTrend ===
atrPeriod = input.int(10, title="ATR Length")
factor = input.float(1.5, title="Multiplier", step=0.1) // ← تم تحديد step = 0.1 بوضوح
= ta.supertrend(factor, atrPeriod)
// === إعدادات MACD ===
fastLen = input.int(12, title="MACD Fast Length")
slowLen = input.int(26, title="MACD Slow Length")
signalSmoothing = input.int(9, title="MACD Signal Smoothing")
= ta.macd(close, fastLen, slowLen, signalSmoothing)
// === منطق الدخول والخروج ===
longSignal = trendDir == 1 and macdLine > signalLine
shortSignal = trendDir == -1 and macdLine < signalLine
// === منع تكرار الإشارة
var bool inTrade = false
symbolName = syminfo.ticker
// === إشارات وتنبيهات webhook
buyCondition = longSignal and not inTrade
sellCondition = shortSignal and inTrade
if buyCondition
inTrade := true
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.green, textcolor=color.white)
alert('{"action":"buy","symbol":"' + symbolName + '"}', alert.freq_once_per_bar_close)
if sellCondition
inTrade := false
label.new(bar_index, high, "SELL", style=label.style_label_down, color=color.red, textcolor=color.white)
alert('{"action":"sell","symbol":"' + symbolName + '"}', alert.freq_once_per_bar_close)
// === عرض خط SuperTrend
plot(supertrend, color=trendDir == 1 ? color.green : color.red, title="SuperTrend Line")
Indicators and strategies
MQSA EMA (9/15/55/100)Four essential EMAs: 9, 15, 55, 100.
Stylish color coding for quick trend reading.
Clean chart appearance — no clutter, pure focus.
Designed for traders who value both functionality and luxury visuals.
Recommended for:
Trend following
Entry timing and confirmation
Swing and intraday trading
Thank you :)
Max Daily Movement in %14DMA%-OVED=The average daily movement of a stock over the last 14 trading days, in percentage.
MA 7/25/99 tool using 3 MAs: 7, 25, and 99. Candle colors highlight bullish and bearish conditions relative to MA7. Designed for crypto traders looking for clean and fast setups."
GM WeeklyThe indicator displays two key exponential moving averages — EMA 100 and EMA 200, both calculated from the daily (D) timeframe. These EMAs help traders identify long-term trend direction and potential support/resistance levels. The indicator plots both EMAs in purple to highlight key trend-following signals.
GM DailyIndicator displays two exponential moving averages (EMAs) — EMA 100 and EMA 200 — both calculated on the 4-hour (4H) timeframe. The indicator uses bright blue for the EMA 100 line and light blue for the EMA 200 line. The area between these two EMAs is filled with a semi-transparent bright blue color, helping to visually highlight the relationship between the two key moving averages.
Combined High Low & MI Pivot PointsThis is an major upgrade of the old MI_Pivots indicator with mid levels. I have included key levels like the Yesterday high and low, Last weeks high and low and combined it into one indicator. If you trade Forex or Crypto intraday you need this indicator 😊
GM trendIndicator is designed to track and visualize medium-term trends using the EMA 35 line, along with the EMA 25 and EMA 45. This script creates a clear visual representation of price dynamics by shading the area between the EMA 25 and EMA 45, while highlighting EMA 35 as the central trend-following reference. The shading helps identify areas of support, resistance, and trend strength.
Scalper Signal PRO (EMA + RSI + Stoch)How to use it
Buy Signal:
. EMA 5 crosses above EMA 13
. Price is above EMA 50
. RSI near or just above 30
Sell Signal:
. EMA 5 crosses below EMA 13
. Price is below EMA 50
. RSI near or just below 30
Scalper Signal PRO (EMA + RSI + Stoch)//@version=5
indicator("Scalper Signal PRO (EMA + RSI + Stoch)", overlay=true)
// === INPUTS ===
emaFastLen = input.int(5, "EMA Fast")
emaSlowLen = input.int(13, "EMA Slow")
rsiLen = input.int(14, "RSI Length")
rsiBuy = input.int(30, "RSI Buy Level")
rsiSell = input.int(70, "RSI Sell Level")
kPeriod = input.int(5, "Stoch K")
dPeriod = input.int(3, "Stoch D")
slowing = input.int(3, "Stoch Smoothing")
// === SESSION TIME ===
sessionStart = timestamp ("GMT+8", year, month, dayofmonth, 8, 0)
sessionEnd = timestamp("GMT+8" ,year, month, dayofmonth, 18, 0)
withinSession = time >= sessionStart and time <= sessionEnd
// === LOGIC ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
emaBullish = emaFast > emaSlow and ta.crossover(emaFast, emaSlow)
emaBearish = emaFast < emaSlow and ta.crossunder(emaFast, emaSlow)
rsi = ta.rsi(close, rsiLen)
k = ta.sma(ta.stoch(close, high, low, kPeriod), slowing)
d = ta.sma(k, dPeriod)
buyCond = emaBullish and rsi < rsiBuy and k > d and withinSession
sellCond = emaBearish and rsi > rsiSell and k < d and withinSession
// === PLOTS ===
showSignals = input.bool(true, "Show Buy/Sell Signals?")
plotshape(showSignals and buyCond, location=location.belowbar, style=shape.labelup, color=color.green, text="BUY", title="Buy Signal")
plotshape(showSignals and sellCond, location=location.abovebar, style=shape.labeldown, color=color.red, text="SELL", title="Sell Signal")
plot(emaFast, "EMA Fast", color=color.orange)
plot(emaSlow, "EMA Slow", color=color.blue)
// === ALERTS ===
alertcondition(buyCond, title="Buy Alert", message="Scalper PRO Buy Signal")
alertcondition(sellCond, title="Sell Alert", message="Scalper PRO Sell Signal")
// === DASHBOARD ===
var table dash = table.new(position.top_right, 2, 5, frame_color=color.gray, frame_width=1)
bg = color.new(color.black, 85)
table.cell(dash, 0, 0, "Scalper PRO", bgcolor=bg, text_color=color.white, text_size=size.normal)
table.cell(dash, 0, 1, "Trend", bgcolor=bg)
table.cell(dash, 1, 1, emaFast > emaSlow ? "Bullish" : "Bearish", bgcolor=emaFast > emaSlow ? color.green : color.red, text_color=color.white)
table.cell(dash, 0, 2, "RSI", bgcolor=bg)
table.cell(dash, 1, 2, str.tostring(rsi, "#.0"), bgcolor=color.gray, text_color=color.white)
table.cell(dash, 0, 3, "Stoch K/D", bgcolor=bg)
table.cell(dash, 1, 3, str.tostring(k, "#.0") + "/" + str.tostring(d, "#.0"), bgcolor=color.navy, text_color=color.white)
table.cell(dash, 0, 4, "Session", bgcolor=bg)
table.cell(dash, 1, 4, withinSession ? "LIVE" : "OFF", bgcolor=withinSession ? color.green : color.red, text_color=color.white)
Scalper Signal PRO (EMA + RSI + Stoch)//@version=5
indicator("Scalper Signal PRO (EMA + RSI + Stoch)", overlay=true)
// === INPUTS ===
emaFastLen = input.int(5, "EMA Fast")
emaSlowLen = input.int(13, "EMA Slow")
rsiLen = input.int(14, "RSI Length")
rsiBuy = input.int(30, "RSI Buy Level")
rsiSell = input.int(70, "RSI Sell Level")
kPeriod = input.int(5, "Stoch K")
dPeriod = input.int(3, "Stoch D")
slowing = input.int(3, "Stoch Smoothing")
// === SESSION TIME ===
sessionStart = timestamp ("GMT+8", year, month, dayofmonth, 8, 0)
sessionEnd = timestamp("GMT+8" ,year, month, dayofmonth, 18, 0)
withinSession = time >= sessionStart and time <= sessionEnd
// === LOGIC ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
emaBullish = emaFast > emaSlow and ta.crossover(emaFast, emaSlow)
emaBearish = emaFast < emaSlow and ta.crossunder(emaFast, emaSlow)
rsi = ta.rsi(close, rsiLen)
k = ta.sma(ta.stoch(close, high, low, kPeriod), slowing)
d = ta.sma(k, dPeriod)
buyCond = emaBullish and rsi < rsiBuy and k > d and withinSession
sellCond = emaBearish and rsi > rsiSell and k < d and withinSession
// === PLOTS ===
showSignals = input.bool(true, "Show Buy/Sell Signals?")
plotshape(showSignals and buyCond, location=location.belowbar, style=shape.labelup, color=color.green, text="BUY", title="Buy Signal")
plotshape(showSignals and sellCond, location=location.abovebar, style=shape.labeldown, color=color.red, text="SELL", title="Sell Signal")
plot(emaFast, "EMA Fast", color=color.orange)
plot(emaSlow, "EMA Slow", color=color.blue)
// === ALERTS ===
alertcondition(buyCond, title="Buy Alert", message="Scalper PRO Buy Signal")
alertcondition(sellCond, title="Sell Alert", message="Scalper PRO Sell Signal")
// === DASHBOARD ===
var table dash = table.new(position.top_right, 2, 5, frame_color=color.gray, frame_width=1)
bg = color.new(color.black, 85)
table.cell(dash, 0, 0, "Scalper PRO", bgcolor=bg, text_color=color.white, text_size=size.normal)
table.cell(dash, 0, 1, "Trend", bgcolor=bg)
table.cell(dash, 1, 1, emaFast > emaSlow ? "Bullish" : "Bearish", bgcolor=emaFast > emaSlow ? color.green : color.red, text_color=color.white)
table.cell(dash, 0, 2, "RSI", bgcolor=bg)
table.cell(dash, 1, 2, str.tostring(rsi, "#.0"), bgcolor=color.gray, text_color=color.white)
table.cell(dash, 0, 3, "Stoch K/D", bgcolor=bg)
table.cell(dash, 1, 3, str.tostring(k, "#.0") + "/" + str.tostring(d, "#.0"), bgcolor=color.navy, text_color=color.white)
table.cell(dash, 0, 4, "Session", bgcolor=bg)
table.cell(dash, 1, 4, withinSession ? "LIVE" : "OFF", bgcolor=withinSession ? color.green : color.red, text_color=color.white)
Smart Trend Lines 𝒯𝒽𝑒_𝓁𝓊𝓇𝓀𝑒𝓇Smart Trend Lines is a tool for drawing dynamic, highly accurate, and error-free trend lines (major, intermediate, and short-term) with the detection of breaks in these lines using advanced filters such as ADX (Average Directional Index), RSI (Relative Strength Index), and trading volume. It aims to assist traders in accurately identifying trends and breakout points, thereby enhancing decision-making in trading.
1. Features of the Indicator
// Dynamic Trend Line Drawing with Three Lengths:
- Main Line: Based on a long time period (default is 50 candles) to identify long-term trends.
- Mid Line: Based on a medium time period (default is 21 candles) to identify medium-term trends.
- Short Line: Based on a short time period (default is 9 candles) to identify short-term trends.
//Breakout Detection:
- Monitors breakouts when the price crosses a trend line, either upward (for downward lines) or downward (for upward lines).
- Uses filters (ADX, RSI, volume) to confirm the validity of the breakout and reduce false signals.
//Filters for Signal Confirmation:
- ADX: Confirms the strength of the trend (default minimum is 20).
- RSI: Checks for overbought conditions (above 65) or oversold conditions (below 35) to avoid false breakouts.
- Trading Volume: Compares the current trading volume with the moving average of volume to ensure momentum.
//Flexible Settings:
- Customization of line colors (upward and downward) and styles (solid, dashed, dotted).
- Option to show or hide mid and short lines.
- Selection of price type for breakout detection (close, high, low).
//Optional Display of Previous Lines:
- Allows users to optionally view previously drawn trend lines.
//Alerts and Labels:
- Provides instant alerts when a breakout occurs, along with details of the achieved conditions (e.g., V for volume, A for ADX, R for RSI).
- Adds visual labels on the chart at the point of breakout, with customizable label sizes.
//Automatic Line Extensions:
- Dynamically extends trend lines as long as they remain unbroken, ensuring that prices do not breach the line in the opposite direction.
2. Methods of Drawing Lines
// Identification of Pivot Points:
- Pivot High and Pivot Low points are detected using specific time periods for each type of line (Main: 50, Mid: 21, Short: 9).
- High points (Pivot High) are used to draw downward trend lines, while low points (Pivot Low) are used to draw upward trend lines.
Clarification:
- The `ta.pivothigh` function is used to identify high points (Pivot High), and the `ta.pivotlow` function is used to identify low points (Pivot Low) based on the specified periods for each line:
- Main Line:** Uses `trendLineLength` (default 50 candles).
- Mid Line:** Uses `trendLineLengthMid` (default 21 candles).
- Short Line:** Uses `trendLineLengthShort` (default 9 candles).
- High points (Pivot High) are utilized to draw downward trend lines, while low points (Pivot Low) are utilized to draw upward trend lines.
This ensures that the trend lines are dynamically drawn based on significant price pivots, providing a precise representation of the market's directional movements.
//Calculating the Slope:
- The slope between two points (start and end) is calculated using the difference in price divided by the difference in the number of candles:
Slope = ( Price Difference/Number of Candles Difference)
- Downward trend lines require a negative slope, indicating that the price is decreasing over time.
- Upward trend lines require a positive slope, indicating that the price is increasing over time.
This calculation ensures that the trend lines accurately reflect the direction and rate of price movement, providing traders with a clear visual representation of the market's momentum.
Additional Notes:
- The slope of the line reflects not only the direction (upward or downward) but also the intensity of the trend. The steeper the slope, the stronger and faster the price movement.
- The use of this dynamic method for calculating the slope ensures that trend lines adapt to changing market conditions, providing real-time updates for traders.
- The mathematical precision of this method enhances the reliability of trend lines and reduces errors, making it a valuable tool for technical market analysis.
//Drawing the Lines:
- Base Line (Start Line): Connects the two Pivot points (start and end).
- Extended Line (Trend Line): Starts from the endpoint of the base line and extends to the current candle with the same slope.
- The line's color and style are determined based on user settings (e.g., red for downward lines, green for upward lines).
Clarification:
- The function `line.new` is used to draw the base line (`bearishStartLine`) from the starting point (`bearStartIndex, bearStartVal`) to the endpoint (`bearEndIndex, bearEndVal`).
- The extended line (`bearishTrendLine`) starts from the endpoint and extends to the current candle (`bar_index`) using the slope (`bearSlope`) to maintain the trend direction.
// Extending the Lines:
- The lines are dynamically extended to the current candle if no breakout occurs.
- The extension stops when a breakout occurs or if the price crosses the line in the opposite direction.
Clarification:
- The function `extendTrendline` updates the extended line by modifying the endpoint coordinates (`x2, y2`) to the current candle (`bar_index`) using the slope (`slope).
- If a crossover in the opposite direction is detected via `checkExtendedStrictMode`, the extension stops at the previous candle.
3. Conditions for Drawing Lines
Presence of at Least Two Pivot Points:
- Drawing a line requires the presence of two Pivot points:
- Two high points (Pivot High) for a downward line.
- Two low points (Pivot Low) for an upward line.
- These points must fall within a specified time period, not exceeding five times the length of the line.
Slope Validation:
- A downward line requires a negative slope, meaning the endpoint is lower than the starting point.
- An upward line requires a positive slope, meaning the endpoint is higher than the starting point.
Validation of Strict Mode:
- All candles between the two Pivot points are examined to ensure that the price does not breach the trend line:
- For a downward line: The price (close, high, or low, depending on the settings) must not exceed the projected value of the line.
- For an upward line: The price must not fall below the projected value of the line.
This ensures that the trend line remains valid and accurately reflects the price movement without interruptions caused by temporary breaches.
Validation of Post-Pivot Break:
- Candles after the endpoint are examined to ensure that the price has not breached the line in the opposite direction, ensuring the line's validity.
Validation of Strict Extension:
- When extending the line, it is confirmed that the price does not breach the extended line in the opposite direction.
These checks ensure the trend line remains accurate and reliable, both during its initial drawing and as it dynamically extends over time.
4. Conditions for Breakout Detection
Price Crossing the Line:
- For a downward line: The price (close, high, or low, depending on the settings) exceeds the level of the line.
- For an upward line: The price falls below the level of the line.
Candle Confirmation:
- The candle must be closed (confirmed) to register the breakout.
Filter Conditions:
- Trading Volume:
- The trading volume must be higher than the moving average.
- For an upward breakout: A green candle (close > open) with a volume higher than the last green candle is preferred.
- For a downward breakout: A red candle (close < open) with a volume higher than the last red candle is preferred.
- ADX (Average Directional Index):
- The ADX value must exceed the minimum threshold (default is 20) to confirm the strength of the trend.
- RSI (Relative Strength Index) (if enabled):
- For an upward breakout: The RSI should be less than or equal to the upper limit (65) to avoid overbought conditions.
- For a downward breakout: The RSI should be greater than or equal to the lower limit (35) to avoid oversold conditions.
Non-Repetition of Breakouts:
- Each breakout is recorded only once per line until a new line is drawn.
These conditions ensure that breakouts are accurately detected and validated, minimizing false signals and enhancing the reliability of the trading decisions.
5. Additional Notes
Display Settings:
- Users can choose to show or hide previous lines and customize the size of labels (e.g., Very Small, Small, Normal, Large, Huge).
Visual Styles:
- Line styles vary to facilitate differentiation:
- Solid for the main line.
- Dashed for the intermediate line.
- Dotted for the short-term line.
Alerts:
- A single alert is sent for each breakout, with text specifying the type of breakout (main, intermediate, short) and the filters that have been met.
These features enhance user experience by providing flexibility in visualization, ease of interpretation, and timely notifications for informed trading decisions.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of preparation or execution of tasks or endorsed by TradingView.
Smart Trend Lines هو مؤشر تحليل فني يرسم خطوط اتجاه ديناميكية (رئيسية، متوسطة، قصيرة) على الرسم البياني، ويكتشف كسورها باستخدام فلاتر ADX، RSI، وحجم التداول لتأكيد الإشارات.
1. المميزات
1. خطوط اتجاه بثلاثة أطوال:
- رئيسي (50 شمعة): للاتجاهات طويلة الأمد.
- متوسط (21 شمعة): للاتجاهات متوسطة الأمد.
- قصير (9 شموع): للاتجاهات قصيرة الأمد.
2. اكتشاف الكسور: يرصد اختراق السعر للخطوط مع فلاتر لتقليل الإشارات الكاذبة.
3. فلاتر التأكيد:
- ADX (>20): يؤكد قوة الاتجاه.
- RSI (65/35): يتجن“B” للرئيسي، “M” للمتوسط، “S” للقصير).
4. إعدادات مرنة: تخصيص الألوان، الأنماط (متصل، متقطع، منقط)، ونوع السعر (إغلاق، أعلى، أدنى).
5. تمديد الخطوط: يمدد الخطوط تلقائيًا حتى الكسر.
2. طرق رسم الخطوط
1. نقاط Pivot: تحديد النقاط العليا (للخطوط الهابطة) والدنيا (للصاعدة) باستخدام فترات زمنية (50، 21، 9).
2. حساب الميل: قسمة فرق السعر على فرق الشموع (ميل سالب لهابط، موجب لصاعد).
3. رسم الخطوط: خط أساسي يربط نقطتي Pivot، وخط ممتد إلى الشمعة الحالية.
4. التمديد: يستمر التمديد إذا لم يُكسر الخط.
3. شروط الرسم
1. وجود نقطتين Pivot ضمن فترة (≤5 أضعاف طول الخط).
2. ميل مناسب (سالب لهابط، موجب لصاعد).
3. الوضع الصارم: السعر لا يخترق الخط بين النقطتين.
4. فحص ما بعد النقطة: عدم اختراق الخط بعد النهاية.
5. تمديد صارم: السعر لا يخترق الخط الممتد.
4. شروط الكسر
1. اختراق السعر للخط (فوق الهابط، تحت الصاعد).
2. تأكيد الشمعة (مغلقة).
3. فلاتر:
- حجم أعلى من المتوسط، مع شمعة خضراء (للصاعد) أو حمراء (للهابط).
- ADX > 20.
- RSI: ≤65 (صاعد)، ≥35 (هابط).
4. كسر واحد لكل خط.
5. ملاحظات
- العرض: خيارات لإخفاء الخطوط السابقة وتخصيص التسميات.
- التنبيهات: تنبيهات فورية مع تفاصيل الفلاتر.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
Aggregate PDH High Break Alert**Aggregate PDH High Break Alert**
**Overview**
The “Aggregate PDH High Break Alert” is a lightweight Pine Script v6 indicator designed to instantly notify you when today’s price breaks above any prior-day high in a user-defined lookback window. Instead of manually scanning dozens of daily highs, this script automatically loops through the last _N_ days (up to 100) and fires a single-bar alert the moment price eclipses a specific day’s high.
**Key Features**
- **Dynamic Lookback**: Choose any lookback period from 1 to 100 days via a single `High-Break Lookback` input.
- **Single Security Call**: Efficiently retrieves the entire daily-high series in one call to avoid TradingView’s 40-call security limit.
- **Automatic Looping**: Internally loops through each prior-day high, so there’s no need to manually code dozens of lines.
- **Custom Alerts**: Generates a clear, formatted alert message—e.g. “Crossed high from 7 day(s) ago”—for each breakout.
- **Lightweight & Maintainable**: Compact codebase (<15 lines) makes tweaking and debugging a breeze.
**Inputs**
- **High-Break Lookback (days)**: Number of past days to monitor for high breaks. Valid range: 1–100.
**How to Use**
1. **Add to Chart**: Open TradingView, click “Indicators,” then “Create,” and paste in the code.
2. **Configure Lookback**: In the script’s settings, set your desired lookback window (e.g., 20 for the past 20 days).
3. **Enable Alerts**: Right-click the indicator’s name on your chart, select “Add Alert on Aggregate PDH High Break Alert,” and choose “Once per bar close.”
4. **Receive Notifications**: Whenever price crosses above any of the specified prior-day highs, you’ll get an on-screen and/or mobile push alert with the exact number of days ago.
**Use Cases**
- **Trend Confirmation**: Confirm fresh bullish momentum when today’s high outpaces any of the last _N_ days.
- **Breakout Trading**: Automate entries off multi-day highs without manual chart scanning.
- **System Integration**: Integrate with alerts to trigger orders in third-party bots or webhook receivers.
**Disclaimer**
Breakouts alone do not guarantee sustained moves. Combine with your preferred risk management, volume filters, and other indicators for higher-probability setups. Use on markets and timeframes where daily breakout behavior aligns with your strategy.
T GEX LevelsDraw GEX levels from T
Use Case
Purpose: Visualizes key GEX levels to aid traders in identifying potential support (positive) and resistance (negative) zones based on options market data.
Visual Cues:
Thicker, more opaque lines highlight higher (more significant) price levels.
Fainter, thinner lines indicate lower (less significant) levels.
Ghost zones highlight price gaps where price movement may be less contested.
Application: Useful for options traders analyzing gamma exposure to anticipate price behavior near key levels.
Relative Strength IndexAdd EMA 9 and WMA 45 into regular RSI.
This would help people with free account to add up to three indicators at once.
Thanks
Wyckoff Accumulation Distribution Wyckoff Accumulation & Distribution Indicator (RSI-Based)
This Pine Script is a technical analysis indicator built around the Wyckoff Method, designed to detect accumulation and distribution phases using RSI (Relative Strength Index) and pivot points. It automatically marks key structural turning points on the chart and highlights relevant zones with colored boxes.
What Does It Do?
Draws accumulation and distribution boxes based on RSI behavior.
Automatically detects Wyckoff structural signals:
SC (Selling Climax)
AR (Automatic Rally)
ST (Secondary Test)
BC (Buying Climax)
DAR (Automatic Reaction)
DST (Secondary Test - Distribution)
Identifies trend transitions by detecting sideways RSI movement.
Attempts to detect spring and UTAD-like deviations based on RSI reversals.
Uses RSI extremes in conjunction with pivot points to generate Wyckoff signals.
How Does It Work?
RSI Zone: It identifies sideways markets when RSI stays within ±20 of the 50 level (this range is configurable).
Pivot Points: It detects pivot highs/lows that sync with RSI values (pivotLen is adjustable).
Trend Box Drawing:
When RSI exits the sideways zone, the script draws a gray box between the highest high and lowest low within that range.
If RSI breaks upward, the box becomes green (Accumulation); if downward, it becomes red (Distribution).
Wyckoff Structural Points:
SC/BC: Detected when a pivot occurs with RSI below/above a threshold.
AR/DAR: The next opposite pivot after SC or BC.
ST/DST: The next same-direction pivot after AR or DAR.
How to Use It
Works best on 4H or daily charts for more reliable signals. Shorter timeframes may generate noise.
Primarily used for interpreting RSI structures through the lens of Wyckoff methodology.
Box colors help quickly identify market phase:
Green box: Likely Accumulation
Red box: Likely Distribution
Triangular markers show key signals:
SC, AR, ST: Accumulation points
BC, DAR, DST: Distribution points
Use these signals alongside price action to manually interpret Wyckoff phases.
image.binance.vision
image.binance.vision
What Is the Wyckoff Method?
The Wyckoff Method, developed in the 1930s by Richard Wyckoff, is a market analysis approach that focuses on supply and demand dynamics behind price movements.
Wyckoff’s 5 Phases:
Accumulation: Smart money gradually buying at low prices.
Markup: Price begins trending upwards.
Distribution: Smart money selling to retail traders.
Markdown: Downtrend begins as supply outweighs demand.
Re-accumulation / Re-distribution: Trend-continuation phases with consolidations.
This indicator is specifically designed to detect phase 1 (Accumulation) and phase 3 (Distribution).
Extra Notes
Repainting is minimal, as pivots are confirmed using historical candles.
Labels use plotshape for a clean, minimalist visual style.
Other Wyckoff events (like SOS, LPS, UT, UTAD) could be added in future updates.
This script does not generate buy/sell signals; it is meant for structural interpretation.
MM Day Trader Levels Signal IndicatorVisual elements (CALL/PUT labels and markers) are now prioritized at the top of the chart for improved readability and immediate trade signal clarity.
MAD Trend Detector ~ C H I P AMAD Trend Detector ~ C H I P A is a custom trend detection tool designed to identify meaningful price deviations using Median Absolute Deviation (MAD) logic layered over a smoothed price baseline.
It uses:
A user-selectable source (Close, High, Low, etc.)
A configurable EMA or SMA as the core smoothing layer
Median Absolute Deviation (MAD) to measure typical price dispersion
A user-adjustable MAD multiplier to fine-tune trend sensitivity
Trend bands that expand dynamically based on local volatility
This setup highlights breakout conditions when price detaches meaningfully from its typical behavior — helping traders detect trend acceleration, volatility breakouts, and directional shifts with minimal lag and reduced noise.
Candle coloring responds directly to trend status, with electric blue and red visuals for clear on-chart recognition.
4H High-Low BoxesThis indicator dynamically plots high-low boxes based on the most recent 4-hour candle, providing visual markers for key price levels and trends. The box is updated in real-time to reflect the highest and lowest points of the current 4-hour candle, and its color changes based on the market's direction.
Key Features:
Dynamic Boxes: The indicator automatically adjusts to the 4-hour candle's high, low, and open price, creating a box that updates with price action.
Color-Coding: The box color changes based on the price direction. A green box indicates bullish market sentiment (price is above the 4H open), while a red box indicates bearish sentiment (price is below the 4H open).
Accurate Timeframe Representation: It works across any intraday timeframe (e.g., 5-minute, 15-minute, 1-hour), providing consistent, visually relevant markers for trading decisions.
Real-Time Updates: The box is adjusted dynamically as price evolves, ensuring it accurately represents the 4-hour price range during live trading.
Customizable Settings: Tailor the visual aspects of the box, including border color, background transparency, and other parameters.
Trading Strategy Ideas:
Rejection at High/Low: Look for price rejection at the 4H high/low for potential reversal signals.
Breakout Strategy: Trade breakouts above the 4H high or below the 4H low for momentum trades.
Mean Reversion: Enter when price moves away from the 4H open, expecting it to return to the open price.
This indicator can be used as a standalone tool or combined with other technical indicators to improve entry and exit points. Perfect for swing traders and those using price action to identify key support and resistance levels.
HAPPY TRADING
三條EMA指標//@version=5
indicator("三條EMA指標", overlay=true)
// 定義EMA週期
short_period = 9
medium_period = 21
long_period = 50
// 計算EMA
short_ema = ta.ema(close, short_period)
medium_ema = ta.ema(close, medium_period)
long_ema = ta.ema(close, long_period)
// 顯示EMA
plot(short_ema, title="短期EMA (9)", color=color.blue, linewidth=2)
plot(medium_ema, title="中期EMA (21)", color=color.orange, linewidth=2)
plot(long_ema, title="長期EMA (50)", color=color.green, linewidth=2)
⚡ High-Frequency Pro Strategy | Enhanced Filtersfind the supply ondemand for Gold and the best areat to import
COTE 1composite scan of bist stocks
You can set the condition in the screening code as you wish according to the data defined in the code.