griddraw//@version=5
indicator("griddraw", overlay=true)
// دریافت ورودیها
highestPrice = input.float(title="Highest Price", defval=100)
lowestPrice = input.float(title="Lowest Price", defval=50)
divisions = input.int(title="Number of Divisions", defval=5, minval=1)
// محاسبه فاصله بین هر خط
stepSize = (highestPrice - lowestPrice) / divisions
// رسم خط بالاترین قیمت
line.new(x1=bar_index , y1=highestPrice, x2=bar_index, y2=highestPrice, color=color.green, width=2)
// رسم خط پایینترین قیمت
line.new(x1=bar_index , y1=lowestPrice, x2=bar_index, y2=lowestPrice, color=color.red, width=2)
// رسم خطوط میانی
for i = 1 to divisions - 1
level = lowestPrice + stepSize * i
line.new(x1=bar_index , y1=level, x2=bar_index, y2=level, color=color.blue, width=1)
Indicators and strategies
Ido strategy RSI Oversold with MACD Buy Signal Indicator
This indicator combines the Relative Strength Index (RSI) and the Moving Average Convergence Divergence (MACD) to help identify potential buy signals based on oversold conditions and trend reversals. This script is designed for traders looking to identify entry points when an asset is likely undervalued (oversold) and showing bullish momentum.
How It Works
RSI Oversold Detection: The RSI measures the speed and change of price movements. This indicator flags when the RSI falls below 30, signaling that the asset may be oversold. The user can customize the RSI lookback period and the timeframe within which oversold conditions are considered relevant.
MACD Crossover: The MACD line crossing above the Signal line often indicates a shift to bullish momentum. In this script, a buy signal is generated when a MACD bullish crossover occurs after an RSI oversold condition has been met within a user-defined lookback window.
Buy Signal: A green triangle appears below the price chart each time both conditions are met—when the RSI has recently been in oversold territory and the MACD line crosses above the Signal line. This signal suggests that the asset may be positioned for a potential upward trend, providing a visual cue for entry points.
Customizable Settings
RSI Settings: Adjust the RSI source and period length.
MACD Settings: Customize the fast, slow, and signal lengths of the MACD to suit different market conditions.
Lookback Period: Define how many bars back to check for an RSI oversold condition before confirming a MACD crossover.
Visual Elements
Oversold Background Color: The background on the price chart is shaded red whenever the RSI is below 30.
Buy Signal: A green triangle is displayed on the chart to indicate a potential entry point when both conditions are met.
Alerts
This indicator includes optional alerts, allowing traders to receive notifications whenever the conditions for a buy signal are met, making it easier to monitor multiple assets and stay informed of trading opportunities.
This indicator is ideal for traders using a combination of momentum and trend reversal strategies, especially in volatile markets where oversold conditions often precede a trend change.
Previous 4-Hour and Previous Hourly High/LowDescription:
This script is designed to help traders identify recent support and resistance levels by displaying the Previous 4-Hour and Previous Hourly High/Low prices on the chart. By tracking the highs and lows of both the last completed 4-hour and hourly candles, this indicator provides a clear view of price action on short-term timeframes, useful for intraday analysis.
Functionality:
Previous 4-Hour High and Low: The script captures the highest and lowest prices of the last fully closed 4-hour candle, updating these levels at the beginning of each new 4-hour period.
Previous Hourly High and Low: Similarly, it records the high and low of the most recent completed hourly candle, refreshing at the start of each hour.
How to Use: With these levels displayed, traders can quickly spot areas of potential support and resistance, making this tool valuable for gauging short-term price action trends. The indicator is especially useful for those trading within shorter timeframes, such as scalpers or day traders, who benefit from knowing where prices have recently ranged.
The Previous 4-Hour High/Low is marked with Green and Red lines, while the Previous Hourly High/Low uses Blue and Orange lines, making each timeframe’s levels easily distinguishable.
This script offers a simple yet powerful addition to short-term trading setups, giving traders multi-timeframe insights to inform their trading decisions.
RBF Kijun Trend System [InvestorUnknown]The RBF Kijun Trend System utilizes advanced mathematical techniques, including the Radial Basis Function (RBF) kernel and Kijun-Sen calculations, to provide traders with a smoother trend-following experience and reduce the impact of noise in price data. This indicator also incorporates ATR to dynamically adjust smoothing and further minimize false signals.
Radial Basis Function (RBF) Kernel Smoothing
The RBF kernel is a mathematical method used to smooth the price series. By calculating weights based on the distance between data points, the RBF kernel ensures smoother transitions and a more refined representation of the price trend.
The RBF Kernel Weighted Moving Average is computed using the formula:
f_rbf_kernel(x, xi, sigma) =>
math.exp(-(math.pow(x - xi, 2)) / (2 * math.pow(sigma, 2)))
The smoothed price is then calculated as a weighted sum of past prices, using the RBF kernel weights:
f_rbf_weighted_average(src, kernel_len, sigma) =>
float total_weight = 0.0
float weighted_sum = 0.0
// Compute weights and sum for the weighted average
for i = 0 to kernel_len - 1
weight = f_rbf_kernel(kernel_len - 1, i, sigma)
total_weight := total_weight + weight
weighted_sum := weighted_sum + (src * weight)
// Check to avoid division by zero
total_weight != 0 ? weighted_sum / total_weight : na
Kijun-Sen Calculation
The Kijun-Sen, a component of Ichimoku analysis, is used here to further establish trends. The Kijun-Sen is computed as the average of the highest high and the lowest low over a specified period (default: 14 periods).
This Kijun-Sen calculation is based on the RBF-smoothed price to ensure smoother and more accurate trend detection.
f_kijun_sen(len, source) =>
math.avg(ta.lowest(source, len), ta.highest(source, len))
ATR-Adjusted RBF and Kijun-Sen
To mitigate false signals caused by price volatility, the indicator features ATR-adjusted versions of both the RBF smoothed price and Kijun-Sen.
The ATR multiplier is used to create upper and lower bounds around these lines, providing dynamic thresholds that account for market volatility.
Neutral State and Trend Continuation
This indicator can interpret a neutral state, where the signal is neither bullish nor bearish. By default, the indicator is set to interpret a neutral state as a continuation of the previous trend, though this can be adjusted to treat it as a truly neutral state.
Users can configure this setting using the signal_str input:
simple string signal_str = input.string("Continuation of Previous Trend", "Treat 0 State As", options = , group = G1)
Visual difference between "Neutral" (Bottom) and "Continuation of Previous Trend" (Top). Click on the picture to see it in full size.
Customizable Inputs and Settings:
Source Selection: Choose the input source for calculations (open, high, low, close, etc.).
Kernel Length and Sigma: Adjust the RBF kernel parameters to change the smoothing effect.
Kijun Length: Customize the lookback period for Kijun-Sen.
ATR Length and Multiplier: Modify these settings to adapt to market volatility.
Backtesting and Performance Metrics
The indicator includes a Backtest Mode, allowing users to evaluate the performance of the strategy using historical data. In Backtest Mode, a performance metrics table is generated, comparing the strategy's results to a simple buy-and-hold approach. Key metrics include mean returns, standard deviation, Sharpe ratio, and more.
Equity Calculation: The indicator calculates equity performance based on signals, comparing it against the buy-and-hold strategy.
Performance Metrics Table: Detailed performance analysis, including probabilities of positive, neutral, and negative returns.
Alerts
To keep traders informed, the indicator supports alerts for significant trend shifts:
// - - - - - ALERTS - - - - - //{
alert_source = sig
bool long_alert = ta.crossover (intrabar ? alert_source : alert_source , 0)
bool short_alert = ta.crossunder(intrabar ? alert_source : alert_source , 0)
alertcondition(long_alert, "LONG (RBF Kijun Trend System)", "RBF Kijun Trend System flipped ⬆LONG⬆")
alertcondition(short_alert, "SHORT (RBF Kijun Trend System)", "RBF Kijun Trend System flipped ⬇Short⬇")
//}
Important Notes
Calibration Needed: The default settings provided are not optimized and are intended for demonstration purposes only. Traders should adjust parameters to fit their trading style and market conditions.
Neutral State Interpretation: Users should carefully choose whether to treat the neutral state as a continuation or a separate signal.
Backtest Results: Historical performance is not indicative of future results. Market conditions change, and past trends may not recur.
VolWRSI### Description of the `VolWRSI` Script
The `VolWRSI` script is a TradingView Pine Script indicator designed to provide a volume-weighted Relative Strength Index (RSI) combined with abnormal activity detection in both volume and price. This multi-faceted approach aims to enhance trading decisions by identifying potential market conditions influenced by both price movements and trading volume.
#### Key Features
1. **Volume-Weighted RSI Calculation**:
- The core of the script calculates a volume-weighted RSI, which gives more significance to price movements associated with higher volume. This helps traders understand the strength of price movements more accurately.
2. **Abnormal Activity Detection**:
- The script includes calculations for abnormal volume and price changes using standard deviation (SD) multiples. This feature alerts traders to potential unusual activity, which could indicate upcoming volatility or market manipulation.
3. **Market Structure Filtering**:
- The script assesses market structure by identifying pivot highs and lows, allowing for better contextual analysis of price movements. This includes identifying bearish and bullish divergences, which can signal potential reversals.
4. **Color-Coded Signals**:
- The indicator visually represents market conditions using different bar colors for various scenarios, such as bearish divergence, likely price manipulation, and high-risk moves on low volume. This allows traders to quickly assess market conditions at a glance.
5. **Conditional Signal Line**:
- The signal line is displayed only when institutional activity conditions are met, remaining hidden otherwise. This adds an extra layer of filtering to prevent unnecessary signals, focusing only on significant market moves.
6. **Overbought and Oversold Levels**:
- The script defines overbought and oversold thresholds, enhancing the trader's ability to spot potential reversal points. Color gradients help visually distinguish between these critical levels.
7. **Alerts**:
- The script includes customizable alert conditions for various market signals, including abnormal volume spikes and RSI crossings over specific thresholds. This keeps traders informed in real-time, enhancing their ability to act promptly.
#### Benefits of Using the `VolWRSI` Script
- **Enhanced Decision-Making**: By integrating volume into the RSI calculation, the script helps traders make more informed decisions based on the strength of price movements rather than price alone.
- **Early Detection of Market Manipulation**: The abnormal activity detection can help traders identify potentially manipulative market behavior, allowing them to act or adjust their strategies accordingly.
- **Visual Clarity**: The use of color-coding and graphical elements (such as shapes and fills) provides clear visual cues about market conditions, which can be especially beneficial for traders who rely on quick visual assessments.
- **Risk Management**: The identification of high-risk low-volume moves helps traders manage their exposure better, potentially avoiding trades that may lead to unfavorable outcomes.
- **Reduced Noise with Institutional Activity Filtering**: The conditional signal line only plots when institutional activity conditions are detected, providing higher confidence in signals by excluding lower-conviction setups.
- **Customization**: With adjustable parameters for length, thresholds, and colors, traders can tailor the script to their specific trading styles and preferences.
Overall, the `VolWRSI` script combines technical analysis tools in a coherent framework, aiming to provide traders with deeper insights into market dynamics and higher-quality trade signals, potentially leading to more profitable trading decisions.
Williams %R - Multi TimeframeThis indicator implements the William %R multi-timeframe. On the 1H chart, the curves for 1H (with signal), 4H, and 1D are displayed. On the 4H chart, the curves for 4H (with signal) and 1D are shown. On all other timeframes, only the %R and signal are displayed. The indicator is useful to use on 1H and 4H charts to find confluence among the different curves and identify better entries based on their alignment across all timeframes. Signals above 80 often indicate a potential bearish reversal in price, while signals below 20 often suggest a bullish price reversal.
Price Percentage IndicatorPrice Percent for every candle. It shows percent above every candle. Shadows included
Trend Following Indicator MA NARESHMoving Averages: This script calculates a fast and a slow simple moving average (SMA).
Buy/Sell Signals: A buy signal is generated when the fast MA crosses above the slow MA, and a sell signal is created when it crosses below.
Visuals: The moving averages and signals are plotted on the chart, with buy signals marked below the bars and sell signals above.
Alerts: Alerts are set for both buy and sell signals.
You can adjust the fastLength and slowLength parameters to fit your trading strategy. Let me know if you need any modifications or additional features!
PDV CheckCheca a posição do preço em relação as medias de 21 e 120 exponenciais e 200 simples, mostrando se está acima ou abaixo delas no tempo gráfico selecionado
Cumulative Volume Delta Custom AlertDescription
This script calculates and visualizes the Cumulative Volume Delta (CVD) on multiple timeframes, enabling traders to monitor volume-based price action dynamics. The CVD is calculated based on up and down volume approximations and displayed as a candle plot, with color-coded alerts when significant changes occur.
Key Features:
Multi-Timeframe Analysis: The script uses a customizable anchor period and a lower timeframe for scanning, allowing it to capture more granular volume movements.
Volume-Based Trend Detection: Plots CVD candles with color indicators (teal for increasing volume delta, red for decreasing), helping traders to visually track volume trends.
Dynamic Alerts for Volume Shifts:
Triggers an alert when there is a significant (over 25%) change in CVD between consecutive periods.
The alert marker color adapts based on the current CVD value:
Blue when the current CVD is positive.
Yellow when the current CVD is negative.
Markers are placed above bars for volume increases and below for volume decreases, simplifying visual analysis.
Customizable Background Highlight: Adds a background highlight to emphasize significant CVD changes.
Use Cases:
Momentum Detection: Traders can use alerts on large volume delta changes to identify potential trend reversals or continuation points.
Volume-Driven Analysis: CVD helps distinguish buy and sell pressure across different timeframes, ideal for volume-based strategies.
How to Use
Add the script to your TradingView chart.
Configure the anchor and lower timeframes in the input settings.
Set up alerts to receive notifications when a 25% change in CVD occurs, with color-coded markers for easy identification.
Tendência de Alta Completa com Sinal de Fim [SystemAlpha]Este indicador é um sinalizador simples para identificar e acompanhar quando um ativo está em uma tendência de alta (ou seja, um movimento de valorização) e também para alertar quando essa tendência de alta chega ao fim.
Como o indicador funciona
Tendência de Alta:
O indicador analisa duas condições principais para identificar uma tendência de alta:
Uma média móvel rápida (EMA de 20 períodos) deve estar acima de uma média móvel mais lenta (EMA de 50 períodos). Esse cruzamento sugere que o ativo está subindo no curto prazo mais rápido do que no médio prazo.
O índice de força relativa (RSI), que mede o momento do mercado, precisa estar acima de 50. Isso indica que a pressão compradora está prevalecendo, outro sinal de alta.
Quando essas condições são atendidas, o indicador mostra um sinal verde abaixo da barra de preço, indicando que o ativo está em tendência de alta.
Fim da Tendência de Alta:
O indicador também avisa quando essas condições deixam de ser atendidas, sinalizando um possível fim do movimento de alta.
Quando a tendência de alta termina (ou seja, se a média móvel rápida cai abaixo da média lenta ou o RSI fica abaixo de 50), o indicador exibe um sinal vermelho acima da barra de preço, indicando que a força da alta enfraqueceu e pode haver uma reversão ou uma pausa no movimento ascendente.
Alertas:
Se você usa o TradingView, o indicador também envia alertas para que você seja notificado automaticamente quando uma tendência de alta começa ou termina, ajudando a acompanhar o ativo sem precisar estar sempre de olho no gráfico.
Resumo
Sinal verde abaixo do preço: o ativo está em tendência de alta.
Sinal vermelho acima do preço: o ativo terminou sua tendência de alta e pode começar a corrigir ou cair.
Este indicador é útil para quem quer identificar e seguir tendências no mercado, ajudando a saber quando um ativo está ganhando ou perdendo força no movimento de alta.
My strategy//@version=5
indicator("EMA Crossover Buy/Sell Signals with Sideways Market Filter (No ATR)", overlay=true)
// Input for the EMAs
fastEmaLength = input(9, title="Fast EMA Length")
slowEmaLength = input(21, title="Slow EMA Length")
longEmaLength = input(200, title="Long EMA Length (for Sideways Market Filter)")
sidewaysRange = input(0.005, title="Sideways Market Range (%)") // Price range as a percentage of the 200 EMA
// Calculate the EMAs
fastEma = ta.ema(close, fastEmaLength)
slowEma = ta.ema(close, slowEmaLength)
longEma = ta.ema(close, longEmaLength)
// Define the condition for a sideways market: Price is within a small range around the 200 EMA
sidewaysCondition = math.abs(close - longEma) < longEma * sidewaysRange
// Define the conditions for Buy and Sell signals, including the sideways market filter
buyCondition = ta.crossover(fastEma, slowEma) and not sidewaysCondition // Buy when Fast EMA crosses above Slow EMA and market is not sideways
sellCondition = ta.crossunder(fastEma, slowEma) and not sidewaysCondition // Sell when Fast EMA crosses below Slow EMA and market is not sideways
// Plot Buy and Sell signals (using small triangles)
// Buy signal - below the bar
plotshape(series=buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
// Sell signal - above the bar
plotshape(series=sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
Market structureHi all!
This script shows you the market structure. You can choose to show internal market structure (with pivots of a default length of 5) and swing market structure (with pivots of a default length of 50). For these two trends it will show you:
• Break of structure (BOS)
• Change of character (CHoCH) (obligatory)
• Equal high/low (EQH/EQL)
It's inspired by "Smart Money Concepts (SMC) " by LuxAlgo that will also show you the market structure.
A break of structure is removed if an earlier pivots within the same trend is broken. Like in the images below, the first pivot (in the first image) is removed when an earlier pivot's higher price within the same trend is broken (the second image):
The internal market structure is shown with dashed lines and swing market structure is shown with solid lines. Equal high/lows have a pink zone (by default but can be changed by the user). Equal high/lows are only possible if it's not been broken by price and if a later bar has an equal high/low within the limit it's added to the zone. A factor (percentage of width) of the Average True Length (of length 14) that the pivot must be within to to be considered an Equal high/low. This is configurable and sets this 'limit' and is 10 by default.
This script has proven itself useful for me to quickly see how the current market is. I hope that you will find this useful for you.
When programming I focused on simplicity and ease of read. I did not focus on performance, I will do so if it's a problem (haven't noticed it is one yet).
Best of trading luck!
Geçmiş Fibonacci SeviyeleriFibonacci seviyeleri ticaretin olmazsa olmazıdır.Sizlere kullanımı kolay ve anlaşılır bır kod yazdım.Umarım işinize yarar ve size kazandırır.
Highlight 1-Hour Candles (Multiple Time Periods) by ADAIR-TRADESI have made this indicator specifically to help with identifying high probability timed candles for CRT (candle range theory) with an option of up to 6 1h candles. If you have any requests of added features let me know.
Pulse DPO: Major Cycle Tops and Bottoms█ OVERVIEW
Pulse DPO is an oscillator designed to highlight Major Cycle Tops and Bottoms .
It works on any market driven by cycles. It operates by removing the short-term noise from the price action and focuses on the market's cyclical nature.
This indicator uses a Normalized version of the Detrended Price Oscillator (DPO) on a 0-100 scale, making it easier to identify major tops and bottoms.
Credit: The DPO was first developed by William Blau in 1991.
█ HOW TO READ IT
Pulse DPO oscillates in the range between 0 and 100. A value in the upper section signals an OverBought (OB) condition, while a value in the lower section signals an OverSold (OS) condition.
Generally, the triggering of OB and OS conditions don't necessarily translate into swing tops and bottoms, but rather suggest caution on approaching a market that might be overextended.
Nevertheless, this indicator has been customized to trigger the signal only during remarkable top and bottom events.
I suggest using it on the Daily Time Frame , but you're free to experiment with this indicator on other time frames.
The indicator has Built-in Alerts to signal the crossing of the Thresholds. Please don't act on an isolated signal, but rather integrate it to work in conjunction with the indicators present in your Trading Plan.
█ OB SIGNAL ON: ENTERING OVERBOUGHT CONDITION
When Pulse DPO crosses Above the Top Threshold it Triggers ON the OB signal. At this point the oscillator line shifts to OB color.
When Pulse DPO enters the OB Zone, please beware! In this Area the Major Players usually become Active Sellers to the Public. While the OB signal is On, it might be wise to Consider Selling a portion or the whole Long Position.
Please note that even though this indicator aims to focus on major tops and bottoms, a strong trending market might trigger the OB signal and stay with it for a long time. That's especially true on young markets and on bubble-mode markets.
█ OB SIGNAL OFF: EXITING OVERBOUGHT CONDITION
When Pulse DPO crosses Below the Top Threshold it Triggers OFF the OB signal. At this point the oscillator line shifts to its normal color.
When Pulse DPO exits the OB Zone, please beware because a Major Top might just have occurred. In this Area the Major Players usually become Aggressive Sellers. They might wind up any remaining Long Positions and Open new Short Positions.
This might be a good area to Open Shorts or to Close/Reverse any remaining Long Position. Whatever you choose to do, it's usually best to act quickly because the market is prone to enter into panic mode.
█ OS SIGNAL ON: ENTERING OVERSOLD CONDITION
When Pulse DPO crosses Below the Bottom Threshold it Triggers ON the OS signal. At this point the oscillator line shifts to OS color.
When Pulse DPO enters the OS Zone, please beware because in this Area the Major Players usually become Active Buyers accumulating Long Positions from the desperate Public.
While the OS signal is On, it might be wise to Consider becoming a Buyer or to implement a Dollar-Cost Averaging (DCA) Strategy to build a Long Position towards the next Cycle. In contrast to the tops, the OS state usually takes longer to resolve a major bottom.
█ OS SIGNAL OFF: EXITING OVERSOLD CONDITION
When Pulse DPO crosses Above the Bottom Threshold it Triggers OFF the OS signal. At this point the oscillator line shifts to its normal color.
When Pulse DPO exits the OS Zone, please beware because a Major Bottom might already be in place. In this Area the Major Players become Aggresive Buyers. They might wind up any remaining Short Positions and Open new Long Positions.
This might be a good area to Open Longs or to Close/Reverse any remaining Short Positions.
█ WHY WOULD YOU BE INTERESTED IN THIS INDICATOR?
This indicator is built over a solid foundation capable of signaling Major Cycle Tops and Bottoms across many markets. Let's see some examples:
Early Bitcoin Years: From 0 to 1242
This chart is in logarithmic mode in order to properly display various exponential cycles. Pulse DPO is properly signaling the major early highs from 9-Jun-2011 at 31.50, to the next one on 9-Apr-2013 at 240 and the epic top from 29-Nov-2013 at 1242.
Due to the massive price movements, the OB condition stays pinned during most of the exponential price action. But as you can see, the OB condition quickly vanishes once the Cycle Top has been reached. As the market matures, the OB condition becomes more exceptional and triggers much closer from the Cycle Top.
With regards to Cycle Bottoms, the early bottom of 2 after having peaked at 31.50 doesn’t get captured by the indicator. That is the only cycle bottom that escapes the Pulse DPO when the bottom threshold is set at a value of 5. In that event, the oscillator low reached 6.95.
Bitcoin Adoption Spreading: From 257 to 73k
This chart is in logarithmic mode in order to properly display various exponential cycles. Pulse DPO is properly signaling all the major highs from 17-Dec-2017 at 19k, to the next one on 14-Apr-2021 at 64k and the most recent top from 9-Nov-2021 at 68k.
During the massive run of 2017, the OB condition still stayed triggered for a few weeks on each swing top. But on the next cycles it started to signal only for a few days before each swing top actually happened. The OB condition during the last cycle top triggered only for 3 days. Therefore the signal grows in focus as the market matures.
At the time of publishing this indicator, Bitcoin printed a new All Time High (ATH) on 13-Mar-2024 at 73k. That run didn’t trigger the OB condition. Therefore, if the indicator is correct the Bitcoin market still has some way to grow during the next months.
With regards to Cycle Bottoms, the bottom of 3k after having peaked at19k got captured within the wide OS zone. The bottom of 15k after having peaked at 68k got captured too within the OS accumulation area.
Gold
Pulse DPO behaves surprisingly well on a long standing market such as Gold. Moving back to the 197x years it’s been signaling most Cycle Tops and Bottoms with precision. During the last cycle, it shows topping at 2k and bottoming at 1.6k.
The current price action is signaling OB condition in the range of 2.5k to 2.7k. Looking at past cycles, it tends to trigger on and off at multiple swing tops until reaching the final cycle top. Therefore this might indicate the first wave within a potential gold run.
Oil
On the Oil market, we can see that most of the cycle tops and bottoms since the 80s got signaled. The only exception being the low from 2020 which didn’t trigger.
EURUSD
On Forex markets the Pulse DPO also behaves as expected. Looking back at EURUSD we can see the marketing triggering OB and OS conditions during major cycle tops and bottoms from recent times until the 80s.
S&P 500
On the S&P 500 the Pulse DPO catched the lows from 2016 and 2020. Looking at present price action, the recent ATH didn’t trigger the OB condition. Therefore, the indicator is allowing room for another leg up during the next months.
Amazon
On the Amazon chart the Pulse DPO is mirroring pretty accurately the major swings. Scrolling back to the early 2000s, this chart resembles early exponential swings in the crypto space.
Tesla
Moving onto a younger tech stock, Pulse DPO captures pretty accurately the major tops and bottoms. The chart is shown in logarithmic scale to better display the magnitude of the moves.
█ SETTINGS
This indicator is ideal for identifying major market turning points while filtering out short-term noise. You are free to adjust the parameters to align with your preferred trading style.
Parameters : This section allows you to customize any of the Parameters that shape the Oscillator.
Oscillator Length: Defines the period for calculating the Oscillator.
Offset: Shifts the oscillator calculation by a certain number of periods, which is typically half the Oscillator Length.
Lookback Period: Specifies how many bars to look back to find tops and bottoms for normalization.
Smoothing Length: Determines the length of the moving average used to smooth the oscillator.
Thresholds : This section allows you to customize the Thresholds that trigger the OB and OS conditions.
Top: Defines the value of the Top Threshold.
Bottom: Defines the value of the Bottom Threshold.
EMA 5 ve EMA 20 Kesişim Stratejisiema 5 ve ema 20 kesişimlerinde sinyal üretir.tek başına kullanılması hatalı işlem almamıza sebep verebilir.Bu yüzden yanında ek indikatörler ve teknik analiz gerekir.
Lamp_v1_CCILiisule, CCi with adjustable levels.
Mida iganes ma siin kirjutama pean, aga pole õrna aimugi mitu sõna siia vaja on, et saaks indikaator avalikuks tehtud.
Señal Cambio Dirección ADXel indicador muestra cambios significativos en la dirección del ADX, diferenciando retrocesos de impulsos. La condición de la señal son 5 velas previas dirección contraria del cambio y menos de dos velas y 1 en el nivel del ADX en la nueva dirección.
52-Week Low and High Tracker**Indicator Name**: 52-Week Low and High Tracker
**Description**:
The 52-Week Low and High Tracker is a custom Pine Script indicator designed to identify optimal buy and sell points based on a stock’s long-term price movements. It tracks 52-week lows and highs and provides signals to buy or sell after waiting a specified period of time, ensuring that new lows or highs do not occur within these intervals. This approach allows for strategic entries and exits, focusing on longer-term momentum shifts rather than frequent, short-term fluctuations.
### How It Works
1. **Buy Signal**:
- When a stock reaches a new 52-week low, the indicator starts a 21-day countdown.
- If no new 52-week low is reached during this period, a buy signal is generated at the end of the waiting period.
- If another 52-week low occurs within the 21-day window, the countdown resets, postponing the buy signal until stability is observed.
2. **Sell Signal**:
- After the stock hits a 52-week high, a 21-day countdown for selling begins.
- If no new 52-week high occurs during this waiting period, a sell signal is generated at the end of the countdown.
- If the price reaches another 52-week high within the 21-day interval, the timer resets, delaying the sell signal until conditions stabilize.
### Use Case
This indicator is ideal for traders and investors looking to capitalize on potential reversals or significant trend continuations over a long-term horizon. By waiting for stable periods following extreme highs or lows, it aims to avoid premature entries and exits in volatile conditions, allowing for more calculated trading decisions.
### Notes
- This indicator uses 252 trading days to approximate a 52-week period.
- The waiting period is set to 21 days by default but can be adjusted to match specific trading strategies.