Donchian Channels based on highsDonchian Channels based on highs: its calculation is not based on highs and lows but just on highs
Indicators and strategies
Multi Timeframe MAsThis Pine Script indicator, titled "Multi Timeframe MAs," allows you to plot Exponential Moving Averages (EMAs) or Simple Moving Averages (SMAs) from multiple timeframes on a single chart. This helps traders and analysts visualize and compare different moving averages across various timeframes without having to switch between charts.
Key Features:
Multiple Timeframes:
The script supports six different timeframes, ranging from minutes to weekly intervals.
Users can input their desired timeframes, including custom settings such as "60" (60 minutes), "D" (daily), and "W" (weekly).
Moving Average Types:
Users can choose between Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) for each timeframe.
The script utilizes a ternary operator to determine whether to calculate an EMA or an SMA based on user input.
Customizable Periods:
Each moving average can have a different period, allowing for flexibility in analysis.
The default periods are set to commonly used values (e.g., 15, 20, 5, 12).
Visibility Controls:
Users can toggle the visibility of each moving average line, enabling or disabling them as needed.
This feature helps declutter the chart when specific moving averages are not required.
Black Stepped Lines:
All moving averages are plotted as black, stepped lines to provide a clear and consistent visual representation.
This makes it easy to distinguish these lines from other elements on the chart.
Example Use Cases:
Trend Analysis: Compare short-term and long-term trends by visualizing moving averages from different timeframes on a single chart.
Support and Resistance Levels: Identify key support and resistance levels across multiple timeframes.
Cross-Timeframe Strategy: Develop and test trading strategies that rely on the confluence of moving averages from different timeframes.
This script offers a powerful tool for traders and analysts who want to gain deeper insights into market movements by examining moving averages across multiple timeframes. With its customizable settings and user-friendly interface, it provides a versatile solution for a wide range of trading and analytical needs.
Multiasset MVRVZ - MVRVZ for Multiple Crypto Assets [Da_Prof]This indicator shows the Market Value-Realized Value Z-score (MVRVZ) for Multiple Assets. The MVRV-Z score measures the value of a crypto asset by comparing its market cap to the realized value and dividing by the standard deviation of the market cap (market cap – realized cap) / stdev(market cap) to get a z-score. When the market value is significantly higher than the realized value, the asset may be considered "overvalued". Conversely, market values below the realized value may indicate the asset is "undervalued". For some assets (e.g., BTC) historically high values have generally signaled price tops and historically low values have signaled bottoms.
The indicator displays two lines: 1) the MVRV-Z of the current chart symbol if the data is available through Coin Metrics (this is displayed in light blue), and 2) the MVRV-Z of the symbol selected from the dropdown (displayed in orange). The MVRV-Z of BTC is the default selected orange line. The example chart shows CRYPTOCAP:ETH 's MVRV-Z in blue and CRYPTOCAP:BTC 's MVRV-Z in orange.
The MVRV-Z in this indicator is calculated on the weekly and will display consistently on lower timeframes. Some MVRV-Z indicators calculate this value from collection of all data from the beginning of the chart on the timeframe of the chart. This creates inconsistency in the standard deviation calculation and ultimately the z-score calculation when moving between time frames. This indicator calculates MVRV-Z based on the set number of weeks prior from the source data directly (default is two years worth of weekly data). This allows consistent MVRV-Z values on weekly and lower timeframes.
Chandelier + MA Cross by MMMEl indicador "Chandelier + MA Cross" combina dos herramientas populares de análisis técnico en un solo script, diseñado para ayudar a los traders a identificar puntos clave de entrada y salida en el mercado. Este indicador es ideal para quienes buscan una combinación de señales basadas en la volatilidad y en el comportamiento de las medias móviles. A continuación, se detalla cada componente:
1. Chandelier Exit
El Chandelier Exit es un indicador de tendencia basado en el ATR (Average True Range), diseñado para establecer niveles dinámicos de stop-loss. Este componente utiliza valores máximos y mínimos de precio ajustados por la volatilidad para identificar zonas de salida, tanto en posiciones largas como cortas.
Características principales:
Líneas de Stop Long y Stop Short:
Líneas que se trazan en el gráfico representando los niveles de stop para posiciones largas (verde) y cortas (roja).
Señales de Compra/Venta:
Se generan etiquetas y formas en el gráfico cuando el precio cruza los niveles de stop, indicando un posible cambio de dirección de la tendencia.
Relleno visual:
Áreas coloreadas para destacar si el mercado está en un estado alcista (verde) o bajista (rojo).
Configuraciones personalizables:
Permite ajustar el período del ATR, el multiplicador y si se utilizan precios de cierre o máximos/mínimos para calcular los niveles.
Alertas:
Cambios en la dirección de la tendencia.
Señales de compra y venta basadas en el cruce de los niveles de stop.
2. Cruce de Medias Móviles (MA Cross)
Este componente se enfoca en identificar cruces entre dos medias móviles simples (SMA), un método clásico para detectar cambios en la dirección del mercado.
Características principales:
Medias Móviles Cortas y Largas:
Se trazan dos líneas en el gráfico (una de color naranja para la media móvil corta y una verde para la larga).
Señales de Cruce:
Aparecen triángulos verdes o rojos en el gráfico cuando las medias móviles se cruzan:
Triángulo verde: Cruce alcista (la media corta cruza por encima de la larga).
Triángulo rojo: Cruce bajista (la media corta cruza por debajo de la larga).
Configuraciones personalizables:
Puedes ajustar los períodos de las medias móviles para adaptarlas a tu estrategia.
Alertas:
Señales de cruce alcista y bajista para detectar puntos de entrada o salida.
Beneficios del Indicador Combinado
Mayor precisión:
Combina señales basadas en la volatilidad (Chandelier Exit) con las de cruce de medias móviles para confirmar tendencias.
Personalización:
Cada componente tiene configuraciones adaptables para ajustarse a diferentes estilos de trading.
Visualización clara:
Colores y formas fácilmente distinguibles para identificar oportunidades en el gráfico.
Alertas integradas:
No necesitas vigilar constantemente el gráfico, ya que las alertas te notifican sobre cambios relevantes.
XAUUSD Intraday Trading Strategy//@version=5
indicator("XAUUSD Intraday Trading Strategy", overlay=true)
// Input parameters
emaLength1 = input(14, title="EMA Length 1")
emaLength2 = input(28, title="EMA Length 2")
rsiLength = input(14, title="RSI Length")
atrLength = input(14, title="ATR Length")
riskRewardRatio = input(3, title="Risk/Reward Ratio")
atrMultiplier = input(1.5, title="ATR Multiplier for SL")
// Calculate indicators
ema1 = ta.ema(close, emaLength1)
ema2 = ta.ema(close, emaLength2)
rsi = ta.rsi(close, rsiLength)
atr = ta.atr(atrLength)
upperBand = ta.sma(close, 20) + 2 * ta.stdev(close, 20)
lowerBand = ta.sma(close, 20) - 2 * ta.stdev(close, 20)
// Define trading signals
longSignal = ta.crossover(ema1, ema2) and (rsi < 30)
shortSignal = ta.crossunder(ema1, ema2) and (rsi > 70)
// Stop Loss and Target calculations
longStopLoss = close - (atr * atrMultiplier)
longTarget = close + (atr * riskRewardRatio)
shortStopLoss = close + (atr * atrMultiplier)
shortTarget = close - (atr * riskRewardRatio)
// Plotting
plot(ema1, color=color.blue, title="EMA 14")
plot(ema2, color=color.red, title="EMA 28")
hline(70, "Overbought", color=color.red, linestyle=hline.style_dashed)
hline(30, "Oversold", color=color.green, linestyle=hline.style_dashed)
plot(upperBand, color=color.gray, title="Upper Bollinger Band")
plot(lowerBand, color=color.gray, title="Lower Bollinger Band")
// Buy and Sell signals
plotshape(series=longSignal, location=location.belowbar, color=color.green, style=shape.labelup, text="BUY", size=size.small)
plotshape(series=shortSignal, location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL", size=size.small)
// Alerts
alertcondition(longSignal, title="Long Signal", message="Long Signal for XAUUSD")
alertcondition(shortSignal, title="Short Signal", message="Short Signal for XAUUSD")
VWOPFunctionality:
Oscillator Selection: Allows the user to select one of seven oscillators (RSI, CCI, COG, MFI, CMO, TSI, COPPOCK) to calculate an oscillated value.
Variable Length Scaling: Dynamically adjusts the lengths (len1 to len4) based on the selected oscillator's value and its relative position within the oscillator's range. Four curve styles (<>, ><, <, >) control this behavior.
La bougie d'IvanThis show the a specific type of candle that can lead to impulsion at some strategic areas
mahid 2this is very good foro ichi time series
you can choose a candle and see a lot of things
try it and know more about that
Order Flow ZonasEl indicador "Order Flow Zonas" está diseñado para ayudarte a identificar áreas clave basadas en volumen alto, velas de momentum y puntos de pivote.
Volume PressureDraws the candle chart with colors to represent low, medium and high volumes. You get 3 colors for downward and 3 colors for upward movement. This will aid with immediately seeing the relative volume pushing the stock candle in the direction of movement.
You can control the percentage threshold for low and high volume. You also can change the colors to represent each volume level for upward and downward movement.
Simple Forex & Crypto Strategy By aura.aiSimple and effective strategy for forex and crypto trading. It uses moving averages (EMAs) and the Average True Range (ATR) to generate buy/sell signals, stop-loss points, and profit targets. The script is written to provide traders with actionable insights directly on the chart, ensuring clarity and ease of use.
Key Features:
Dual EMA Crossover Strategy:
A Buy Signal is generated when the short EMA (default: 9) crosses above the long EMA (default: 21).
A Sell Signal is triggered when the short EMA crosses below the long EMA.
Stop Loss Calculation:
Stop-loss values are derived using the ATR multiplier (default: 1.5) for dynamic and market-adaptive risk management.
Profit Targets:
Three levels of profit targets (1x, 2x, and 3x ATR) are calculated for both buy and sell trades.
Clear Chart Labels:
Displays buy/sell signals with stop-loss and target prices directly on the chart.
Labels are color-coded: green for buy and red for sell.
Accuracy Label:
A static accuracy display (e.g., 65%) is added to give traders confidence in the strategy's historical performance.
Minimal Clutter:
Designed to avoid chart overcrowding, with periodic accuracy labels and clean signal representation.
Benefits:
Simplicity: Easy-to-understand logic, making it suitable for beginners and experienced traders alike.
Dynamic Risk Management: Uses ATR to calculate stop-loss and targets based on market volatility.
Real-Time Insights: Signals and key levels are shown directly on the chart for quick decision-making.
Scalability: Works across multiple timeframes and asset classes (forex, crypto, etc.).
Limitations:
Static Accuracy: Accuracy percentage is based on assumed performance, not real-time backtesting.
No Future Prediction: Relies only on historical data and predefined logic, not predictive analytics.
This script provides a robust framework for trend-following and risk-managed trading.
Katik Cycle 56 DaysThis script plots vertical dotted lines on the chart every 56 trading days, starting from the first bar. It calculates intervals based on the bar_index and draws the lines for both historical and future dates by projecting the lines forward.
The lines are extended across the entire chart height using extend=extend.both, ensuring visibility regardless of chart zoom level. You can customize the interval length using the input box.
Note: Use this only for 1D (Day) candle so that you can find the changes in the trend...
5dollarsADay EMAEMA Ripsters with ability to change colors. Used a code from a current indicator and modify so allow color schemes
13 EMA and 26 EMA Crossover with Stop Loss//@version=5
strategy("13 EMA and 26 EMA Crossover with Stop Loss", overlay=true)
// Input for EMAs
length1 = input.int(13, title="Short EMA (13)")
length2 = input.int(26, title="Long EMA (26)")
// Calculate EMAs
ema13 = ta.ema(close, length1)
ema26 = ta.ema(close, length2)
// Detect crossovers
bullishCrossover = ta.crossover(ema13, ema26)
bearishCrossover = ta.crossunder(ema13, ema26)
// Plot EMAs
plot(ema13, color=color.new(color.blue, 0), title="13 EMA")
plot(ema26, color=color.new(color.red, 0), title="26 EMA")
// Stop loss (previous candle low)
stopLoss = low
// Entry logic for Buy
if bullishCrossover
strategy.entry("Buy", strategy.long, qty=10) // Enter long with 10 lots
strategy.exit("Exit", from_entry="Buy", stop=stopLoss) // Exit if stop loss is hit
// Close the position on bearish crossover (optional)
if bearishCrossover
strategy.close("Buy")
PDH & PDL HOLY GRAIL SCRIPTThis will automatically plot PDH and PDL Lines so that you don't have to make adjustments every morning before the market opens.
You can simply focus on plotting the ONH or ONL levels instead.
Stochastic Histogram - Mikel VaqueroStochastic Histogram (Stoch-H)
This indicator visualizes the difference between the %K and %D lines of the stochastic oscillator as a histogram. The histogram bars are color-coded for easy interpretation:
Green bars indicate positive values (%K is greater than %D).
Red bars indicate negative values (%K is less than %D).
This tool is designed to help traders identify potential trend shifts and overbought/oversold conditions at a glance. Customize the %K, %D, and smoothing periods to fit your trading strategy. Perfect for traders seeking a straightforward, visual representation of stochastic momentum.
INDICES Fibonacci Channel (3650 SMA with Labels)INDICES ONLY
This script dynamically combines Fibonacci levels with the 3650-period simple moving average (SMA), offering a powerful tool for identifying high-probability support and resistance zones. By adjusting to the changing 3650 SMA, the script remains relevant across different market phases.
Key Features:
Dynamic Fibonacci Levels:
The script automatically calculates Fibonacci retracements and extensions relative to the 3650 SMA.
These levels adapt to market trends, offering more relevant zones compared to static Fibonacci tools.
Support and Resistance Zones:
In uptrends, price often respects retracement levels above the 3650 SMA (e.g., 38.2%, 50%, 61.8%).
In downtrends, price may interact with retracements and extensions below the 3650 SMA (e.g., 23.6%, 1.618).
Customizable Confluence Zones:
Key levels such as the golden pocket (61.8%–65%) are highlighted as high-probability zones for reversals or continuations.
Extensions (e.g., 1.618) can serve as profit targets or bearish continuation points.
Practical Applications:
Identifying Reversal Zones:
Look for confluence between Fibonacci levels and the 3650 SMA to identify potential reversal points.
Example: A pullback to the 61.8%–65% golden pocket near the 3650 SMA often signals a bullish reversal.
Trend Confirmation:
In uptrends, price respecting Fibonacci retracements above the 3650 SMA (e.g., 38.2%, 50%) confirms strength.
Use Fibonacci extensions (e.g., 1.618) as profit targets during strong trends.
Dynamic Risk Management:
Place stop-losses just below key Fibonacci retracement levels near the 3650 SMA to minimize risk.
Bearish Scenarios:
Below the 3650 SMA, Fibonacci retracements and extensions act as resistance levels and bearish targets.
How to Use:
Volume Confirmation: Watch for volume spikes near Fibonacci levels to confirm support or resistance.
Price Action: Combine with candlestick patterns (e.g., engulfing candles, pin bars) for precise entries.
Trend Indicators: Use in conjunction with shorter moving averages or RSI to confirm market direction.
Example Setup:
Scenario: Price retraces to the 61.8% Fibonacci level while holding above the 3650 SMA.
Confirmation: Volume spikes, and a bullish engulfing candle forms.
Action: Enter long with a stop-loss just below the 3650 SMA and target extensions like 1.618.
Key Takeaways:
The 3650 SMA serves as a reliable long-term trend anchor.
Fibonacci retracements and extensions provide dynamic zones for trade entries, exits, and risk management.
Combining this tool with volume, price action, or other indicators enhances its effectiveness.
Market Participation Ratio-MPR(TechnoBlooms)Market Participation Ratio (MPR) Indicator - Description
The Market Participation Ratio (MPR) is a custom indicator designed to assess market activity by analyzing price and volume relationships over a specified period. This indicator is useful for identifying trends, participation levels, and key thresholds in market behavior.
Key Features:
1. MPR Calculation:
o The indicator calculates a ratio of the current price and volume relative to their respective moving averages over a user-defined period (Length).
o This ratio is scaled to 100 for better visualization and comparison.
2. Smoothing:
o To reduce noise and make the trend clearer, the MPR is smoothed using an Exponential Moving Average (Smoothing Length), making it easier to interpret.
3. Zero Line & Threshold Levels:
o A zero line at 0 is plotted for baseline comparison.
o Horizontal reference lines at 100 (threshold for strong participation) and 50 (optional secondary level) help in evaluating market trends.
Usage:
• Traders can use the MPR to identify when market participation is increasing or decreasing, which may signal potential trend reversals or continuations.
• Values above 100 often suggest robust market activity, favorable for long positions.
• Values below 100 may indicate waning interest, potentially signaling pullbacks or bearish trends.
Customizable Inputs:
• Length: Adjusts the moving average period for price and volume calculations.
• Smoothing Length: Determines the degree of smoothing applied to the MPR.
Applications:
• Trend Analysis: Detect shifts in bullish or bearish momentum based on participation levels.
• Market Strength: Identify periods of increased or reduced market involvement by traders and investors.
• Entry/Exit Signals: Use levels around 100 as potential cues for positioning in the market.
This indicator is versatile for both short-term and long-term trading strategies and is a valuable addition for technical analysis enthusiasts seeking deeper insights into market dynamics.
[Helper] Trade Journal TableThis indicator serves as a starting point for creating a customized trade journal that meets individual requirements. It provides a basic structure for visualizing trade data in table form which can be adapt to specific needs. The trade data must be maintained directly within the script using the Pine Editor.
Basic Structure:
The example table consists of six columns: Date, Entry Price, Exit Price, Profit/Loss (color-coded), Strategy, and Notes. It is displayed centrally on the chart and dynamically adjusts to the number of recorded trades.
Example Data:
To demonstrate its functionality, the indicator includes predefined example trades, which should be replaced with actual trading data. Additional information, such as strategies and notes, can be added to improve trade documentation.
Lukhi EMA Crossover_TWL StrategyParameter Breakdown:
Capital: ₹15,000.
Risk Per Trade: ₹1,000.
This determines the amount you're willing to lose per trade.
Take Profit Per Trade: ₹5,000.
Your target profit level.
Stop Loss Distance: Adjusted to match practical scenarios (default: 20 points).
How It Works:
Buy Signal:
A trade is entered when the shorter EMA crosses above the longer EMA, and RSI is above 50.
Stop-loss is set at 20 points below the entry price.
Take-profit is calculated to match the risk-reward ratio based on your input.
Sell Signal:
A trade is entered when the shorter EMA crosses below the longer EMA, and RSI is below 50.
Stop-loss is set at 20 points above the entry price.
Take-profit is calculated similarly.
Failure Detection:
Red cross signals on the chart indicate when a trade fails (stop-loss is hit).
Mrphin's Awesome IndicatorShades the background to identify when to place puts and calls based on RSI levels and position within the Bollinger Bands. Also has directional arrows that highlight when the price is likely to cross above or below the 50-day moving average.
TRENDSYNC BUY/SELL BY SIMPLY_DANTE-FXTrendSync Buy and Sell Indicator
PS: Kindly give me feedback on the comment section, I will really appriciate
Created By: Simply_Dante-FX
About the Author:
Simply_Dante-FX is a skilled trader and developer with a focus on creating custom indicators and strategies for technical analysis. With a strong understanding of market behavior, he has designed the TrendSync Buy and Sell indicator to help traders identify high-probability buy and sell signals based on a combination of trend-following, momentum, and price action strategies. Simply_Dante-FX aims to provide tools that enhance trading decisions and improve the overall trading experience.
---
Description:
The TrendSync Buy and Sell indicator is designed to help traders identify potential buy and sell signals based on a combination of trend-following and momentum-based strategies. This custom indicator combines a range of technical tools, including the Simple Moving Average (SMA), Average True Range (ATR), and the Relative Strength Index (RSI), to filter and confirm entry points.
---
How It Works:
1. Trend Identification (SMA):
- The indicator uses the 200-period Simple Moving Average (SMA) to determine the overall trend direction.
- A Buy Signal is generated when the price is above the SMA, indicating an uptrend.
- A Sell Signal is generated when the price is below the SMA, indicating a downtrend.
2. Range Filtering (ATR):
- The Average True Range (ATR) is used to filter out signals that occur during periods of low volatility.
- The ATR is multiplied by a user-defined range filter multiplier (default is 1.2) to ensure the signal is coming from a sufficiently volatile market condition.
3. Momentum Confirmation (RSI):
- The RSI is used as a momentum filter. For Buy Signals, the RSI must be above the user-defined threshold (default is 50), indicating bullish momentum.
- For Sell Signals, the RSI must be below the opposite threshold (100 - RSI Threshold), indicating bearish momentum.
4.Price Action Conditions:
- Buy and Sell signals are further confirmed by price action:
- Buy Signal: Identifies higher lows during an uptrend.
- Sell Signal: Identifies higher highs during an uptrend, or lower highs in a downtrend.
5. Unified Signal:
- The script combines the various conditions to generate a unified signal, ensuring that only high-probability trade opportunities are highlighted.
How to Use It:
1.Buy Signal: Look for a green label below the bar, which indicates a potential buying opportunity. This signal is generated when:
- The price is above the 200-period SMA (uptrend).
- The RSI is above the defined threshold (momentum confirmation).
- The ATR-based range filter confirms sufficient market movement.
2. Sell Signal: Look for a red label above the bar, which indicates a potential selling opportunity. This signal is generated when:
- The price is below the 200-period SMA (downtrend).
- The RSI is below the defined threshold (momentum confirmation).
- The ATR-based range filter confirms sufficient market movement.
3. Visual Confirmation: The script also plots the 200-period SMA for easy identification of the overall trend direction.
4.Alert Setup: You can set up an alert using the “Unified Buy/Sell Alert” condition to notify you when a buy or sell signal is triggered.
Disclaimer:
- Risk Warning: The TrendSync Buy and Sell indicator is a tool for technical analysis and is not a guaranteed method for predicting market movements. Trading carries risk, and it is essential to use proper risk management techniques and not rely solely on any one indicator.
- No Financial Advice: This indicator does not constitute financial advice, and the author, Simply_Dante-FX, does not take responsibility for any trading losses or profits resulting from the use of this tool.
- Performance: Past performance is not indicative of future results. Always conduct your own analysis and use additional tools and strategies to confirm trade decisions.
Use this indicator with caution, and always ensure that you understand the risks involved in trading before committing real capital.