Custom Buy and Sell Signal with Body Ratio and RSI
Indicator Overview:
Name: Custom Buy and Sell Signal with Body Ratio and RSI
Description: This indicator is designed to detect buy and sell opportunities by analyzing the body size and wicks of candles in combination with the RSI indicator and volume. It helps identify trend reversals under high-volume market conditions, which enhances the reliability of the signals.
Indicator Features:
RSI (Relative Strength Index): The RSI indicator is used to assess oversold (RSI < 40) or overbought (RSI > 60) conditions. These zones signal potential reversals when combined with other technical signals.
Candle Body Analysis:
The indicator compares the size of the current and previous candles to validate signals.
For a buy signal, the current candle must be bullish and have a body size proportional to that of the previous bearish candle.
Similarly, for a sell signal, the current candle must be bearish with a body size comparable to the previous bullish candle.
Wick Validation:
The indicator analyzes the wick length to reinforce or exclude signals.
For a buy signal, the lower wick of the bullish candle must be shorter than that of the previous bearish candle.
For a sell signal, the upper wick of the bearish candle must be shorter than that of the previous bullish candle and smaller than 30% of the candle's body.
High Volume:
Signals are only generated when the volume exceeds a certain threshold, ensuring that signals are issued in active market conditions.
The minimum volume should be adjusted based on the asset. For example, for gold, a minimum volume of 9000 is recommended.
Trading Strategy:
Buy Signals:
A bearish (red) candle is followed by a bullish (green) candle with a body size that is comparable to the previous candle (0.9 to 3 times the body size).
The lower wick of the bullish candle is shorter than that of the previous bearish candle, confirming the validity of the signal.
The RSI must be below 40, indicating an oversold condition.
The volume must exceed the defined threshold (e.g., > 9000 for gold) to confirm an active market.
Sell Signals:
A bullish (green) candle is followed by a bearish (red) candle with a comparable body size.
The upper wick of the bearish candle must be shorter than that of the previous bullish candle and must not exceed 30% of the body size.
The RSI must be above 60, indicating an overbought condition.
The volume must also exceed the minimum threshold for a valid signal.
Usage Guidelines:
Volume Adjustment: It is crucial to adjust the volume threshold depending on the asset you're trading. For example, for assets like gold, a minimum volume of 9000 is recommended to filter out weak signals. Each asset has a different volume dynamic, so test different thresholds on historical data to find the optimal setting.
Time Frame:
It is recommended to use this indicator on a 1-hour (1H) chart for the best signal relevance. This time frame provides a good balance between reactivity and filtering false signals.
Confluence:
Combine the signals from this indicator with other tools like support and resistance levels, moving averages, or chart patterns to increase your chances of success. Confluence of indicators improves the reliability of signals.
Risk Management:
Implement strict risk management. Use stop-losses based on volatility, such as ATR (Average True Range), or the wick size to determine exit points.
Backtesting:
Before using it live, conduct backtesting on various assets to fine-tune the parameters, especially the volume threshold, and to verify performance across different market conditions.
This indicator is an excellent tool for traders looking to identify trend reversals based on solid technical criteria such as RSI, candle structure, and volume. It is particularly effective on volatile assets with precise volume adjustment.
Penunjuk dan strategi
NY and 5AM EST FVG FinderMarking out 5 am EST fvg and NY 9 am FVG. Its a simple indicator but effective
Multi-Ticker RS vs SPYThis Pine Script, titled "Multi-Ticker RS vs SPY," is a clean and efficient indicator designed for TradingView, enabling traders to monitor the relative strength (RS) of up to 10 ticker symbols compared to the S&P 500 ETF (SPY) on a single chart. Ideal for options traders, such as those managing a $1,400 account, it provides a simple way to assess which stocks are outperforming or underperforming the broader market. As of February 26, 2025, the script supports any chart timeframe, such as 5-minute or daily intervals, and calculates RS based on a user-defined lookback period, defaulting to 1 bar for real-time insights.
Users can input ticker symbols via customizable settings, with defaults set to popular stocks like AAPL, TSLA, NVDA, GOOGL, AMZN, MSFT, FB, NFLX, INTC, and PYPL. The script fetches closing prices for each ticker and SPY, computes their percentage changes over the lookback period, and determines RS as the ratio of each ticker’s change to SPY’s change, handling division by zero gracefully. It displays each ticker’s current RS score in a vertical column of labels on the chart’s top-left corner, updated on the last bar to avoid clutter. Users can adjust label size (tiny, small, normal, large) and text color for visibility, ensuring a tailored, error-free experience for quick market analysis.
Intraday Gap Detector by Carlos Eduardo The Gap Indicator is a technical analysis tool used to measure and visualize price gaps between trading sessions in financial markets.
HMA Hidden Signals (1H Optimized)HMA və Repainting
HMA-nın təbiəti: HMA, WMA (Weighted Moving Average) hesablamalarına əsaslanır və nəzəri olaraq "repainting" etmir, çünki o, cari çubuğun bağlanmasını gözləyir və keçmiş məlumatlara əsaslanaraq hesablanır. Yəni, bir çubuk bağlandıqdan sonra HMA dəyəri dəyişmir — bu, onu "non-repainting" edir.
Sənin skriptin: Skriptdə ta.crossover və ta.crossunder funksiyaları istifadə olunur ki, bunlar da cari və əvvəlki HMA dəyərlərini müqayisə edir (hma və prevHma). Bu funksiyalar da keçmişdəki dəyərləri dəyişdirmir, sadəcə mövcud məlumatlara əsaslanaraq siqnal yaradır.
Həcm Filtri
Skriptdə həcm filtiri (volumeConfirmed = volume > volumeMa * 1.2) də var. Bu da real vaxtda hesablanan SMA (Simple Moving Average) istifadə edir və keçmiş çubukların dəyərlərini dəyişdirmir. Həcm də cari çubuğun bağlanmasına əsaslanır, ona görə də burada da "repainting" problemi yoxdur.
Nəticə
Bu skript "non-repainting"dir. Çünki:
HMA dəyərləri çubuk bağlandıqdan sonra dəyişmir.
Siqnallar (crossover və crossunder) yalnız cari və əvvəlki çubukların sabit dəyərlərinə əsaslanır.
Həcm filtiri də keçmişdəki məlumatları yenidən çəkmir.
Əlavə Qeyd
Əgər sən "non-repainting" olmasını təmin etmək üçün əlavə yoxlama istəyirsənsə, skripti test edə bilərsən: Tarixi məlumatlarda siqnalların yerindən oynayıb-oynamadığına bax. Amma kodun strukturuna görə, bu indikator yenidən çəkilməməlidir. Başqa sualın varsa, soruş!
BS TargetEste script cria linhas horizontais que se ajustam dinamicamente de acordo com o preço atual e as configurações definidas, facilitando a visualização de níveis-chave com base em uma porcentagem definida.
Fernando Gahyva
TradingCircuit EMA Cloud Features
✅ EMA Clouds for Better Visualization
Short-Term Cloud (10 & 21 EMA) → Captures short-term momentum
Medium-Term Cloud (44 & 63 EMA) → Confirms trend strength
Long-Term EMA (200 EMA) → Acts as the main trend filter
✅ Dynamic Trend Coloring
The clouds change color based on EMA crossovers, providing instant visual trend identification.
Green Cloud = Bullish Momentum
Red/Orange Cloud = Bearish Momentum
✅ 📊 Trend Dashboard with 7-Class Trend Detection
A trend label appears on the chart based on the alignment of EMAs:
1️⃣ 🔥 Strong Uptrend → All EMAs aligned upwards (10 > 21 > 44 > 63 > 200)
2️⃣ 📈 Mild Uptrend → Short and Medium EMAs above the 200 EMA but not perfectly aligned
3️⃣ 🟢 Weak Uptrend → Only Short-Term EMA Cloud is above 200 EMA
4️⃣ 🟡 Sideways Market → Mixed EMA alignment, no clear trend
5️⃣ 🔴 Weak Downtrend → Short-Term EMA Cloud is below the 200 EMA, but Medium-Term isn’t
6️⃣ 📉 Mild Downtrend → Both Short and Medium EMA Clouds below 200 EMA
7️⃣ 🚨 Strong Downtrend → All EMAs aligned downward (10 < 21 < 44 < 63 < 200)
✅ Fully Customizable
Enable/Disable individual EMA clouds
Toggle Trend Dashboard ON/OFF
Transparent clouds for a clean look
Long-Term 200 EMA plotted as a black line for clear reference
🔧 How to Use?
1️⃣ Add this indicator to your chart on TradingView
2️⃣ Observe EMA Clouds for trend confirmation
3️⃣ Follow the Trend Dashboard for easy decision-making
4️⃣ Use in combination with other indicators like RSI or Volume for better confirmation
⚡ Best Suited For?
✅ Day Traders & Swing Traders – Quickly spot reversals and trend shifts
✅ Trend Followers – Stay in sync with the dominant trend
✅ Algo Traders – Can be used as a base for automated strategies
📌 Notes
⚠️ This indicator does not generate buy/sell signals! It is meant to enhance trend visualization.
🚀 Best results when used with other confluence factors like price action, support/resistance, and volume analysis.
👉 If you find this indicator useful, don’t forget to like & comment! 🚀
Happy Trading! 📊🔥
Combined WMA and ADX//@version=6
indicator("Combined WMA and ADX", shorttitle="WMA & ADX", overlay=true, timeframe="", timeframe_gaps=true)
// --- WMA Inputs ---
lenWMA = input.int(9, minval=1, title="WMA Length")
src = input(close, title="WMA Source")
offset = input.int(title="WMA Offset", defval=0, minval=-500, maxval=500, display=display.data_window)
// --- ADX Inputs ---
adxlen = input(14, title="ADX Smoothing")
dilen = input(14, title="DI Length")
// --- WMA Calculation ---
outWMA = ta.wma(src, lenWMA)
// --- ADX and DI Calculation ---
dirmov(len) =>
up = ta.change(high)
down = -ta.change(low)
plusDM = na(up) ? na : (up > down and up > 0 ? up : 0)
minusDM = na(down) ? na : (down > up and down > 0 ? down : 0)
truerange = ta.rma(ta.tr, len)
plus = fixnan(100 * ta.rma(plusDM, len) / truerange)
minus = fixnan(100 * ta.rma(minusDM, len) / truerange)
adx(dilen, adxlen) =>
= dirmov(dilen)
sum = plus + minus
adx = 100 * ta.rma(math.abs(plus - minus) / (sum == 0 ? 1 : sum), adxlen)
adx
sigADX = adx(dilen, adxlen)
// --- Plot WMA and ADX ---
plot(outWMA, title="WMA", color=color.blue, offset=offset)
plot(sigADX, title="ADX", color=color.red)
Live Orderbook Levels (BPS Adjustable)Shows live orderbook based on adjustable levels
Min basis points
max basis points
number of levels
Volume Delta & RSIVolume Delta & Cumulative Volume Delta (CVD)
Volume Delta: Calculates buy and sell volumes based on price movements. Plots these volumes as columns.
Cumulative Volume Delta: Uses lower timeframe data to calculate and plot cumulative volume delta (CVD) candles. Includes error-checking for missing volume data.
Volume Delta Table (Optional): Displays buy, sell, and cumulative volumes in a table.
RSI & Divergence
RSI Calculation: Computes the RSI based on price changes and plots it with upper, middle, and lower bands.
Smoothing MA (Optional): Adds various moving averages (SMA, EMA, etc.) and Bollinger Bands to the RSI plot.
Divergence Calculation (Optional): Identifies and plots bullish and bearish divergences based on RSI and price pivots. Sets alerts for these divergences.
RSI Table (Optional): Displays the current RSI value in a table.
AVWAP Distance (MACD Style)This indicator measures the distance of two AVWAP just like how MACD measures the distance between 2 MA's.
Mile Runner - Swing Trade LONGMile Runner - Swing Trade LONG Indicator - By @jerolourenco
Overview
The Mile Runner - Swing Trade LONG indicator is designed for swing traders who focus on LONG positions in stocks, BDRs (Brazilian Depositary Receipts), and ETFs. It provides clear entry signals, stop loss, and take profit levels, helping traders identify optimal buying opportunities with a robust set of technical filters. The indicator is optimized for daily candlestick charts and combines multiple technical analysis tools to ensure high-probability trades.
Key Features
Entry Signals: Visualized as green triangles below the price bars, indicating a potential LONG entry.
Stop Loss and Take Profit Levels: Automatically plotted on the chart for easy reference.
Stop Loss: Based on the most recent pivot low (support level).
Take Profit: Calculated using a Fibonacci-based projection from the entry price to the stop loss.
Trend and Momentum Filters: Ensures trades align with the prevailing trend and have sufficient momentum.
Volume and Volatility Confirmation: Verifies market interest and price movement potential.
How It Works
The indicator uses a combination of technical tools to filter and confirm trade setups:
Exponential Moving Averages (EMAs):
A short EMA (default: 9 periods) and a long EMA (default: 21 periods) identify the trend.
A bullish crossover (EMA9 crosses above EMA21) signals a potential upward trend.
Money Flow Index (MFI):
Confirms buying pressure when MFI > 50.
Average True Range (ATR):
Ensures sufficient volatility by checking if ATR exceeds its 20-period moving average.
Volume:
Confirms market interest when volume exceeds its 20-period moving average.
Pivot Lows:
Identifies recent support levels (pivot lows) to set the stop loss.
Ensures the pivot low is recent (within the last 10 bars by default).
Additional Trend Filter:
Confirms the long EMA is rising, reinforcing the bullish trend.
Inputs and Customization
The indicator is highly customizable, allowing traders to tailor it to their strategies:
EMA Periods: Adjust the short and long EMA lengths.
ATR and MFI Periods: Modify lookback periods for volatility and momentum.
Pivot Lookback: Control the sensitivity of pivot low detection.
Fibonacci Level: Adjust the Fibonacci retracement level for take profit.
Take Profit Multiplier: Fine-tune the aggressiveness of the take profit target.
Max Pivot Age: Set the maximum bars since the last pivot low for relevance.
Usage Instructions
Apply the Indicator:
Add the "Mile Runner - Swing Trade LONG" indicator to your TradingView chart.
Best used on daily charts for swing trading.
Look for Entry Signals:
A green triangle below the price bar signals a potential LONG entry.
Set Stop Loss and Take Profit:
Stop Loss: Red dashed line indicating the stop loss level.
Take Profit: Purple dashed line showing the take profit level.
Monitor the Trade:
The entry price is marked with a green dashed line for reference.
Adjust trade management based on the plotted levels.
Set Alerts:
Use the built-in alert condition to get notified of new LONG entry signals.
Important Notes
For LONG Positions Only : Designed exclusively for swing trading LONG positions.
Timeframe: Optimized for daily charts but can be tested on other timeframes.
Asset Types: Works best with stocks, BDRs, and ETFs.
Risk Management: Always align stop loss and take profit levels with your risk tolerance.
Why Use Mile Runner?
The Mile Runner indicator simplifies swing trading by integrating trend, momentum, volume, and volatility filters into one user-friendly tool. It helps traders:
Identify high-probability entry points.
Establish clear stop loss and take profit levels.
Avoid low-volatility or low-volume markets.
Focus on assets with strong buying pressure and recent support.
By following its signals and levels, traders can make informed decisions and enhance their swing trading performance. Customize the inputs and test it on your favorite assets—happy trading!
NAMAZOV ELSHAD STRONG SİGNALIndicator Overview: "1H Precise Breakout with Volume (No MA Line)"
This is a custom TradingView indicator designed for the 1-hour (1H) timeframe, aimed at providing precise and low-risk trading signals without cluttering the chart. It uses a hidden Exponential Moving Average (EMA 34) and volume confirmation to detect breakout opportunities, while also marking trend direction and reversal points.
Purpose: Identifies buy and sell opportunities with reduced false signals.
Key Features:
Hidden EMA (34): A 34-period EMA calculates breakouts but remains invisible to keep the chart clean.
Volume Filter: Signals only appear when volume exceeds its 20-period average by 20%, ensuring strong market momentum.
Trend Direction: Small arrows (green ↑ for bullish, red ↓ for bearish) show the trend based on price relative to the EMA.
Reversal Points: Non-repainting pivot highs (red ▼) and lows (green ▲) mark potential tops and bottoms.
Breakout Signals: "BUY" (lime label) when price crosses above the EMA from a downtrend, and "SELL" (fuchsia label) when price crosses below from an uptrend, both with volume confirmation.
Non-Repainting: Signals are confirmed after a set lookback period (default 5), preventing changes after they appear.
Usage: Ideal for traders who want minimal chart elements and reliable, volume-backed signals on a 1H chart.
Bitcoin Market Dominance with Moving AveragesBitcoin Market Dominance with Moving Averages
This Pine Script indicator tracks Bitcoin market dominance by calculating the percentage of Bitcoin's market capitalization relative to the total cryptocurrency market cap.
Features:
✅ Real-time BTC Dominance Calculation: Displays the percentage of Bitcoin’s market share.
✅ Moving Averages: Includes two customizable moving averages for trend analysis.
✅ Visual Alerts: Background colors indicate different dominance levels:
Green: BTC dominance is above 50% (strong BTC market control).
Red: BTC dominance is below 40% (altcoins gaining strength).
Orange: BTC dominance is between 40%-50% (neutral zone).
This tool helps traders analyze Bitcoin’s influence on the crypto market and identify key dominance trends.
Combined BB, RSI, and MACDit is an combination of three indicators which will give an edge to your trading system ,so lets make our community the biggest technical trading community....
Sunday Open & Intraday Rectangles (Customizable Colors)sunday open...london open candlle and 13:00 open candlee
Trendline Break + Sentiment OscillatorFrank Batista Oscilator, trendline breaking buying and selling zones
Galactic Momentum Flux SignalsMomentum Flux:
Measures the acceleration of price momentum (second derivative of price). A high positive flux means the "spaceship" is blasting off, while a negative flux signals a crash.
Threshold (e.g., 1.5) filters out weak moves.
Volatility Gravity:
Uses the Average True Range (ATR) normalized to price to detect when the market’s "gravitational field" is strong (high volatility = strong trend).
Only trades when gravity exceeds the threshold, avoiding choppy markets.
Cosmic Alignment:
A creative twist: simulates a lunar cycle using a sine wave over a 28-bar period (adjustable). Trades align with "waxing" (rising) phases for longs and "waning" (falling) phases for shorts.
This adds a rhythmic filter, mimicking how celestial events might influence human behavior or market psychology.
Entry Rules:
Long: Momentum accelerates upward (flux > 1.5), volatility is high (gravity > 0.8), and the lunar phase is waxing.
Short: Momentum accelerates downward (flux < -1.5), volatility is high, and the lunar phase is waning.
Exit Rules:
Close when momentum reverses (flux crosses zero) or volatility drops too low (gravity weakens), indicating the trend is losing steam.
Why It’s "Out of This World"
Unconventional Metrics: Combining second-order momentum (flux) with normalized volatility is rare and catches explosive moves early.
Celestial Twist: The lunar cycle filter is a wild card—while not literally tied to the moon, it introduces a cyclical timing mechanism that’s unique and could resonate with market rhythms.
Adaptive: The strategy thrives in trending markets (high gravity) and avoids sideways traps, making it potentially more effective than standard oscillators.
雙均線交叉交易策略 (適用免費版)//@version=5
indicator("雙均線交叉交易策略 (適用免費版)", overlay=true)
// === 設定均線參數 ===
shortLength = input(20, title="短期均線 (EMA20)")
longLength = input(50, title="長期均線 (EMA50)")
// === 計算均線 ===
shortEMA = ta.ema(close, shortLength)
longEMA = ta.ema(close, longLength)
// === 交叉訊號 ===
longCondition = ta.crossover(shortEMA, longEMA) // 黃金交叉 (買入)
shortCondition = ta.crossunder(shortEMA, longEMA) // 死亡交叉 (賣出)
// === 畫出買賣訊號箭頭 ===
plot(shortEMA, title="短期 EMA (20)", color=color.blue, linewidth=2)
plot(longEMA, title="長期 EMA (50)", color=color.red, linewidth=2)
plotshape(series=longCondition, location=location.belowbar, color=color.green, style=shape.labelup, title="買入信號")
plotshape(series=shortCondition, location=location.abovebar, color=color.red, style=shape.labeldown, title="賣出信號")
BTC/Gold RatioThis Indicator displays the ratio between Bitcoin and Gold.
Grok was the writer, I, Felipe Robayo, was the prompter, tester and reporter to Grok to emit a new script, and now the publisher.
We also wrote the BTC/Gold Ratio Price Chart as well as the Gold/BTC Ratio.
You can find those as well.