O Piá Das Criptos - Gráfico BASED//FORÇA DO RSI: O script calcula o RSI para o ativo em análise e para o Bitcoin (BTC). A força do RSI é a diferença entre o RSI do ativo atual e o RSI do Bitcoin. Um valor positivo indica que o ativo está mais forte em relação ao BTC, enquanto um valor negativo indica fraqueza.
//DELTA BTC: O script calcula a variação percentual do preço do ativo e do BTC para diferentes intervalos de tempo (1 minuto, 5 minutos, 15 minutos, etc.). O Delta BTC é então a diferença entre essas variações. Um valor positivo indica que o ativo teve um desempenho melhor que o BTC, enquanto um valor negativo indica o contrário.
//EXP BTC: O script calcula a EMA do ativo e a EMA do BTC e depois determina a diferença percentual entre o preço atual e essas EMAs. A comparação mostra como o ativo está performando em relação ao BTC baseado nas EMAs. Valores positivos sugerem que o ativo está performando melhor em relação ao BTC em termos de média móvel, enquanto valores negativos sugerem o oposto.
//EMAS: O código calcula EMAs de diferentes períodos (9, 21, 50, 100, 150, 200, 210, 250, 300) e as plota no gráfico. A interseção entre EMAs de diferentes períodos é usada para identificar possíveis sinais de compra e venda.
//SINAIS DE COMPRA: Quando a EMA de 9 períodos cruza acima da EMA de 21 períodos (crossover), é gerado um emoticon de coração. A parte interna das EMA fica verde.
//SINAIS DE VENDA: Quando a EMA de 9 períodos cruza abaixo da EMA de 21 períodos (crossunder), é gerado um emoticoin de raiva. A parte interna das EMA fica vermelha.
//FUNDO GRÁFICO: A cor do fundo do gráfico pode ser alterada com base na força do RSI, facilitando a visualização rápida do estado do ativo (força ou fraqueza).
//ALERTAS: notificam o trader sobre aumento ou diminuição da força do ativo em relação ao BTC, e Cruzamentos das EMAs (crossover e crossunder), ajudando o trader a não perder oportunidades.
//ALVOS DO TOURO: Calculados quando a EMA de 9 cruza acima da EMA de 21. Os alvos são definidos com base na diferença entre o preço de abertura do candle (na hora do crossover) e uma média do preço máximo recente.
//ALVOS DO URSO: Calculados quando a EMA de 9 cruza abaixo da EMA de 21. Os alvos são definidos com base na diferença entre o preço de abertura do candle (na hora do crossunder) e uma média do preço mínimo recente.
Indicateurs et stratégies
Liquidity Squeeze Indicator 1The provided Pine Script code implements a "Liquidity Squeeze Indicator" in TradingView, designed to detect potential bullish or bearish market squeezes based on EMA slopes, candle wicks, and body sizes.
Code Breakdown
EMAs Calculation: Calculates the 21-period (ema_21) and 50-period (ema_50) exponential moving averages (EMAs) on closing prices.
EMA Slope Calculation: Computes the slope of the 21-period EMA over a 21-period lookback to estimate trend direction, with a threshold of 0.45 to approximate a 45-degree angle.
Candle Properties: Measures the size of the candle's body and its upper and lower wicks for comparison to detect wick-to-body ratios.
Trend Identification: Defines a bullish trend when ema_21 is above ema_50 and a bearish trend when ema_21 is below ema_50.
Wick Conditions
Bullish Condition : In a bullish trend with the EMA slope up, checks if the upper wick is at least 3x the body size and the closing price is above the 21 EMA.
Bearish Condition: In a bearish trend with the EMA slope down, checks if the lower wick is at least 3x the body size and the closing price is below the 21 EMA.
Signal Plotting: Plots a green dot above the bar for bullish signals and a red dot below the bar for bearish signals.
Alerts: Defines alert conditions for both bullish and bearish signals, providing specific alert messages when conditions are met.
Summary
This indicator helps identify potential bullish or bearish liquidity squeezes by looking at trends, EMA slopes, and wick-to-body ratios in candlesticks. The primary signals are visualized through dots on the chart and can trigger alerts for notable market conditions.
ICT & SMC Strategy//@version=5
strategy("ICT & SMC Strategy", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=5)
// إعدادات الهيكل السوقي
swingHigh = ta.highest(high, 5)
swingLow = ta.lowest(low, 5)
// تعريف كتل الأوامر - تعريف شمعة ذات زخم قوي
isBullishOrderBlock = (close > open) and (high - low > 1.5 * (close - open ))
isBearishOrderBlock = (close < open) and (high - low > 1.5 * (open - close ))
// مناطق السيولة (اعتمادًا على أعلى القمم وأدنى القيعان)
liquidityZoneHigh = ta.highest(high, 20)
liquidityZoneLow = ta.lowest(low, 20)
// إشارات الشراء والبيع بناءً على الهيكل السوقي وكتل الأوامر
longCondition = (ta.crossover(low, swingLow) or isBullishOrderBlock) and (close > liquidityZoneLow)
shortCondition = (ta.crossunder(high, swingHigh) or isBearishOrderBlock) and (close < liquidityZoneHigh)
// تنفيذ الأوامر
if (longCondition)
strategy.entry("Buy", strategy.long)
if (shortCondition)
strategy.entry("Sell", strategy.short)
// عرض مناطق السيولة وكتل الأوامر على الرسم البياني
plot(liquidityZoneHigh, color=color.red, linewidth=1, title="Liquidity Zone High")
plot(liquidityZoneLow, color=color.green, linewidth=1, title="Liquidity Zone Low")
bgcolor(isBullishOrderBlock ? color.new(color.green, 80) : na, title="Bullish Order Block")
bgcolor(isBearishOrderBlock ? color.new(color.red, 80) : na, title="Bearish Order Block")
Ongoing YieldFort protection (ETH)This script shows the operation of YieldFort's protection, updated every 2nd and 4th week of the month. YieldFort protection helps hedge against volatility, preventing dollar losses on BTC, ETH, or TON investments. If the cryptocurrency price drops by the end of the period, clients are compensated in the respective crypto. If the price rises, clients keep their gains. The participation fee is 0.21% per 2-week period. Recommended for Deribit charts, as calculations are based on Deribit’s expiration rates between the 2nd and 4th weeks.
Gap Finder with Box FillSetup and Inputs
The indicator checks the current and previous candles to find gaps, using a color input for filling the gap area on the chart.
Gap Detection:
If the current candle opens higher than the previous close and doesn’t overlap with the previous candle’s range, it marks this as a gap-up.
If the current candle opens lower than the previous close without overlap, it’s marked as a gap-down.
Drawing the Gap:
When a gap-up or gap-down is found, the script draws a box from the previous close to the current candle’s low or high, filling it with the chosen color.
Benefits
Visual Aid: The filled box highlights gaps, making them easy to spot on the chart.
Trade Signals: Gaps can show strong market moves, helping traders spot potential entries or watch for reversals.
Customizable: You can adjust the color to fit your chart style, making the gaps stand out clearly.
This simple tool gives traders a quick view of gaps, which are often key points of interest in technical analysis.
RSI cyclic smoothed with RSI-SMAich hab das Script von Lars Thiemen verwendet und dem Indikator noch ein SMA hinzugefügt sowie eine RSI Middle Line.
DAnk an LArs für das super Script.
Inside Bar with Swing PointsSwing Points with Inside Bar
This script combines swing point analysis with an inside bar pattern visualization, merging essential concepts to identify and visualize key price levels and potential trend reversals. This is especially useful for traders looking to understand price action through swing levels and reactions within inside bar boundaries, making it effective for short-term trend analysis and reversal zone identification.
Script Features:
Swing Point Analysis:
The script identifies swing points based on fractals with a configurable number of bars, allowing for a choice between three and five bars, helping traders fine-tune sensitivity to price movements.
Swing points are visualized as labels, highlighting potential reversal or continuation zones in the price chart.
Inside Bar Visualization:
Inside bars are defined as bars where both the high and low are contained within the previous bar. These often signal consolidation before a potential breakout.
The script displays boundaries of the mother bar (the initial bar encompassing inside bars) and colors candles accordingly, highlighting those within these boundaries.
This feature helps traders focus on price areas where a breakout or trend shift may occur.
Utility and Application:
The script enables traders to visualize inside bars and swing points, which is particularly useful for short-term traders focused on reversal or trend continuation strategies.
Combining swing point analysis with inside bar identification offers a unique approach, helping traders locate key consolidation zones that may precede significant price moves.
This provides not only strong support and resistance levels but also insights into probable breakout points.
How to Use the Script:
Set the number of bars for swing point analysis (3 or 5) to adjust fractal sensitivity.
Enable mother bar boundary visualization and color indication for inside bars to easily spot consolidation patterns.
Pay attention to areas with multiple swing points and inside bars, as these often signal potential reversal or breakout zones.
This script offers flexible tools for analyzing price movements through both swing analysis and consolidation zone identification, aiding decision-making under uncertainty and enhancing market structure understanding.
[SHAHAB] Buy Sell IndicatorIt's a combination of some indicators for reaction trading.
Use at your own risk and do not forget to back test and forward test.
It doesn't work properly for some assets. Do not forget back testing.
Strategy is developed and ready. Just uncomment the code.
Alerts are working for buy and sell signals.
It can ruin your account so be careful. Do your own research and don't forget risk management.
STDEMA Z-ScoreSTDEMA Z-Score Indicator
Overview
The STDEMA Z-Score Indicator provides a statistical approach to understanding price movements relative to its trend, using the Standard Deviation Exponential Moving Average (StdEMA) and Z-Score calculations.
Key Features
Z-Score Calculation: The Z-Score measures how far the current price deviates from its StdEMA, providing insight into whether the price is statistically overbought or oversold.
EMA of Z-Score: This smooths the Z-Score for easier interpretation and signals potential reversals or continuation patterns.
Customizable Inputs: Users can easily adjust the EMA length, standard deviation multiplier, and smoothing length to fit their trading style and market conditions.
How to Use
Buy Signals: Look for the Z-Score EMA to cross above the 0 line, indicating potential bullish momentum.
Sell Signals: Watch for the Z-Score EMA to cross below the 0 line, suggesting potential bearish momentum.
Forex Relative Strength MatrixTraders often feel uncertain about which Forex pair to open a position with. This indicator is designed to help in that regard.
This indicator was created as described in the book Swing Trading with Heiken Ashi and Stochastics. In the original, the author suggests using it for swing trading. The author recommends applying it to a monthly chart with an 8-period moving average to analyze the context.
The logic of the indicator is to measure the relative strength of each currency by checking if the price of each Forex pair is above or below a chosen moving average. If the price is above the moving average, the base currency is awarded 1 point, indicating strength. If below, it scores 0, indicating weakness. By accumulating points across multiple pairs, the indicator ranks currencies from strongest to weakest, helping traders identify potential pairs for trading.
Trend Identification:
After identifying relative strength, the trader should observe the general trend using a 100-period SMA on 4-hour charts. If the price is above the SMA, the trend is bullish; if below, it is bearish.
Buy Logic:
A buy is triggered when the base currency is strong (price is above the moving average) and the quote currency is weak (price is below the moving average). After identifying the trend direction, the entry is confirmed by a color change in Heiken Ashi candles (from red to green in an uptrend) and a stochastic crossover in the trend’s direction.
Sell Logic:
A sell is triggered when the base currency is weak (price is below the moving average) and the quote currency is strong (price is above the moving average). The sell entry is confirmed by a color change in Heiken Ashi candles (from green to red in a downtrend) and a stochastic crossover aligned with the trend.
Entry Chart:
The entry chart used is the 4-hour chart. The trader should look for entry signals following a pullback in the trend direction, using Heiken Ashi candles. Entry is made when the Heiken Ashi candles change color (from red to green in an uptrend) and there is a smooth crossover of the stochastic indicator in the trend’s direction.
It would also be possible to adapt the indicator for day trading strategies with targets of 1 to 2 days. Here is a recommended setup:
Relative Strength Identification (1-Hour Chart):
Instead of monthly charts, use a 1-hour chart to identify currency strength with a 20-period moving average.
The 20-period moving average on the 1-hour chart captures a balanced view of short- to medium-term direction, covering nearly a day’s worth of trading but with enough sensitivity for day trading.
General Trend (5-Minute Chart with 100 SMA):
On the 5-minute chart, observe the 100-period SMA to identify the general trend direction throughout the day.
Price above the 100 SMA indicates an uptrend, and below indicates a downtrend, confirming the movement in shorter timeframes.
Entry Chart and Signals (5-Minute Chart):
Use the 15-minute chart to look for entry opportunities, focusing on pullbacks in the main trend direction.
Entry Signals: Enter the position when Heiken Ashi candles change color in the trend direction (from red to green in an uptrend) and the stochastic indicator makes a smooth crossover in the trend’s direction.
Optimized Liquidity Squeeze IndicatorThis TradingView Pine Script is for an "Optimized Liquidity Squeeze Indicator," which identifies potential bullish or bearish reversals based on price action and exponential moving averages (EMAs).
Key Features
Inputs for Wick Multipliers:
User-defined multipliers for upper and lower wick sizes, which help determine the strength of reversal signals.
EMA Calculations:
21-period and 50-period EMAs based on closing prices.
An EMA slope is calculated to estimate the trend direction (bullish or bearish) by assessing the slope over a 21-period span.
Candle Components:
The script measures candle body size and the lengths of upper and lower wicks.
Trend Conditions:
A bullish condition is when the 21 EMA is above the 50 EMA, with a positive EMA slope exceeding a 45-degree threshold.
A bearish condition is the reverse (21 EMA below 50 EMA, and a negative slope).
Wick Condition Check:
The script defines separate conditions for upper and lower wick sizes, relative to candle body size.
If the upper wick exceeds the body size by a certain multiplier during a bullish trend (or vice versa for bearish), the script triggers a signal.
Signal Plotting:
Bullish signals are shown as green dots above bars, and bearish signals are shown as red dots below bars.
Alert Conditions:
Alerts are created for both bullish and bearish signals, specifying the wick, EMA, and slope conditions met for the signal.
This indicator is designed to highlight potential liquidity squeezes based on wick and trend criteria, signaling possible reversals with visual and alert notifications.
hkbtc ana indikatör aradığınız bütün indikatörler hem tablo hem de grafik üzerinde çizimlerde mevcut istediğiniz şekilde ayarını yapabilirsiniz
Intraday trading signalsHMA buy/sell Logic:
This code uses HMA and dynamically assigns value as either bullish or bearish based on where the closing price stands relative to signalHigh and signalLow. Trade buy/sell is determined by value, and crossover signals (Long and Short) are generated when the close price crosses Exit.
Ultimate Moving average:
This script plots a trend-colored Ultimate Moving Average (ULMA) line based on Arnaud Legoux Moving Average. The line’s visibility, length and trend color are customizable. Yellow color indicates an upward trend, while red indicates a downward trend. The indicator provides a smooth moving average that aims to track trends with minimal lag.
sasha//@version=5
strategy("Parabolic SAR con EMA de 200 y Señales NY", overlay=true)
// Parámetros del Parabolic SAR
start = input(0.02, title="Aceleración inicial")
increment = input(0.02, title="Incremento")
maximum = input(0.2, title="Máximo")
// Calcular el Parabolic SAR
sar = ta.sar(start, increment, maximum)
// Calcular la EMA de 200
ema200 = ta.ema(close, 200)
// Dibujar el Parabolic SAR y la EMA de 200
plot(sar, color=color.red, title="Parabolic SAR", style=plot.style_cross)
plot(ema200, color=color.blue, title="EMA de 200", linewidth=2)
// Definir horario de la sesión de Nueva York
startHour = 16 // 4 PM
startMinute = 30 // 30 minutos
endHour = 22 // 10 PM
// Comprobar si estamos en horario de trading (en la zona horaria de Nueva York)
inTradingHours = (hour(time) > startHour or (hour(time) == startHour and minute(time) >= startMinute)) and
(hour(time) < endHour)
// Condiciones para las señales de trading
longCondition = inTradingHours and (close > ema200) and (sar < close) // Señal de compra
shortCondition = inTradingHours and (close < ema200) and (sar > close) // Señal de venta
// Ejecutar operaciones
if (longCondition)
strategy.entry("Compra", strategy.long)
if (shortCondition)
strategy.entry("Venta", strategy.short)
// Opcional: cerrar posiciones al final de la sesión
if (hour(time) >= endHour)
strategy.close_all()
Swing High/Low Strategy This TradingView strategy uses EMA/SMA crossovers, Swing High/Low levels, and volume filtering to generate long and short trades. It includes customizable take-profit and trailing stop-loss options for controlled exits.
Long Entry
Entry: Price closes above the latest Swing High, and volume exceeds the 200-period moving average.
Exit:
Take Profit: At a user-defined percentage above the entry.
Trailing Stop (if enabled): Trails by a user-defined percentage as price rises.
Short Entry
Entry: Price closes below the latest Swing Low, and volume exceeds the 200-period moving average.
Exit:
Take Profit : At a user-defined percentage below the entry.
Trailing Stop (if enabled): Trails by a user-defined percentage as price drops.
This setup is designed for breakout trades with volume confirmation, and it manages risk using take-profit and trailing stop-loss options.
dm - Exponential Moving Averages (21, 50, 100, 150, 200)This script provides key exponential moving averages (EMAs) set at 21, 50, 100, 150, and 200 periods, allowing traders to identify trends, potential entry and exit points, and support/resistance levels. The EMAs adapt more quickly to price changes compared to simple moving averages, making them ideal for dynamic market analysis. Colors change based on price relation to each EMA, enhancing quick visual assessment for informed decision-making.
Custom 12 Vertical LinesDescription: This script adds vertical lines to the chart at specific times.
User Input:
Show Line 1: Turn Line 1 on or off.
Line 1 Hour: Choose the hour for Line 1 (0-23).
Line 1 Minute: Choose the minute for Line 1 (0-59).
Line 1 Color: Pick a color for Line 1.
(Repeat for Lines 2 through 12)
Functionality: The script checks the time and draws lines based on your settings. You can easily turn each line on or off.
skay Robot AI de Trading AdaptatifExplications et Fonction
Adaptation à la Tendance :
Le robot IA
Conditions de Momentum (RSI):
Le RSI et
Gestion du Risque avec l'ATR :
L'ATR (Average True Range) est utilisé pour calculer un Stop-Loss
Position et Pourcentage de Risque :
Vous pouvez préciser un pourcentage de risque pour chaque transaction. Ici, le robot utilise la totalité du portefeuille en pourcentage, mais vous pouvez ajuster la variable riskPercentpour tester différentes tailles de
Optimisations possibles
Ajout de Filtrage de Volume : Ajouter une condition bas
Combinaison avec d'autres indicateurs : Intégrer des i
Backtesting et Optimisation : Testez cette stratégie sur différentes périodes
Journalisation Avancée avec Pine Logs : Utilisez les Pine Lo
Ac
Pour utiliser efficacement ce code dans l'éditeur Pine, s
Avertissement
Comme pour toute stratégie automatisée, il est essentiel
Faire un backtest et une analyse des performances sur une longue période de temps.
Adaptateur la stratégie
Conclusion
Ce robot c'est toi
EMA Distance LabelsPrints buy and sell labels when two EMA's are a user defined distance from each other. When the EMA's drop below that threshold a range label is printed.
Example strategy:
1. Wait for a buy or sell signal.
2. Wait for the stochastic rsi to retrace to its extreme.
3. Enter when the Stochastic RSI crosses back into the trend direction.
4. Wait for the Stochastic RSI to reach the opposite extreme.
5. Exit when the Stochastic RSI crosses back against the trend direction.
USDT voulmeHi, everyone.
This indicator shows volume in USDT which would be useful for cryptocurrencies that trade against USDT.
This resolves the issue of inaccurate trading volume caused by the significant price difference between cryptos in the market.
Moving Average Crossover rahat beldarMoving Average Crossover by rahat beldar
Explanation:
Moving Averages (MA): Yeh strategy 9-period (fast) aur 21-period (slow) simple moving averages ka crossover dekhti hai.
Buy Signal: Jab fast MA, slow MA ko upar se cross kare, toh BUY signal generate hota hai.
Sell Signal: Jab fast MA, slow MA ko neeche se cross kare, toh SELL signal generate hota hai