Yaman's Scalper Pro V.1 ✅This is just a quick scalping guide.
Enter based on your own Trading Strategies.
Please Do Not blindly place Trade Entries without Checking the Real Market Trend.
USE IT ON ANY TIME FRAMES,
BEST TO USE M1, M3 & M5 TIME FRAMES.
ENTRY RULES.
WAIT FOR ONE CANDLE TO CLOSE PROPER, OTHERWISE IT MIGHT REPAINT.
SELL ENTRY ---> RED COLOR
SELL EXIT ---> ORANGE COLOR
BUY ENTRY ---> GREEN COLOR
BUY EXIT ---> BLUE COLOR
HAPPY TRADING!!!
Thanks
Yaman Didi
29/04/2025
Candlestick analysis
Shadow size Cryptoingener)"Wick Size Indicator"
This indicator calculates and displays the size of upper and lower wicks for each candlestick on the chart. It helps traders identify price rejection zones, potential reversals, and volatility patterns by visualizing how far price moved beyond the open and close within each candle. The wick size is shown in points or percentage, making it easier to detect market sentiment and analyze candle structure in real time.
配對交易waynecoin製作2原始策略邏輯
只要zScore大於某個值(如2)就做空ETH做多BTC
只要zScore小於某個值(如-2)就做多ETH做空BTC
但這種方式有時訊號太多、容易假突破、勝率不穩定
優化邏輯目標
1. 降低訊號頻率,過濾掉沒意義的雜訊交易
2. 等到「明顯極端」再動手,讓每一單都更有「均值回歸」的機會
3. 進場後,避免被盤整來回洗掉,強制休息一段時間(冷卻期)再考慮下一單
1. 「極端區才做」:提高入場門檻
以前你設定zScore>2或<-2就進場,這個「門檻」容易被雜訊觸發。
優化方式:把門檻拉高(例如2.5或3),訊號只會在「非常極端」的狀態下才出現,減少亂進場。
2. 「回歸動能確認」:等它真的要回來再做
傳統做法常在zScore剛突破極端值時就馬上進場,結果價格還是繼續爆走,導致虧損。
優化方式:
先等zScore跑到極端區(>2.5或<-2.5),
等它「開始回頭」(例如:zScore從3往下跌,跌破2.5時才進場),
這樣能增加「回歸」動能,少做那種「突破後持續單邊爆走」的盤。
3. 「冷卻期」:強制休息、減少來回被巴
很多交易在平倉後,立刻又收到新訊號反向進場,容易被盤整來回磨。
優化方式:設一個「冷卻期」(例如15根K線),這段期間內不再產生新訊號,即使條件觸發也忽略,讓你有時間等下一波「真正有利的極端機會」。
主要變數說明
plotH:入場門檻(如2.5),zScore超過這個數才考慮進場。
cooldown:冷卻K線數,這段期間內無論有無訊號都不能再進新倉。
last_entry_bar:紀錄上次開倉的bar_index,用於計算冷卻期。
進場邏輯
如果zScore「向上」突破-plotH,並且目前不在冷卻期,則產生一個做多ETH/做空BTC訊號(標籤顯示)。
如果zScore「向下」突破plotH,且不在冷卻期,則產生做空ETH/做多BTC訊號。
每次有訊號進場後,都把last_entry_bar更新為當下K線的bar_index,進入冷卻期。
入場標準差原本設定2.5,但可自行設定峰值,數值設定越高,信號越少
冷卻k線數可以自己設定,當你設定的數值越高,信號越少
Look-Back Periodu也可以自己設定,數值越高回朔時間越長,信號越少
我一直在思考什麼樣的策略適合散戶交易
想了一年多只想到兩種交易
1.對沖策略只吃異常波動率
2.資金費率套利
當前先針對對沖策略來發佈
後續會繼續發表資費套利
**Original Strategy Logic**
As long as the zScore is greater than a certain value (e.g., 2), short ETH and long BTC.
As long as the zScore is less than a certain value (e.g., -2), long ETH and short BTC.
However, this approach sometimes generates too many signals, is prone to false breakouts, and has unstable win rates.
---
**Optimization Goals**
1. Reduce signal frequency and filter out meaningless/noisy trades
2. Wait for "obvious extremes" before taking action, giving each trade a better chance at mean reversion
3. After entry, avoid getting chopped in sideways markets by enforcing a cooldown period before considering the next trade
---
**1. "Only trade in extreme zones": Increase entry threshold**
Previously, you entered whenever zScore > 2 or < -2. This threshold is easily triggered by noise.
**Optimization:** Raise the threshold (e.g., to 2.5 or 3), so signals only appear in "very extreme" conditions, reducing random entries.
**2. "Confirm mean reversion momentum": Wait until it actually starts to revert**
The traditional approach often enters right when zScore first breaks the extreme value, but sometimes price keeps moving in the same direction, leading to losses.
**Optimization:**
* First, wait until zScore reaches the extreme zone (>2.5 or <-2.5),
* Then, wait for it to "start reverting" (for example, zScore falls back below 2.5 from above 3),
* Only enter then. This increases the likelihood of actual mean reversion and avoids getting caught in one-sided trends after the breakout.
**3. "Cooldown period": Force a rest and reduce getting chopped**
Many trades, after closing, immediately receive a new signal and reverse position, which often leads to losses in choppy markets.
**Optimization:** Set a "cooldown period" (e.g., 15 candles). During this time, no new signals are generated—even if conditions are met—allowing you to wait for the next "truly favorable extreme opportunity."
---
**Key Variables**
* `plotH`: Entry threshold (e.g., 2.5). Only consider entries when zScore exceeds this value.
* `cooldown`: Number of cooldown candles. No new entries can be made during this period, regardless of signals.
* `last_entry_bar`: Records the bar\_index of the last entry, used to calculate the cooldown period.
---
**Entry Logic**
* If zScore breaks upwards through -plotH and you’re not in a cooldown period, generate a long ETH/short BTC signal (show a label).
* If zScore breaks downwards through plotH and not in a cooldown period, generate a short ETH/long BTC signal.
* Every time you enter a trade, update `last_entry_bar` to the current bar\_index and enter the cooldown period.
The entry standard deviation threshold is originally set to 2.5, but you can set it to any peak value you prefer—the higher the value, the fewer the signals.
The cooldown candle count is also customizable; the higher the value, the fewer the signals.
The look-back period is adjustable as well; the higher it is, the longer the historical window considered, and the fewer the signals.
---
I’ve been thinking for over a year about what kind of strategies are suitable for retail traders.
After all this time, I’ve only come up with two types:
1. Hedge strategies that only capture abnormal volatility
2. Funding rate arbitrage
Currently, I’m publishing the hedge strategy first.
I’ll continue to share funding rate arbitrage in the future.
StraddleThis is an indicator for straddle on Indian markets, with hedging/with out hedging.
You can se these with super trend and ema xover
配對交易waynecoin製作2_回歸零即止盈進場:兩個幣價差大幅偏離平均值(超過設定標準差),認為出現「極端偏差」,所以進行配對交易
出場:只要 zScore 回到 0,即「兩幣回歸均值關係」,立刻平倉
冷卻機制:每次出場後,必須經過設定的K線數才能再次進場,有效減少過度頻繁交易
這種回歸0止盈法的優點
減少來回掃損:避免只在邊界平倉(如 zScore 回到 1),能抓到更大一段的均值回歸
簡單直觀:規則容易判斷,不需要額外判斷趨勢或震盪
適合盤整行情:這種策略在橫盤或均值回歸明顯的市場表現較好
需搭配wayncoin製作2來使用,因為腳本原因他一次只能單筆持倉,所以相比較wayncoin製作2會遺漏一些信號,但可以這版本的離場信號做為離場,在該跟k線收盤後出現離場信號在做離場
Entry: When the price spread between the two coins deviates significantly from the mean (exceeds the set standard deviation), this is considered an "extreme deviation," so a pairs trade is initiated.
Exit: As soon as the zScore returns to 0—meaning the price relationship between the two coins has reverted to the mean—the position is closed immediately.
Cooldown mechanism: After each exit, a specified number of candlesticks must pass before a new entry is allowed, effectively reducing over-trading.
Advantages of the “exit at zScore=0” method:
Reduces whipsaw losses: By avoiding exits at just the boundaries (e.g., zScore returning to 1), it can capture a larger portion of the mean reversion move.
Simple and intuitive: The rules are easy to follow, without needing to judge additional trends or market regimes.
Well-suited to ranging markets: This strategy performs better in sideways or clearly mean-reverting markets.
Note:
This method should be used together with “waynecoin version 2.” Due to script limitations, it only allows one position at a time, so compared to waynecoin version 2, some signals may be missed. However, you can use the exit signals from this version to close positions—when an exit signal appears after the close of the corresponding candlestick, close the position.
TIM–EMA Crossover EngineWhat Indicator do:
A multi-layered EMA-based signal indicator designed for trend-following, momentum, and structure-based traders. This tool helps you detect trend reversals, breakout alignments, and extended conditions in a visually intuitive and customizable way.
Key Features:
1) Glowing EMAs: Five customizable EMAs (default: 10, 21, 55, 150, 200) with glowing layered visuals for high clarity.
2) Smart Signal Commentary: Dynamic labels with human-readable crossover insights, trend structure detection, and optional emoji icons.
3) Price Disparity Warning: Detects when price is >5% away from its nearest EMA — alerts you to overextended zones.
4) Signal Score (0–10): Quantifies trend strength based on EMA alignment and price structure.
5) Crossover Markers: Triangle arrows plotted directly on the chart to mark bullish/bearish EMA crossovers.
6) Full Customization:
Enable/disable glow
Choose EMA periods & colors
Toggle label frequency (every 5 bars or signal-only)
Position signal labels anywhere on the chart
Strong Trend CandlesThis indicator highlights candles that show clear directional conviction, using a mathematically grounded method designed to identify moments when the market is truly dominated by buyers or sellers.
🔍 What does it detect?
It identifies two key structures:
Up-Trend Candle (UP):
The open is close to the session’s low.
The close is close to the session’s high.
This structure reflects sustained bullish control from start to finish.
Down-Trend Candle (DOWN):
The open is near the high.
The close is near the low.
This reflects clear bearish control throughout the session.
Precise Definitions Used:
UP-Trend Candle:
Open ≤ Low + 10% of range
Close ≥ High - 20% of range
DOWN-Trend Candle:
Open ≥ High - 10% of range
Close ≤ Low + 20% of range
Here, the range is simply High - Low.
Why are the thresholds different (10% vs 20%)?
This is intentional and based on how markets behave:
The opening price tends to be precise and stable in trend days. A strong trending candle usually opens very close to one end (high or low), reflecting a clean start without hesitation.
The closing price, however, often pulls back slightly before the end of the session—even during strong trends—due to profit-taking or last-minute volatility.
That’s why the close is allowed more tolerance (20%), while the open is held to a stricter threshold (10%). This balance allows the indicator to be strict enough to filter noise, yet flexible enough to capture real trends.
✅ Why this is useful
Unlike vague candle patterns like "bullish engulfing" or "marubozu," this method focuses strictly on structure and positioning, not color or subjective shape. It isolates the candles where one side clearly dominated, offering cleaner entries for breakout, continuation, or confirmation strategies.
You can use this tool to:
Spot high-momentum price action
Confirm breakouts or directional bias
Filter setups based on strong market conviction
Setra Alert by Sekolah Trading🔷 How It Works
Dynamic Pair & Timeframe Detection
Auto-detects current symbol and timeframe
Applies correct pip threshold for each pair:
XAUUSD, USDJPY, GBPUSD, AUDUSD, EURUSD, BTCUSD, etc.
Timeframes: 5m, 15m, 1h
Candle Structure Filtering
Body = abs(close - open)
Wick = upper + lower shadow
Must pass wick ratio condition (≤ 30%)
Signal Conditions
Body ≥ threshold
Wick ≤ 30%
Clear bullish or bearish structure
Visual Output
🔺 Blue triangle = Bullish momentum
🔻 Red triangle = Bearish momentum
🔷 Alert System Explanation
This script provides two built-in alert conditions:
✅ Momentum Bullish
Triggers when:
Large bullish body
Wick ≤ 30%
Final 20–90 seconds of candle
Confirmed real-time (no repaint)
✅ Momentum Bearish
Same conditions applied to bearish candles
🔔 How to Set Alerts
Add alert on chart
Choose condition: Momentum Bullish or Momentum Bearish
Set frequency: Once Per Bar
Customize message, e.g.:
“Bullish momentum on XAUUSD M15”
Alerts help traders prepare entries before the candle closes.
🔷 How to Use
Load the script on a 5m, 15m, or 1h chart
Adjust pip values for your pair via input menu
Watch for triangle markers near candle close
Combine with:
Trend indicators (EMA, Supertrend)
S/R levels, breakouts, or liquidity zones
Optional volume or order flow confirmation
🔷 Why This Script is Closed-Source
This version includes protected logic developed by Sekolah Trading, including:
Dynamic pip calibration
Wick/body structural filtering
Non-repainting real-time alert logic
While the code is protected to prevent misuse, all logic and intent have been clearly explained here as required by TradingView's House Rules.
🔷 Disclaimer
This tool is meant for technical analysis and educational purposes only. It is not financial advice, and no signal is guaranteed. Always use proper risk management and confirm trades independently.
Fisher Transform Background StripesThe "Fisher Transform Background Stripes" indicator is an easy-to-use tool that helps traders identify extreme market conditions using the Fisher Transform, a technical indicator that normalizes price data to highlight potential reversals. It displays colored background stripes on your chart to show when the market is oversold or undersold, making it simple to spot trading opportunities.
How It Works:Fisher Transform Calculation: The indicator calculates the Fisher Transform based on a user-defined period (default: 9), using the average of high and low prices to measure market momentum and identify extreme price movements.
Oversold/Undersold Levels: It highlights when the Fisher Transform is above a user-set oversold level (default: 3.0) with red background stripes, or below an undersold level (default: -2.0) with green background stripes.
Visual Feedback: Red and green stripes appear on the chart to mark oversold or undersold conditions, helping you quickly understand market extremes.
Customization: You can adjust the Fisher Transform period, oversold/undersold levels, background colors, and transparency. You can also enable an optional Fisher Transform plot or display values on the chart for debugging.
Wait for Close Option: You can choose whether the indicator waits for the timeframe’s candle to close before showing stripes, ensuring more reliable signals.
Alerts: Optional alerts notify you when the Fisher Transform crosses into oversold or undersold zones (always using confirmed values for accuracy).
Who It’s For: This indicator is ideal for beginner and intermediate traders looking for a clear, visual way to track extreme market conditions and potential reversals using the Fisher Transform.
Key Features:Colored background stripes for oversold (red) and undersold (green) conditions.
Customizable settings for period, levels, colors, and transparency.
Option to wait for candle close for more accurate signals.
Optional Fisher Transform plot and value display for analysis.
Alerts to notify you of key Fisher Transform level crossings.
This indicator provides a straightforward way to monitor market extremes and make informed trading decisions.
No Supply / No Demand Candle with AlertsScript triggers alerts based on specific candle behavior that matches the No Supply (NS) or No Demand (ND) logic, which combines price action, volume, and candle body size.
Monday's Range by Fortis80This TradingView indicator displays the Monday’s high and low range clearly across all timeframes, making it easy for traders to identify weekly key levels.
Exclusive for Fortis80 Members.
4H Crypto System – EMAs + MACD//@version=5
indicator("4H Crypto System – EMAs + MACD", overlay=true)
// EMAs
ema21 = ta.ema(close, 21)
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
// MACD Settings (standard)
fastLength = 12
slowLength = 26
signalLength = 9
= ta.macd(close, fastLength, slowLength, signalLength)
// Plot EMAs
plot(ema21, title="EMA 21", color=color.orange, linewidth=1)
plot(ema50, title="EMA 50", color=color.blue, linewidth=1)
plot(ema200, title="EMA 200", color=color.purple, linewidth=1)
// Candle coloring based on MACD trend
macdBull = macdLine > signalLine
barcolor(macdBull ? color.new(color.green, 0) : color.new(color.red, 0))
// Buy/Sell signal conditions
buySignal = ta.crossover(macdLine, signalLine) and close > ema21 and close > ema50 and close > ema200
sellSignal = ta.crossunder(macdLine, signalLine) and close < ema21 and close < ema50 and close < ema200
// Alerts
alertcondition(buySignal, title="Buy Alert", message="Buy Signal: MACD bullish crossover and price above EMAs")
alertcondition(sellSignal, title="Sell Alert", message="Sell Signal: MACD bearish crossover and price below EMAs")
Swing Crypto Bot – Extended Bullish PatternsSwing Crypto Bot – Extended Bullish Patterns
A lean, rule-based Pine Script that spots high-probability swing entries by combining trend filters, momentum checks and a broad set of classic bullish candlestick patterns—all with built-in risk management and instant in-chart alerts.
🔍 What It Does
Multi-Factor Screening
Price > 50-period SMA (trend filter)
Price > Upper Bollinger Band (breakout filter)
RSI(14) between 45–80 (momentum filter)
Volume > 20-period SMA of volume (participation filter)
Candlestick Patterns
Detects 6 core bullish setups:
Hammer
Bullish Engulfing
Bullish Harami
Morning Star (3-bar reversal)
Three White Soldiers
Tweezer Bottom
Displays exactly one in the info bubble (or “Mixed”/“None” if ambiguous).
Instant Alert
Shows a 🔥 icon on the final bar when 3 of 5 criteria are met (including at least one pattern).
Automated Risk Management
Stop-Loss = 1.5 × ATR(14) below entry (guaranteed under price)
Take-Profit = Risk × 2 (minimum RR 2:1) above entry
In-chart info bubble with Pattern name, Entry, SL, TP & RR
Clean Overlay
Only SMA50 + Bollinger Bands
One flame + one info bubble on the last bar
Heavy lifting off-chart: use TradingView’s native Volume & RSI panes for deeper analysis
How to Use
Add the script to your chart.
Watch for the 🔥 on the latest candle—your 3+ filters have aligned.
Read the info bubble for the exact candlestick pattern, entry price, stop-loss, take-profit and achieved RR.
Confirm with your own support/resistance lines, Volume & RSI panels.
Ideal for swing traders who demand precision, diversity of patterns and automatic risk controls. Copy-paste and publish on TradingView today!
Monday's Range by Fortis80This script displays the Monday’s high and low range with configurable week history and signals. Exclusive for Fortis80 Members.
Swing Crypto Bot – Signal + TP/SL/RR (Min RR 2)Harness the power of chart-pattern recognition, multi-factor screening and automated target calculation—all in one clean, visual Pine Script indicator.
Key Features
🔥 Instant Signal: “Flame” icon on the latest bar when at least 3 of 5 criteria align:
Price above 50-period SMA
Price breaking upper Bollinger Band
Volume exceeding its 20-period MA
RSI (14) between 45–80
Bullish price pattern detected (Hammer, Engulfing or Harami)
🎯 Automated TP/SL/RR
Entry at market close of signal bar
Stop-loss set to 1.5× ATR14 below entry (always under current price)
Take-profit at a minimum 2× risk (configurable)
Risk/Reward ratio displayed in-chart for transparency
🏷️ Pattern Labeling
The info bubble identifies which candlestick pattern triggered the signal (“Hammer”, “Engulfing”, “Harami”, or “Mixed”).
🛠️ Minimal Overlay
No extra clutter—only your SMA, Bollinger Bands, signal flame & a single info-bubble. Use TradingView’s native volume pane and RSI beneath for further confirmation.
How to Use
Add the script to your chart (SMA50 + BB20 overlay).
Monitor for the 🔥 on the latest bar—this means your 3+ criteria are met.
Read the info bubble for entry, stop-loss, take-profit and achieved RR.
Confirm with your own volume/RSI panes and support/resistance levels.
Ideal for swing traders looking for a quick, rule-based signal with built-in risk management. Copy, paste & publish on TradingView today!
Multi-TF S/R Lines by Pivots - 15min Chart//@version=5
indicator('Multi-TF S/R Lines by Pivots - 15min Chart', overlay=true, max_lines_count=32)
// تنظیمات کاربری
pivot_lookback = input.int(5, 'تعداد کندل دو طرف پیوت')
search_bars = input.int(200, 'تعداد کندل چکشونده در هر تایمفریم')
line_expire = input.int(40, 'حداکثر کندل بیتست تا پنهان کردن سطح')
h4_color = color.new(color.teal, 0)
h1_color = color.new(color.green, 0)
d1_color = color.new(color.blue, 0)
w1_color = color.new(color.red, 0)
plot_labels = input.bool(true, 'نمایش لیبل')
label_size = input.string('tiny', 'سایز لیبل', )
var float w1_pivothighs = array.new_float(0)
var float w1_pivotlows = array.new_float(0)
var float d1_pivothighs = array.new_float(0)
var float d1_pivotlows = array.new_float(0)
var float h4_pivothighs = array.new_float(0)
var float h4_pivotlows = array.new_float(0)
var float h1_pivothighs = array.new_float(0)
var float h1_pivotlows = array.new_float(0)
//----------------------
// تابع پیوتی (true اگر کندل مرکزی، پیوت سقف/کف باشد)
pivot(cF, length, dir) =>
// dir = 'high' یا 'low'
var bool isP = true
for i = 1 to length
if dir == 'high'
isP := isP and cF > cF and cF > cF
if dir == 'low'
isP := isP and cF < cF and cF < cF
isP
// جمعآوری پیوتها در تایمفریم انتخابی
get_pivots(tf, bars_limit, look, dir) =>
var float pivs = array.new_float(0)
pivs := array.new_float(0) // reset each call: همیشه آخرین ۲۰۰ کندل
h = request.security(tf, 'high', high)
l = request.security(tf, 'low', low)
arr = dir == 'high' ? h : l
// فقط کندلهای وسط برگردد (نه اول و آخر)
for i=look to (bars_limit - look)
if pivot(arr, look, dir)
array.unshift(pivs, arr )
pivs
// بروزرسانی آرایه پیوتها (آخرین سطوح)
if barstate.islastconfirmedhistory
w1_pivothighs := get_pivots('W', search_bars, pivot_lookback, 'high')
w1_pivotlows := get_pivots('W', search_bars, pivot_lookback, 'low')
d1_pivothighs := get_pivots('D', search_bars, pivot_lookback, 'high')
d1_pivotlows := get_pivots('D', search_bars, pivot_lookback, 'low')
h4_pivothighs := get_pivots('240', search_bars, pivot_lookback, 'high')
h4_pivotlows := get_pivots('240', search_bars, pivot_lookback, 'low')
h1_pivothighs := get_pivots('60', search_bars, pivot_lookback, 'high')
h1_pivotlows := get_pivots('60', search_bars, pivot_lookback, 'low')
//--------------
// تابع رسم سطح
draw_lines(pivArr, line_color, label_txt, expiry) =>
int count = math.min(array.size(pivArr), 8)
for i=0 to (count-1)
y = array.get(pivArr, i)
// بررسی در 40 کندل اخیر برخورد بوده یا نه؟
touched = false
for c=0 to (expiry-1)
touched := touched or (low <= y and high >= y)
if touched
l = line.new(bar_index-expiry, y, bar_index, y, color=line_color, width=2, extend=extend.right)
if plot_labels
label.new(bar_index, y, label_txt, color=line_color, style=label.style_label_right, textcolor=color.white, size=label_size)
// اگر طی پیشفرض expiry کندل برخورد نشده بود، خط و لیبل رسم نشود (مخفی شود)
// رسم همه خطوط
draw_lines(w1_pivothighs, w1_color, 'W1', line_expire)
draw_lines(w1_pivotlows, w1_color, 'W1', line_expire)
draw_lines(d1_pivothighs, d1_color, 'D1', line_expire)
draw_lines(d1_pivotlows, d1_color, 'D1', line_expire)
draw_lines(h4_pivothighs, h4_color, 'H4', line_expire)
draw_lines(h4_pivotlows, h4_color, 'H4', line_expire)
draw_lines(h1_pivothighs, h1_color, 'H1', line_expire)
draw_lines(h1_pivotlows, h1_color, 'H1', line_expire)
Clean Day Separator (Vertical Only)Clean Day Separator (Vertical Only) is a minimalist indicator for traders who value clarity and structure on their charts.
This tool draws:
✅ Vertical dashed lines at the start of each new day
✅ Optional day-of-week labels (Monday, Tuesday, etc.)
It’s designed specifically for clean chart lovers — no horizontal lines, no boxes, just what you need to mark time and keep your focus.
Perfect for:
Intraday traders who track market rhythm
Price action purists
Anyone who wants to reduce visual noise
Customizable settings:
Toggle day labels on/off
Choose line and text colors
Set label size to match your chart style
Hidden Bearish Divergence [1H]Detects Hidden Bearish Divergence on the 1-hour timeframe using RSI. This is the opposite of hidden bullish — it suggests bearish continuation in a downtrend. Price forms a Lower High. RSI forms a Higher High. Suggests bearish continuation (ideal in a downtrend).
Hidden Bullish Divergence [1H]Detects hidden bullish divergence on the 1-hour timeframe using RSI. It will plot a label when conditions are met. Watch for the green label under a candle — this indicates hidden bullish divergence.
CRT Wick ReversalCustom code to help predict reversals by using LQ areas - Killzone highs/lows, high volume LQ (CPI/NFP/News)/ IRL events such as war/POTUS etc..
RSI Overbought ScannerRSI Overbought Scanner
Description
The RSI Overbought Scanner is a Pine Script indicator designed to identify potential overbought conditions across multiple timeframes (1-minute, 5-minute, and 15-minute) using the Relative Strength Index (RSI). This tool is ideal for traders looking to spot stocks or assets that may be overextended to the upside, potentially signaling a reversal or pullback opportunity.
Key Features
Multi-Timeframe Analysis: Evaluates RSI on 1m, 5m, and 15m timeframes to confirm overbought conditions (RSI > 70).
Visual Output: Plots a binary result (1 for overbought, 0 otherwise) for easy integration with TradingView's screener.
Debugging Table: Displays a table in the top-right corner showing RSI values and overbought status for each timeframe, with color-coded indicators (red for overbought, green for not overbought).
Alert Integration: Includes an alert condition that triggers when all three timeframes are overbought, providing a customizable message with the ticker symbol.
How It Works
RSI Calculation: Computes RSI with a default length of 14 for the 1m timeframe and retrieves RSI values for 5m and 15m timeframes using request.security.
Overbought Condition: Checks if RSI exceeds 70 on all three timeframes.
Output: Plots a value of 1 when all conditions are met, otherwise 0. A table updates on the last confirmed bar to show RSI values and overbought status.
Alerts: Triggers an alert when all timeframes are overbought, notifying users of potential trading opportunities.
Usage
Add the indicator to your chart and use it with TradingView's screener to filter assets meeting the overbought criteria.
Customize the RSI length or overbought level (default 70) in the indicator settings to suit your trading strategy.
Set up alerts to receive notifications when the overbought condition is met across all timeframes.
Notes
This script is written in Pine Script v6.
Best used in conjunction with other technical analysis tools to confirm signals.
The table is for debugging and visual confirmation, updating only on the last confirmed bar to avoid performance issues.
MandarKalgutkar-Buy/Sell Arrow Signal//@version=5
indicator("MandarKalgutkar-Buy/Sell Arrow Signal", overlay=true)
ma = ta.sma(close, 21)
rsi = ta.rsi(close, 14)
// Tracking variables
var float buyRefHigh = na
var float sellRefLow = na
var int buyCandleIndex = na
var int sellCandleIndex = na
// Detect initial breakout candle
bullishBreak = close > open and close > ma and close < ma
if bullishBreak
buyRefHigh := high
buyCandleIndex := bar_index
bearishBreak = close < open and close < ma and close > ma
if bearishBreak
sellRefLow := low
sellCandleIndex := bar_index
// Next candle only: ensure current bar is exactly next one
isNextBuyBar = (not na(buyCandleIndex)) and bar_index == buyCandleIndex + 1
isNextSellBar = (not na(sellCandleIndex)) and bar_index == sellCandleIndex + 1
// Buy/sell logic
buySignal = isNextBuyBar and high > buyRefHigh and rsi > 55
sellSignal = isNextSellBar and low < sellRefLow and rsi < 45
// Reset if signal used or next candle missed
if buySignal or isNextBuyBar
buyRefHigh := na
buyCandleIndex := na
if sellSignal or isNextSellBar
sellRefLow := na
sellCandleIndex := na
// Plot
plotshape(buySignal, title="Buy", location=location.belowbar, color=color.green, style=shape.labelup, size=size.small)
plotshape(sellSignal, title="Sell", location=location.abovebar, color=color.red, style=shape.labeldown, size=size.small)
plot(ma, "20 MA", color.orange)