BTCs RSI + EMA 200 EMA CrossA simple script that provides an alert on the 200 EMA when price crosses the 200 EMA after the RSI dips below 25.
Indicateurs et stratégies
Sanjay RS&RSI Strategy V3 for nifty 15min, SL-1.3one of the best swing strategy of nifty futures, fix SL of 1.1%.
Hammer and Reverse Hammer Candles HighlightHammer and Reverse Hammer Candles Highlight Indicator
The Hammer Candle Highlight Indicator is a visual tool designed to identify and highlight hammer candles on the chart. Hammer candles are a significant price action signal, often associated with potential reversals or strong buying pressure, and are characterized by a long lower wick relative to the body size.
Core Features:
Hammer Candle Detection:
Identifies candles where:
The lower wick is at least 3 times the size of the body (customizable via settings).
The upper wick is smaller than or equal to the body.
Customizable Wick-to-Body Ratio:
The user can adjust the ratio to control the sensitivity of hammer detection.
Default ratio is set to 3.0.
Default ratio is set to 2.5.
Chart Highlighting:
Candles meeting the hammer criteria are highlighted with a semi-transparent background for easy visualization.
Alerts:
Alerts notify the user when a hammer candle is detected.
Use Cases:
Reversal Signal:
Hammer candles often indicate a potential bullish reversal after a downtrend.
They show strong buying interest after a period of downward pressure.
Support Level Confirmation:
Hammer candles forming near support levels may validate the level and indicate a strong bounce.
Trend Continuation:
In some cases, hammers within an uptrend may signal renewed buying momentum.
Customization Options:
Wick-to-Body Ratio:
Adjust the ratio (wickMultiplier) to fine-tune hammer detection.
Example: A ratio of 3.0 means the lower wick must be at least 3 times the size of the body.
Highlight Color:
Customize the background color (highlightColor) for hammer candles on the chart.
How It Works:
Calculations:
Body: Absolute difference between the candle's open and close.
Lower Wick: Distance between the lower of the open/close and the low.
Upper Wick: Distance between the higher of the open/close and the high.
Hammer Conditions:
Lower wick must be greater than or equal to 3 times the body size.
Upper wick must be less than or equal to the body size.
Visualization:
Candles meeting the criteria are highlighted on the chart.
Alerts:
Users can configure alerts for real-time notifications when hammer candles are detected.
Benefits:
Time-Saving:
Automates the identification of hammer candles, saving time and effort.
Customizable:
Flexible settings allow traders to adjust detection parameters to fit their strategy.
Actionable Insights:
Provides actionable signals for potential reversals or trend continuations.
Ideal For:
Traders relying on price action strategies.
Swing traders and scalpers looking for reversal signals near key levels.
Traders using support/resistance analysis or ICT trading concepts.
This indicator simplifies the process of detecting hammer candles, making it a valuable addition to any trader's toolkit. Let me know if you’d like further enhancements!
Estrategia RSI para BCT/USDT//@version=5
indicator("Estrategia RSI para BCT/USDT", overlay=false)
// Configuración del RSI
rsiPeriod = 14
rsiOverbought = 70
rsiOversold = 30
// Cálculo del RSI
rsiValue = ta.rsi(close, rsiPeriod)
// Señales de Compra y Venta
buySignal = ta.crossover(rsiValue, rsiOversold)
sellSignal = ta.crossunder(rsiValue, rsiOverbought)
// Gráfico del RSI
hline(rsiOverbought, "Sobrecompra", color=color.red)
hline(rsiOversold, "Sobreventa", color=color.green)
plot(rsiValue, "RSI", color=color.blue)
// Señales en el gráfico
plotshape(buySignal, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, text="BUY")
plotshape(sellSignal, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, text="SELL")
// Histograma de RSI
bgcolor(buySignal ? color.new(color.green, 90) : na)
bgcolor(sellSignal ? color.new(color.red, 90) : na)
Vektor-Kerzen//@version=5
indicator("Vektor-Kerzen", overlay=true)
// Berechnung der Vektorkerzen
openVektor = (open + close) / 2
closeVektor = (high + low) / 2
// Farbe für die Kerzen
col = closeVektor > openVektor ? color.green : color.red
// Vektorkerzen zeichnen
plotcandle(openVektor, high, low, closeVektor, color=col, wickcolor=color.gray, bordercolor=col)
鳄鱼线 + MA 趋势捕捉器 1. 策略介绍
该策略是基于 Alligator 指标 和 移动平均线 (MA) 的组合,旨在捕捉趋势市场中的买卖机会。它结合了比尔·威廉姆斯的 Alligator 指标(三条平滑移动平均线:Jaw、Teeth、Lips)与指数移动平均线 (EMA),以此来识别趋势并决定入场点和出场点。
Alligator 指标通过三条不同周期的移动平均线代表市场的不同状态:
Jaw(下颌线):反映市场的长期趋势。
Teeth(牙齿线):反映市场的中期趋势。
Lips(嘴唇线):反映市场的短期趋势。
趋势线(Trendline) 使用200周期的指数移动平均线 (EMA),用于识别整体市场方向,帮助确认是否应当采取多头或空头仓位。
2. 执行原理
该策略会判断以下条件来做出交易决策:
做多(Long)条件:
当前价格(收盘价)高于200周期的 EMA 线(表示上升趋势)。
Alligator 的 Lips(嘴唇线)高于 Teeth(牙齿线),Teeth 高于 Jaw(下颌线),表明市场处于上升趋势的多头结构。
策略允许开多头单并且当前没有开仓。
平多单条件:当价格低于趋势线,且 Alligator 的嘴唇线位于牙齿线和下颌线下方,表明市场进入下行趋势,平掉多头单。
做空(Short)条件:
当前价格低于200周期的 EMA 线(表示下降趋势)。
Alligator 的 Lips(嘴唇线)低于 Teeth(牙齿线),Teeth 低于 Jaw(下颌线),表明市场处于下降趋势的空头结构。
策略允许开空头单并且当前没有开仓。
平空单条件:当价格重新高于趋势线,且 Alligator 的嘴唇线回到牙齿线上方,表明市场进入上升趋势,平掉空头单。
3. 重绘风险
Alligator 和 EMA 都是基于历史价格的移动平均线,因此没有明显的重绘风险。重绘一般发生在基于未来数据的指标上,而这个策略并没有使用未来数据,除非用户手动进行历史回测时有不当操作。
4. 优缺点分析
优点:
简单清晰:结合 Alligator 指标和趋势线,很容易识别市场的趋势,特别适合趋势市场。
使用两种不同的技术指标提供了趋势确认,避免了单一指标的误判。
自动处理开仓和平仓,不需要过多的手动干预。
缺点:
对震荡行情敏感:在横盘震荡时,可能频繁发出错误信号,导致高频的进出场,增加交易成本。
滞后性:由于 Alligator 和移动平均线本质上是滞后的指标,可能错失一些短期快速的趋势机会。
5. 适合的资产和周期
适合的资产:由于策略基于趋势判断,适合高波动性的资产,如 加密货币、股票市场中的高波动性个股、期货市场。
时间周期:策略使用了相对较长的移动平均线,因此更适合 较长周期 的操作,如 4小时或日线,在短周期内可能会因为噪音导致策略表现不佳。
6. 改进方向
增加过滤条件:可以加入震荡行情的过滤器,减少在震荡市场中的假信号。
动态调整参数:针对不同的市场环境,设置不同的周期或动态调整周期以适应不同的波动性。
Güncel Al/Sat Sinyalleri - Heikin Ashi Hakan Dicel//@version=5
indicator("Güncel Al/Sat Sinyalleri - Heikin Ashi", overlay=true)
// Heikin Ashi Mumlarının Hesaplanması
var float ha_open = na
ha_close = (open + high + low + close) / 4
ha_open := na(ha_open ) ? (open + close) / 2 : (ha_open + ha_close ) / 2
ha_high = math.max(high, math.max(ha_open, ha_close))
ha_low = math.min(low, math.min(ha_open, ha_close))
// Parametreler
length = input.int(14, title="Hareketli Ortalama Periyodu")
source = ha_close // Heikin Ashi kapanış fiyatını kullanıyoruz
// Hareketli Ortalama Hesaplama
sma_line = ta.sma(source, length)
// Al/Sat Şartları
buy_signal = ta.crossover(source, sma_line) // Fiyat SMA'yı yukarı keserse al
sell_signal = ta.crossunder(source, sma_line) // Fiyat SMA'yı aşağı keserse sat
// Alarmlar için Şartlar
alertcondition(buy_signal, title="AL Sinyali", message="AL Sinyali Geldi! Fiyat: {{close}}")
alertcondition(sell_signal, title="SAT Sinyali", message="SAT Sinyali Geldi! Fiyat: {{close}}")
// Grafik Üzerinde Görselleştirme
plot(sma_line, color=color.blue, title="Hareketli Ortalama", linewidth=2)
plotshape(series=buy_signal, title="Al", location=location.belowbar, color=color.green, style=shape.labelup, text="Al", size=size.small)
plotshape(series=sell_signal, title="Sat", location=location.abovebar, color=color.red, style=shape.labeldown, text="Sat", size=size.small)
EMA Slope 45° Alert with CustomizationChatGPT developed the code for this indicator using my prompts.
When the background is green, focus on BUY.
When the background is red, focus on SELL.
However, it is better to filter the direction bias with any EMA cross or any other indicators that you prefer. There are options for the inputs that you need to adjust to suit your trading strategy.
Entry is based on candlestick patterns such as pin bar and engulfing, especially when the price retraces to any support or resistance.
Daily Vertical Line at 11:30 AMSimple script that draws a horizontal line at specific time every day.
Change the time in the script. It is currently set to 08.30
VİPER_TRADE( Al/Sat Sinyalleri - Heikin Ashi ) HAKAN_DİCEL//@version=5
indicator("Güncel Al/Sat Sinyalleri - Heikin Ashi", overlay=true)
// Heikin Ashi Mumlarının Hesaplanması
var float ha_open = na
ha_close = (open + high + low + close) / 4
ha_open := na(ha_open ) ? (open + close) / 2 : (ha_open + ha_close ) / 2
ha_high = math.max(high, math.max(ha_open, ha_close))
ha_low = math.min(low, math.min(ha_open, ha_close))
// Parametreler
length = input.int(14, title="Hareketli Ortalama Periyodu")
source = ha_close // Heikin Ashi kapanış fiyatını kullanıyoruz
// Hareketli Ortalama Hesaplama
sma_line = ta.sma(source, length)
// Al/Sat Şartları
buy_signal = ta.crossover(source, sma_line) // Fiyat SMA'yı yukarı keserse al
sell_signal = ta.crossunder(source, sma_line) // Fiyat SMA'yı aşağı keserse sat
// Alarmlar için Şartlar
alertcondition(buy_signal, title="AL Sinyali", message="AL Sinyali Geldi! Fiyat: {{close}}")
alertcondition(sell_signal, title="SAT Sinyali", message="SAT Sinyali Geldi! Fiyat: {{close}}")
// Grafik Üzerinde Görselleştirme
plot(sma_line, color=color.blue, title="Hareketli Ortalama", linewidth=2)
plotshape(series=buy_signal, title="Al", location=location.belowbar, color=color.green, style=shape.labelup, text="Al", size=size.small)
plotshape(series=sell_signal, title="Sat", location=location.abovebar, color=color.red, style=shape.labeldown, text="Sat", size=size.small)
Multyline SMAthis indicator will create multiple SMA lines .you can change the gap between the lines by changing the points input.
RSI Strategy with Alerts Inside RSI PanelThe "BUY" signal will be a green circle at the oversold level (30).
The "SELL" signal will be a red circle at the overbought level (70).
Signals will be displayed directly within the RSI panel without overlapping the main price chart.
Open_close AND HIGH_LOW_diffAverage of Absolute (Open - Close) Indicator
This indicator calculates the average of the absolute difference between the open and close prices of the last n candles and plots the result in a separate panel.
Key Features:
Customizable Period: Users can set the number of candles (n) to include in the average calculation.
Absolute Value Calculation: The script computes the absolute difference (|Open - Close|) for each candle, ensuring only positive values are averaged.
Separate Panel Visualization: The indicator is displayed in a separate panel below the main chart for clear and uncluttered analysis.
Red Plot: The average value is plotted with a bold red line for easy identification.
Use Cases:
Analyze the average volatility of price movements over a specified period.
Identify periods of consistent price differences between open and close levels.
Complement other volatility or trend-based indicators.
This tool is ideal for traders who want to monitor the consistency of price fluctuations and integrate it into their decision-making process.
How to Use:
Add the script to your TradingView chart.
Adjust the "Number of Candles" input to match your preferred look-back period.
Observe the red line in the separate panel to analyze the average absolute difference over time.
Feel free to reach out with suggestions or feedback to enhance the functionality of this script!
Entry Price % Difference//@version=5
indicator("Entry Price % Difference", overlay=true)
// User input for entry price
entryPrice = input.float(title="Entry Price", defval=100.0, step=0.1)
// Draggable input for profit and stop loss levels
profitLevel = input.float(title="Profit Level (%)", defval=10.0, step=0.1)
stopLossLevel = input.float(title="Stop Loss Level (%)", defval=-10.0, step=0.1)
// User input for USDT amount in the trade
usdtAmount = input.float(title="USDT Amount", defval=1000.0, step=1.0)
// User input for trade type (Long or Short)
tradeType = input.string(title="Trade Type", defval="Long", options= )
// User input for line styles and colors
profitLineStyle = input.string(title="Profit Line Style", defval="Dotted", options= )
profitLineColor = input.color(title="Profit Line Color", defval=color.green)
profitLineWidth = input.int(title="Profit Line Width", defval=1, minval=1, maxval=5)
stopLossLineStyle = input.string(title="Stop Loss Line Style", defval="Dotted", options= )
stopLossLineColor = input.color(title="Stop Loss Line Color", defval=color.red)
stopLossLineWidth = input.int(title="Stop Loss Line Width", defval=1, minval=1, maxval=5)
entryLineColor = input.color(title="Entry Line Color", defval=color.blue)
entryLineWidth = input.int(title="Entry Line Width", defval=1, minval=1, maxval=5)
// User input for fee percentage
feePercentage = input.float(title="Fee Percentage (%)", defval=0.1, step=0.01)
// Map line styles
profitStyle = profitLineStyle == "Solid" ? line.style_solid : profitLineStyle == "Dotted" ? line.style_dotted : line.style_dashed
stopLossStyle = stopLossLineStyle == "Solid" ? line.style_solid : stopLossLineStyle == "Dotted" ? line.style_dotted : line.style_dashed
// Calculate percentage difference
livePrice = close
percentDifference = tradeType == "Long" ? ((livePrice - entryPrice) / entryPrice) * 100 : ((entryPrice - livePrice) / entryPrice) * 100
// Calculate profit or loss
profitOrLoss = usdtAmount * (percentDifference / 100)
// Calculate fees and net profit or loss
feeAmount = usdtAmount * (feePercentage / 100)
netProfitOrLoss = profitOrLoss - feeAmount
// Display percentage difference, profit/loss, and fees as a single label following the current price
if bar_index == last_bar_index
labelColor = percentDifference >= 0 ? color.new(color.green, 80) : color.new(color.red, 80)
var label plLabel = na
if na(plLabel)
plLabel := label.new(bar_index + 1, livePrice + (livePrice * 0.005), str.tostring(percentDifference, "0.00") + "% " + "P/L: " + str.tostring(netProfitOrLoss, "0.00") + " USDT (Fee: " + str.tostring(feeAmount, "0.00") + ")",
style=label.style_label_down, color=labelColor, textcolor=color.white)
else
label.set_xy(plLabel, bar_index + 1, livePrice + (livePrice * 0.005))
label.set_text(plLabel, str.tostring(percentDifference, "0.00") + "% " + "P/L: " + str.tostring(netProfitOrLoss, "0.00") + " USDT (Fee: " + str.tostring(feeAmount, "0.00") + ")")
label.set_color(plLabel, labelColor)
// Calculate profit and stop loss levels based on trade type
profitPrice = tradeType == "Long" ? entryPrice * (1 + profitLevel / 100) : entryPrice * (1 - profitLevel / 100)
stopLossPrice = tradeType == "Long" ? entryPrice * (1 + stopLossLevel / 100) : entryPrice * (1 - stopLossLevel / 100)
// Plot profit, stop loss, and entry price lines
line.new(x1=bar_index - 1, y1=profitPrice, x2=bar_index + 1, y2=profitPrice, color=profitLineColor, width=profitLineWidth, style=profitStyle)
line.new(x1=bar_index - 1, y1=stopLossPrice, x2=bar_index + 1, y2=stopLossPrice, color=stopLossLineColor, width=stopLossLineWidth, style=stopLossStyle)
line.new(x1=bar_index - 1, y1=entryPrice, x2=bar_index + 1, y2=entryPrice, color=entryLineColor, width=entryLineWidth, style=line.style_solid)
// Show percentage difference in the price scale
plot(percentDifference, title="% Difference on Price Scale", color=color.new(color.blue, 0), linewidth=0, display=display.price_scale)
// Add alerts for profit and stop loss levels
alertcondition(livePrice >= profitPrice, title="Profit Target Reached", message="The price has reached or exceeded the profit target.")
alertcondition(livePrice <= stopLossPrice, title="Stop Loss Triggered", message="The price has reached or dropped below the stop loss level.")
[HS전략_Helper] Heikin Ashi vs Regular Candle Comparisonv1.0
Initial release
- Heikin Ashi vs Regular Candle Comparison
Entry Price % Difference//@version=5
indicator("Entry Price % Difference", overlay=true)
// User input for entry price
entryPrice = input.float(title="Entry Price", defval=100.0, step=0.1)
// Draggable input for profit and stop loss levels
profitLevel = input.float(title="Profit Level (%)", defval=10.0, step=0.1)
stopLossLevel = input.float(title="Stop Loss Level (%)", defval=-10.0, step=0.1)
// User input for USDT amount in the trade
usdtAmount = input.float(title="USDT Amount", defval=1000.0, step=1.0)
// User input for trade type (Long or Short)
tradeType = input.string(title="Trade Type", defval="Long", options= )
// User input for line styles and colors
profitLineStyle = input.string(title="Profit Line Style", defval="Dotted", options= )
profitLineColor = input.color(title="Profit Line Color", defval=color.green)
stopLossLineStyle = input.string(title="Stop Loss Line Style", defval="Dotted", options= )
stopLossLineColor = input.color(title="Stop Loss Line Color", defval=color.red)
// User input for fee percentage
feePercentage = input.float(title="Fee Percentage (%)", defval=0.1, step=0.01)
// Map line styles
profitStyle = profitLineStyle == "Solid" ? line.style_solid : profitLineStyle == "Dotted" ? line.style_dotted : line.style_dashed
stopLossStyle = stopLossLineStyle == "Solid" ? line.style_solid : stopLossLineStyle == "Dotted" ? line.style_dotted : line.style_dashed
// Calculate percentage difference
livePrice = close
percentDifference = tradeType == "Long" ? ((livePrice - entryPrice) / entryPrice) * 100 : ((entryPrice - livePrice) / entryPrice) * 100
// Calculate profit or loss
profitOrLoss = usdtAmount * (percentDifference / 100)
// Calculate fees and net profit or loss
feeAmount = usdtAmount * (feePercentage / 100)
netProfitOrLoss = profitOrLoss - feeAmount
// Display percentage difference, profit/loss, and fees as a single label following the current price
if bar_index == last_bar_index
labelColor = percentDifference >= 0 ? color.new(color.green, 80) : color.new(color.red, 80)
var label plLabel = na
if na(plLabel)
plLabel := label.new(bar_index + 1, livePrice + (livePrice * 0.005), str.tostring(percentDifference, "0.00") + "% " + "P/L: " + str.tostring(netProfitOrLoss, "0.00") + " USDT (Fee: " + str.tostring(feeAmount, "0.00") + ")",
style=label.style_label_down, color=labelColor, textcolor=color.white)
else
label.set_xy(plLabel, bar_index + 1, livePrice + (livePrice * 0.005))
label.set_text(plLabel, str.tostring(percentDifference, "0.00") + "% " + "P/L: " + str.tostring(netProfitOrLoss, "0.00") + " USDT (Fee: " + str.tostring(feeAmount, "0.00") + ")")
label.set_color(plLabel, labelColor)
// Calculate profit and stop loss levels based on trade type
profitPrice = tradeType == "Long" ? entryPrice * (1 + profitLevel / 100) : entryPrice * (1 - profitLevel / 100)
stopLossPrice = tradeType == "Long" ? entryPrice * (1 + stopLossLevel / 100) : entryPrice * (1 - stopLossLevel / 100)
// Plot profit, stop loss, and entry price lines
line.new(x1=bar_index - 1, y1=profitPrice, x2=bar_index + 1, y2=profitPrice, color=profitLineColor, width=1, style=profitStyle)
line.new(x1=bar_index - 1, y1=stopLossPrice, x2=bar_index + 1, y2=stopLossPrice, color=stopLossLineColor, width=1, style=stopLossStyle)
line.new(x1=bar_index - 1, y1=entryPrice, x2=bar_index + 1, y2=entryPrice, color=color.blue, width=1, style=line.style_solid)
// Show percentage difference in the price scale
plot(percentDifference, title="% Difference on Price Scale", color=color.new(color.blue, 0), linewidth=0, display=display.price_scale)
Moving Average Exponential (13,20,50,100,200)Krypto Trading , Moving Average Exponential Gleitender Durchschnitt für wiederstand und Support
swing Hungđây là cách vẽ sóng dài thay cho sóng gann
nó sẽ hỗ trợ bạn trong nhiều trường hợp phải vẽ tay
Trends Strategy with TP/SL and Fibonacci 1A Trend Strategy in trading XAUUSD (gold) focuses on identifying and capitalizing on the market's prevailing directional momentum. Gold is a highly liquid asset and often moves in significant trends due to its sensitivity to global economic conditions, inflation expectations, interest rates, and geopolitical events. A trend-following strategy aims to ride these movements, either upward (bullish trend) or downward (bearish trend), maximizing profit potential while minimizing risks.
Key Components of a Trend Strategy for XAUUSD:
Trend Identification:
Use technical indicators such as moving averages (e.g., EMA, SMA) or trendlines to determine the direction of the trend.
A bullish trend is characterized by higher highs and higher lows, while a bearish trend features lower highs and lower lows.
Example: Employ the 50 EMA and 200 EMA Crossover to confirm trend direction. When the 50 EMA crosses above the 200 EMA, it indicates a bullish trend, and vice versa for a bearish trend.
Entry Points:
Enter trades in the direction of the trend. For a bullish trend, buy on pullbacks to support levels or moving averages. For a bearish trend, sell on pullbacks to resistance levels.
Indicators like the RSI (Relative Strength Index) or Stochastic Oscillator can help identify overbought or oversold conditions, providing better entry points.
Exit Points:
Use predefined take-profit and stop-loss levels to manage trades effectively.
For take-profit, set targets at major resistance levels for long positions or support levels for short positions.
For stop-loss, use levels slightly below the recent swing low in a bullish trend or above the recent swing high in a bearish trend.
Confirmation Indicators:
Incorporate additional indicators like the MACD (Moving Average Convergence Divergence) or ADX (Average Directional Index) to confirm trend strength.
The ADX value above 25 suggests a strong trend, while values below 20 indicate a weak or range-bound market.
Risk Management:
Use proper position sizing, typically risking no more than 1-2% of your account per trade.
Avoid over-leveraging, as XAUUSD is highly volatile, which can lead to large price swings.
Trend Continuation and Reversal Monitoring:
Watch for signs of trend exhaustion or reversal using candlestick patterns (e.g., Doji, Engulfing) or divergence on indicators like RSI or MACD.
When the trend weakens, adjust your positions or exit trades to lock in profits.
Estratégia com Bandas de Bollinger e Sinal de Retorno a mediaRacional do Sistema de Trade com Bandas de Bollinger e Sinal de Retorno
Objetivo: O objetivo deste sistema de trade é identificar oportunidades de compra e venda com base na análise das Bandas de Bollinger e no comportamento do preço em relação à média. O sistema busca aproveitar os momentos de afastamento e retorno à média para gerar sinais de entrada e saída, maximizando ganhos e minimizando riscos.
MACD with Signals Teknik cikgu meg develope by @AvacuraFX.
histogram diplot (hijau) buy dan (merah) sell.
CC: MEG