RSI 10 mã thể hiện 4 khung thời gian//@version=6
indicator("Multi-Timeframe RSI with Divergence Alerts in Table", overlay=true)
// Inputs
rsiLength = input.int(14, title="RSI Length")
source = input.source(close, title="Source")
// Inputs for custom symbols (10 pairs)
symbol1 = input.string("BTC/USDT", title="Symbol 1")
symbol2 = input.string("ETH/USDT", title="Symbol 2")
symbol3 = input.string("LTC/USDT", title="Symbol 3")
symbol4 = input.string("XRP/USDT", title="Symbol 4")
symbol5 = input.string("ADA/USDT", title="Symbol 5")
symbol6 = input.string("SOL/USDT", title="Symbol 6")
symbol7 = input.string("DOGE/USDT", title="Symbol 7")
symbol8 = input.string("MATIC/USDT", title="Symbol 8")
symbol9 = input.string("BNB/USDT", title="Symbol 9")
symbol10 = input.string("AVAX/USDT", title="Symbol 10")
// RSI Calculations for custom symbols
rsi(symbol, timeframe) =>
request.security(symbol, timeframe, ta.rsi(source, rsiLength))
// RSI Calculations for timeframes (H1, H4, D1, W) for the custom symbols
rsi1H1 = rsi(symbol1, "60")
rsi2H1 = rsi(symbol2, "60")
rsi3H1 = rsi(symbol3, "60")
rsi4H1 = rsi(symbol4, "60")
rsi5H1 = rsi(symbol5, "60")
rsi6H1 = rsi(symbol6, "60")
rsi7H1 = rsi(symbol7, "60")
rsi8H1 = rsi(symbol8, "60")
rsi9H1 = rsi(symbol9, "60")
rsi10H1 = rsi(symbol10, "60")
rsi1H4 = rsi(symbol1, "240")
rsi2H4 = rsi(symbol2, "240")
rsi3H4 = rsi(symbol3, "240")
rsi4H4 = rsi(symbol4, "240")
rsi5H4 = rsi(symbol5, "240")
rsi6H4 = rsi(symbol6, "240")
rsi7H4 = rsi(symbol7, "240")
rsi8H4 = rsi(symbol8, "240")
rsi9H4 = rsi(symbol9, "240")
rsi10H4 = rsi(symbol10, "240")
rsi1D1 = rsi(symbol1, "D")
rsi2D1 = rsi(symbol2, "D")
rsi3D1 = rsi(symbol3, "D")
rsi4D1 = rsi(symbol4, "D")
rsi5D1 = rsi(symbol5, "D")
rsi6D1 = rsi(symbol6, "D")
rsi7D1 = rsi(symbol7, "D")
rsi8D1 = rsi(symbol8, "D")
rsi9D1 = rsi(symbol9, "D")
rsi10D1 = rsi(symbol10, "D")
rsi1W = rsi(symbol1, "W")
rsi2W = rsi(symbol2, "W")
rsi3W = rsi(symbol3, "W")
rsi4W = rsi(symbol4, "W")
rsi5W = rsi(symbol5, "W")
rsi6W = rsi(symbol6, "W")
rsi7W = rsi(symbol7, "W")
rsi8W = rsi(symbol8, "W")
rsi9W = rsi(symbol9, "W")
rsi10W = rsi(symbol10, "W")
// Alert levels
upperLevel = 80
lowerLevel = 30
// Table creation (adjusted size to fit 10 symbols and 4 timeframes)
var table rsiTable = table.new(position.top_right, 15, 5, border_width=1) // Added 10 rows for symbols, and 4 columns for timeframes
// Functions for RSI status and color
fun_rsiStatus(rsiValue) =>
if (rsiValue > upperLevel)
"Overbought"
else if (rsiValue < lowerLevel)
"Oversold"
else
"Neutral"
fun_rsiColor(rsiValue) =>
if (rsiValue > upperLevel)
color.new(color.red, 0)
else if (rsiValue < lowerLevel)
color.new(color.green, 0)
else
color.new(color.gray, 50)
fun_textColor() =>
color.new(color.white, 0)
// Update Table headers
table.cell(rsiTable, 0, 0, "Symbol", text_color=fun_textColor(), bgcolor=color.new(color.gray, 70))
table.cell(rsiTable, 0, 1, "H1 RSI", text_color=fun_textColor(), bgcolor=color.new(color.gray, 70))
table.cell(rsiTable, 0, 2, "H4 RSI", text_color=fun_textColor(), bgcolor=color.new(color.gray, 70))
table.cell(rsiTable, 0, 3, "D1 RSI", text_color=fun_textColor(), bgcolor=color.new(color.gray, 70))
table.cell(rsiTable, 0, 4, "Weekly RSI", text_color=fun_textColor(), bgcolor=color.new(color.gray, 70))
// Display RSI for each symbol and timeframe
// Symbol 1
table.cell(rsiTable, 1, 0, symbol1, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 1, 1, str.tostring(rsi1H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi1H1))
table.cell(rsiTable, 1, 2, str.tostring(rsi1H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi1H4))
table.cell(rsiTable, 1, 3, str.tostring(rsi1D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi1D1))
table.cell(rsiTable, 1, 4, str.tostring(rsi1W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi1W))
// Symbol 2
table.cell(rsiTable, 2, 0, symbol2, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 2, 1, str.tostring(rsi2H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi2H1))
table.cell(rsiTable, 2, 2, str.tostring(rsi2H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi2H4))
table.cell(rsiTable, 2, 3, str.tostring(rsi2D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi2D1))
table.cell(rsiTable, 2, 4, str.tostring(rsi2W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi2W))
// Repeat for other symbols (3 to 10)...
// Symbol 3
table.cell(rsiTable, 3, 0, symbol3, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 3, 1, str.tostring(rsi3H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi3H1))
table.cell(rsiTable, 3, 2, str.tostring(rsi3H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi3H4))
table.cell(rsiTable, 3, 3, str.tostring(rsi3D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi3D1))
table.cell(rsiTable, 3, 4, str.tostring(rsi3W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi3W))
// Symbol 4
table.cell(rsiTable, 4, 0, symbol4, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 4, 1, str.tostring(rsi4H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi4H1))
table.cell(rsiTable, 4, 2, str.tostring(rsi4H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi4H4))
table.cell(rsiTable, 4, 3, str.tostring(rsi4D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi4D1))
table.cell(rsiTable, 4, 4, str.tostring(rsi4W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi4W))
// Symbol 5
table.cell(rsiTable, 5, 0, symbol5, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 5, 1, str.tostring(rsi5H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi5H1))
table.cell(rsiTable, 5, 2, str.tostring(rsi5H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi5H4))
table.cell(rsiTable, 5, 3, str.tostring(rsi5D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi5D1))
table.cell(rsiTable, 5, 4, str.tostring(rsi5W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi5W))
// Symbol 6
table.cell(rsiTable, 6, 0, symbol6, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 6, 1, str.tostring(rsi6H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi6H1))
table.cell(rsiTable, 6, 2, str.tostring(rsi6H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi6H4))
table.cell(rsiTable, 6, 3, str.tostring(rsi6D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi6D1))
table.cell(rsiTable, 6, 4, str.tostring(rsi6W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi6W))
// Symbol 7
table.cell(rsiTable, 7, 0, symbol7, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 7, 1, str.tostring(rsi7H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi7H1))
table.cell(rsiTable, 7, 2, str.tostring(rsi7H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi7H4))
table.cell(rsiTable, 7, 3, str.tostring(rsi7D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi7D1))
table.cell(rsiTable, 7, 4, str.tostring(rsi7W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi7W))
// Symbol 8
table.cell(rsiTable, 8, 0, symbol8, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 8, 1, str.tostring(rsi8H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi8H1))
table.cell(rsiTable, 8, 2, str.tostring(rsi8H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi8H4))
table.cell(rsiTable, 8, 3, str.tostring(rsi8D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi8D1))
table.cell(rsiTable, 8, 4, str.tostring(rsi8W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi8W))
// Symbol 9
table.cell(rsiTable, 9, 0, symbol9, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 9, 1, str.tostring(rsi9H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi9H1))
table.cell(rsiTable, 9, 2, str.tostring(rsi9H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi9H4))
table.cell(rsiTable, 9, 3, str.tostring(rsi9D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi9D1))
table.cell(rsiTable, 9, 4, str.tostring(rsi9W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi9W))
// Symbol 10
table.cell(rsiTable, 10, 0, symbol10, text_color=fun_textColor(), bgcolor=color.new(color.gray, 50))
table.cell(rsiTable, 10, 1, str.tostring(rsi10H1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi10H1))
table.cell(rsiTable, 10, 2, str.tostring(rsi10H4, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi10H4))
table.cell(rsiTable, 10, 3, str.tostring(rsi10D1, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi10D1))
table.cell(rsiTable, 10, 4, str.tostring(rsi10W, "#.##"), text_color=color.new(color.white, 0), bgcolor=fun_rsiColor(rsi10W))
Candlestick analysis
5 Pips GridDescription:
The 5 Pips Grid Tool is a versatile and visually intuitive indicator designed to enhance your trading experience by creating a customizable grid of horizontal lines at fixed intervals. Ideal for scalpers, day traders, and price action enthusiasts, this tool helps identify and navigate key price levels with ease.
Features:
Customizable Base Price: Set your preferred starting price for the grid.
Adjustable Line Spacing: Define the interval between each line in price units (e.g., 5 pips or any other value).
Dynamic Visualization: Automatically generates lines above and below the base price, aiding in the identification of price zones, support, and resistance levels.
Interactive Flexibility: Easily modify grid parameters to adapt to market conditions or personal trading strategies.
Performance Optimized: Draws lines only within visible and future-relevant chart areas to maintain chart clarity and prevent clutter.
Use Cases:
Highlight potential entry and exit zones based on price intervals.
Visualize and manage trading strategies, including range trading and breakout levels.
Aid in psychological pricing zones for instruments with consistent pip ranges.
This indicator ensures you never miss key levels while keeping your chart clean and actionable. Perfect for technical traders who value precision and clarity.
Previous Day High/LowA quick tool that tells you what the previous day high and low are for easy Key Level Plotting
scan_wt_cross_set_2Bist100 hisselerini wt_cross gözüyle tarar, al veya sat sinyali veren hisseleri grafik üzerinde listeler. Sıkı veya rahat şekilde taramaya izin verir. Sıkı taramada aşırı sat bölgesinde al veya aşırı al bölgesinde sat veren hisseleri bulur.
Ultimate Bollinger Bands Strategy v6Key Benefits of the Strategy
High Accuracy with Multi-Indicator Confirmation:
Combines Bollinger Bands, RSI, and a 50-period Moving Average for precise trend and momentum analysis.
Filters out false signals by aligning trades with strong trends and oversold/overbought conditions.
Consistent Profit Target:
Automatically calculates a profit target (default: 0.5%) for every trade.
Ensures trades exit at optimal levels, locking in profits and avoiding unnecessary risks.
Built-In Alerts:
Real-time Buy, Sell, and Exit alerts notify you when action is needed.
No need to monitor charts constantly—just set it up and stay informed.
Dynamic Risk Management:
Tracks market volatility with ATR (Average True Range), allowing for smarter stop-loss and take-profit decisions.
Protects your capital by minimizing losses in volatile markets like Gold.
User-Friendly Design:
Clear visual signals with arrows for Buy/Sell and squares for exits.
Intuitive settings make it accessible for beginners while powerful enough for advanced traders.
Versatility:
Works perfectly on Gold (XAU/USD) and can be adapted for other highly volatile forex pairs.
Optimized for multiple timeframes (15 min, 30 min, 1 hour).
Who Should Use This Strategy?
New Traders:
Learn disciplined trading with built-in risk management and automated profit targets.
Experienced Traders:
Leverage its high accuracy and multi-layer confirmation for consistent performance in volatile markets.
Part-Time Traders:
Set alerts and trade efficiently without constantly watching charts.
AMOGH1this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator,this is rs based indicator.
Multi-Timeframe Candle Analysis [by Oberlunar]Multi-Timeframe Candle Analysis
Scalping often requires traders to make rapid decisions based on price movements within a short timeframe. However, a key challenge is understanding the broader trend and market pressure across higher timeframes without cluttering the workspace with multiple charts. This can lead to a lack of clarity, missed opportunities, or poorly timed trades.
The Multi-Timeframe Candle Analysis script addresses this challenge by providing a consolidated view of essential information across multiple timeframes in a single interface. This script calculates and displays the volatility, strength, and type (bullish or bearish) of candles for up to six customizable timeframes. With this data presented in a neat table, traders can quickly assess market conditions without the need to open multiple charts.
How It Works
The script analyzes six user-defined timeframes, ranging from intraday intervals (e.g., 15 or 30 minutes) to daily or even weekly periods. It extracts critical data such as open, high, low, and close prices for the current and previous candles. From this data, the script computes:
Candle Type: Identifies whether the candle is bullish or bearish based on the close relative to the open.
Volatility Percentage Change: Measures the percentage change in candle volatility compared to the previous candle.
Candle Strength: Evaluates the strength of price movements within the candle relative to the previous one.
These metrics are organized into an easy-to-read table that updates dynamically as the market moves. The table color codes bullish and bearish candles for quick visual recognition, enhancing decision-making speed.
Support and Resistance Levels TP/SLSupport and resistance levels are critical concepts in trading, often used to set Take Profit (TP) and Stop Loss (SL) levels. Here's a guide to effectively determine these levels:
1. Identifying Support and Resistance Levels
- Support Level: A price level where demand is strong enough to prevent the price from falling further. Think of it as a floor.
- Resistance Level: A price level where selling pressure is strong enough to prevent the price from rising further. Think of it as a ceiling.
Methods to Identify Levels:
- Horizontal Lines: Use historical price data to find levels where prices frequently reversed.
- **Trendlines**: Draw diagonal lines connecting higher lows (support) or lower highs (resistance).
- Fibonacci Retracement: Calculate levels based on key Fibonacci ratios (e.g., 23.6%, 38.2%, 61.8%).
- Moving Averages: Identify dynamic support and resistance based on moving average levels.
- Volume Profile: Spot areas of high trading activity, which often act as support or resistance.
---
2. Setting Take Profit (TP) Levels
- Conservative Approach: Place the TP level slightly below a resistance level to ensure execution.
- Aggressive Approach: Target higher levels, considering momentum and trend strength.
Example:
- Resistance at $50.
- Set TP at $49.80 to account for slippage or premature reversals.
3. Setting Stop Loss (SL) Levels
- Below Support: For long trades, set the SL slightly below the identified support level.
- Above Resistance: For short trades, set the SL slightly above the resistance.
Example:
- Support at $45.
- Set SL at $44.80 to allow for minor price fluctuations.
4. Risk-Reward Ratio
- Aim for at least a 1:2 risk-reward ratio (e.g., risk $1 to gain $2).
- Calculate TP and SL levels accordingly to maintain this balance.
5. Adjusting for Market Conditions
- Volatile Markets: Widen TP and SL levels to account for larger price swings.
- Stable Markets: Use tighter levels for precise risk management.
6. Automating TP/SL
- Use trading platforms to automate TP/SL placements, ensuring discipline and emotional control.
Would you like help applying this to a specific scenario or chart?
Combined F&O Indicator BY SUPERSINGHExplanation of the Code
Inputs and Settings: The script allows customization of the indicator lengths like RSI, EMA, Stochastic, ATR, etc. You can change these parameters directly from the indicator settings panel.
Moving Averages (EMA): We calculate three different EMAs (9, 20, and 50-period) to track the short, medium, and long-term trends.
RSI: Relative Strength Index (RSI) is calculated with a default period of 14.
Stochastic Oscillator: The Stochastic %K and %D lines are calculated to identify overbought or oversold conditions.
Bollinger Bands: Bollinger Bands with a period of 20 and a standard deviation of 2 are plotted to highlight overbought and oversold areas.
MACD: The Moving Average Convergence Divergence (MACD) is calculated with standard 12, 26, and 9 periods to identify bullish and bearish trends.
ATR: The Average True Range (ATR) is used to measure volatility. It is plotted as a reference to gauge price movement.
Buy and Sell Conditions:
Buy Condition: When the RSI is below 30 (indicating oversold), the Stochastic %K crosses above %D, and the price is above all three EMAs (indicating a bullish trend), and the MACD line is above the signal line.
Sell Condition: When the RSI is above 70 (indicating overbought), the Stochastic %K crosses below %D, and the price is below all three EMAs (indicating a bearish trend), and the MACD line is below the signal line.
Signals: The script plots buy signals when all conditions for a bullish trend are met and sell signals for a bearish trend. Buy and Sell signals are marked below and above the price bars, respectively.
Plots: The script plots the three EMAs, the Bollinger Bands, the RSI with overbought/oversold levels, and the MACD histogram.
Customizing Open Interest Data
Since Pine Script does not support Open Interest data directly, you would need to:
Use a data provider that includes Open Interest (if your broker or exchange offers this via TradingView).
Manually analyze Open Interest trends on external platforms and incorporate them into your decision-making.
If Open Interest is available on your chart, you can conditionally filter buy and sell signals based on rising or falling Open Interest to further refine your entry/exit strategy.
Next Steps
Copy and paste the code above into TradingView’s Pine Script editor.
Modify any settings or indicators as per your preferences.
Backtest the strategy to ensure that it works effectively on historical data.
Notes
Ensure that the buy and sell conditions align with your risk tolerance and trading style.
You might need to fine-tune the parameters based on the asset you're trading, as different instruments may behave differently.
Gold Trading Strategy (London & New York Sessions)Gold Trading Strategy. Reading candles for past 5 years
Combined ADX, RSI, and Stochastic Indicator
이 지표는 ADX (Average Directional Index), RSI (Relative Strength Index), 및 Stochastic Oscillator를 결합한 기술적 분석 도구입니다. 각 구성 요소는 시장 추세와 모멘텀을 분석하기 위해 사용됩니다.
ADX는 영역으로 표시하고 -DI만 표시해서 하락에 대한 추세와 힘을 표시했고 거기에 RSI가 40~50사이를 기어다닐때 스토캐스틱 선이 끝에 있으면 무조건 반전된다는 것을 보면서 추세를 보려고 만든 것
Candlestick with Volume & Overbought/OversoldTo find above 120k volume cantle in over brought and over sold area.it can change the trend
Pivotal [LuciTech]This indicator identifies Engulfing candlestick patterns that occur after an RSI crossover or crossunder of Bollinger Bands.
The RSI must cross over/under the bollinger bands that uses the RSI as its source and if the next candle is an Engulfing candlestick it will plot its signal.
Volume and Bollinger Band Arrow IndicatorThis is an indicator that is marked with arrows when the candle has a high volume despite its small size
It works when the candle touches the bolinger band (20, 2) at least once, and may be modified or added later
Volume and Bollinger Band Arrow IndicatorThis is an indicator that is marked with arrows when the candle has a high volume despite its small size
It works when the candle touches the bolinger band (20, 2) at least once, and may be modified or added later
ffejokrap indicatorDip buys with adds self testing indicator, test 1
sladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdksladkalsdkv