אינדיקטורים ואסטרטגיות
Fibonacci Rainbow EMAs & 55/144 CrossThe "Fibonacci Rainbow EMAs & 50/200 Cross" indicator is a powerful tool for visualizing price trends and identifying potential trading opportunities. It combines two key components: a Fibonacci-based EMA rainbow and a moving average crossover system.
Fibonacci Rainbow EMAs:
This indicator plots seven Exponential Moving Averages (EMAs) based on Fibonacci numbers: 8, 13, 21, 55, 89, 144, and 233. These EMAs are color-coded in a rainbow sequence (Red, Orange, Yellow, Green, Aqua, Blue, Purple) to provide a clear visual representation of the short-term, medium-term, and long-term price trends. The rainbow effect helps traders quickly assess the overall market direction and identify potential support and resistance levels. When the EMAs are aligned in the correct order (8 above 13, 13 above 21, etc.), it suggests a strong uptrend. The opposite order suggests a downtrend. Compression of the rainbow suggests consolidation, while expansion suggests increasing volatility.
55/144 EMA Cross Detection:
In addition to the rainbow, the script detects and visually highlights crossovers between the 55-period EMA and the 144-period EMA.
Bullish Cross: When the 55-period EMA crosses above the 144-period EMA, a green upward-pointing triangle is plotted below the bar. This signals a potential shift towards bullish momentum.
Bearish Cross: When the 55-period EMA crosses below the 144-period EMA, a red downward-pointing triangle is plotted above the bar. This signals a potential shift towards bearish momentum.
Alerts:
The indicator includes customizable alerts for both bullish and bearish crossovers. These alerts can be configured within TradingView to notify you when a crossover occurs, allowing you to react quickly to potential trading opportunities. The alert messages specifically state which EMAs have crossed (55 and 144).
Key Features:
Visual Trend Identification: The rainbow EMAs provide a clear, color-coded view of the trend.
Crossover Signals: The 55/144 EMA crossovers generate potential buy and sell signals.
Customizable Alerts: Real-time alerts keep you informed of significant market events.
Fibonacci Sequence: The use of Fibonacci numbers for EMA lengths adds a mathematical basis often considered significant in market analysis.
How to Use:
Use the EMA rainbow to identify the overall trend direction.
Look for 55/144 EMA crossovers as potential entry or exit points.
Combine the indicator with other technical analysis tools for confirmation.
Customize the alerts to fit your trading style.
Disclaimer: This indicator is for informational and educational purposes only and should not be considered financial advice. Trading involves risk, and 1 past performance is not indicative of future results. Always do your own research and consult with a qualified financial advisor before making any investment decision.
Pullback Indicator with Trend, SMC Logic & Signals3Pullback Indicator with Trend, SMC Logic & Signals3
LBRTY by RichDer Indikator ist für die Liberty Strategie Asia Range mit erweiterten Linien an High und LOW
RSI, MME e Bandas de Bollinger para 60 Segundos//@version=5
indicator("RSI, MME e Bandas de Bollinger para 60 Segundos", overlay=true)
// Configurações do RSI
periodoRSI = input(14, title="Período do RSI")
rsiValor = ta.rsi(close, periodoRSI)
// Configurações da MME
periodoMME = input(9, title="Período da MME")
mmeValor = ta.ema(close, periodoMME)
// Configurações das Bandas de Bollinger
periodoBB = input(20, title="Período das Bandas de Bollinger")
desvioBB = input(2.0, title="Desvio Padrão das Bandas de Bollinger")
= ta.bb(close, periodoBB, desvioBB)
// Plotando o RSI em um gráfico separado
rsiPlot = hline(70, "Sobrecompra", color=color.red)
hline(30, "Sobrevenda", color=color.green)
plot(rsiValor, title="RSI", color=color.blue)
// Plotando a MME no gráfico
plot(mmeValor, title="MME", color=color.orange, linewidth=2)
// Plotando as Bandas de Bollinger
plot(superiorBB, title="Banda Superior", color=color.red)
plot(medioBB, title="Banda Média", color=color.blue)
plot(inferiorBB, title="Banda Inferior", color=color.green)
// Sinalização para condições de compra e venda
bgcolor(rsiValor > 70 ? color.new(color.red, 90) : na, title="Sobrecompra")
bgcolor(rsiValor < 30 ? color.new(color.green, 90) : na, title="Sobrevenda")
Ronnie's DikFat Attack - Moving Average Angle/Slope PositionRonnie's DikFat Attack - True Moving Average Angle/Slope Position
Overview
This TradingView indicator, written in Pine Script version 5, injects energy into your chart analysis by calculating and displaying the angles of four moving averages (MAs). It empowers you to customize each MA—choosing both type and length—to suit your trading strategy perfectly.
How It Works
1. User Inputs:
Under the “MA Settings” group, the script offers an intuitive interface where you can define four different moving averages. Each MA can be set to one of several types (SMA, EMA, SMMA, VWMA, Hull, WMA, or TEMA) and assigned a specific length (number of bars).
2. Dynamic Moving Average Calculation:
A dedicated function ( getMA ) selects and computes the appropriate moving average using TradingView’s built-in functions (like ta.ema , ta.sma , etc.). This yields four customized MA series based on your inputs.
3. Calculating the Angle of Momentum:
The script employs a robust function ( calcAngle ) that measures the change between consecutive values of each MA to determine its slope. This slope is then converted into an angle in degrees using the arctangent function, providing a clear and vivid depiction of trend strength and direction.
4. Visualizing the Angles:
Each moving average’s angle is plotted with its own distinct color, enhancing visual clarity. A horizontal line at 0° acts as a reference point, marking the divide between upward and downward momentum.
Potential Uses
Trend Analysis:
The angle measurement offers a dynamic perspective on trend strength. Steep positive angles suggest vigorous upward movement, while steep negative angles indicate strong downward trends.
Signal Confirmation:
By comparing the angles of multiple moving averages, you can quickly spot momentum shifts and crossover points, which may serve as powerful entry or exit signals.
Tailored Strategy Customization:
The flexibility to choose various MA types and lengths allows this tool to adapt seamlessly to different timeframes and trading styles, enhancing its usefulness in diverse market conditions.
EMA with Trade Duration ControlSignals for Buying and Selling on EMA and VWMA crossing.
Back tested - 73% Win Rate - Best for 3:1 and Higher Risk to Reward Trades
Chandelier Exit ProCe script Pine Script v5 met en œuvre une version avancée de l'indicateur Chandelier Exit, utilisé pour déterminer des niveaux de stop-loss dynamiques basés sur la volatilité du marché. Il inclut des fonctionnalités améliorées telles que l'ATR dynamique, la gestion des risques, l'analyse multi-timeframe (MTF) et des alertes personnalisables.
Squeeze_breakout_reversalThis script identifies high-probability breakout and reversal setups using a combination of Bollinger Bands, Keltner Channels, MACD, Stochastic RSI, and Anchored VWAP.
🔹 Breakout Signals: Triggered after a volatility squeeze with momentum confirmation.
🔹 Reversal Signals: Occur post-squeeze with strong directional momentum shifts.
🔹 Customizable Inputs: Adjust indicator parameters for fine-tuned signals.
🔹 Enhanced Visualization:
Bollinger Bands, Keltner Channels, and AVWAP plotted on the main chart.
MACD & Stochastic RSI plotted in a separate pane.
Dynamic bar coloring for easy signal recognition.
Ideal for traders looking to capitalize on high-momentum breakouts and reversals! 📈🔥
SMA Crossover Strategy//@version=5
indicator("SMA Crossover Strategy", overlay=true)
// Define the short-term and long-term moving averages
shortTermLength = 50
longTermLength = 200
smaShort = ta.sma(close, shortTermLength)
smaLong = ta.sma(close, longTermLength)
// Plot the moving averages on the chart
plot(smaShort, color=color.blue, title="50-day SMA")
plot(smaLong, color=color.red, title="200-day SMA")
// Generate buy and sell signals
buySignal = ta.crossover(smaShort, smaLong)
sellSignal = ta.crossunder(smaShort, smaLong)
// Plot the buy and sell signals on the chart
plotshape(series=buySignal, color=color.green, style=shape.labelup, location=location.belowbar, text="BUY")
plotshape(series=sellSignal, color=color.red, style=shape.labeldown, location=location.abovebar, text="SELL")
// Alerts for buy and sell signals
alertcondition(condition=buySignal, title="Buy Signal", message="SMA Crossover: Buy Signal")
alertcondition(condition=sellSignal, title="Sell Signal", message="SMA Crossover: Sell Signal")
Ichimoku Cloud with SL TPIndikatornya agak aneh titik harganya harus di pilih resolusi chart yang tepat
MACD Strategy//@version=5
strategy("MACD Strategy", overlay=true)
//Macd 参数
fastLength = input(12, title="快线长度")
slowLength = input(26, title="慢线长度")
MACDLength = input(9, title="MACD 信号线长度")
// 计算 MACD
MACD = ta.ema(close, fastLength) - ta.ema(close, slowLength)
aMACD = ta.ema(MACD, MACDLength)
delta = MACD - aMACD
// 计算 EMA(10) 和 MA(20)
ema10 = ta.ema(close, 10)
ma20 = ta.sma(close, 20)
// 在图表上绘制 EMA(10) 和 MA(20),用于调试
plot(ema10, title="EMA 10", color=color.blue, linewidth=2)
plot(ma20, title="MA 20", color=color.red, linewidth=2)
// 实时检查条件
// 检查 EMA(10) 是否高于 MA(20)
bool emaAboveMa = ema10 > ma20
// 检查 MACD 是否在信号线上方,且 MACD 和信号线均在 0 轴下方
bool macdCondition = (MACD > aMACD) and (MACD < 0) and (aMACD < 0)
// 添加调试信息 - 当条件满足时绘制图形
plotshape(emaAboveMa, title="EMA Above MA Condition", size=size.small, text="eam")
plotshape(macdCondition, title="MACD Condition", size=size.small, text="macd")
// 当两个条件都满足时,触发买入操作
if (emaAboveMa and macdCondition)
strategy.entry("多头", strategy.long, comment="买入信号")
// 显示买入信号的标签
label.new(bar_index, high, "买入", textcolor=color.white, style=label.style_label_up, size=size.normal)
// 平仓条件
if (ta.crossunder(delta, 0) and MACD > 0 and aMACD > 0)
strategy.close("MacdLE", comment="Close Long")
//if (ta.crossunder(delta, 0))
// strategy.entry("MacdSE", strategy.short, comment="MacdSE")
//plot(strategy.equity, title="equity", color=color.red, linewidth=2, style=plot.style_areabr)
MCR Candles IndicatorThis indicator will do the following:
For a bearish blue momentum candle:
1. The candle must be a bearish candle.
2. Price must be trading below the 20ema.
3. The body of the candle must be larger than the ATR 7 period.
4. Make the color of the candle that meets these three criteria blue.
For a bullish yellow momentum candle:
1. The candle must be a bullish candle.
2. Price must be trading above the 20ema.
3. The body of the candle must be larger than the ATR 7 period.
4. Make the color of the candle that meets these three criteria yellow.
Precision Order Block FinderPrecision Order Block Finder
This advanced indicator identifies high-probability Order Block patterns with customizable confirmation parameters for increased precision and reliability. Unlike basic Order Block indicators, this tool allows you to specify the exact confirmation criteria needed before marking a pattern as valid.
Key Features:
Detects both bullish and bearish Order Block patterns
Customizable confirmation candle settings (1:3 ratio by default)
Adjustable visual properties including transparency and line styles
Optional price labels for quick reference
Filter options to display only bullish, bearish, or both pattern types
How It Works:
The indicator identifies potential Order Blocks by locating a trigger candle (bearish for bullish patterns, bullish for bearish patterns) followed by your specified number of confirmation candles in the opposite direction. This multi-candle confirmation approach helps filter out false signals and focuses on the most reliable trading opportunities.
Perfect for both swing and intraday traders looking to identify key market turning points with greater accuracy. The visual representation clearly highlights potential entry zones and price targets to streamline your trading decisions.
Adjust the settings to match your trading style and timeframe preferences for optimal results.
Gann Box from Last Swing High/Low with Alerts By NiteshGann Box from Last Swing High/Low with Alerts By Nitesh
myc 15min//@version=5
strategy("MultiSymbol Smart Money EA sin Lotes ni Pares", overlay=true)
// Parámetros de la estrategia RSI
RSI_Period = input.int(14, title="RSI Periodo", minval=1)
RSI_Overbought = input.float(70, title="RSI sobrecompra")
RSI_Oversold = input.float(30, title="RSI sobreventa")
// Valores fijos para Stop Loss y Take Profit en porcentaje
FIXED_SL = input.float(0.2, title="Stop Loss en %", minval=0.0) / 100
FIXED_TP = input.float(0.6, title="Take Profit en %", minval=0.0) / 100
// Cálculo del RSI
rsi = ta.rsi(close, RSI_Period)
// Condiciones de compra y venta basadas en el RSI
longCondition = rsi <= RSI_Oversold
shortCondition = rsi >= RSI_Overbought
// Precio de entrada
longPrice = close
shortPrice = close
// Ejecutar las operaciones
if (longCondition)
strategy.entry("Compra", strategy.long)
if (shortCondition)
strategy.entry("Venta", strategy.short)
// Fijar el Stop Loss y Take Profit en base al porcentaje de la entrada
if (strategy.position_size > 0) // Si hay una posición larga
longStopLoss = longPrice * (1 - FIXED_SL)
longTakeProfit = longPrice * (1 + FIXED_TP)
strategy.exit("Salir Compra", from_entry="Compra", stop=longStopLoss, limit=longTakeProfit)
if (strategy.position_size < 0) // Si hay una posición corta
shortStopLoss = shortPrice * (1 + FIXED_SL)
shortTakeProfit = shortPrice * (1 - FIXED_TP)
strategy.exit("Salir Venta", from_entry="Venta", stop=shortStopLoss, limit=shortTakeProfit)
Enhanced Gold Strategy (15M)Enhanced Gold Trading Strategy (15M)
This Pine Script strategy is designed for gold trading on a 15-minute timeframe, optimizing trend and momentum signals for high-probability trades. It incorporates multiple technical indicators to filter out false signals and improve trade accuracy.
Key Features:
✅ Moving Average Crossovers – Uses a 20-period short MA and 50-period long MA to identify trend shifts.
✅ Relative Strength Index (RSI) – Helps confirm overbought and oversold conditions to time entries better.
✅ Bollinger Bands Expansion – Ensures trades occur only in high-volatility market conditions.
✅ ADX Trend Strength Filter – Filters out trades in weak or choppy markets by requiring a trend strength above 20.
✅ Dynamic Support & Resistance – Uses the last 50-period high/low levels instead of static price levels.
✅ ATR-Based Stop-Loss & Take-Profit – Adapts dynamically to market conditions for optimal risk management.
✅ London/New York Overlap Filter – Restricts trading to the most liquid market hours (1 PM - 4 PM GMT).
Trading Logic:
Long Entry:
Short MA crosses above Long MA (Bullish crossover).
RSI below oversold level (Potential reversal).
Bollinger Bands expansion (Confirming strong momentum).
Price near dynamic support level (Ensuring a key level is respected).
ADX above 20 (Validating a strong trend).
Short Entry:
Short MA crosses below Long MA (Bearish crossover).
RSI above overbought level (Potential reversal).
Bollinger Bands expansion (Confirming strong momentum).
Price near dynamic resistance level (Ensuring a key level is respected).
ADX above 20 (Validating a strong trend).
This strategy is built for high-probability gold trades by combining trend-following, momentum, and volatility factors. With adaptive risk management, it ensures controlled losses and optimized profit potential.