High Accuracy Trading Indicator//@version=5
indicator("High Accuracy Trading Indicator", overlay=true)
// تنظیمات پارامترها
rsiLength = input.int(14, title="RSI Length")
rsiOverbought = input.int(70, title="RSI Overbought Level")
rsiOversold = input.int(30, title="RSI Oversold Level")
maLength = input.int(20, title="Moving Average Length")
volumeThreshold = input.float(1.5, title="Volume Threshold Multiplier")
// محاسبه RSI
rsiValue = ta.rsi(close, rsiLength)
// محاسبه مووینگ اوریج
maValue = ta.sma(close, maLength)
// محاسبه حجم میانگین
avgVolume = ta.sma(volume, maLength)
highVolume = volume > avgVolume * volumeThreshold
// شرایط خرید و فروش
buySignal = (rsiValue < rsiOversold) and (close > maValue) and highVolume
sellSignal = (rsiValue > rsiOverbought) and (close < maValue) and highVolume
// نمایش سیگنالها
plotshape(series=buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// رسم مووینگ اوریج
plot(maValue, color=color.blue, title="Moving Average")
// هشدار صوتی
alertcondition(buySignal, title="Buy Alert", message="Buy Signal Detected!")
alertcondition(sellSignal, title="Sell Alert", message="Sell Signal Detected!")
Indicadores de Banda
smetdtrading[3bich]sme entry kết hợp giữa smc và fibo, lấy từ nguồn của luxago , ae có thể kết hợp điểm vào lệnh là fibo ob , tặng ae TD tranding nhân dịp năm mới 2025
Bollinger Bands Strategy with SL/TPOverview
This code implements a trading strategy based on Bollinger Bands with customizable Stop Loss (SL) and Take Profit (TP) levels. It's designed to work on TradingView's Pine Script version 6.
Key Parameters
length: The period for calculating the Bollinger Bands (default: 20)
mult: The multiplier for the standard deviation (default: 2.0)
direction: Strategy direction (-1 for short only, 0 for both, 1 for long only)
sl_pips: Stop Loss in pips
tp_pips: Take Profit in pips
How It Works
The strategy calculates Bollinger Bands based on the closing price.
It enters a long position when the price crosses above the lower Bollinger Band.
It enters a short position when the price crosses below the upper Bollinger Band.
Stop Loss and Take Profit are set for each trade based on the input parameters.
Usage Instructions
Copy this code into a new TradingView Pine Script editor.
Adjust the input parameters as needed:
Modify the Bollinger Bands period and multiplier
Set your desired Stop Loss and Take Profit levels in pips
Choose the strategy direction (long, short, or both)
Apply the script to your desired chart and timeframe.
Use TradingView's strategy tester to backtest and optimize the strategy.
Monitor the strategy's performance and adjust parameters as necessary.
Important Notes
The strategy uses OCAs (One-Cancels-All orders) to manage entries.
It automatically cancels pending orders when conditions are not met.
Always test thoroughly on historical data before using in live trading.
Consider market conditions and your risk tolerance when setting parameters.
Kripto Trend, Bölge & Aşırı Alım-Satımaşırı alım satım ve hangi yöne meyilli olduğunu gösteren bir indikatör test ve geliştirme aşamasında..
lidos Technical Indicator
// حساب المؤشرات الفنية
sma = ta.sma(close, sma_length)
rsi = ta.rsi(close, rsi_length)
= ta.macd(close, macd_fast, macd_slow, macd_signal)
volume_normalized = na(volume) ? 0 : volume // تأكد من أن الحجم ليس NaN
MA + RSI with Highlight and Value DisplayThis is my indicator, it can help you succeed in trading. You just need to download it and rely on the reversal of 2 Ma lines and backtest many times to have a method for you.
Stock Sector ETF with IndicatorsThe Stock Sector ETF with Indicators is a versatile tool designed to track the performance of sector-specific ETFs relative to the current asset. It automatically identifies the sector of the underlying symbol and displays the corresponding ETF’s price action alongside key technical indicators. This helps traders analyze sector trends and correlations in real time.
---
Key Features
Automatic Sector Detection:
Fetches the sector of the current asset (e.g., "Technology" for AAPL).
Maps the sector to a user-defined ETF (default: SPDR sector ETFs) .
Technical Indicators:
Simple Moving Average (SMA): Tracks the ETF’s trend.
Bollinger Bands: Highlights volatility and potential reversals.
Donchian High (52-Week High): Identifies long-term resistance levels.
Customizable Inputs:
Adjust indicator parameters (length, visibility).
Override default ETFs for specific sectors.
Informative Table:
Displays the current sector and ETF symbol in the bottom-right corner.
---
Input Settings
SMA Settings
SMA Length: Period for calculating the Simple Moving Average (default: 200).
Show SMA: Toggle visibility of the SMA line.
Bollinger Bands Settings
BB Length: Period for Bollinger Bands calculation (default: 20).
BB Multiplier: Standard deviation multiplier (default: 2.0).
Show Bollinger Bands: Toggle visibility of the bands.
Donchian High (52-Week High)
Daily High Length: Days used to calculate the high (default: 252, approx. 1 year).
Show High: Toggle visibility of the 52-week high line.
Sector Selections
Customize ETFs for each sector (e.g., replace XLU with another utilities ETF).
---
Example Use Cases
Trend Analysis: Compare a stock’s price action to its sector ETF’s SMA for trend confirmation.
Volatility Signals: Use Bollinger Bands to spot ETF price squeezes or breakouts.
Sector Strength: Monitor if the ETF is approaching its 52-week high to gauge sector momentum.
Enjoy tracking sector trends with ease! 🚀
XAUUSD 5m超短线无延迟策略指标策略思路说明:
趋势与无延迟指标(Hull MA):
采用 Hull 均线(HMA)判断价格短期趋势。当收盘价向上穿越 HMA 时,预示短线多头起势;向下穿越则为空头信号。
动量过滤(MACD 与 RSI):
MACD 使用快、慢EMA之差,并观察直方图在零轴上方或下方判断动能。
RSI 判断市场是否处于强势(RSI>50)或弱势(RSI<50)状态。
成交量突增判断:
为捕捉市场大资金介入的信号,设定当前成交量需大于一定周期内成交量均值的倍数(默认1.5倍),当价格波动同时伴随明显放量,则信号更为可靠。
信号条件:
Buy 信号: 当收盘价上穿 HMA,MACD直方图>0、RSI>50,并且当前成交量大于过去20根K线均值×1.5时,认为多头信号成立。
Sell 信号: 当收盘价下穿 HMA,MACD直方图<0、RSI<50,并且成交量满足放量条件时,认为空头信号成立。
注: 因盈利目标仅1~3个点,要求信号必须准确,因此多重条件同时满足后才发出提示。
Auto Pivot Levels CPR1️⃣ Inputs for User Preferences
pinescript
Copy
Edit
show_daily = input(true, title="Show Daily Pivots")
show_weekly = input(true, title="Show Weekly Pivots")
show_monthly = input(true, title="Show Monthly Pivots")
Users can turn ON/OFF pivot levels for different timeframes.
2️⃣ Detects Timeframe (Auto-Switching)
pinescript
Copy
Edit
is_daily = timeframe.isintraday and timeframe.multiplier <= 15
is_weekly = timeframe.isintraday and timeframe.multiplier > 15 and timeframe.multiplier <= 75
is_monthly = not timeframe.isintraday or timeframe.multiplier > 75
Determines if the chart is intraday, weekly, or monthly.
This helps the script automatically switch between daily, weekly, and monthly pivot levels.
3️⃣ Function to Calculate Pivot Levels
pinescript
Copy
Edit
calculate_pivots(high, low, close) =>
pivot = (high + low + close) / 3
bc = (high + low) / 2
tc = (pivot - bc) + pivot
r1 = (2 * pivot) - low
s1 = (2 * pivot) - high
r2 = pivot + (high - low)
s2 = pivot - (high - low)
r3 = high + 2 * (pivot - low)
s3 = low - 2 * (high - pivot)
r4 = high + 3 * (pivot - low)
s4 = low - 3 * (high - pivot)
Uses high, low, and close prices from the previous period (day, week, month) to compute pivot levels.
Returns Pivot Point (PP), Central Pivot Range (BC, TC), 4 Resistance (R1-R4), and 4 Support (S1-S4) levels.
4️⃣ Fetching Previous Period Data
pinescript
Copy
Edit
daily_high = request.security(syminfo.tickerid, "D", high )
daily_low = request.security(syminfo.tickerid, "D", low )
daily_close = request.security(syminfo.tickerid, "D", close )
Uses request.security() to get previous day/week/month high, low, and close prices.
5️⃣ Auto-Switching Logic for Pivot Levels
pinescript
Copy
Edit
pivot = is_daily ? daily_pivot : is_weekly ? weekly_pivot : is_monthly ? monthly_pivot : na
r1 = is_daily ? daily_r1 : is_weekly ? weekly_r1 : is_monthly ? monthly_r1 : na
s1 = is_daily ? daily_s1 : is_weekly ? weekly_s1 : is_monthly ? monthly_s1 : na
Dynamically assigns the correct pivot levels based on current timeframe.
6️⃣ Plots Pivot Levels on Chart
pinescript
Copy
Edit
plot(pivot, color=color.blue, title="Pivot", linewidth=2)
plot(r1, color=color.red, title="R1", linewidth=1)
plot(s1, color=color.green, title="S1", linewidth=1)
Uses plot() to draw pivot levels, support, and resistance levels.
Color coding:
Blue → Pivot
Red → Resistance (R1–R4)
Green → Support (S1–S4)
7️⃣ Plots Previous Highs & Lows (Circles on Chart)
pinescript
Copy
Edit
plot(daily_high_plot, color=color.red, title="Previous Daily High", linewidth=2, style=plot.style_circles)
Circles mark previous high and low for daily, weekly, and monthly periods.
🎯 Final Output on TradingView Chart
✅ Auto-adjusts pivot levels based on chart timeframe
✅ Displays support & resistance levels dynamically
✅ Marks previous period highs & lows with circles
✅ Works with any intraday or higher timeframe chart
🔥 Why Use This Indicator?
✔ Automatically selects the correct pivot timeframe
✔ Saves time by avoiding manual calculations
✔ Helps traders identify key price levels for entries/exits
✔ Great for intraday, swing, and positional trading
📈 How to Find Buying & Selling Opportunities Using This Auto Pivot Levels Indicator
This Auto Pivot Levels indicator helps traders identify support & resistance zones, which can be used for buying and selling decisions.
1️⃣ Buying Opportunities (Long Trades)
✅ Buy when price is near support levels (S1, S2, S3, S4)
If the price approaches S1, S2, or S3 and shows a reversal, it’s a potential buying opportunity.
Look for bullish candlestick patterns (e.g., Hammer, Bullish Engulfing) or oscillator confirmation (e.g., RSI oversold).
✅ Buy on a breakout above pivot or resistance (Pivot, R1, R2)
If the price breaks above the Pivot with strong volume, it indicates bullish momentum.
A breakout above R1 can push the price toward R2 and R3.
🔹 Example Buy Strategy:
Buy when the price bounces from S1 or S2 with a bullish candlestick pattern.
Buy on a breakout above Pivot (PP) or R1 with strong volume.
Stop-loss (SL): Below the previous swing low or S2.
Target (TP): Next resistance level (R1, R2, R3).
2️⃣ Selling Opportunities (Short Trades)
❌ Sell when price is near resistance levels (R1, R2, R3, R4)
If the price approaches R1, R2, or R3 and fails to break, it’s a selling opportunity.
Look for bearish candlestick patterns (e.g., Shooting Star, Bearish Engulfing) or oscillator confirmation (e.g., RSI overbought).
❌ Sell on a breakdown below pivot or support
If the price breaks below the Pivot with strong volume, it indicates bearish momentum.
A breakdown below S1 can push the price toward S2 and S3.
🔹 Example Sell Strategy:
Sell when the price gets rejected from R1 or R2 with a bearish candlestick pattern.
Sell on a breakdown below Pivot (PP) or S1 with strong volume.
Stop-loss (SL): Above the previous swing high or R2.
Target (TP): Next support level (S1, S2, S3).
3️⃣ Example Trade Setups
Scenario Entry Point Stop-Loss (SL) Target (TP)
Buy at Support Bounce from S1 or S2 Below S2 R1 or Pivot
Buy Breakout Break above Pivot or R1 Below Pivot R2 or R3
Sell at Resistance Rejection at R1 or R2 Above R2 S1 or Pivot
Sell Breakdown Break below Pivot or S1 Above Pivot S2 or S3
📌 Additional Confirmation for High-Accuracy Trades
✔ RSI (Relative Strength Index):
Buy when RSI < 30 (oversold) near support.
Sell when RSI > 70 (overbought) near resistance.
✔ MACD (Moving Average Convergence Divergence):
Buy when MACD crosses above Signal Line near support.
Sell when MACD crosses below Signal Line near resistance.
✔ Volume Confirmation:
Strong buying volume at support increases the chance of reversal.
Strong selling volume at resistance confirms a potential drop.
🎯 Conclusion
Support levels (S1, S2, S3) → Potential Buy Zones
Resistance levels (R1, R2, R3) → Potential Sell Zones
Pivot Breakout → Bullish
Pivot Breakdown → Bearish
Confirm with RSI, MACD, and Volume for best results.
🚀 Using this strategy, you can trade BankNIFTY or any market effectively! Let me know if you need more custom rules. 🎯
Leading Indicator Strategy – Daily Signals It implements the daily RSI strategy with buy/sell signals, alert integration, and backtesting capability. You can copy-paste this into the TradingView Pine Editor. Remember to select “Indian stock” symbol and 1D timeframe on your chart for intended use.
Usage: After adding the script to your chart, use the Strategy Tester to review historical performance. You can modify input parameters in the script’s settings to optimize as needed. To set up real-time alerts, open the Alerts menu in TradingView, choose this strategy under Condition, and select “Order fills or alert() function calls” to trigger notifications on each buy/sell signal
. This will pop-up or send an alert whenever a new “BUY” or “SELL” label appears on the chart, allowing you to act quickly.
By combining a proven leading indicator (RSI) with sensible filters and clear visuals, this script provides an easy-to-use tool for swing trading Indian stocks on a daily timeframe.
Crystal Cloud EMA - by Crystal Forex📢 Introducing the Crystal Cloud EMA Indicator! 🚀
This custom-built Ichimoku Cloud + EMA (50 & 200) hybrid indicator helps traders identify trends, support/resistance zones, and potential trade opportunities with high accuracy.
🔹 Key Features:
✅ Ichimoku Cloud: Dynamic support/resistance with Senkou Span A & B
✅ EMA 50 & EMA 200: Strong trend confirmation & cross signals
✅ Bullish/Bearish Cloud Zones: Visual color-coded trend direction
✅ Ideal for Forex, Crypto, and Stocks Trading
📌 How to Use?
🔹 Buy Signal: When price is above the cloud & EMA 50 crosses EMA 200 upward 📈
🔹 Sell Signal: When price is below the cloud & EMA 50 crosses EMA 200 downward 📉
🔹 Cloud Breakout: Strong momentum shift when price breaks through the cloud
📽 Watch the Full Video Tutorial on My YouTube Channel! 🎥 CrystalForex22
youtu.be
🔔 Don’t forget to like, comment, and follow for more powerful indicators! 💡
#TradingView #Forex #Crypto #Ichimoku #EMA #CrystalForex
Scalper Pro IndicatorI'll create a TradingView indicator tailored for scalping. It will incorporate key elements such as:
Moving Averages (EMA 9 & EMA 21) for trend confirmation
VWAP (Volume Weighted Average Price) for fair value tracking
RSI & Stochastic for momentum and overbought/oversold conditions
Fair Value Gap (FVG) detection to highlight high-probability zones
Buy/Sell signals based on confluence of these factors
AKR - BajajFinServ Buy/Sell Alerts on Previous High/LowThis indicator will work on BajajFinserv script. It will give buy or sell signal based on prev day high and low.
Custom Volume IndicatorThe Custom Volume Indicator is a TradingView Pine Script indicator that visualizes market volume using a color-coded histogram. It helps traders analyze volume trends and confirm price movements.
Features:
Volume Histogram: Displays volume bars in red or green.
Green bars: Volume has increased compared to the previous bar.
Red bars: Volume has decreased compared to the previous bar.
Volume Moving Average (SMA 20): A 20-period SMA is overlaid on the volume bars, providing a smoother trend indication.
This indicator is useful for identifying volume spikes, trend confirmations, and potential reversals.
Bull & Bear Run Detector (More Flexible for 1H, 4H, 1D)Bull & Bear Run Detector (More Flexible for 1H, 4H, 1D)
Forex Prince by Prince 1Greetings Friends,
Disclaimer: This is not financial advice or a trading recommendation. The information provided is for educational purposes only. Always conduct your own research and consult with a qualified financial advisor before making any investment decisions. Trade at your own risk. 📊📉📈
Al Sat Sinyali ve Para Giriş Çıkışı//@version=5
indicator("Al Sat Sinyali ve Para Giriş Çıkışı", overlay=true)
// Parametreler
shortLength = input.int(13, title="Kısa Periyot MA (13 Gün)")
mediumLength = input.int(8, title="Orta Periyot MA (8 Gün)")
longLength = input.int(5, title="Kısa Orta MA (5 Gün)")
longTermLength = input.int(55, title="Uzun Periyot MA (55 Gün)")
src = input(close, title="Veri Kaynağı")
// Hareketli Ortalamalar
ma13 = ta.sma(src, shortLength)
ma8 = ta.sma(src, mediumLength)
ma5 = ta.sma(src, longLength)
ma55 = ta.sma(src, longTermLength)
// Al/Sat Sinyalleri
longSignal = ma13 > ma8 and ma8 > ma5 // Fiyat 13 MA, 8 MA ve 5 MA üstünde
shortSignal = ma13 < ma8 and ma8 < ma5 // Fiyat 13 MA, 8 MA ve 5 MA altında
// Temkinli tut sinyali
cautionSignal = ma13 > ma8 and ma8 < ma5 // Fiyat 13-8 üstü, 5-8 altı
// Arka Plan Renkleri
bgcolor(ma55 > src ? color.new(color.green, 90) : color.new(color.red, 90))
// Al/Sat ve Temkinli Tut Sinyalleri
plotshape(longSignal, color=color.green, style=shape.labelup, location=location.belowbar, text="AL", textcolor=color.white, size=size.small)
plotshape(shortSignal, color=color.red, style=shape.labeldown, location=location.abovebar, text="SAT", textcolor=color.white, size=size.small)
plotshape(cautionSignal, color=color.orange, style=shape.triangledown, location=location.abovebar, text="TEMKİN", textcolor=color.white, size=size.small)
// 55 Günlük Hareketli Ortalama
plot(ma55, color=color.blue, linewidth=2, title="55 Günlük MA")
// Para Giriş-Çıkış Farkı (Volatilite/Değişim farkı)
volumeDelta = volume - ta.sma(volume, 14) // 14 periyotluk hacim farkı
plot(volumeDelta, color=color.purple, style=plot.style_histogram, linewidth=2, title="Para Giriş/Çıkış Farkı")
Buy entry indicator - OAA 04هذا المؤشر مصمم خصيصًا لتحديد نقاط الدخول المحتملة لصفقات الشراء في سوق التداول. يعتمد المؤشر على المتوسط المتحرك الأسي (EMA) لسعر الإغلاق، ويقوم بتحديد إشارات الشراء عندما يلامس سعر الإغلاق هذا المتوسط.
This indicator is specifically designed to identify potential entry points for buy trades in the trading market. The indicator is based on the Exponential Moving Average (EMA) of the closing price, and it generates buy signals when the closing price touches this average.