Custom Time Candle LabelsHow It Works:
input.int fields allow you to set the hour and minute for both custom times from the indicator settings.
The script checks whether the current candle matches either of the input times.
Labels are plotted at the high of the candle for both custom times.
The label text dynamically displays the custom time you set.
Customization Options:
You can change the colors, label style, or label position as needed.
Would you like me to add any alerts or further features (e.g., showing labels at the low of the candle?
Grafik Paternleri
MOVING MODEMoving Mode indicator calculates and displays on the chart the mode (the most frequent value) of the closing prices of the last N bars (configurable). Unlike traditional moving averages, which can be distorted by extreme values, Moving Mode provides a more accurate representation of price behavior by reflecting the most common values.
This approach is based on the concept of "Moda Móvil" proposed by Pedro L. Asensio, who highlights that traditional moving averages can be misleading due to their sensitivity to extremes. The mode, on the other hand, offers a more realistic and market-adjusted alternative, unaffected by outliers.
I, Pedro L. Asensio, created the Moving Mode and Moda Móvil indicators in 2023
These indicators are free to use ;)
Moving Average Exponential050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505
CBA 6MA Cross Volume and Price AnalysisThis script does the following:
1.Defines and plots six moving averages (14, 21, 35, 50, 100, 200).
2.Detects MA "crossovers and crossunders" between any of the moving averages.
3.Calculates up and down volumes based on whether the closing price is above or below the opening price.
4.Compares the current volume, up volume, and down volume with their previous values.
5.Uses the price change to infer buying pressure (when price increases and up volume increases) and selling pressure (when price decreases and down volume increases).
6.Plots an "X" for buy pressure below the bar and an "O" for sell pressure above the bar.
MACD + EMA Cross by Mayank
It is 6 indicator in one :
5 ema 5 / 9 / 20/ 50/ 200 & MACD cross
When MACD (5,9,5) is greater than signal (5) and Momentum EMA (5) crosses up the Fast EMA (9), it generates B Signal.
when Signal is greater than MACD and Fast EMA(9) crosses down the Momentum EMA(5) , it generates S Signal.
When MACD (5,9,5): bullish crossover it generate M_B
When MACD (5,9,5): bearish crossover it generates M_S
MACD + EMA Cross 1 by Mayank BhargavMACD + EMA cross by Mayank Bhargava
It is 6 indicator in one :
5 ema 5 / 9 / 20/ 50/ 200 & MACD
Added advantage:
Agressive buy and sell aur defensive buy sell signal generate krta hai
Mahesh G Volume analysis of 50 Candles for buy or sellThis indicator will help to analysis last 50 candles average volume and give a trend for buying and selling
Stochastic DivergenceStochastic Divergence (Boğa ve Ayı Sapmaları) Göstergesi
Bu gösterge, Stokastik Osilatör'ü kullanarak boğa (bullish) ve ayı (bearish) sapmalarını tespit etmek için tasarlanmıştır. Özellikle fiyat hareketlerini analiz ederken destekleyici bir araç olarak kullanılabilir.
Özellikler:
Boğa Sapması: Fiyat yeni bir düşük seviyeye ulaşırken, Stokastik Osilatör daha yüksek bir düşük yapar. Bu, yükseliş potansiyeline işaret eder ve grafikte yeşil bir zemin ile gösterilir.
Ayı Sapması: Fiyat yeni bir yüksek seviyeye ulaşırken, Stokastik Osilatör daha düşük bir yüksek yapar. Bu, düşüş potansiyeline işaret eder ve grafikte kırmızı bir zemin ile gösterilir.
Sinyaller, fiyat hareketindeki olası trend dönüşlerini vurgulamak için çapraz işaretler (xcross) ile işaretlenmiştir.
Görselleştirme için Stokastik K çizgisi, nötr çizgi ve renkli zeminlerle desteklenmiştir.
Kullanım Önerileri:
Destek/Direnç Seviyeleri ile Kombine Edin: Gösterge, yalnızca sapma tespiti yapar. Doğruluğu artırmak için destek ve direnç seviyeleriyle birlikte kullanabilirsiniz.
Diğer Göstergelerle Birleştirin: Örneğin, RSI veya MACD gibi göstergelerle destekleyerek daha güvenilir sinyaller elde edebilirsiniz.
Risk Yönetimi: Göstergeyi kullanırken mutlaka uygun risk yönetimi stratejileri uygulayın.
Görselleştirme:
Yeşil Zemin: Boğa sapması (bullish divergence) sinyali.
Kırmızı Zemin: Ayı sapması (bearish divergence) sinyali.
Çapraz işaretler, sapma noktalarını görsel olarak vurgular.
Kısaca Neden Bu Gösterge?
Fiyat hareketlerindeki gizli veya belirgin sapmaları tespit ederek yatırımcıların daha bilinçli kararlar almasına yardımcı olur. Hem yeni başlayanlar hem de deneyimli trader'lar için uygundur.
Sorumluluk Reddi:
Bu gösterge yalnızca eğitim amaçlıdır ve yatırım tavsiyesi değildir. Lütfen yatırımlarınızda kendi analizlerinizi ve risk yönetimi stratejilerinizi kullanmayı unutmayın.
JJ Highlight Time Ranges with First 5 Minutes and LabelsTo effectively use this Pine Script as a day trader , here’s how the various elements can help you manage trades, track time sessions, and monitor price movements:
Key Components for a Day Trader:
1. First 5-Minute Highlight:
- Purpose: Day traders often rely on the first 5 minutes of the trading session to gauge market sentiment, watch for opening price gaps, or plan entries. This script draws a horizontal line at the high or low of the first 5 minutes, which can act as a key level for the rest of the day.
- How to Use: If the price breaks above or below the first 5-minute line, it can signal momentum. You might enter a long position if the price breaks above the first 5-minute high or a short if it breaks below the first 5-minute low.
2. Session Time Highlights:
- Morning Session (9:15–10:30 AM): The market often shows its strongest price action during the first hour of trading. This session is highlighted in yellow. You can use this highlight to focus on the most volatile period, as this is when large institutional moves tend to occur.
- Afternoon Session (12:30–2:55 PM): The blue highlight helps you track the mid-afternoon session, where liquidity may decrease, and price action can sometimes be choppier. Day traders should be more cautious during this period.
- How to Use: By highlighting these key times, you can:
- Focus on key breakouts during the morning session.
- Be more conservative in your trades during the afternoon, as market volatility may drop.
3. Dynamic Labels:
- Top/Bottom Positioning: The script places labels dynamically based on the selected position (Top or Bottom). This allows you to quickly glance at the session's start and identify where you are in terms of time.
- How to Use: Use these labels to remind yourself when major time segments (morning or afternoon) begin. You can adjust your trading strategy depending on the session, e.g., being more aggressive in the morning and more cautious in the afternoon.
Trading Strategy Suggestions:
1. Momentum Trades:
- After the first 5 minutes, use the high/low of that period to set up breakout trades.
- Long Entry: If the price breaks the high of the first 5 minutes (especially if there's a strong trend).
- Short Entry: If the price breaks the low of the first 5 minutes, signaling a potential downtrend.
2. Session-Based Strategy:
- Morning Session (9:15–10:30 AM):
- Look for strong breakout patterns such as support/resistance levels, moving average crossovers, or candlestick patterns (like engulfing candles or pin bars).
- This is a high liquidity period, making it ideal for executing quick trades.
- Afternoon Session (12:30–2:55 PM):
- The market tends to consolidate or show less volatility. Scalping and mean-reversion strategies work better here.
- Avoid chasing big moves unless you see a clear breakout in either direction.
3. Support and Resistance:
- The first 5-minute high/low often acts as a key support or resistance level for the rest of the day. If the price holds above or below this level, it’s an indication of trend continuation.
4. Breakout Confirmation:
- Look for breakouts from the highlighted session time ranges (e.g., 9:15 AM–10:30 AM or 12:30 PM–2:55 PM).
- If a breakout happens during a key time window, combine that with other technical indicators like volume spikes , RSI , or MACD for confirmation.
---
Example Day Trader Usage:
1. First 5 Minutes Strategy: After the market opens at 9:15 AM, watch the price action for the first 5 minutes. The high and low of these 5 minutes are critical levels. If the price breaks above the high of the first 5 minutes, it might indicate a strong bullish trend for the day. Conversely, breaking below the low may suggest bearish movement.
2. Morning Session: After the first 5 minutes, focus on the **9:15 AM–10:30 AM** window. During this time, look for breakout setups at key support/resistance levels, especially when paired with high volume or momentum indicators. This is when many institutions make large trades, so price action tends to be more volatile and predictable.
3. Afternoon Session: From 12:30 PM–2:55 PM, the market might experience lower volatility, making it ideal for scalping or range-bound strategies. You could look for reversals or fading strategies if the market becomes too quiet.
Conclusion:
As a day trader, you can use this script to:
- Track and react to key price levels during the first 5 minutes.
- Focus on high volatility in the morning session (9:15–10:30 AM) and **be cautious** during the afternoon.
- Use session-based timing to adjust your strategies based on the time of day.
Scalping Strategy TesterStrategy Description: Scalping Strategy Tester
The Scalping Strategy Tester is a highly focused intraday trading approach designed for quick trades based on technical indicators. It combines the use of Exponential Moving Averages (EMA), the Relative Strength Index (RSI), and the Moving Average Convergence Divergence (MACD) to identify optimal entry and exit points for short-term trades. This strategy is best suited for volatile markets where frequent price movements allow for rapid gains.
Key Components
Exponential Moving Averages (EMA):
Short EMA (9-period): Tracks short-term price momentum.
Medium EMA (21-period): Represents medium-term trend direction.
A crossover between the two signals potential trend changes.
Relative Strength Index (RSI):
Evaluates the momentum and speed of price changes.
Oversold Zone (<30): Indicates potential buy signals.
Overbought Zone (>70): Indicates potential sell signals.
Moving Average Convergence Divergence (MACD):
MACD Line and Signal Line: Measures momentum shifts.
A bullish crossover (MACD > Signal) confirms upward momentum.
A bearish crossover (MACD < Signal) confirms downward momentum.
Trading Rules
Long Entry (Buy):
Condition:
The short EMA crosses above the medium EMA.
RSI is below 30 (oversold).
MACD Line is above the Signal Line.
Action: Open a long position.
Short Entry (Sell):
Condition:
The short EMA crosses below the medium EMA.
RSI is above 70 (overbought).
MACD Line is below the Signal Line.
Action: Open a short position.
Exit Rules:
Long Position: Close when the short condition is met.
Short Position: Close when the long condition is met.
Visual Aids
Blue Line: 9-period EMA for short-term trend tracking.
Red Line: 21-period EMA for medium-term trend tracking.
The relationship between these lines helps identify trend changes and trading opportunities.
Advantages
Quick identification of high-probability trades using multiple confirmations (EMA, RSI, MACD).
Designed for fast-paced trading environments, making it ideal for scalping.
Simple exit rules reduce emotional decision-making.
Use Cases
This strategy works best for scalping in markets with high liquidity and volatility, such as cryptocurrency or forex markets, where rapid price changes create frequent trading opportunities. It can be applied effectively on shorter timeframes, like 1-minute or 5-minute charts.
Disclaimer
This is a technical strategy designed for educational purposes. Backtest thoroughly on demo accounts before deploying with real funds. Always account for slippage, transaction costs, and market conditions.
straddle with Bollinger BandA straddle with Bollinger Bands combines an options trading strategy and a technical indicator for better analysis.
The Bollinger Bands overlay the combined premium (call + put prices), providing insights into volatility.
This setup allows traders to monitor breakouts or contractions in the total premium, aiding in decision-making for entry, exit, or risk management.
Stochastic ala DayTradingRadioStochastic ala DayTradingRadio.
Created for those who have only pasic TW plan and can't add more than 2 indicators.
It's just plot 4 stoch data on one chart.
mVWAp and PDL PDH bar coloringBars are colored based on where they close relatively to PDL PDH and mVWAP
AI indicatorThis script is a trading indicator designed for future trading signals on the TradingView platform. It uses a combination of the Relative Strength Index (RSI) and a Simple Moving Average (SMA) to generate buy and sell signals. Here's a breakdown of its components and logic:
1. Inputs
The script includes configurable inputs to make it adaptable for different market conditions:
RSI Length: Determines the number of periods for calculating RSI. Default is 14.
RSI Overbought Level: Signals when RSI is above this level (default 70), indicating potential overbought conditions.
RSI Oversold Level: Signals when RSI is below this level (default 30), indicating potential oversold conditions.
Moving Average Length: Defines the SMA length used to confirm price trends (default 50).
2. Indicators Used
RSI (Relative Strength Index):
Measures the speed and change of price movements.
A value above 70 typically indicates overbought conditions.
A value below 30 typically indicates oversold conditions.
SMA (Simple Moving Average):
Used to smooth price data and identify trends.
Price above the SMA suggests an uptrend, while price below suggests a downtrend.
3. Buy and Sell Signal Logic
Buy Condition:
The RSI value is below the oversold level (e.g., 30), indicating the market might be undervalued.
The current price is above the SMA, confirming an uptrend.
Sell Condition:
The RSI value is above the overbought level (e.g., 70), indicating the market might be overvalued.
The current price is below the SMA, confirming a downtrend.
These conditions ensure that trades align with market trends, reducing false signals.
4. Visual Features
Buy Signals: Displayed as green labels (plotshape) below the price bars when the buy condition is met.
Sell Signals: Displayed as red labels (plotshape) above the price bars when the sell condition is met.
Moving Average Line: A blue line (plot) added to the chart to visualize the SMA trend.
5. How It Works
When the buy condition is true (RSI < 30 and price > SMA), a green label appears below the corresponding price bar.
When the sell condition is true (RSI > 70 and price < SMA), a red label appears above the corresponding price bar.
The blue SMA line helps to visualize the overall trend and acts as confirmation for signals.
6. Advantages
Combines Momentum and Trend Analysis:
RSI identifies overbought/oversold conditions.
SMA confirms whether the market is trending up or down.
Simple Yet Effective:
Reduces noise by using well-established indicators.
Easy to interpret for beginners and experienced traders alike.
Customizable:
Parameters like RSI length, oversold/overbought levels, and SMA length can be adjusted to fit different assets or timeframes.
7. Limitations
Lagging Indicator: SMA is a lagging indicator, so it may not capture rapid market reversals quickly.
Not Foolproof: No trading indicator can guarantee 100% accuracy. False signals can occur in choppy or sideways markets.
Needs Volume Confirmation: The script does not consider trading volume, which could enhance signal reliability.
8. How to Use It
Copy the script into TradingView's Pine Editor.
Save and add it to your chart.
Adjust the RSI and SMA parameters to suit your preferred asset and timeframe.
Look for buy signals (green labels) in uptrends and sell signals (red labels) in downtrends.
Warius L.H&TThis indicator works very simply and is uncomplicated. It only shows the LAST highs and lows for the respective time unit and only the most recent ones, no matter how small they are.
JJ Open High and Open Low FinderThis script identifies candles where the open price matches the high price (Open High) and where the open price matches the low price (Open Low). It highlights these candles with labels directly on the chart, making it easy for traders to spot these conditions in real-time.
Features :
- Red "OH" label below candles for Open High.
- Green "OL" label above candles for Open Low.
Use this tool to enhance your trading insights.
** Disclaimer **: This script is for educational purposes only and should not be considered financial advice.
Combined Indicator with Signals, MACD, RSI, and EMA200Este indicador combina múltiples herramientas técnicas en un solo script, proporcionando un enfoque integral para la toma de decisiones en trading. A continuación, se analiza cada componente y su funcionalidad, así como las fortalezas y áreas de mejora.
Componentes principales
Medias Móviles (MA7, MA20, EMA200):
MA7 y MA20: Son medias móviles simples (SMA) que identifican señales a corto plazo basadas en sus cruces. Estos cruces (hacia arriba o hacia abajo) son fundamentales para las señales de compra o venta.
EMA200: Actúa como un filtro de tendencia general. Aunque su presencia es visualmente informativa, no afecta directamente las señales en este script.
Estas medias móviles son útiles para identificar tendencias a corto y largo plazo.
MACD (Moving Average Convergence Divergence):
Calculado usando las longitudes de entrada (12, 26, y 9 por defecto).
Se trazan dos líneas: la línea MACD (verde) y la línea de señal (naranja). Los cruces entre estas líneas determinan la fuerza de las señales de compra o venta.
Su enfoque está en medir el momento del mercado, especialmente en combinación con los cruces de medias móviles.
RSI (Relative Strength Index):
Calculado con un período estándar de 14.
Se utiliza para identificar condiciones de sobrecompra (>70) y sobreventa (<30).
Además de ser trazado como una línea, el fondo del gráfico se sombrea con colores rojo o verde dependiendo de si el RSI está en zonas extremas, lo que facilita la interpretación visual.
Señales de Compra y Venta:
Una señal de compra ocurre cuando:
La MA7 cruza hacia arriba la MA20.
La línea MACD cruza hacia arriba la línea de señal.
El RSI está en una zona de sobreventa (<30).
Una señal de venta ocurre cuando:
La MA7 cruza hacia abajo la MA20.
La línea MACD cruza hacia abajo la línea de señal.
El RSI está en una zona de sobrecompra (>70).
Las señales se representan con triángulos verdes (compra) y rojos (venta), claramente visibles en el gráfico.
wuyx 59 imbGiải thích:
alertcondition: Hàm này được sử dụng để tạo các điều kiện cảnh báo trên TradingView. Khi điều kiện được đáp ứng, cảnh báo sẽ được kích hoạt.
breakFlyingCandleUp: Điều kiện phá vỡ nến bay tăng, xảy ra khi giá đóng cửa cao hơn high của nến bay trước đó.
breakFlyingCandleDown: Điều kiện phá vỡ nến bay giảm, xảy ra khi giá đóng cửa thấp hơn low của nến bay trước đó.
Cách sử dụng:
Khi bạn thêm các cảnh báo này vào script, bạn có thể thiết lập cảnh báo trên TradingView để nhận thông báo khi các điều kiện này được đáp ứng.
Bạn có thể tùy chỉnh thông báo cảnh báo để phù hợp với nhu cầu của mình.
Ví dụ hoàn chỉnh:
Dưới đây là đoạn mã hoàn chỉnh với các cảnh báo đã được thêm vào:
Gold Trading SignalThis indicator is a trading strategy for Gold (XAU/USD) on TradingView, based on the crossover of two Exponential Moving Averages (EMA) and using Average True Range (ATR) to determine Stop Loss and Take Profit levels.
Key Features of the Indicator:
1. Buy and Sell Signals: The indicator generates buy and sell signals based on the crossover of the 9-period short EMA and the 21-period long EMA.
2. ATR Calculation: The ATR (14) is used to calculate Stop Loss and Take Profit levels, which helps in measuring market volatility.
3. Stop Loss and Take Profit Levels:
Stop Loss for Buy: The low of the previous candle minus ATR.
Stop Loss for Sell: The high of the previous candle plus ATR.
Take Profit for Buy: The closing price plus ATR multiplied by a factor.
Take Profit for Sell: The closing price minus ATR multiplied by a factor.
4. Chart Display: Buy signals are displayed as green arrows below bars, and sell signals are shown as red arrows above bars.
5. Alerts: Alerts are triggered when buy or sell signals are activated.
Strategy Objective:
This strategy is designed to identify entry and exit points using EMA crossovers and ATR, helping traders determine optimal Stop Loss and Take Profit levels.
ICT CONCEPTDieser Indikator ist speziell für Trader entwickelt, die nach einem strukturierten Ansatz innerhalb klar definierter Zeitfenster handeln möchten. Der ICT Time-Based Indicator hebt wichtige Handelszeiten basierend auf dem Central European Summer Time (CEST) hervor. Er ist optimiert für den NASDAQ 100 (NAS100) und hilft dabei, sich auf die relevantesten Marktbewegungen zu konzentrieren.
Vlad MTF Clouds MultiColorAll Credit to Ripster.
This is a copy of his MTF Cloud but I've added the bullish/bearish color coding ability.