Candlestick Bible: Dynamic Price Follower Strategy Overview:
This trading strategy, named "Candlestick Bible: Dynamic Price Follower (Corrected)", is designed to trade based on candlestick patterns, the market trend, and price action dynamics. It generates long (buy) and short (sell) signals using a combination of:
Candlestick pattern recognition
Exponential moving averages (EMA)
Price movement analysis (ATR)
The strategy does not include any position management logic (like trailing stops or exit rules). It simply enters trades based on specific conditions, and you would need to manually manage exits or apply additional rules for that.
Detailed Breakdown of Each Section:
1. Pattern Detection:
This part of the strategy identifies specific candlestick patterns:
Pin Bar Detection: A "Pin Bar" is a candlestick with a long shadow (upper or lower) and a small body. The strategy looks for Bullish Pin Bars (when the lower shadow is at least twice the body size) and Bearish Pin Bars (when the upper shadow is at least twice the body size).
Engulfing Pattern: The strategy detects Bullish Engulfing (when the current candlestick fully engulfs the previous bearish candlestick) and Bearish Engulfing (when the current candlestick fully engulfs the previous bullish candlestick).
These patterns are used to trigger entry conditions in the strategy.
2. Dynamic Trend System:
Exponential Moving Averages (EMAs): The strategy uses two EMAs to determine the current market trend:
Fast EMA (8-period): A quicker-moving average, more responsive to recent price changes.
Slow EMA (21-period): A slower-moving average that smooths out price action.
The strategy compares the fast EMA to the slow EMA:
If the fast EMA is above the slow EMA, the market is considered bullish.
If the fast EMA is below the slow EMA, the market is considered bearish.
This trend direction is important for confirming whether a long (buy) or short (sell) signal is valid.
3. Price Movement System:
Average True Range (ATR): The strategy uses ATR (14-period) to gauge the market's volatility.
Trail Offset: Although the exit logic for trailing stops has been removed, the ATR value is used to calculate the distance for potential trailing stops (for future strategies that might include exit rules).
4. Strategy Rules:
Long (Buy) Condition:
The strategy will enter a long position if either a Bullish Pin Bar or a Bullish Engulfing pattern is detected, and the market is in a bullish trend (i.e., the fast EMA is above the slow EMA).
The closing price should also be above the slow EMA to confirm the strength of the bullish trend.
Short (Sell) Condition:
The strategy will enter a short position if either a Bearish Pin Bar or a Bearish Engulfing pattern is detected, and the market is in a bearish trend (i.e., the fast EMA is below the slow EMA).
The closing price should be below the slow EMA to confirm the strength of the bearish trend.
5. Strategy Entries:
The strategy will enter long positions when the long condition is met (i.e., a bullish candlestick pattern forms and the market is bullish).
The strategy will enter short positions when the short condition is met (i.e., a bearish candlestick pattern forms and the market is bearish).
No exit rules are implemented. Therefore, trades are entered but not automatically exited.
6. Visual Feedback:
EMA Lines: The strategy plots the Fast EMA (blue) and Slow EMA (red) on the chart to visually represent the market’s trend.
Entry Signals: The strategy uses plotshape to visually mark entry points:
Green triangle (below the bar) indicates a long (buy) signal.
Red triangle (above the bar) indicates a short (sell) signal.
Summary of the Strategy's Actions:
The strategy checks for Bullish or Bearish Pin Bars or Bullish or Bearish Engulfing patterns.
It filters these signals by checking the market trend (using the Fast and Slow EMAs).
It enters trades when both the candlestick pattern and market trend align:
Long trade: If there is a Bullish pattern and the market is in a bullish trend.
Short trade: If there is a Bearish pattern and the market is in a bearish trend.
The strategy will not exit positions automatically (you would need to manually manage exits, or implement additional exit rules).
What’s Missing:
Position Management: No trailing stop or stop-loss logic is included in this version of the strategy. Once a position is opened, it will remain open until manually closed or additional exit conditions are added.
指标和策略
Özelleştirilmiş SuperTrendatr period atr çarpanı ve ondalık kısım eklenmiş . daha hassas bir indikatör.
ELISAThe indicator uses Bollinger Bands with various moving average types. The strategy rules are to go long when the price closes above the upper band and close the long when it closes below the lower band. So, the entry and exit conditions are based on the close relative to the bands.
Gaussian Channel with Stochastic RSIStrategy based on the Gaussian Channel and add Stochastic RSI to avoid bad trades.
Good for Long only, no shorting.
Never uses lookahead_on.
Volume, Neckline, Min/Max Bars, Risk/Reward (No Negative Index)Script 2: “Volume, Neckline, Min/Max Bars, and Risk/Reward Demo”
Purpose: Provide a single script that deals with Volume Divergence detection, a Neckline line, a Min/Max bar concept, and an example of Risk/Reward lines.
How It’s Organized:
Each feature has a separate boolean toggle (showVolumeDiv, showNeckline, etc.).
Each feature has its own input parameters (volLookback, neckLookback, lsMin/lsMax, riskReward).
The script is purely an indicator: no actual trades, just lines and shapes for demonstration.
Base Candle IdentifierThis is a Base candle Identifier. Helps in marking support and resistance levels.
Bullish Divergence + Support Levels Custom//@version=5
indicator("Bullish Divergence + Support Levels", overlay=true)
// RSI Calculation
rsiLength = 14
rsi = ta.rsi(close, rsiLength)
// Detect Bullish Divergence
low1 = ta.lowest(low, 5)
low2 = ta.lowest(low, 5)
rsiLow1 = ta.lowest(rsi, 5)
rsiLow2 = ta.lowest(rsi, 5)
// Condition: Price Lower Low but RSI Higher Low (Bullish Divergence)
bullishDivergence = (low1 < low2) and (rsiLow1 > rsiLow2)
// Support Level Detection
supportLevel = ta.lowest(close, 20)
// Moving Averages for Trend Confirmation
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
trendConfirmation = close > ema50 and ema50 > ema200 // Strong uptrend confirmation
// Price Change % for Early Recovery
change1H = (close - close ) / close * 100 // 1-hour change
change4H = (close - close ) / close * 100 // 4-hour change
earlyRecovery = change1H > 0 or change4H > 0
// Final Buy Signal: Bullish Divergence + Support Level + Trend + Early Recovery
buySignal = bullishDivergence and close >= supportLevel and trendConfirmation and earlyRecovery
// Plot Buy Signal
plotshape(series=buySignal, location=location.belowbar, color=color.green, style=shape.labelup, title="BUY 🚀")
plot(supportLevel, color=color.blue, title="Support Level", linewidth=2)
plot(ema50, color=color.orange, title="50 EMA")
plot(ema200, color=color.red, title="200 EMA")
Directional Cycle Indicator (DCI) with True Apex/Nadir CyclesAn indication where the cycle goes over 0 it means it goes up and it's probably time to sell and give you the apex .When under zero and when it's it is in the nadir then it's time to buy , that's it
EMA Ribbon with Dynamic Colors**EMA Ribbon with Dynamic Colors**
The "EMA Ribbon with Dynamic Colors" indicator is a technical analysis tool designed to visualize the market trend using multiple Exponential Moving Averages (EMAs) with dynamic color coding. It plots a series of EMAs with different periods, ranging from the fast-moving 5-period EMA to the slower 89-period EMA, and uses color changes to indicate trend shifts.
### Key Features:
- **Dynamic Color Coding**:
- **Green Ribbon**: Indicates a bullish trend, where the shorter-period EMAs are above the longer-period EMAs, signaling upward momentum.
- **Red Ribbon**: Indicates a bearish trend, where the shorter-period EMAs are below the longer-period EMAs, signaling downward pressure.
- **200 EMA (Yellow)**: The 200-period EMA is plotted in **yellow**, representing the long-term trend and acting as a key support/resistance level.
- **Buy and Sell Signals**:
- A **Buy Signal** is generated when the price crosses above the 89-period EMA, confirming a bullish trend reversal.
- A **Sell Signal** is generated when the price crosses below the 89-period EMA, confirming a bearish trend reversal.
- **Alerts**: Set up notifications when the buy or sell signals are triggered for timely market entries or exits.
This indicator is useful for traders who want to identify trend reversals and dynamic market conditions through the clear visualization of EMAs and their interactions, helping with decision-making in both short-term and long-term trading strategies.
Gold Trading Signals m.samimi// Pine Script v5
//@version=5
indicator("Gold Trading Signals", overlay=true)
// تنظیم اندیکاتورها
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
= ta.macd(close, 12, 26, 9)
rsi = ta.rsi(close, 14)
atr = ta.atr(14)
stochRsi = ta.stoch(close, high, low, 14)
volumeProfile = ta.sma(volume, 50)
// محاسبه Bollinger Bands به صورت دستی
bb_middle = ta.sma(close, 20)
bb_upper = bb_middle + 2 * ta.stdev(close, 20)
bb_lower = bb_middle - 2 * ta.stdev(close, 20)
// شرط خرید (Buy Signal)
buyCondition = ta.crossover(macdLine, signalLine) and close > ema50 and close > ema200 and rsi > 50 and stochRsi < 20
// شرط فروش (Sell Signal)
sellCondition = ta.crossunder(macdLine, signalLine) and close < ema50 and close < ema200 and rsi < 50 and stochRsi > 80
// واگراییها
divBull = ta.lowest(close, 5) < ta.lowest(close, 10) and rsi > ta.lowest(rsi, 10) // واگرایی مثبت
divBear = ta.highest(close, 5) > ta.highest(close, 10) and rsi < ta.highest(rsi, 10) // واگرایی منفی
// بررسی شکست مقاومت و حمایت
breakoutUp = close > bb_upper and volume > volumeProfile
breakoutDown = close < bb_lower and volume > volumeProfile
// مدیریت ریسک با ATR
stopLoss = atr * 1.5
riskReward = stopLoss * 2
// نمایش سیگنالها
plotshape(buyCondition or divBull or breakoutUp, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal")
plotshape(sellCondition or divBear or breakoutDown, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal")
// نمایش خطوط EMA
plot(ema50, title="EMA 50", color=color.blue)
plot(ema200, title="EMA 200", color=color.orange)
// نمایش Bollinger Bands
plot(bb_upper, title="BB Upper", color=color.gray)
plot(bb_middle, title="BB Middle", color=color.gray)
plot(bb_lower, title="BB Lower", color=color.gray)
// نمایش ATR
plot(atr, title="ATR", color=color.purple)
Multi-SMA (10 21 50 200 300)Displays 10, 21, 50, 200, and 300-period Simple Moving Averages on the chart.
Step Gap Earnings IndicatorThis step gap indicator shows gaps between the close of the previous day and open of the follwing day
Estrategia NASDAQ Futuros - EMA + RSI + Bollinger//@version=5
strategy("Estrategia NASDAQ Futuros - EMA + RSI + Bollinger", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10)
// Parámetros de la EMA
ema_rapida = ta.ema(close, 9)
ema_lenta = ta.ema(close, 21)
// Parámetros del RSI
rsi_length = 14
rsi_sobrecompra = 70
rsi_sobreventa = 30
rsi = ta.rsi(close, rsi_length)
// Parámetros de las Bandas de Bollinger
bb_length = 20
bb_desviacion = 2
= ta.bb(close, bb_length, bb_desviacion)
// Condiciones de Entrada
condicion_compra = ta.crossover(ema_rapida, ema_lenta) and rsi < rsi_sobreventa and close < bb_inferior
condicion_venta = ta.crossunder(ema_rapida, ema_lenta) and rsi > rsi_sobrecompra and close > bb_superior
// Ejecución de las Órdenes
if (condicion_compra)
strategy.entry("Compra", strategy.long)
if (condicion_venta)
strategy.entry("Venta", strategy.short)
// Gestión del Riesgo
stop_loss = 50 // Ajusta según el valor del futuro del NASDAQ
take_profit = 100
strategy.exit("Cerrar Compra", "Compra", stop=strategy.position_avg_price * (1 - stop_loss/10000), limit=strategy.position_avg_price * (1 + take_profit/10000))
strategy.exit("Cerrar Venta", "Venta", stop=strategy.position_avg_price * (1 + stop_loss/10000), limit=strategy.position_avg_price * (1 - take_profit/10000))
// Visualización en el Gráfico
plot(ema_rapida, color=color.blue, title="EMA Rápida (9)")
plot(ema_lenta, color=color.red, title="EMA Lenta (21)")
plot(bb_superior, color=color.green, title="Banda Superior")
plot(bb_inferior, color=color.red, title="Banda Inferior")
hline(rsi_sobrecompra, "Sobrecompra", color=color.red)
hline(rsi_sobreventa, "Sobreventa", color=color.green)
EMA and Ichimoku Baseline StrategyBest for swing trading. this strategy is made up by Baseline of ichimoku indicator and moving averages of 5ema and 34ema. It is a crossover strategy.
High-Probability Crypto Indicator1//@version=5
indicator("High-Probability Crypto Indicator", overlay=true)
// Inputs
emaFastLength = input(50, "Fast EMA Length")
emaSlowLength = input(200, "Slow EMA Length")
rsiLength = input(14, "RSI Length")
volumeSpikeMultiplier = input(2.0, "Volume Spike Multiplier")
// EMAs
emaFast = ta.ema(close, emaFastLength)
emaSlow = ta.ema(close, emaSlowLength)
// RSI
rsi = ta.rsi(close, rsiLength)
// Volume Analysis
volumeAvg = ta.sma(volume, 20)
volumeSpike = volume > volumeAvg * volumeSpikeMultiplier
// Bullish Conditions
emaBullish = ta.crossover(emaFast, emaSlow) // Fast EMA crosses above Slow EMA
rsiBullish = rsi > 50 and rsi < 70 // RSI in bullish zone but not overbought
bullishSignal = emaBullish and rsiBullish and volumeSpike
// Bearish Conditions
emaBearish = ta.crossunder(emaFast, emaSlow) // Fast EMA crosses below Slow EMA
rsiBearish = rsi < 50 and rsi > 30 // RSI in bearish zone but not oversold
bearishSignal = emaBearish and rsiBearish and volumeSpike
// Plot Signals
plotshape(bullishSignal, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="Buy Signal")
plotshape(bearishSignal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="Sell Signal")
// Plot EMAs
plot(emaFast, color=color.blue, title="Fast EMA")
plot(emaSlow, color=color.red, title="Slow EMA")
Multi-Indicator Strategy v6highly profitable pinescript strategy with macd, EMA, pivot levels, bollinger bands, rsi, keltner channel or Money flow indicator
Wyckoff Advanced StrategyInterpreta las señales en el gráfico:
Zonas de acumulación/distribución:
Zonas de acumulación: Se resaltan en un color verde suave (transparente) cuando el precio está por encima del rango medio y el volumen es alto.
Zonas de distribución: Se resaltan en un color rojo suave cuando el precio está por debajo del rango medio y el volumen es alto.
Eventos clave (Wyckoff):
Selling Climax (SC): Un triángulo verde marca un punto donde el precio alcanza un mínimo significativo con un volumen alto.
Automatic Rally (AR): Un triángulo rojo indica un pico tras un rally automático.
Spring y Upthrust: Círculos verdes y rojos que identifican posibles reversiones clave.
Sign of Strength (SOS) y Sign of Weakness (SOW): Señales de fortaleza o debilidad representadas como etiquetas azules (SOS) y púrpuras (SOW).
Líneas de soporte/resistencia:
Líneas horizontales rojas (resistencia) y verdes (soporte) indican los extremos del rango de precio detectado.
Análisis de volumen (opcional):
Las barras con volumen alto se resaltan en azul y las de volumen bajo en amarillo, si habilitas esta opción.
Ajusta la configuración según tu análisis:
El indicador tiene opciones para personalizar los colores y mostrar análisis de volumen. Puedes activarlas/desactivarlas según tu preferencia en los parámetros del indicador.
Cómo interpretar los eventos principales:
Fases Wyckoff:
Usa las zonas resaltadas (verde y rojo) para identificar si estás en acumulación o distribución.
Busca eventos clave (SC, AR, Spring, Upthrust, etc.) que marquen cambios importantes en el mercado.
Tendencia futura:
Si detectas un Sign of Strength (SOS), es posible que el precio entre en una tendencia alcista.
Si aparece un Sign of Weakness (SOW), es más probable que el precio entre en una tendencia bajista.
Soportes y resistencias:
Las líneas horizontales te ayudan a identificar niveles críticos donde el precio podría rebotar o romper.
Volumen y momentum:
Analiza el volumen para validar rupturas, springs o upthrusts. Un volumen alto suele confirmar la fuerza de un movimiento.
Sugerencias para mejorar tu análisis:
Temporalidad: Prueba diferentes marcos temporales (1H, 4H, diario) para detectar patrones Wyckoff en distintos niveles.
Activos: Úsalo en activos líquidos como índices, criptomonedas, acciones o divisas.
Backtest: Aplica el script en datos históricos para validar cómo funciona en el activo que operas.
The Game of Momentum This provides the momentum of the stock.
When the curve changed to Blue line, indicate the buying opportunity
Support/Resistance + Donchian Channel (lord gozer)Better test before use it ,because its about your money not mine
Support/Resistance, FVG & Liquidity Grabmy latest code, this is all about the fvg and liquidity grab and also shows us the strong support and resistance
Bakır/Altın Oranıabout makro"s work conditions ; if the line is decreasing , folks would like to see more secure , if the line is going up , means that workin conditions growing , and demand for the basic element is growing up .
rich's golden crossHow It Works:
Rich's Golden Cross plots clear "BUY" signals on your chart when all conditions align, giving you a strategic edge in the markets. Whether you're a swing trader or a long-term investor, this indicator helps you stay ahead of the curve by filtering out noise and focusing on high-quality setups.
Why Choose Rich's Golden Cross?
Multi-Timeframe Analysis: Combines short-term and long-term trends for better accuracy.
Easy-to-Read Signals: Clear buy alerts directly on your chart.
Customizable: Adjust parameters to suit your trading style.
Take your trading to the next level with Rich's Golden Cross—your ultimate tool for spotting golden opportunities in the market.