Daily Buy/Sell Volumeindicator that The Daily Buy/Sell Volume Indicator is a custom-built tool that helps traders track and visualize the buying and selling volumes throughout a trading day. This indicator separates the total volume into two categories:
1. Buy Volume: Calculated when the closing price is higher than the opening price for a given candle. This represents the volume of bullish (buy) activity for the day.
2. Sell Volume: Calculated when the closing price is lower than the opening price for a given candle. This represents the volume of bearish (sell) activity for the day.
Key Features:
• Buy/Sell Volume Calculation: The indicator tracks the buying and selling volumes based on the relationship between the open and close prices of each candle.
• Daily Reset: The indicator resets at the start of each trading day, providing fresh calculations for the daily buy and sell volumes.
• Visual Representation: The buy volume is shown with a green line, while the sell volume is displayed with a red line, making it easy to identify bullish and bearish activity over the course of the day.
Genişlik Göstergeleri
IndicadorGH EVC v1 [Bielhpp]//@version=6
//Desenvolvido por Bielhpp Indicador Ponto de Entrada em tendencia
indicator(title='IndicadorGH EVC v1 ', overlay=true)
Bars = input.int(defval=8, title="Bars", minval=1, maxval=21, step=1)
MaxPercStop = input.int(defval=20, title="Max Percentual Stop", minval=1)
highValue = ta.highest(high, Bars + 1)
lowValue = ta.lowest(low, Bars + 1)
ColorUP = input.color(#66D8D8, "Buy")
ColorDown = input.color(#F2CC0D, "Sell")
ema9 = ta.ema(close, 9)
sma10 = ta.sma(close, 10)
ema27 = ta.ema(close, 27)
ema57 = ta.ema(close, 57)
ema200 = ta.ema(close, 200)
ema400 = ta.ema(close, 400)
plot(ema9, color=#fffeb4, title="9", linewidth=1)
plot(ema27, color=#1927bf, title="27", linewidth=2)
plot(ema200, color=#2CFFFE, title="200", linewidth=3)
plot(ema400, color=#FC28FC, title="400", linewidth=3)
crossUP = ta.crossover(ema27, ema57)
crossDOWN = ta.crossunder(ema27, ema57)
plotshape(series=crossUP ? ema27 : na, location=location.belowbar, color=#43f16c, style=shape.triangleup, text="BUY")
plotshape(series=crossDOWN ? ema27 : na, location=location.abovebar, color=color.rgb(241, 50, 50), style=shape.triangledown, text="SELL")
plot(ema27, color=color.blue)
plot(ema57, color=color.orange)
crossUPMAX = ta.crossover(ema9, ema400)
crossDOWNMAX = ta.crossunder(ema9, ema400)
plotshape(series=crossUPMAX ? ema9 : na, location=location.belowbar, color=#43f16c, style=shape.triangleup, text="MAX_BUY")
plotshape(series=crossDOWNMAX ? ema9 : na, location=location.abovebar, color=color.rgb(241, 50, 50), style=shape.triangledown, text="MAX_SELL")
// Configurar alertas para os cruzamentos
if (crossUPMAX)
alert("Alerta: Condição MAX_BUY foi ativada! Verifique o gráfico.", alert.freq_once_per_bar)
if (crossDOWNMAX)
alert("Alerta: Condição MAX_SELL foi ativada! Verifique o gráfico.", alert.freq_once_per_bar)
bUP = false
bDown = false
bDestaque = false
fTexto(vMsg, vTrigger, vStop, percStop) =>
syminfo.tickerid + ' ' + timeframe.period + vMsg + str.tostring(vTrigger) + ' Stop: ' + str.tostring(vStop + syminfo.mintick) + ' (' + str.tostring(percStop, format.percent) + ')'
if (sma10 >= sma10 ) and (open < sma10 ) and ((close > sma10) and (ema27 > ema57))
vStop = high - lowValue
pStop = vStop / high * 100
bUP := true
if pStop <= MaxPercStop
alert(fTexto((bDestaque ? ': *** DESTAQUE COMPRA *** ' : ': Compra: '), high, lowValue, pStop), alert.freq_once_per_bar_close)
if (sma10 <= sma10 ) and (open > sma10 ) and ((close < sma10) and (ema27 < ema57))
vStop = highValue - low
pStop = vStop / low * 100
bDown := true
if pStop <= MaxPercStop
alert(fTexto((bDestaque ? ': *** DESTAQUE VENDA *** ' : ': Venda: '), low, highValue, pStop), alert.freq_once_per_bar_close)
barcolor(bUP ? ColorUP : bDown ? ColorDown : na)
TRP İndikatör SinyalleriTRP İndikatörü Sinyal Üretici:
- Düşüş sinyali: 8. ve 9. mumlar kırmızı ve 7. mumun altında kapanır.
- Yükseliş sinyali: M9 mumu yeşil ve 13 mum sonra yükseliş beklenir.
Bu kod, TradingView grafiklerinde otomatik olarak sinyalleri işaretler.
Sensitive Buy Signal Indicator Description: The Sensitive Buy Signal Indicator is designed for traders who aim to identify early buying opportunities with minimal delay. It combines momentum, trend, and volume-based conditions to generate precise and reliable buy signals. This indicator is perfect for swing traders and intraday traders who want a highly responsive tool for detecting upward price movements.
Key Features:
Momentum-Based Sensitivity:
Uses a shortened RSI (9) and Stochastic Oscillator (9) to quickly identify oversold and bullish momentum conditions.
Incorporates MACD bullish crossovers for additional confirmation of upward momentum.
Trend Alignment:
Ensures signals align with the trend using a 10-day fast moving average and a 20-day slow moving average crossover.
Volume and Volatility Detection:
Analyzes real-time volume spikes relative to a shorter average (10 periods) to confirm strong market participation.
Incorporates Bollinger Band proximity to identify potential reversal zones.
Compact Debugging Tools:
Displays optional small circles for each condition at the top of the chart, ensuring a clear and clutter-free visualization of candlesticks.
How It Works:
Buy Signal: The green "BUY" label appears below a candle when:
RSI is below 65 or crosses above 50.
Stochastic Oscillator indicates bullish momentum.
MACD line crosses above its signal line.
Fast moving average (10) crosses above the slow moving average (20).
Volume shows a slight spike above the 10-period average.
The price is near or below the lower Bollinger Band.
Recommendations:
Timeframe: Best used on daily timeframes for swing trading or shorter timeframes for intraday setups.
Confirmation: Pair this indicator with support/resistance levels, trendlines, or other tools for enhanced reliability.
Risk Management: Always set appropriate stop-loss and take-profit levels to manage risk effectively.
Ideal For:
Swing traders looking for early trend reversals.
Intraday traders seeking precise buy signals.
Traders who prefer clean and focused chart visuals.
Buy/Sell Volume OscillatorBuy volume
Sell volume
will assist with market trend, showing the trend strength
SevenStar ConfluenceIntroducing HeptaConfluence, an all-in-one multi-indicator overlay that combines seven of the most commonly used technical tools into a single confluence system.
By uniting VWAP, RSI, MACD, Bollinger Bands, Stochastic, Ichimoku Cloud, and Parabolic SAR, HeptaConfluence identifies potential bullish or bearish setups based on a user-defined threshold of matching signals. This approach helps traders quickly gauge market sentiment and momentum from multiple angles, reducing noise and providing clear Buy/Sell signals.
Simply add it to your chart, adjust the parameters to suit your style, and let HeptaConfluence guide your decision-making with greater confidence.
GOLDMASK Indicator (SO + Days Break)//@version=6
indicator("GOLDMASK Indicator (SO + Days Break)", overlay=true)
// Vstupy pro přizpůsobení stylu čar
lineStyleInput = input.string(title="Styl čáry", defval="Dashed", options= )
lineWidthInput = input.int(title="Šířka čáry", defval=1, minval=1)
sundayLineColor = input.color(title="Nedělní vertikální otevírací čára", defval=color.new(#00BFFF, 50)) // Světle modrá barva pro neděli
dayBreakColor = input.color(title="Čára přerušení dne", defval=color.new(#ADD8E6, 50)) // Světle modrá barva pro přerušení dne
weekStartColor = input.color(title="Čára začátku týdne", defval=color.new(#FF8C00, 50)) // Tmavě oranžová barva pro nový týden
// Definice funkce getLineStyle
getLineStyle(style) =>
switch style
"Dotted" => line.style_dotted
"Dashed" => line.style_dashed
"Solid" => line.style_solid
// Proměnná pro uložení ceny otevření v neděli
var float sundayOpenPrice = na
// Určení a vykreslení ceny otevření v neděli
if (dayofweek == dayofweek.sunday and hour == (syminfo.ticker == "XAUUSD" ? 18 : 17) and minute == 0)
sundayOpenPrice := open
// Vykreslení ceny otevření v neděli s 50% průhledností
plot(sundayOpenPrice, title="Sunday Open", style=plot.style_linebr, linewidth=lineWidthInput, color=sundayLineColor, trackprice=true)
// Funkce pro vykreslení vertikálních čar pro přerušení dne
drawVerticalLineForDay(dayOffset, isSunday) =>
int dayTimestamp = na(time) ? na : time - dayOffset * 86400000 + ((syminfo.ticker == "XAUUSD" ? 18 : 17) - 5) * 3600000
if not na(dayTimestamp) and hour(time ) < (syminfo.ticker == "XAUUSD" ? 18 : 17) and hour >= (syminfo.ticker == "XAUUSD" ? 18 : 17)
lineColor = isSunday ? weekStartColor : dayBreakColor
line.new(x1=bar_index, y1=low, x2=bar_index, y2=high, width=lineWidthInput, color=lineColor, style=line.style_dotted, extend=extend.both)
// Vykreslení čar pro poslední čtyři dny a použití jiné barvy pro neděli
for dayOffset = 0 to 3 by 1
isSunday = dayOffset == 0 and dayofweek == dayofweek.sunday
drawVerticalLineForDay(dayOffset, isSunday)
🚀 Traderz h3lp3r - Combined Trend and ReversalThe "Traderz Helper" is a comprehensive trading indicator designed for the ETH/USDC pair, integrating several powerful analytical tools into one seamless overlay. This indicator combines H4 EMA trend analysis, Bollinger Bands for reversal detection, and precise candlestick pattern identification to provide traders with a robust tool for identifying potential market movements.
Features:
H4 EMA Trend Lines:
Displays the H4 EMA (Exponential Moving Average) to identify the overall market trend. It uses a 240-minute timeframe to reflect the H4 period across all charts.
The trend line is conditionally displayed based on the selected timeframe, ensuring relevance and clarity in trend analysis.
Bollinger Bands Reversal Signals:
Utilizes Bollinger Bands to spot potential bullish and bearish reversal points. The indicator highlights when the price wicks beyond the bands but closes within, signaling possible price rejections.
Includes both Bullish and Bearish reversal detections, marked with upward ("▲") and downward ("▼") arrows for quick visual cues.
Candlestick Pattern Detection:
Detects critical candlestick formations that indicate tops and bottoms in the market. This feature spots "Hammer" and "Shooting Star" patterns that can signify turning points.
Displays an orange "T" above bullish candles that form potential tops and a "B" below bearish candles indicating possible bottoms, providing traders with immediate visual insights into candlestick behavior.
Utility:
This indicator is tailored for traders who need a multi-faceted approach to technical analysis. Whether you are looking to confirm trend directions, anticipate market reversals, or identify key candlestick patterns, the "Traderz Helper" provides all necessary tools in a single, user-friendly format. Ideal for both novice and experienced traders, this indicator enhances decision-making by integrating essential trading metrics directly on your chart.
Usage Tips:
Monitor the H4 EMA for broader market trends. Use the trend lines to align your trades with the market direction.
Pay close attention to the reversal signals from Bollinger Bands. These can offer valuable entry and exit points.
Use the candlestick pattern detection to refine your trading strategy during key market movements. Look for "T" and "B" signals as confirmation of potential tops and bottoms.
Señales de Compra y VentaDescripciòn
Medias Móviles:
Se utilizan dos medias móviles: una corta (9 períodos) y una larga (21 períodos). La señal de compra se genera cuando la media móvil corta cruza por encima de la media larga, indicando una tendencia alcista.
La señal de venta se genera cuando la media móvil corta cruza por debajo de la media larga, lo que indica una posible reversión bajista.
RSI (Índice de Fuerza Relativa):
El RSI es usado para detectar condiciones de sobrecompra (cuando el RSI es mayor a 70) o sobreventa (cuando el RSI es menor a 30).
Las condiciones de sobreventa se consideran como una oportunidad de compra, y las condiciones de sobrecompra se consideran como una señal de venta.
Señales en el gráfico:
Las señales de compra se marcan con un verde debajo de la barra.
Las señales de venta se marcan con un rojo encima de la barra.
RSI gráfico:
El RSI también se muestra en un gráfico en el panel inferior con líneas horizontales para marcar los niveles de sobrecompra (70) y sobreventa (30).
Long/Short - Juju & JojôFuncionalidades:
Sinais de Compra ("Long"): Gerados quando o RSI suavizado cruza acima da banda dinâmica de suporte.
Sinais de Venda ("Short"): Gerados quando o RSI suavizado cruza abaixo da banda dinâmica de resistência.
Alertas Integrados: Notificações automáticas ao identificar sinais de compra ou venda.
Personalização: Parâmetros ajustáveis para o RSI, suavização, sensibilidade do QQE e limiar de volatilidade.
Support, Resistance, and Price Action SetupHow to Use This:
Support and Resistance: The green and red lines represent Support and Resistance levels based on past price action.
Breakout Signals: When the price breaks above resistance or below support, the background color changes (green for breakout above resistance, red for breakout below support), and labels are created at the breakout points.
Rejection Signals: If the price rejects the support or resistance level (i.e., price moves away from it), a visual marker is added on the chart.
Conclusion:
This corrected script should now work without the NA type assignment issue. The breakout logic is properly handled and should now plot the Support, Resistance, and Price Action signals correctly. You can set alerts based on the breakout or rejection events to make this even more useful in live trading.
Donchian Cloud-V1The Donchian Cloud-V1 is a technical analysis indicator inspired by the Ichimoku Cloud, but with a twist. It utilizes two Donchian Channel midline calculations to create a cloud-like price zone. This indicator aims to help traders identify potential areas of support and resistance, and also suggests that trades should be avoided when prices are within the cloud.
How it Works?
The Donchian Cloud-V1 calculates two Donchian Channel midlines:
Fast Donchian Channel: This midline is based on a shorter period, making it more responsive to price changes.
Slow Donchian Channel: This midline is based on a longer period, providing a smoother and more stable cloud formation.
The upper and lower bands of the traditional Donchian Channels are discarded, and the midlines become the cloud's upper and lower boundaries.
Interpretation
Price Above the Cloud: A price move above the cloud can be interpreted as a bullish signal, suggesting potential upward momentum.
Price Below the Cloud: A price move below the cloud can be interpreted as a bearish signal, suggesting potential downward momentum.
Price Within the Cloud: The indicator advises against taking any trades when the price is within the cloud itself, as the market may be unclear or ranging.
Benefits of Using the Donchian Cloud-V1
Visually Appealing: The cloud can provide a clear and concise view of potential support and resistance zones.
Customizable: The lengths of the fast and slow Donchian Channels can be adjusted to suit your trading style and preferred timeframe.
Complements Other Indicators: The Donchian Cloud-V1 can be used in conjunction with other technical indicators to strengthen trade signals.
Limitations to Consider
Lagging Indicator: Like many technical indicators, the Donchian Cloud-V1 is based on past price data and may not always perfectly predict future price movements.
False Signals: The cloud can generate false signals, especially in volatile markets.
Not a Standalone Strategy: The Donchian Cloud-V1 should ideally be used alongside other trading strategies and risk management techniques.
The Donchian Cloud-V1 is a valuable tool for traders who want to identify potential support and resistance zones and avoid making trades during periods of market uncertainty. Remember, it's important to backtest and paper trade any indicator before using it with real capital.
Trend Analysis with Volatility and MomentumVolatility and Momentum Trend Analyzer
The Volatility and Momentum Trend Analyzer is a multi-faceted TradingView indicator designed to provide a comprehensive analysis of market trends, volatility, and momentum. It incorporates key features to identify trend direction (uptrend, downtrend, or sideways), visualize weekly support and resistance levels, and offer a detailed assessment of market strength and activity. Below is a breakdown of its functionality:
1. Input Parameters
The indicator provides customizable settings for precision and adaptability:
Volatility Lookback Period: Configurable period (default: 14) for calculating Average True Range (ATR), which measures market volatility.
Momentum Lookback Period: Configurable period (default: 14) for calculating the Rate of Change (ROC), which measures the speed and strength of price movements.
Support/Resistance Lookback Period: Configurable period (default: 7 weeks) to determine critical support and resistance levels based on weekly high and low prices.
2. Volatility Analysis (ATR)
The Average True Range (ATR) is calculated to quantify the market's volatility:
What It Does: ATR measures the average range of price movement over the specified lookback period.
Visualization: Plotted as a purple line in a separate panel below the price chart, with values amplified (multiplied by 10) for better visibility.
3. Momentum Analysis (ROC)
The Rate of Change (ROC) evaluates the momentum of price movements:
What It Does: ROC calculates the percentage change in closing prices over the specified lookback period, indicating the strength and direction of market moves.
Visualization: Plotted as a yellow line in a separate panel below the price chart, with values amplified (multiplied by 10) for better visibility.
4. Trend Detection
The indicator identifies the current market trend based on momentum and the position of the price relative to its moving average:
Uptrend: Occurs when momentum is positive, and the closing price is above the simple moving average (SMA) of the specified lookback period.
Downtrend: Occurs when momentum is negative, and the closing price is below the SMA.
Sideways Trend: Occurs when neither of the above conditions is met.
Visualization: The background of the price chart changes color to reflect the detected trend:
Green: Uptrend.
Red: Downtrend.
Gray: Sideways trend.
5. Weekly Support and Resistance
Critical levels are calculated based on weekly high and low prices:
Support: The lowest price observed over the last specified number of weeks.
Resistance: The highest price observed over the last specified number of weeks.
Visualization:
Blue Line: Indicates the support level.
Orange Line: Indicates the resistance level.
Both lines are displayed on the main price chart, dynamically updating as new data becomes available.
6. Alerts
The indicator provides configurable alerts for trend changes, helping traders stay informed without constant monitoring:
Uptrend Alert: Notifies when the market enters an uptrend.
Downtrend Alert: Notifies when the market enters a downtrend.
Sideways Alert: Notifies when the market moves sideways.
7. Key Use Cases
Trend Following: Identify and follow the dominant trend to capitalize on sustained price movements.
Volatility Assessment: Measure market activity to determine potential breakouts or quiet consolidation phases.
Support and Resistance: Highlight key levels where price is likely to react, assisting in decision-making for entries, exits, or stop-loss placement.
Momentum Tracking: Gauge the strength and speed of price moves to validate trends or anticipate reversals.
8. Visualization Summary
Main Chart:
Background color-coded for trend direction (green, red, gray).
Blue and orange lines for weekly support and resistance.
Lower Panels:
Purple line for volatility (ATR).
Yellow line for momentum (ROC).
Trend Analysis with Volatility and MomentumVolatility and Momentum Trend Analyzer
The Volatility and Momentum Trend Analyzer is a multi-faceted TradingView indicator designed to provide a comprehensive analysis of market trends, volatility, and momentum. It incorporates key features to identify trend direction (uptrend, downtrend, or sideways), visualize weekly support and resistance levels, and offer a detailed assessment of market strength and activity. Below is a breakdown of its functionality:
1. Input Parameters
The indicator provides customizable settings for precision and adaptability:
Volatility Lookback Period: Configurable period (default: 14) for calculating Average True Range (ATR), which measures market volatility.
Momentum Lookback Period: Configurable period (default: 14) for calculating the Rate of Change (ROC), which measures the speed and strength of price movements.
Support/Resistance Lookback Period: Configurable period (default: 7 weeks) to determine critical support and resistance levels based on weekly high and low prices.
2. Volatility Analysis (ATR)
The Average True Range (ATR) is calculated to quantify the market's volatility:
What It Does: ATR measures the average range of price movement over the specified lookback period.
Visualization: Plotted as a purple line in a separate panel below the price chart, with values amplified (multiplied by 10) for better visibility.
3. Momentum Analysis (ROC)
The Rate of Change (ROC) evaluates the momentum of price movements:
What It Does: ROC calculates the percentage change in closing prices over the specified lookback period, indicating the strength and direction of market moves.
Visualization: Plotted as a yellow line in a separate panel below the price chart, with values amplified (multiplied by 10) for better visibility.
4. Trend Detection
The indicator identifies the current market trend based on momentum and the position of the price relative to its moving average:
Uptrend: Occurs when momentum is positive, and the closing price is above the simple moving average (SMA) of the specified lookback period.
Downtrend: Occurs when momentum is negative, and the closing price is below the SMA.
Sideways Trend: Occurs when neither of the above conditions is met.
Visualization: The background of the price chart changes color to reflect the detected trend:
Green: Uptrend.
Red: Downtrend.
Gray: Sideways trend.
5. Weekly Support and Resistance
Critical levels are calculated based on weekly high and low prices:
Support: The lowest price observed over the last specified number of weeks.
Resistance: The highest price observed over the last specified number of weeks.
Visualization:
Blue Line: Indicates the support level.
Orange Line: Indicates the resistance level.
Both lines are displayed on the main price chart, dynamically updating as new data becomes available.
6. Alerts
The indicator provides configurable alerts for trend changes, helping traders stay informed without constant monitoring:
Uptrend Alert: Notifies when the market enters an uptrend.
Downtrend Alert: Notifies when the market enters a downtrend.
Sideways Alert: Notifies when the market moves sideways.
7. Key Use Cases
Trend Following: Identify and follow the dominant trend to capitalize on sustained price movements.
Volatility Assessment: Measure market activity to determine potential breakouts or quiet consolidation phases.
Support and Resistance: Highlight key levels where price is likely to react, assisting in decision-making for entries, exits, or stop-loss placement.
Momentum Tracking: Gauge the strength and speed of price moves to validate trends or anticipate reversals.
8. Visualization Summary
Main Chart:
Background color-coded for trend direction (green, red, gray).
Blue and orange lines for weekly support and resistance.
Lower Panels:
Purple line for volatility (ATR).
Yellow line for momentum (ROC).
Bullish/Bearish Indicator [ilkaykaratepe]Bullish/Bearish Reversal Bars Indicator with Support/Resistance
HesoyamHesoyam is a multi-timeframe indicator that combines Bollinger Band analysis across up to six selectable timeframes with a short MACD-based “scalper” filter. The core idea is to detect potential oversold or overbought conditions (using Bollinger logic) while confirming momentum shifts via a fast MACD signal.
CALMONEY JIN SIMONSExplicação Detalhada:
Parâmetros de Entrada:
periodoCurta: Define o número de períodos para a média móvel curta (SMA de 9 períodos).
periodoLonga: Define o número de períodos para a média móvel longa (SMA de 21 períodos).
periodoRSI: Define o período para o cálculo do Índice de Força Relativa (RSI de 14 períodos).
periodoBollinger: Define o período para o cálculo das Bandas de Bollinger (geralmente 20 períodos).
desvioBollinger: Define o número de desvios padrão para as Bandas de Bollinger (geralmente 2.0).
Cálculo dos Indicadores:
mediaCurta: Média móvel simples (SMA) de 9 períodos.
mediaLonga: Média móvel simples (SMA) de 21 períodos.
rsiValor: Valor do Índice de Força Relativa (RSI) para 14 períodos.
basis: Média simples de 20 períodos para as Bandas de Bollinger.
dev: Desvio padrão multiplicado pelo valor de desvio para calcular a amplitude das Bandas de Bollinger.
bollingerSuperior: Banda superior das Bandas de Bollinger (média + desvio).
bollingerInferior: Banda inferior das Bandas de Bollinger (média - desvio).
Condições para Compra e Venda:
Compra: Quando a média curta está acima da média longa, o RSI está abaixo de 30 (indicando sobrevenda) e o preço está abaixo da banda inferior das Bandas de Bollinger.
Venda: Quando a média curta está abaixo da média longa, o RSI está acima de 70 (indicando sobrecompra) e o preço está acima da banda superior das Bandas de Bollinger.
Plotagem das Setas:
Seta Verde: Aparece abaixo da barra quando a condição de compra é atendida.
Seta Vermelha: Aparece acima da barra quando a condição de venda é atendida.
Como Utilizar:
Abrir TradingView:
Vá até o gráfico desejado no TradingView.
Adicionar o Código:
No Pine Editor, cole o código fornecido.
Clique em Salvar e em seguida em Adicionar ao gráfico.
Analisar Sinais:
O gráfico começará a mostrar as setas de compra (verde) e venda (vermelha) quando as condições forem atendidas.
Resumo:
Este indicador de sinais de compra e venda é baseado em médias móveis, RSI e Bandas de Bollinger para identificar momentos favoráveis de compra e venda. Ele fornece sinais visuais claros no gráfico, facilitando a tomada de decisões.
candle formation predictor( kay pynoBullish Engulfing
bullishEngulfing = close > open and open < close and open < close
plotshape(bullishEngulfing, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, title="1. Bullish Engulfing
// 2. Bearish Engulfing
bearishEngulfing = close < open and open > close and open > close
plotshape(bearishEngulfing, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, title="2. Bearish Engulfing
// 3. Bullish Hammer
bullishHammer = (high - low) > 3 * (open - close) and (close - low) / (0.001 + high - low) > 0.6 and (open - low) / (0.001 + high - low) > 0.6
plotshape(bullishHammer, style=shape.labelup, location=location.belowbar, color=color.lime, size=size.small, title="3. Bullish Hammer
// 4. Bearish Hammer
bearishHammer = (high - low) > 3 * (open - close) and (high - close) / (0.001 + high - low) > 0.6 and (high - open) / (0.001 + high - low) > 0.6
plotshape(bearishHammer, style=shape.labeldown, location=location.abovebar, color=color.orange, size=size.small, title="4. Bearish Hammer
// 5. Doji
doji = abs(close - open) <= (high - low) * 0.1
plotshape(doji, style=shape.labelup, location=location.belowbar, color=color.blue, size=size.small, title="5. Doji
// 6. Morning Star
morningStar = close < open and close < open and close > open and close < close
plotshape(morningStar, style=shape.labelup, location=location.belowbar, color=color.purple, size=size.small, title="6. Morning Star
// 7. Evening Star
eveningStar = close > open and close > open and close < open and close > close
plotshape(eveningStar, style=shape.labeldown, location=location.abovebar, color=color.yellow, size=size.small, title="7. Evening Star
// 8. Bullish Harami
bullishHarami = close < open and close > open and close < open and open > close
plotshape(bullishHarami, style=shape.labelup, location=location.belowbar, color=color.fuchsia, size=size.small, title="8. Bullish Harami
// 9. Bearish Harami
bearishHarami = close > open and close < open and close > open and open < close
plotshape(bearishHarami, style=shape.labeldown, location=location.abovebar, color=color.teal, size=size.small, title="9. Bearish Harami
// 10. Shooting Star
shootingStar = (high - low) > 3 * (open - close) and (high - close) / (0.001 + high - low) > 0.6 and (high - open) / (0.001 + high - low) > 0.6
plotshape(shootingStar, style=shape.labeldown, location=location.abovebar, color=color.maroon, size=size.small, title="10. Shooting Star")
``
6 EMAs CDAV.IOCDAV.IO 6 EMAs provides 6 customizable EMAs (12, 20, 26, 50, 100, 200) to analyze trends, support, and resistance levels effectively.
Jakes Main IndicatorKey Updates:
Support and Resistance Calculation:
We're using request.security() to fetch the previous day's low and previous day's high from the daily timeframe and plotting them as static support and resistance levels. These levels won't update on lower timeframes.
daily_support is the previous day's low, and daily_resistance is the previous day's high.
Plotting Static Lines:
We plot these static support and resistance levels using plot(), which will appear as green (support) and red (resistance) lines on the chart.
How It Works:
Support and resistance will be static, calculated only once on the daily timeframe, and then stay constant even as you zoom into lower timeframes.
The EMA cloud and buy/sell signals are based on your existing logic and work as intended, but now you have static support and resistance lines that won’t change over time.
The buy and sell signals will still depend on the EMA crossovers and volatility, but now you have a reliable frame of reference for support and resistance on your chart.
You can now adjust the support/resistance calculation method as needed, or tweak the visualization settings.