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!")
Breadth Indicators
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.
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
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..
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.
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. 🎯
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个点,要求信号必须准确,因此多重条件同时满足后才发出提示。
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.
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
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
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! 🚀
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.
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.
Volumen de Liquidez Oscilador (VLO) MejoradoDescription:
The Liquidity Volume Oscillator (VLO) is a technical indicator that combines price position and volume dynamics to gauge market liquidity and momentum. It works by:
Price Normalization: Determining where the current closing price sits relative to the highest and lowest prices over a specified period, scaling the value between -1 and 1.
Volume Normalization: Normalizing the current volume within its recent range to weigh the price position based on trading activity.
Smoothing: Applying an exponential moving average to reduce noise and highlight underlying trends.
A positive VLO indicates that the price is trading in the upper part of its recent range, supported by significant volume, which may signal strength. Conversely, a negative VLO suggests that the price is in the lower range with lower volume intensity, potentially signaling weakness.
Descripción:
El Oscilador de Liquidez de Volumen (VLO) es un indicador técnico que combina la posición del precio y la dinámica del volumen para evaluar la liquidez y el impulso del mercado. Funciona de la siguiente manera:
Normalización del Precio: Determina en qué parte del rango (entre el máximo y el mínimo) se encuentra el precio de cierre actual, escalándolo a un valor entre -1 y 1.
Normalización del Volumen: Normaliza el volumen actual dentro de su rango reciente, ponderando la posición del precio según la actividad de negociación.
Suavizado: Aplica una media exponencial para reducir el ruido y resaltar las tendencias subyacentes.
Un VLO positivo indica que el precio se negocia en la parte alta de su rango reciente, respaldado por un volumen significativo, lo que puede señalar fortaleza. En cambio, un VLO negativo sugiere que el precio se encuentra en la parte baja del rango y con menor intensidad de volumen, lo que puede señalar debilidad.
Uso:
Los traders pueden utilizar el VLO para:
Identificar Tendencias: Observar si el mercado muestra una tendencia alcista (VLO positivo) o bajista (VLO negativo).
Detectar Reversiones: Buscar cruces alrededor de la línea cero como posibles señales de reversión.
Evaluar la Liquidez: Comprender los periodos de alta o baja liquidez analizando cómo el volumen respalda los movimientos de precio.
Ayuda Visual: El cambio de color de fondo (verde para valores positivos y rojo para negativos) proporciona una representación visual inmediata del sentimiento del mercado.
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. 📊📉📈
shinninggoxhack scalping
Absolutely! Let's create a Pine Script indicator that includes buy and sell signals, along with take profit and stop loss levels. This will help you manage your trades effectively. Here’s a basic example to get you started:
//@version=5
indicator("Buy Sell Signal with TP and SL", overlay=true)
// Input parameters
takeProfitPercent = input(1.0, title="Take Profit (%)") / 100
stopLossPercent = input(1.0, title="Stop Loss (%)") / 100
// Simple Moving Average for buy/sell signals
smaLength = input(14, title="SMA Length")
sma = ta.sma(close, smaLength)
// Buy and Sell conditions
buySignal = ta.crossover(close, sma)
sellSignal = ta.crossunder(close, sma)
// Variables to hold entry price
var float entryPrice = na
// Entry logic
if (buySignal)
entryPrice := close
if (sellSignal)
entryPrice := na
// Calculate Take Profit and Stop Loss levels
takeProfitLevel = entryPrice * (1 + takeProfitPercent)
stopLossLevel = entryPrice * (1 - stopLossPercent)
// Plotting Buy and Sell signals
plotshape(buySignal, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, text="BUY")
plotshape(sellSignal, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, text="SELL")
// Plotting Take Profit and Stop Loss levels
plot(entryPrice ? takeProfitLevel : na, color=color.blue, title="Take Profit", style=plot.style_stepline)
plot(entryPrice ? stopLossLevel : na, color=color.orange, title="Stop Loss", style=plot.style_stepline)
Explanation of the Code:
Inputs:
Take Profit (%): Set the percentage for your take profit level.
Stop Loss (%): Set the percentage for your stop loss level.
SMA Length: The length of the Simple Moving Average used for generating buy/sell signals.
Buy and Sell Conditions:
A buy signal is generated when the price crosses above the SMA.
A sell signal is generated when the price crosses below the SMA.
Entry Price:
The entry price is recorded when a buy signal is triggered. It resets when a sell signal occurs.
Take Profit and Stop Loss Levels:
These levels are calculated based on the entry price and the specified percentages.
Plotting:
Buy and sell signals are plotted on the chart with labels.
Take profit and stop loss levels are displayed as lines on the chart.
Next Steps:
You can customize the SMA length and the percentages for take profit and stop loss according to your trading strategy.
Test the script on different time frames and assets to see how it performs.
TLP Swing Chart V2Andean Medjedovic, 22 tuổi từ Canada, bị cáo buộc đứng sau vụ tấn công lấy hơn 48 triệu USD từ người dùng KyberSwap.
Vụ hack xảy ra từ năm 2023 và thông tin về kẻ tấn công được Bộ Tư pháp Mỹ (DOJ) công bố ngày 3/2 trên website và tại tòa án liên bang ở New York. Nam thanh niên Medjedovic bị cáo buộc lợi dụng lỗ hổng của hai nền tảng tài chính phi tập trung (DeFi) là KyberSwap và Indexed Finance để chiếm đoạt số tiền khoảng 65 triệu USD. Trong đó, khoản đánh cắp từ KyberSwap là 48,4 triệu USD.
Trần Huy Vũ, nhà đồng sáng lập và CEO của Kyber Network, cho biết hiện vẫn chưa thu hồi lại được toàn bộ tiền bị đánh cắp từ hacker. Tuy nhiên, nền tảng cũng đã chủ động hoàn thành việc đền bù cho toàn bộ người dùng ngày 2/2.