EMAs CrossThis script generates a line that changes color when evaluating the values and intersections of the 7-, 14-, and 42-day exponential averages, indicating possible entry and exit points.
In general, yellow indicates the beginning of an uptrend, green confirms an uptrend, and brown indicates a downtrend.
Using this script together with the RSI can help you make decisions about the best times to enter and exit positions.
The script was created to generate an indicator in a separate window from the main chart, but adding this indicator to the main window can help you visualize and interpret market movements.
Indicatori e strategie
ORB Screener with Trailing SLThis is an extension to our already published script ORB with ATR Trailing SL indicator
Many people requested to add screener to the existing indicator but since it's slowing down the performance heavily, we decided to add this as a separate screener.
Note: This screener does NOT plot the chart and so you want to have both plotting and screener, use both scripts together.
Overview:
The ORB Screener is a TradingView indicator designed to assist traders in identifying breakout opportunities based on the Opening Range Breakout (ORB) strategy. It features multi-symbol screening, customizable session timeframes, and a detailed table for quick visual reference and stock scanning.
The ORB Screener utilizes the ORB strategy to calculate breakout levels for multiple symbols. It identifies the high and low during a specified session (e.g., first 5 minutes after market open) and provides insights on whether the price is above the high (bullish), below the low (bearish), or between the range (neutral).
Additionally, the script calculates and displays the RSI values for each symbol, aiding traders in assessing momentum alongside breakout status.
Note: One can add up to 40 symbols for screening the stocks.
Key Features and Inputs:
ORB Session Time: Define a specific timeframe (e.g., "0915-0920") during which the ORB high and low are calculated. This serves as the foundation for identifying breakouts.
Multi-Symbol Screening: Screen up to 40 symbols at once, enabling you to monitor multiple opportunities without switching charts.
Breakout Validation:
Select from two methods for confirming a breakout: Close (based on closing prices) or Touch (based on intraday highs/lows).
Breakout Status Indicators:
Above High: Indicates a current bullish breakout when the price exceeds the ORB high.
Below Low: Indicates a current bearish breakout when the price falls below the ORB low.
Between Range: Indicates no breakout (price remains within the range).
RSI Integration : Calculates the RSI for each symbol to help traders evaluate momentum alongside breakout signals.
Customizable Table Display:
Position: Place the data table at the top, middle, or bottom of the chart and align it left, center, or right.
Size: Choose from multiple table size options for optimal visibility (Auto, Huge, Large, Normal, Small, Tiny).
Visual Feedback:
Green Background: Indicates a breakout happened at least once above the ORB high.
Red Background: Indicates a breakout happened at least once below the ORB low.
Gray Background: Indicates price is within the ORB range.
52WHL, VSTOP, 3EMAIt is combine of 3 ema, vstop and 52 week high low already available on trading view
Non-repainting ticker
The objective here is to provide a "non-repainting" source to indicators, meaning being sure that data is stable and will not affect the results, w/o having to make any change into the indicators
To use it :
1- include this "NRT" indicators onto your page : nothing will be displayed, just keep it.
2- as an exemple, when running any other indicator onto this page, and willing to select "close" as a source, just select instead " NRT: close" into source input; your indicator will then run "non-repainting"
Available sources : open, high, low , close, hl2, hlc3, ohlc4, hlcc4
Daily MAs on Intraday ChartsThis is a very simple, yet powerful indicator, for intraday and swing traders.
The indicator plots price levels of key daily moving averages as horizontal lines onto intraday charts.
The key daily moving averages being:
5-day EMA
10-day EMA
21-day EMA
50-day SMA
100-day SMA
200-day SMA
The moving averages above can be toggled on and off to the users liking and different colours selected to show the locations of daily moving average price levels on intraday charts.
Below is a chart of the SPY on the 30-minute timeframe. The black line represents the price level of the SPY's 10-day EMA, and the blue line represents the price level of the SPY's 21-day EMA.
Key daily moving averages like those mentioned above can be areas of support or resistance for major indexes, ETFs, and individual stocks. Therefore, when using multiple timeframe analysis combining daily charts and intraday charts, it's useful to be aware of these key daily moving average levels for potential reversals.
This indicator clearly shows where the key daily moving average price levels are on intraday charts for the chosen ticker symbol, thus helping traders to identify potential points of interest for trading ideas - i.e., going long or pullbacks into key daily moving averages, or short on rallies into key daily moving averages subject to the trader's thoughts at the time.
By using the 'Daily MAs on Intraday Charts' the trader can now have a multi-chart layout and be easily aware of key price levels from daily moving averages when looking at various intraday timeframe charts such as the 1-minute, 5-minute, 15-minute, 30-minute, 1-hour etc. This can be essential information for opening long and short trading ideas.
Day Pattern IndicatorDay Pattern Indicator
The Day Pattern Indicator is designed to help traders analyze daily trends and patterns in their selected markets. This tool highlights specific days of the week on the chart with unique, semi-transparent colored bars. Each day is customizable, allowing users to toggle the visibility of Monday through Sunday to focus on days most relevant to their trading strategy. Ideal for identifying potential patterns in cryptocurrency, forex, or stock markets, the indicator is perfect for traders seeking insights into weekday or weekend market behavior. Simple, effective, and visually intuitive!
Custom RSI with Big Trades (Triangles)
Созданы переменные overboughtBg и oversoldBg, чтобы сначала вычислить нужный цвет.
Теперь bgcolor используется в глобальной области видимости, где выполняется непосредственно.
График RSI и уровни:
Уровни перекупленности и перепроданности (overboughtLevel и oversoldLevel) отображаются через hline.
Треугольники на графике цены:
Зеленый треугольник под свечой для крупных покупок.
Красный треугольник над свечой для крупных продаж.
Фоновые полосы:
Фон отображается в зоне перекупленности (красный) и перепроданности (зеленый).
Gold CFD EMA Divergenceこれは、ゴールドCFD取引用のインジケータです。
EMAの短期と長期の距離を測り、その差異によって、サインの強度を変えます。
1時間足による使用を推奨しております。
何か問題があれば、ご連絡ください。
役に立った。こんな改善がしてほしい、等のご意見がある方は、コメント欄にコメントをのこしてください。よろしくお願いします。
5/22 MA Strategy with Dynamic Channel + AL/SAT//@version=5
indicator("5/22 MA Strategy with Dynamic Channel + AL/SAT", overlay=true)
// === Parametreler ===
length = input.int(50, title="Kanal Uzunluğu (Bar Sayısı)")
offset = input.int(2, title="Kanal Genişliği Çarpanı") // ATR ile kanal genişliği
// === Hareketli Ortalamalar (5 ve 22) ===
ma_fast = ta.ema(close, 5) // Hızlı EMA (5)
ma_slow = ta.ema(close, 22) // Yavaş EMA (22)
// === RSI Hesaplama ===
rsi = ta.rsi(close, 14)
// === MACD Hesaplama ===
= ta.macd(close, 12, 26, 9)
// === ATR (Volatilite için) ===
atr = ta.atr(14)
// === Üst ve Alt Seviyelerin Hesaplanması (Kanal) ===
highest_high = ta.highest(high, length) // Son 'length' barın en yüksek değeri
lowest_low = ta.lowest(low, length) // Son 'length' barın en düşük değeri
middle = (highest_high + lowest_low) / 2
upper_band = highest_high + offset * atr
lower_band = lowest_low - offset * atr
// === Kanal Çizgilerinin Gösterimi ===
plot(highest_high, title="Üst Kanal", color=color.blue, linewidth=1)
plot(lowest_low, title="Alt Kanal", color=color.blue, linewidth=1)
plot(middle, title="Orta Çizgi", color=color.orange, linewidth=1)
plot(upper_band, title="Üst Genişlik", color=color.green, linewidth=1)
plot(lower_band, title="Alt Genişlik", color=color.red, linewidth=1)
// === Al/Sat Sinyalleri (5/22 MA Stratejisi) ===
ma_crossover = ta.crossover(ma_fast, ma_slow) // 5 MA, 22 MA'yı yukarı kesiyor
ma_crossunder = ta.crossunder(ma_fast, ma_slow) // 5 MA, 22 MA'yı aşağı kesiyor
// Al Sinyali: 5/22 MA kesişimi + RSI düşük (momentum onayı) + MACD pozitif kesişim
buy_signal = ma_crossover and rsi < 50 and ta.crossover(macdLine, signalLine)
// Sat Sinyali: 5/22 MA kesişimi + RSI yüksek (momentum onayı) + MACD negatif kesişim
sell_signal = ma_crossunder and rsi > 50 and ta.crossunder(macdLine, signalLine)
// === Grafikte Al/Sat İşaretleme ===
plot(ma_fast, color=color.blue, title="Fast EMA (5)")
plot(ma_slow, color=color.orange, title="Slow EMA (22)")
// === Al ve Sat Yazıları Ekleyin ===
if buy_signal
label.new(bar_index, low, text="AL", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
if sell_signal
label.new(bar_index, high, text="SAT", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small)
// === Alarm Koşulları ===
alertcondition(buy_signal, title="Buy Signal Alert", message="5/22 MA + RSI + MACD Buy Signal Detected!")
alertcondition(sell_signal, title="Sell Signal Alert", message="5/22 MA + RSI + MACD Sell Signal Detected!")
// === Risk Yönetimi: ATR ile Stop-Loss Seviyeleri ===
long_stop_loss = buy_signal ? close - 1.5 * atr : na // Al pozisyonu için stop-loss
short_stop_loss = sell_signal ? close + 1.5 * atr : na // Sat pozisyonu için stop-loss
// Stop-loss çizgileri
if buy_signal
line.new(x1=bar_index , y1=long_stop_loss, x2=bar_index, y2=long_stop_loss, color=color.red, width=1, extend=extend.right, style=line.style_dashed)
if sell_signal
line.new(x1=bar_index , y1=short_stop_loss, x2=bar_index, y2=short_stop_loss, color=color.red, width=1, extend=extend.right, style=line.style_dashed)
Weekly & Monthly RSI Strategy with Buy/Sell SignalsrtrtrRSI signal when buy or when sell if above 40 RSI then buy
Adaptive Supertrend with Dynamic Optimization [EdgeTerminal]The Enhanced Adaptive Supertrend represents a significant evolution of the traditional Supertrend indicator, incorporating advanced mathematical optimization, dynamic volatility adjustment, intelligent signal filtering, reduced noise and false positives.
Key Features
Dynamic volatility-adjusted bands
Self-optimizing multiplier
Intelligent signal filtering system
Cooldown period to prevent signal clustering
Clear buy/sell signals with optimal positioning
Smooth trend visualization
RSI and MACD integration for confirmation
Performance-based optimization
Dynamic Band Calculation
// Dynamic volatility adjustment
volatility = ta.sma(ta.stdev(close, atrPeriod) / close, smoothPeriod)
dynMult = isOptimized ? mult * (1 + volatility) : mult
// Enhanced band calculation
upperBand = medianPrice + dynMult * atr * momentumFactor
lowerBand = medianPrice - dynMult * atr * momentumFactor
Dynamic Band Calculation automatically adapts to market volatility, generates wider bands in volatile periods, reducing false signals. It also generates tighter bands in stable periods, capturing smaller moves and smooth transitions between different volatility regimes.
Momentum Integration
momentum = ta.sma(ta.rsi(close, atrPeriod), smoothPeriod)
momentumFactor = momentum < 30 ? 1.2 : momentum > 70 ? 0.8 : 1.0
Momentum Integration prevents false signals in extreme conditions, It adjusts dynamic bands based on market momentum, improves trend confirmation in strong moves and reduces whipsaws during consolidations.
Improved signals
There are a few systems to generate better signals, allowing for generally faster signals compared to original supertrend, such as:
Enforced cooldown period between signals
Prevents signal clustering
Clearer entry/exit points
Reduced false signals during choppy markets
Performance Optimization
This script implements a Sharpe ratio-inspired optimization algorithm to balance returns against risk, penalize large drawdowns, adapt parameters in real-time and improve risk-adjusted performance
// Calculate risk-adjusted returns
ret = (close - close ) / close
signal = trend == 1 ? 1 : -1
tradeReturn = signal * ret
// Calculate Sharpe-like ratio
volatility = ta.stdev(tradeReturn, optPeriod)
sharpeRatio = volatility != 0 ? totalProfit / volatility : 0
// Complex scoring function
score = sharpeRatio * (1 - maxDrawdown/2)
Parameter Settings
ATR Period: 10 (default) - adjust based on timeframe
Initial Multiplier: 3.0 (default) - will self-optimize
Optimization Period: 50 (default) - longer periods for more stability
Smoothing Period: 3 (default) - adjust for signal smoothness
Best Practices
Use on multiple timeframes for confirmation
Allow the optimization process to run for at least 50 bars
Monitor the adaptive multiplier for trend strength indication
Consider RSI and MACD alignment for stronger signals
EMA multi-crossover with EMA 10/20 cross with signalThis indicator plots five key Exponential Moving Averages (EMAs) on your chart—EMA10, EMA21, EMA50, EMA100, and EMA200—to help you analyze market trends over various timeframes. Additionally, it provides clear visual signals when short-term momentum shifts occur:
• Bullish Signal: A green upward arrow appears below the price bar when the EMA21 crosses above the EMA10, indicating potential upward momentum.
• Bearish Signal: A red downward arrow appears above the price bar when the EMA21 crosses below the EMA10, indicating potential downward momentum.
Features:
• Comprehensive Trend Analysis: By displaying multiple EMAs, you can observe both short-term and long-term market trends.
• Clear Entry and Exit Signals: The crossover arrows help identify potential buying or selling opportunities based on EMA crossovers.
• Customization: Colors, line widths, and arrow sizes can be adjusted to fit your personal trading style and chart preferences.
How to Use:
1. Trend Identification: Use the EMA lines to determine the overall market trend.
o If shorter-term EMAs (like EMA10 and EMA21) are above longer-term EMAs (like EMA200), the market may be in an uptrend.
o Conversely, if shorter-term EMAs are below longer-term EMAs, the market may be in a downtrend.
2. Signal Confirmation: Look for the green or red arrows as potential signals for entering or exiting trades.
o Green Arrow: Consider looking for buying opportunities.
o Red Arrow: Consider looking for selling opportunities or tightening stop losses.
3. Combine with Other Indicators: For improved accuracy, use this indicator alongside other technical analysis tools like RSI, MACD, or support and resistance levels.
Disclaimer:
This indicator is a tool to assist in your trading decisions and should not be used as a standalone signal. Always perform comprehensive analysis and consider the risks before entering any trade.
Exponential Moving Average 200*2Moving average 200 days * 2 used in bitcoin.
When bitcoin reaches this value it means that the bull market will be close to ending
Buy and Sell Signal at 50% Retracement, Based on MANDO MODELthe sell is taking out a previous high. leave some runners and practice safe trading.
Explanation of Behavior:
When the price retraces 50% of the defined range (from the low to high), a Buy signal is triggered.
After the Buy signal, if the price moves above the previous high (after retracement), a Sell signal is triggered.
Once a Sell signal is triggered, the range is reset, and a new range needs to form before another signal can be triggered.
Test this:
Apply the script to your chart.
Check for Buy signals when the price crosses the 50% retracement level.
Sell signals will trigger once the price breaks above the previous high after the retracement phase.
Ensure that the signals are plotted as arrows on the chart and that the background color changes to indicate Buy or Sell.
Alerts Setup:
To set up alerts:
Right-click on the chart and select Add Alert.
For Buy Signal: Choose the condition Buy and Sell Signal at 50% Retracement with Top Break > Buy Signal.
For Sell Signal: Choose the condition Buy and Sell Signal at 50% Retracement with Top Break > Sell Signal.
Set your preferred alert type (popup, email, etc.).
Click Create to set the alert.
RS Theory IndicatorHow to Use:
Customize the Reference Symbol: In the settings of the indicator, you can change the referenceSymbol to the benchmark or asset you want to compare against.
RS Interpretation:
RS > 1: The current asset is outperforming the reference symbol.
RS < 1: The current asset is underperforming the reference symbol.
RS = 1: The current asset and the reference symbol are performing equally.
Alerts: You can enable alerts for when the RS crosses certain levels (e.g., when RS > 1 or RS < 1).
How It Works:
Reference Symbol: The user inputs the benchmark asset or symbol (e.g., "SPY" for an S&P 500 ETF). This will be used as the comparison symbol.
RS Calculation: The RS Value is calculated by dividing the current asset's close price by the reference asset's close price:
RS
=
Close Price of Current Asset
Close Price of Reference Asset
RS=
Close Price of Reference Asset
Close Price of Current Asset
Plotting:
The RS value is plotted on the chart as a line.
A horizontal line at RS = 1 is drawn for easy comparison, representing parity (when the asset and reference symbol have the same price).
Background Coloring: The background is colored:
Green when RS > 1 (indicating the asset is outperforming the benchmark).
Red when RS < 1 (indicating the asset is underperforming the benchmark).
Alerts: Alerts are triggered when the RS value is above or below 1, indicating outperformance or underperformance relative to the benchmark.
WSNB EMA*10EMA vs MA(SMA)的区别
EMA = (当前价格 × K) + (前一日EMA × (1-K))
其中,K = 2 ÷ (周期数 + 1)
// 指数移动平均:近期价格权重更大
MA = (P1 + P2 + P3 + ... + Pn) / n
// 简单移动平均:所有价格权重相等
Zigzag3 -Invincible3Description:
Zigzag3 - Invincible3 is a powerful and flexible support and resistance indicator for TradingView. Utilizing an enhanced ZigZag algorithm and Dow Theory principles, it detects price pivots, higher highs (HH), lower highs (LH), higher lows (HL), and lower lows (LL). The indicator draws lines and labels to visualize these pivots, making it easier to identify market structure, trends, and potential reversal points.
The Length input allows traders to control the sensitivity of pivot detection.
Support and Resistance Lines:
Displays dotted and solid SR lines based on significant pivots to highlight key market zones.
Option to extend support/resistance lines dynamically with real-time progression for the latest pivot.
Labels for Dow Theory Points:
Mark higher highs, lower highs, higher lows, and lower lows with customizable colors.
Identifies market direction and potential breakout levels with visual clarity.
ZigZag Line Visualization:
Toggle the ZigZag lines to connect pivots for a better understanding of price movement.
Dynamic Dotted Line Progression:
A dotted line extends in real-time from the most recent significant pivot point, aiding in quick analysis.
This indicator is ideal for traders looking to analyze market structure, identify trends, and spot potential reversals. It can be used as a standalone tool or in combination with other strategies for enhanced precision.
RSI Buy/Sell SignalsGet Buy Sell Signals for Free without any Premium Plan
Note : We don't recommend to blindly trust signal of this indicator before taking trade research yourself
Thanks.
If it help's you get good profit please Donate us cup of tea
Bina
masoomhussain057@gmail.com
Lakush bhai hi kehdeThis script appears to be a custom indicator for TradingView that combines **Volumatic Variable Index Dynamic Average (VIDYA)** with **liquidity zone detection** and volume analysis. Here's a breakdown of its main components and functionality:
### Key Features
1. **VIDYA Calculation**:
- Implements a Variable Index Dynamic Average using momentum and length parameters to adapt to price action.
- Smoothes the trend dynamically based on volume and price momentum.
2. **Liquidity Zone Detection**:
- Identifies pivot highs and lows, and marks support (low) and resistance (high) zones on the chart.
- Tracks and extends these zones dynamically to visualize potential price liquidity levels.
3. **Trend Detection**:
- Tracks whether the trend is up or down by comparing the price source against VIDYA-based bands.
- Includes upper and lower bands calculated with a distance factor and ATR for flexibility.
4. **Volume Analysis**:
- Aggregates volumes during uptrends and downtrends to show the dominance of buying or selling pressure.
- Displays the delta volume percentage to highlight the difference between buying and selling volumes.
5. **Annotations**:
- Adds labels and markers for significant events:
- Liquidity zones are labeled with volume data.
- Trend changes are highlighted with up and down arrows.
6. **Plot and Styling**:
- VIDYA is plotted along with its bands, and the area between price and VIDYA is shaded to emphasize trend direction.
- Supports customizable colors for uptrends and downtrends.
---
### Usage
- **Inputs**:
- `vidya_length` and `vidya_momentum`: Control the sensitivity of the VIDYA calculation.
- `band_distance`: Determines the width of upper and lower bands.
- Source: Defines the data used for calculations, typically `close`.
- **Outputs**:
- Trendlines, arrows, and shaded areas showing trend direction.
- Liquidity lines marking support/resistance zones.
- Volume statistics for trends and delta volume percentage.
---
### How to Use in TradingView
1. **Copy the Code**:
- Copy the script and paste it into the Pine Script editor in TradingView.
2. **Customize Inputs**:
- Adjust the parameters in the input section (`VIDYA Length`, `Momentum`, etc.) to suit your trading style.
3. **Add to Chart**:
- Save and add the script to your desired chart.
4. **Interpret Signals**:
- Use liquidity zones for potential reversal areas.
- Observe the trend and volume indicators for entries and exits.
---
### Potential Improvements
1. **Optimization**:
- Fine-tune the default values for `vidya_length`, `momentum`, and `band_distance` based on backtesting.
2. **Performance**:
- Limit the number of liquidity lines stored to enhance performance for charts with extensive data.
3. **Alerts**:
- Add alert conditions for trend changes, significant volume shifts, or price crossing liquidity zones.