RSI + EMA Crossover StrategyExplanation of the Code:
RSI & EMA Calculation:
RSI is calculated using talib.RSI() with a period of 14.
EMA is calculated using talib.EMA() with periods of 9 (short) and 21 (long).
Penunjuk dan strategi
TMA MACDTriangular MACD combined with two moving averages
its suiteable for using multi time frame intraday analysis like major H4
and minor H1 and and for entry model we should take M15 and M5 with use other indicators like
support and resistance or suply demand zones all the best
Livelli Sensibili Orizzontali//@version=5
indicator("Livelli Sensibili Orizzontali", overlay=true)
// Funzione per trovare massimi/minimi SOLAMENTE sui punti più alti e più bassi raggiunti con almeno 3 candele decrescenti o crescenti dopo o prima
isSwingHigh(src) =>
ta.highestbars(src, 4) == 0 and high < high and high < high and high < high and ta.valuewhen(high == ta.highest(high, 10), high, 0) == high
isSwingLow(src) =>
ta.lowestbars(src, 4) == 0 and low > low and low > low and low > low and ta.valuewhen(low == ta.lowest(low, 10), low, 0) == low
// Identificazione dei livelli sensibili
var float lastHigh = na
var float lastLow = na
if isSwingHigh(high)
lastHigh := high
if isSwingLow(low)
lastLow := low
// Disegna linee orizzontali SOLO sui massimi e minimi effettivi
line.new(x1=bar_index , y1=lastHigh, x2=bar_index, y2=lastHigh, width=2, color=color.red)
line.new(x1=bar_index , y1=lastLow, x2=bar_index, y2=lastLow, width=2, color=color.green)
BBI & Bollinger交叉提示代码特点:
1. 多周期适配:自动适应所有时间框架(1分钟/小时/日/周等)
2. 双指标显示:蓝色BBI线与橙色布林中轨线直观显示
3. 信号提示:
- 金叉时在K线下方显示绿色"多"字三角形
- 死叉时在K线上方显示红色"空"字三角形
4. 警报支持:可设置声音/弹窗提醒
5. 参数可调:可直接修改均线周期(3/6/12/24和20日参数)
使用说明:
1. 在TradingView新建策略
2. 粘贴代码到编辑器
3. 添加到图表即可自动运行
4. 右键指标可调整颜色/样式参数
提示:建议配合成交量等指标共同使用,可提高信号准确性。实际交易前请在不同周期回测验证策略有效性。
RSI and EMA Strategy with LabelsVERY GOOD, SCRIPT for buy or sell, mua và bán như 1 cái máy và lời lỗ liên tục để đốt tiền sau đó sẽ thấy được vấn đề và từ đó không mua bán nữa mà giải nghệ đi làm mướn
Investor Sharma Intradayits all about how intraday trading will done but not only depends on indicator its include many other skills like psycology etc
Bill Williams Alligator with AlertGrok generated Bill Williams Alligator should give alert when Green crosses blue.
AntoQQE - HistogramThis script displays a QQE-based momentum histogram, derived from the RSI line’s deviation around a neutral 50 level. It uses a smoothed RSI, monitors volatility with a dynamically adjusted multiplier, and then plots a color-coded histogram that helps traders see when the RSI is entering strong bullish or bearish territory:
• Smoothed RSI Calculation
The script calculates RSI for a user-defined period and then smooths it with an EMA. This reduces noise in the indicator’s readings.
• Dynamic Average Range (DAR)
The script computes volatility by taking the absolute change of the smoothed RSI, applying two EMAs, and multiplying by a QQE factor. This produces a band around the RSI that adapts to changes in market volatility.
• Histogram Centering and Thresholds
Rather than plotting the RSI itself, the script subtracts 50 from the RSI to center it around zero. Columns are plotted for each bar:
Blue when momentum is significantly above zero (over a threshold value).
Red when momentum is significantly below zero (under a negative threshold).
Gray when momentum is within a neutral range.
• Usage
By observing when columns turn blue or red—and how far they extend above or below zero—traders can quickly gauge the market’s momentum. The horizontal threshold lines (dashed by default) provide clear breakout levels for bullish or bearish conditions, which can help confirm entries or exits based on shifting market sentiment. It is best paired with the AntoQQE - Bars indicator for better chart visualization.
AntoQQE - BarsThis script is a variation on the QQE (Quantitative Qualitative Estimation) concept applied to RSI. It calculates a smoothed RSI line, then determines a “Dynamic Average Range” around that line. By tracking the RSI’s movement relative to these upper (shortBand) and lower (longBand) levels, it determines when price momentum shifts enough to suggest a possible trend flip. The script plots color-coded candles based on these momentum conditions:
• RSI Calculation and Smoothing
An RSI value is obtained over a specified period, then smoothed by an EMA. This smoothed RSI serves as the core measure of momentum.
• Dynamic Average Range (DAR)
The script computes the volatility of the smoothed RSI using two EMAs of its bar-to-bar movements. It multiplies this volatility factor by a QQE multiplier to create upper and lower bands that adapt to changes in RSI volatility.
• Trend Flips
When the smoothed RSI crosses above or below its previous band level (shortBand or longBand), the script interprets this as a shift in momentum and sets a trend state accordingly (long or short).
• Candle Coloring
Finally, the script colors each candle according to how far the smoothed RSI is from a neutral baseline of 50:
Candles turn green when the RSI is sufficiently above 50, suggesting bullish momentum.
Candles turn red when the RSI is sufficiently below 50, indicating bearish momentum.
Candles turn orange when they are near the 50 level, reflecting a more neutral or transitional phase.
Traders can use these colored candles to quickly see when the RSI’s momentum has moved into overbought/oversold zones—or is shifting between bullish and bearish conditions—without needing to consult a separate oscillator window. The adaptive nature of the band calculations can help in spotting significant shifts in market sentiment and volatility.
Autocorrelation Price Forecasting [The Quant Science]Discover how to predict future price movements using autocorrelation and linear regression models to identify potential trading opportunities.
An advanced model to predict future price movements using autocorrelation and linear regression. This script helps identify recurring market cycles and calculates potential gains, with clear visual signals for quick and informed decisions.
Main function
This script leverages an autocorrelation model to estimate the future price of an asset based on historical price relationships. It also integrates linear regression on percentage returns to provide more accurate predictions of price movements.
Insights types
1) Red label on a green candle: Bearish forecast and swing trading opportunity.
2) Red label on a red candle: Bearish forecast and trend-following opportunity.
3) Green label on a red candle: Bullish forecast and swing trading opportunity.
4) Green label on a green candle: Bullish forecast and trend-following opportunity.
IMPORTANT!
The indicator displays a future price forecast. When negative, it estimates a future price drop.
When positive, it estimates a future price increase.
Key Features
Customizable inputs
Analysis Length: number of historical bars used for autocorrelation calculation. Adjustable between 1 and 200.
Forecast Colors: customize colors for bullish and bearish signals.
Visual insights
Labels: hypothetical gains or losses are displayed as labels above or below the bars.
Dynamic coloring: bullish (green) and bearish (red) signals are highlighted directly on the chart.
Forecast line: A continuous line is plotted to represent the estimated future price values.
Practical applications
Short-term Trading: identify repetitive market cycles to anticipate future movements.
Visual Decision-making: colored signals and labels make it easier to visualize potential profit or loss for each trade.
Advanced Customization: adjust the data length and colors to tailor the indicator to your strategies.
Limitations
Prediction price models have some limitations. Trading decisions should be made with caution, considering additional market factors and risk management strategies.
Raj-ADRraj adr
ADR for past 5 Days
Upper Range = Day Open + Absolute value of ((5 days ago High - 5 days ago Low + 4 days ago High - 4 days ago Low + 3 days ago High - 3 days ago Low + 2 days ago High - 2 days ago Low + 1 day ago High - 1 day ago Low)/5)/2
Lower Range = Day Open - Absolute value of ((5 days ago High - 5 days ago Low + 4 days ago High - 4 days ago Low + 3 days ago High - 3 days ago Low + 2 days ago High - 2 days ago Low + 1 day ago High - 1 day ago Low)/5)/2
Bayesian TrendEnglish Description (primary)
1. Overview
This script implements a Naive Bayesian classifier to estimate the probability of an upcoming bullish, bearish, or neutral move. It combines multiple indicators—RSI, MACD histogram, EMA price difference in ATR units, ATR level vs. its average, and Volume vs. its average—to calculate likelihoods for each market direction. Each indicator is “binned” (categorized into discrete zones) and assigned conditional probabilities for bullish/bearish/neutral scenarios. The script then normalizes these probabilities and paints bars in green if bullish is most likely, red if bearish is most likely, or blue if neutral is most likely. A small table is also displayed in the top-right corner of the chart, showing real-time probabilities.
2. How it works
Indicator Calculations: The script calculates RSI, MACD (line and histogram), EMA, ATR, and Volume metrics.
Binning: Each metric is converted into a discrete category (e.g., low, medium, high). For example, RSI < 30 is binned as “low,” while RSI > 70 is binned as “high.”
Conditional Probabilities: User-defined tables specify the conditional probabilities of each bin under three hypotheses (Up, Down, Neutral).
Naive Bayesian Formula: The script multiplies the relevant conditional probabilities, normalizes them, and derives the final probabilities (Up, Down, or Neutral).
Visualization:
Bar Colors: Bars are green when the Up probability exceeds 50%, red for Down, and blue otherwise.
Table: Displays numeric probabilities of Up, Down, and Neutral in percentage terms.
3. How to use it
Add the script to your chart.
Observe the colored bars:
Green suggests a higher probability for bullish movement.
Red suggests a higher probability for bearish movement.
Blue indicates a higher probability of sideways or uncertain conditions.
Check the table in the top-right corner to see exact probabilities (Up/Down/Neutral).
Use the input settings to adjust thresholds (RSI, MACD, Volume, etc.), define alert conditions (e.g., when Up probability crosses 50%), and decide whether to trigger alerts on bar close or in real-time.
4. Originality and usefulness
Originality: This script uniquely applies a Naive Bayesian approach to a blend of classic and volume-based indicators. It demonstrates how different indicator “zones” can be combined to produce probabilistic insights.
Usefulness: Traders can interpret the probability breakdown to gauge the script’s bias. Unlike single indicators, this approach synthesizes several signals, potentially offering a more holistic perspective on market conditions.
5. Limitations
The conditional probabilities are manually assigned and may not reflect actual market behavior across all instruments or timeframes.
Results depend on the user’s choice of thresholds and indicator settings.
Like any indicator, past performance does not guarantee future results. Always confirm signals with additional analysis.
6. Disclaimer
This script is intended for educational and informational purposes only. It does not constitute financial advice. Trading involves significant risk, and you should make decisions based on your own analysis. Neither the script’s author nor TradingView is liable for any financial losses.
Русское описание (Russian translation, optional)
Этот индикатор реализует наивный Байесовский классификатор для оценки вероятности предстоящего роста (Up), падения (Down) или бокового движения (Neutral). Он комбинирует несколько индикаторов—RSI, гистограмму MACD, разницу цены и EMA в единицах ATR, уровень ATR относительно своего среднего значения и объём относительно своего среднего—чтобы вычислить вероятности для каждого направления рынка. Каждый индикатор делится на «зоны» (low, mid, high), которым приписаны условные вероятности для бычьего/медвежьего/нейтрального исхода. Скрипт нормирует эти вероятности и раскрашивает бары в зелёный, красный или синий цвет в зависимости от того, какая вероятность выше. Также в правом верхнем углу отображается таблица с текущими значениями вероятностей.
Hammer Candle Alert//@version=5
indicator("Hammer Candle Alert", overlay=true)
// Hammer Candle ki pehchan ke liye conditions
body_size = math.abs(close - open)
upper_shadow = high - math.max(close, open)
lower_shadow = math.min(close, open) - low
total_range = high - low
is_hammer = (lower_shadow >= 2 * body_size) and (upper_shadow <= body_size * 0.5) and (total_range > 0)
// Alert generate karne ke liye condition
if (is_hammer)
alert("Hammer Candle Formed!", alert.freq_once_per_bar_close)
// Hammer Candle ko chart par dikhane ke liye
plotshape(series=is_hammer, location=location.belowbar, color=color.green, style=shape.labelup, text="Hammer")
Order Block Finder//@version=5
indicator("Order Block Finder", overlay=true)
// Input settings
blockLookback = input(20, title="Lookback Period")
minBlockSize = input(5, title="Minimum Block Size (Pips)") * syminfo.mintick
maxBlockAge = input(50, title="Maximum Block Age (Bars)")
combineCloseBlocks = input(true, title="Combine Close Blocks")
topSwingHigh = ta.highest(high, blockLookback)
topSwingLow = ta.lowest(low, blockLookback)
// Identifying Order Blocks
bullishBlock = ta.crossover(close, topSwingLow)
bearishBlock = ta.crossunder(close, topSwingHigh)
var float blockHigh = na
var float blockLow = na
var int blockAge = 0
if bullishBlock
blockHigh := high
blockLow := low
blockAge := 0
if bearishBlock
blockHigh := high
blockLow := low
blockAge := 0
blockAge := blockAge + 1
validBlock = blockAge < maxBlockAge
// Display Order Blocks
blockColor = bullishBlock ? color.green : bearishBlock ? color.red : na
if validBlock and not na(blockHigh) and not na(blockLow)
bgColor = color.new(blockColor, 80)
box.new(left=bar_index, right=bar_index + maxBlockAge, top=blockHigh, bottom=blockLow, border_color=blockColor, bgcolor=bgColor)
// Display Block Information Label
if validBlock
label.new(x=bar_index, y=blockHigh, text="Order Block", color=blockColor, textcolor=color.white, style=label.style_label_down)
OHLC & OLHC 2 Breakoutsndicator
This indicator detects OHLC and OLHC 2 Breakouts based on price action. It helps traders identify valid and invalid breakouts by marking them on the chart.
Features:
✅ Detects valid & invalid OHLC and OLHC 2 breakouts
✅ Plots signals for breakout confirmations
✅ Alerts for valid breakout opportunities
✅ Works on any timeframe, optimized for XAU/USD (Gold) 30m & 1H
How to Use:
1. Add this indicator to your TradingView chart.
2. Watch for green & blue signals (valid breakouts).
3. Use alerts to get notified of breakout opportunities.
4. Combine with other trading strategies for higher accuracy.
Recommended Markets: XAU/USD (Gold), Forex, Indices
Mi scriptEnhanced 30-Minute Trading Strategy for Ethereum: Long and Short Positions
This trading script is designed to optimize decision-making for Ethereum trades within a 30-minute time frame. It provides clear signals for entering long or short positions based on market trends, price movements, and technical indicators. The script aims to enhance profitability by capturing short-term market fluctuations effectively, allowing traders to leverage the momentum in both bullish and bearish environments. Key features include real-time alerts, customizable parameters, and risk management tools to ensure balanced and strategic trading decisions. This approach is tailored for traders seeking to maximize gains in Ethereum's dynamic market with a disciplined and responsive strategy.
VWDEMA RibbonMy indicator is based volume weighted DEMA's. Ribbon's default periots are 24, 52, 100 and 200. I am using it on different timeframes just trend verification. Look up other types of verifications like price action concepts.
EMA Crossover Strategy with S/R and Cross Exits v6Was macht diese Strategie?
Diese Strategie kombiniert bewährte technische Indikatoren mit einem robusten Risikomanagement, um klare Kauf- und Verkaufssignale in trendstarken Märkten zu generieren. Sie basiert auf dem Crossover von exponentiellen gleitenden Durchschnitten (EMA) in Kombination mit einem Trendfilter aus dem höheren Zeitrahmen und einem dynamischen Risikomanagement basierend auf der durchschnittlichen True Range (ATR).
Wie funktioniert die Strategie?
Kernsignale:
Kauf: Wenn der EMA5 (kurzfristig) von unten die EMA8 und EMA13 kreuzt.
Verkauf: Wenn der EMA5 von oben die EMA8 und EMA13 kreuzt.
Trendfilter:
Es wird nur gehandelt, wenn der Preis über dem 200-EMA aus dem 1-Stunden-Chart liegt (für Longs) oder darunter (für Shorts). Dies stellt sicher, dass Sie nur in Richtung des übergeordneten Trends handeln.
Risikomanagement:
Dynamischer Stop-Loss: Basierend auf der ATR (durchschnittliche True Range), um die Volatilität des Marktes zu berücksichtigen.
Take-Profit: Ein festgelegtes Risiko-Ertrags-Verhältnis von 1:2, um Gewinne zu sichern und Verluste zu begrenzen.
Positionsgröße: Die Positionsgröße wird basierend auf dem Kontostand und dem Risiko pro Trade angepasst, um das Risiko zu kontrollieren.
Zusätzliche Filter:
RSI-Filter: Es wird nur gekauft, wenn der RSI überverkauft ist (<30), und nur verkauft, wenn der RSI überkauft ist (>70).
Volumenfilter: Es wird nur gehandelt, wenn das aktuelle Volumen über dem Durchschnitt liegt, um sicherzustellen, dass genügend Liquidität vorhanden ist.
Warum diese Strategie?
Einfachheit: Klare Regeln und leicht verständliche Signale.
Anpassungsfähigkeit: Die Strategie passt sich der Marktvolatilität an (dank ATR-basiertem Stop-Loss).
Trendfolge: Durch den Trendfilter aus dem höheren Zeitrahmen werden nur Trades in Richtung des übergeordneten Trends ausgeführt.
Risikokontrolle: Dynamisches Risikomanagement sorgt dafür, dass Verluste begrenzt und Gewinne maximiert werden.
Erfolgschancen
Profitfaktor: Die Strategie zielt auf einen Profitfaktor von mindestens 1,5 ab, was bedeutet, dass die Gewinne die Verluste deutlich übersteigen.
Gewinnwahrscheinlichkeit: Durch die Kombination von Trendfiltern und RSI-Signalen wird die Wahrscheinlichkeit erfolgreicher Trades erhöht.
Backtest-Ergebnisse: In historischen Tests zeigt die Strategie konsistente Ergebnisse in trendstarken Märkten.
Risiken
Seitwärtsmärkte: In trendlosen oder choppigen Märkten kann die Strategie zu häufigen Fehlsignalen führen.
Volatilitätsspitzen: Extreme Marktbewegungen können zu unerwarteten Stop-Loss-Auslösungen führen.
Overfitting: Die Strategie wurde zwar optimiert, aber historische Performance ist keine Garantie für zukünftige Ergebnisse.
Emotionen: Disziplin ist erforderlich, um die Regeln strikt zu befolgen.
Für wen ist diese Strategie geeignet?
Einsteiger: Dank klarer Regeln und einfacher Signale ist die Strategie auch für weniger erfahrene Trader geeignet.
Erfahrene Trader: Die Anpassungsfähigkeit und das Risikomanagement bieten auch fortgeschrittenen Tradern eine solide Grundlage.
Langfristige Anleger: Die Strategie eignet sich für Trader, die auf mittel- bis langfristige Trends setzen möchten.
Warum jetzt buchen?
Sofortige Umsetzbarkeit: Die Strategie ist sofort einsatzbereit und kann in jedem Marktumfeld angewendet werden.
Persönliche Anpassung: Wir passen die Strategie an Ihre individuellen Risikopräferenzen und Handelsziele an.
Unterstützung: Sie erhalten eine detaillierte Anleitung und kontinuierlichen Support, um die Strategie erfolgreich umzusetzen.
Fazit
Diese Strategie bietet eine ausgewogene Mischung aus Einfachheit, Anpassungsfähigkeit und Risikokontrolle. Sie ist ideal für Trader, die eine systematische und regelbasierte Herangehensweise suchen, um in trendstarken Märkten konsistente Gewinne zu erzielen.
Buchen Sie jetzt und starten Sie Ihre Trading-Reise mit einer bewährten und optimierten Strategie! 🚀
9/20/50 EMAThis indicator plots three key Exponential Moving Averages (EMAs) on your chart: the 9 EMA (blue), 20 EMA (yellow), and 50 EMA (white). These EMAs are widely used by traders to identify trends, gauge momentum, and spot potential support/resistance levels. The combination of these EMAs provides a clear visual representation of short-term, medium-term, and long-term trends, making it easier to analyze price action and make informed trading decisions.
High Probability Liquid Bar Signals high probability liquid bar and show if the red bar generates sell signal and if the green bar generates buy signal
Intraday Strategy with DEMA & VWAPthis indicator work as intraday live market signal provide with buy price, targer and stoploss too.
Dotel Quarter LevelsEste indicador de Pine Script, está diseñado para ayudar a los traders a identificar rápidamente niveles de precios clave en el gráfico. Su función principal es dibujar líneas horizontales en múltiplos de un valor especificado por el usuario, facilitando la visualización de posibles zonas de soporte y resistencia.
Funciones Principales:
Detección de Niveles Múltiplos: El indicador calcula y muestra líneas horizontales en el gráfico que representan múltiplos de un valor numérico definido por el usuario. Por ejemplo, si el usuario introduce 50, el indicador trazará líneas en niveles como 100, 150, 200, etc.
Personalización del Valor Múltiplo: Los usuarios tienen la flexibilidad de introducir cualquier valor numérico como base para los múltiplos, permitiendo adaptar el indicador a diferentes estilos de trading y activos financieros.
Control del Número de Líneas: Además de poder elegir el valor de los múltiplos, el usuario podrá también elegir cuantas lineas quiere que se dibujen por encima y por debajo del precio actual, esto lo hace mas flexible a las necesidades de cada usuario.
Visualización Clara: Las líneas se extienden a lo largo del gráfico, proporcionando una visualización clara y precisa de los niveles de precios relevantes.
Créditos:
Este indicador fue desarrollado por Alex Dotel, un joven programador dominicano apasionado por la creación de herramientas útiles para la comunidad de traders.